OSDN Git Service

2003-12-02 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-02  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/nio/DatagramChannelImpl.java
4         (blocking): Initialize with true by default.
5         * gnu/java/nio/ServerSocketChannelImpl.java
6         (serverSocket): Made private.
7         (blocking): Likewise.
8         (connected): Likewise.
9         * gnu/java/nio/SocketChannelImpl.java
10         (connectionPending): Made private.
11         * gnu/java/nio/FileLockImpl.java
12         (static): Load native library (needed for classpath).
13         * gnu/java/nio/SelectorImpl.java
14         (static): Load native library (needed for classpath).
15
16 2003-12-02  Michael Koch  <konqueror@gmx.de>
17
18         * gnu/java/net/protocol/file/Connection.java
19         (getLastModified): Implement for file connections.
20         (getContentLength): Likewise.
21
22 2003-12-02  Michael Koch  <konqueror@gmx.de>
23
24         * gnu/java/net/protocol/file/Connection.java:
25         Some reformating.
26         (file): Renamed from fileIn.
27         (getPermission): Moved around.
28
29 2003-12-02  Michael Koch  <konqueror@gmx.de>
30
31         * gnu/java/net/protocol/jar/Connection.java
32         (Connection): Made class final, merged documentation with classpath.
33         (file_cache): Made private.
34         (jar_file): Renamed from jarfile.
35
36 2003-12-02  Michael Koch  <konqueror@gmx.de>
37
38         * gnu/java/net/protocol/http/Connection.java
39         (Connection): Initialize doOutput to false;
40         (connect): Initialize inputStream, moved "send request" code to new
41         method.
42         (sendRequest): New method.
43         (getHttpHeaders): Don't reinitialize inputStream.
44
45 2003-12-02  Michael Koch  <konqueror@gmx.de>
46
47         * gnu/java/net/protocol//http/Connection.java
48         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
49         (requestProperties): Initialize, documentation added.
50         (inputStream): Renamed from bufferedIn.
51         (Connection): Dont initialize requestProperties.
52         (setDefaultRequestProperty): Removed.
53         (getDefaultRequestProperty): Removed.
54         (usingProxy): Documentation added.
55         (getHttpHeaders): Likewise.
56
57 2003-12-02  Michael Koch  <konqueror@gmx.de>
58
59         * java/text/DateFormat.java:
60         Explicitely import used classes.
61
62 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
63
64         * verify.cc (state::clean_subrs): Clear seen_subrs.
65         (state::copy): Walk seen_subrs from copy, not `this'.
66         Don't clear seen_subrs.
67
68 2003-12-01  Kim Ho <kho@redhat.com>
69
70         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
71         Disable wrapping if TextArea has horizontal scroll bars.
72
73 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
74
75         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
76         (awt_event_handler): Hard-code inset values.
77
78         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
79         Pass font name, not XLFD, to initState.
80         (stringWidth(String, int, String)): New method.
81         (stringWidth(String)): Call new stringWidth.
82         (getLeading): Always return 0.
83         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
84         (initState): New Pango implementation.
85         (stringWidth): Likewise.
86
87 2003-12-01  Olga Rodimina <rodimina@redhat.com>
88
89         * java/awt/TextComponent.java:
90         (getSelectionStart): Updated javadocs.
91         (getSelectionEnd): Ditto.
92         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
93         (getSelectionStart): Changed to return caret position if no
94         text is selected
95         (getSelectionEnd): Ditto.
96
97 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
98
99         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
100         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
101         gnu/awt/gtk/GtkContainerPeer.java,
102         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
103         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
104         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
105         gnu/awt/gtk/natGtkComponentPeer.cc,
106         gnu/awt/gtk/natGtkContainerPeer.cc,
107         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
108         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
109         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
110
111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
112         (closed): Mark loader parameter as unused.
113
114 2003-12-01  Michael Koch  <konqueror@gmx.de>
115
116         * gnu/java/net/protocol/http/Connection.java
117         (Connection): Merged class documentation.
118         (socket): Renamed from sock.
119         (Connection): Made protected, documentation added.
120         (connect): Give URL'S host instead of InetAddress to Socket
121         constructor.
122         (disconnect): Documentation added.
123         (getOutputStream): Rewrapped.
124
125 2003-12-01  Michael Koch  <konqueror@gmx.de>
126
127         * gnu/java/net/protocol/file/Connection.java
128         (fileIn): Documentation added.
129         (inputStream): Likewise.
130         (outputStream): Likewise.
131         (Connection): Likewise.
132         (connect): Simplified.
133
134 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
135
136         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
137         setProperties): Check that io is not null before calling
138         io.imageUpdate.
139         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
140         Update javadocs.
141         * java/awt/image/PixelGrabber.java: Fix implementation and
142         update javadocs.
143
144 2003-12-01  Michael Koch  <konqueror@gmx.de>
145
146         * gnu/java/net/natPlainSocketImplPosix.cc
147         bind(): Dont set SockedImpl.address field on succesful bind.
148         * gnu/java/net/natPlainSocketImplWin32.cc
149         bind(): Likewise.
150
151 2003-11-30  Jeff Sturm <jsturm@one-point.com>
152
153         * java/net/InetAddress.java:
154         (static): Don'f force DNS request for ANY_IF address.
155
156 2003-11-30  Michael Koch  <konqueror@gmx.de>
157
158         * java/net/InetAddress.java,
159         java/net/natInetAddressNoNet.cc,
160         java/net/natInetAddressPosix.cc,
161         java/net/natInetAddressWin32.cc:
162         Reverted my last patch.
163
164 2003-11-28  Michael Koch  <konqueror@gmx.de>
165
166         * java/net/InetAddress.java
167         (lookup): New method that doesnt lookup "0.0.0.0".
168         (ImplLookup): Renamed from lookup.
169         * java/net/natInetAddressNoNet.cc
170         (ImplLookup): Renamed from lookup.
171         * java/net/natInetAddressPosix.cc
172         (ImplLookup): Renamed from lookup.
173         * java/net/natInetAddressWin32.cc
174         (ImplLookup): Renamed from lookup.
175
176 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
177
178         * configure: Rebuilt.
179         * configure.in: Require gtk and glib 2.2.0.
180
181 2003-11-27  Dalibor Topic <robilad@kaffe.org>
182
183         * java/text/FieldPosition.java (equals): Adapted to handle
184         field_attribute. Added fast-circuit check for comparison to self.
185         Replaced use of instanceof by getClass to fix symmetry for derived
186         types.
187         (toString): Adapted to handle field_attribute. Improved readability.
188         (hashCode): New method.
189
190 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
191
192         * java/text/FieldPosition.java (field_attribute): New field.
193         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
194         getFieldAttribute): New methods.
195
196 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
197
198         * java/text/DecimalFormatSymbols.java (locale): New field.
199         (DecimalFormatSymbols (Locale)): Set locale.
200         (serialVersionOnStream): Upgraded to number 2.
201         (readObject): Assign locale if it wasn't by the serializer.
202
203 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
204
205         * java/text/FormatCharacterIterator.java: Documented the class and
206
207 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
208
209         * java/text/FormatCharacterIterator.java: Fixed some typos.
210
211 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
212
213         * java/text/NumberFormat.java:
214         (getIntegerInstance) Added the java version in the comments.
215
216 2003-11-27  Mark Wielaard  <mark@klomp.org>
217
218         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
219         (readResolve): Reformat.
220
221 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
222
223         * java/text/NumberFormat.java
224         (NumberFormat.Field): New implemented class to match Java 1.4. 
225         (getIntegerInstance): Two new Java 1.4 methods.o
226
227 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
228
229         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
230         the leap day of the leap year twice.
231         (computeFields): First week of month is 1 not 0.
232
233 2003-11-27  Mark Wielaard  <mark@klomp.org>
234
235         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
236         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
237
238 2003-11-27  Michael Koch  <konqueror@gmx.de>
239
240         * javax/swing/UIDefaults.java:
241         Reformated to match classpath's version.
242
243 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
244
245         * javax/swing/UIManager.java (getDefaults, getDimension,
246         getIcon, getInsets, getInstalledLookAndFeels, getInt,
247         getLookAndFeel, getString, getSystemLookAndFeelClassName):
248         Declare as public.
249
250 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
251
252         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
253         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
254         isSignificant): Likewise.
255
256 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
257
258         * javax/swing/undo/CompoundEdit.java: Re-format, document.
259         (inProgress): Set initial value to true.
260         (undo, redo, die, canUndo, canRedo): Also call inherited
261         implementation; simplify code structure.
262         (getPresentationName, getUndoPresentationName,
263         getRedoPresentationName): Make behavior dependent on lastEdit.
264         (addEdit, isSignificant): Completely re-written.
265
266 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
267
268         * javax/swing/undo/StateEdit.java: Re-format, document.
269         (undo, redo): Also call inherited implementation.
270
271 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
272
273         * javax/swing/undo/StateEditable.java: Re-format, document.
274
275 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
276
277         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
278         (AbstractUndoableEdit): Initialize hasBeenDone to true.
279         (canUndo, canRedo): Simplify.
280         (getUndoPresentationName, getRedoPresentationName): Support
281         localized message; call getPresentationName() only once.
282
283 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
284
285         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
286         (ZipFile(File,int)): Likewise.
287
288 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
289
290         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
291         (putAllInternal): Likewise.
292         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
293         (putAllInternal): Likewise.
294
295 2003-11-26  Michael Koch  <konqueror@gmx.de>
296
297         * java/net/URLStreamHandler.java
298         (parseURL): Added comment in catch statement.
299         (canonicalizeFilename): Add documentation.
300         (sameURL): Completed documentation.
301         (equals): Likewise.
302         (hostsEqual): Likewise.
303         (getDefaulPort): Likewise.
304         (hashCode): Likewise.
305         (toExternalForm): Likewise.
306         (getHostName): Fix empty hostname check, completed documentation.
307
308 2003-11-26  Tom Tromey  <tromey@redhat.com>
309
310         * java/lang/natDouble.cc (parseDouble): Reverted patch of
311         2003-11-13.
312
313 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
314             Mark Wielaard  <mark@klomp.org>
315
316         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
317         ('@' should be checked to distinguish port from userinfo).
318         (toExternalForm): Add @ userInfo if necessary.
319
320
321 2003-11-26  Michael Koch  <konqueror@gmx.de>
322
323         * java/net/DatagramSocket.java
324         (DategramSocket, bind): Moved binding code from DatagramSocket
325         constructor to bind method.
326
327 2003-11-26  Michael Koch  <konqueror@gmx.de>
328
329         * java/net/DatagramSocket.java
330         (impl): Made private.
331         (bound): New private member variable.
332         (DatagramSocket): Fixed documentation, use getImpl().
333         (getImpl): New package-private method.
334         (isClosed): Use getImpl().
335         (getLocalAddress): Completed documentation, use getImpl().
336         (getLocalPort): Use getImpl().
337         (getSoTimeout): Likewise.
338         (setSoTimeout): Likewise.
339         (getSendBufferSize): Likewise.
340         (setSendBufferSize): Likewise.
341         (getReceiveBufferSize): Likewise.
342         (setReceiveBufferSize): Likewise.
343         (connect): Likewise.
344         (disconnect): Likewise.
345         (receive): Likewise.
346         (send): Likewise.
347         (setReuseAddress): Likewise.
348         (setTrafficClass): Likewise.
349         (bind): Added message to exception.
350         (isClosed): Completed documentation.
351         (getChannel): Likewise.
352         (connect): Added missing exception, refined exception message.
353         (isBound): Completed documentation, just return bound.
354         (isConnected): Completed documentation.
355         (getRemoteSocketAddress): Likewise.
356         (getReuseAddress): Completed documentation, use getImpl().
357         (setSoBroadcast): Likewise.
358         (getSoBroadcast): Likewise.
359         (getTrafficClass): Likewise.
360         (getLocalSocketAddress): Simplified.
361         * java/net/MulticastSocket.java
362         (MulticastSocket): Removed comment not applying anymore.
363         (getInterface): Use getImpl().
364         (getTTL): Likewise.
365         (getTimeToLive): Likewise.
366         (setInterface): Likewise.
367         (setNetworkInterface): Likewise.
368         (getNetworkInterface): Likewise.
369         (setLoopback): Likewise.
370         (getLoopback): Likewise.
371         (setTTL): Likewise.
372         (setTimeToLive): Likewise.
373         (joinGroup): Likewise.
374         (leaveGroup): Likewise.
375         (send): Likewise.
376
377 2003-11-26  Michael Koch  <konqueror@gmx.de>
378
379         * java/net/Socket.java
380         (implCreated): Dont set default value explicitely, added
381         documentation.
382         (inputShutdown): Likewise.
383         (outputShutdown): Likewise.
384         (bound): New private member variable.
385         (bind): Set bound to true.
386         (close): Set bound to false.
387         (isBound): Return bound.
388         * java/net/ServerSocket.java
389         (bound): New private member variable.
390         (bind): Set bound to true.
391         (close): Set bound to false.
392         (isBound): Return bound.
393
394 2003-11-26  Michael Koch  <konqueror@gmx.de>
395
396         * java/net/URL.java
397         (URL): Fixed documentation to be HTML compliant.
398         (getContent): Completed documentation.
399         (getFile): Likewise.
400         (getPath): Likewise.
401         (getAuthority): Likewise.
402         (getHost): Likewise.
403         (getDefaultPort): Likewise.
404         (getProtocol): Likewise.
405         (hashCode): Likewise.
406         (openConnection): Likewise.
407         (openStream): Likewise.
408         (set): Likewise.
409         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
410
411 2003-11-26  Michael Koch  <konqueror@gmx.de>
412
413         * java/net/InetSocketAddress.java
414         (hostname): Made private, added documentation.
415         (addr): Likewise.
416         (port): Likewise.
417         (equals): Completed documentation.
418         (getAddress): Likewise.
419         (getHostName): Likewise.
420         (getPort): Likewise.
421         (hashCode): Likewise.
422         (isUnresolved): Likewise.
423         (toString): Likewise.
424
425 2003-11-26  Michael Koch  <konqueror@gmx.de>
426
427         * gnu/java/net/protocol/file/Handler.java
428         (Handler): New explicit constructor.
429         (openConnection): Added documentation.
430         * gnu/java/net/protocol/jar/Handler.java
431         (Handler): New explicit constructor.
432         (openConnection): Added documentation.
433
434 2003-11-26  Michael Koch  <konqueror@gmx.de>
435
436         * java/net/DatagramPacket.java
437         (DatagramPacket): Fixed documentation to become legal HTML.
438
439 2003-11-25  Michael Koch  <konqueror@gmx.de>
440
441         * gcj/javaprims.h: Added missing java.util.Currency.
442
443 2003-11-25  Michael Koch  <konqueror@gmx.de>
444
445         * testsuite/libjava.mauve/xfails:
446         Removed these two tests, they mystically pass now:
447         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
448         test_params failed - 5getInetAddress did not return proper values
449         (number 1)
450         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
451         test_BasicServer failed - 11 exception was thrown :Illegal seek
452         (number 1)
453
454 2003-11-25  Michael Koch  <konqueror@gmx.de>
455
456         * java/net/DatagramSocket.java
457         (factory): Made private.
458         (closed): Removed.
459         (DatagramSocket): Check impl argument, use constructor with
460         SocketAddress argument.
461         (close): Set impl to null, use isClosed().
462         (isClosed): Check for impl == null.
463         (getLocalAddress): Use isClosed().
464         (getLocalPort): Check if socket is closed.
465         (getSoTimeout): Likewise.
466         (setSoTimeout): Likewise.
467         (getSendBufferSize): Likewise.
468         (setSendBufferSize): Likewise.
469         (getReceiveBufferSize): Likewise.
470         (setReceiveBufferSize): Likewise.
471         (receive): Likewise.
472         (send): Likewise.
473         (bind): Likewise.
474         (connect): Likewise.
475         (setReuseAddress): Likewise.
476         (getReuseAddress): Likewise.
477         (setBroadcast): Likewise.
478         (getBroadcast): Likewise.
479         (setTrafficClass): Likewise.
480         (getTrafficClass): Likewise.
481         * java/net/MulticastSocket.java
482         (getInterface): Check if socket is closed.
483         (getTTL): Likewise.
484         (getTimeToLive): Likewise.
485         (setInterface): Likewise.
486         (setNetworkInterface): Likewise.
487         (getNetworkInterface): Likewise.
488         (setLoopbackMode): Likewise.
489         (setTTL): Likewise.
490         (setTimeToLive): Likewise.
491         (joinGroup): Likewise.
492         (leaveGroup): Likewise.
493         (send): Likewise.
494         * java/net/ServerSocket.java
495         (closed): Removed.
496         (close): Check if socket is closed, set impl to null.
497         (isClosed): Check impl == null;
498         (ServerSocket): Check impl argument.
499         (getInetAddress): Check if socket is bound.
500         (getLocalPort): Likewise.
501         (getLocalSocketAddress): Likewise.
502         (bind): Check if socket is closed.
503         (implAccept): Likewise.
504         (setSoTimeout): Likewise.
505         (getSoTimeout): Likewise.
506         (setReuseAddress): Likewise.
507         (getReuseAddress): Likewise.
508         (setReceiveBufferSize): Likewise.
509         (getReceiveBufferSize): Likewise.
510         (toString): Make output compliant to JDK 1.4.2.
511         * java/net/Socket.java
512         (closed): Removed.
513         (Socket): Fixed documentation.
514         (connect): Check if socket is closed, changed exception text,
515         fixed documentation.
516         (getInputStream): Check of socket is closed  and connected.
517         (getOutputStream): Likewise.
518         (bind): Check if socket is closed.
519         (setTcpNoDelay): Likewise.
520         (getTcpNoDelay): Likewise.
521         (setSoLinger): Likewise.
522         (getSoLinger): Likewise.
523         (sendUrgentData): Likewise.
524         (setOOBInline): Likewise.
525         (getOOBInline): Likewise.
526         (setSoTimeout): Likewise.
527         (getSoTimeout): Likewise.
528         (setSendBufferSize): Likewise.
529         (getSendBufferSize): Likewise.
530         (setReceiveBufferSize): Likewise.
531         (getReceiveBufferSize): Likewise.
532         (setKeepAlive): Likewise.
533         (getKeepAlive): Likewise.
534         (close): Likewise.
535         (shutdownInput): Likewise.
536         (shutdownOutput): Likewise.
537         (getReuseAddress): Likewise.
538         (getTrafficClass): Likewise.
539         (setTrafficClass): Likewise.
540         (isClosed): Check impl == null.
541         (toString): Added missing ']'.
542
543 2003-11-24  Tom Tromey  <tromey@redhat.com>
544
545         * Makefile.in: Rebuilt.
546         * Makefile.am (propdir): New macro.
547         (install-data-local): Install logging.properties.
548         (core_java_source_files): Added java.util.logging.*.
549         * java/util/logging/logging.properties: New file.
550
551 2003-11-25  Michael Koch  <konqueror@gmx.de>
552
553         * java/net/DatagramSocket.java
554         (DatagramSocket): Move binding code to bind(), simplify constructors.
555         * java/net/MulticastSocket.java
556         (MulticastSocket): Call parent constructor with null argument,
557         bind socket after setReuseAddress is called, simplify constructors.
558
559 2003-11-24  Michael Koch  <konqueror@gmx.de>
560
561         * javax/swing/BoxLayout.java
562         (serialVersionUIR): New member variable.
563         (X_AXIS, Y_AXIS): Documentation added.
564         (LINE_AXIS, PAGE_AXIS): New constants.
565         (grid): Renamed from gridbag.
566         (BoxLayout): Use new constants, throw exception if invalid value for
567         way, added documentation.
568         (BoxLayout): Removed.
569         (addLayoutComponent): Use new constants, added documentation.
570         (removeLayoutComponent): Likewise.
571         (addLayoutContainer): Added documentation.
572         (preferredLayoutSize): Added documentation, check given argument.
573         (minimumLayoutSize): Likewise.
574         (layoutContainer): Likewise.
575         (getLayoutAlignmentX): Likewise.
576         (getLayoutAlignmentY): Likewise.
577         (invalidateLayout): Likewise.
578         (maximumLayoutSize): Likewise.
579
580 2003-11-22  Michael Koch  <konqueror@gmx.de>
581
582         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
583         (peekData): Use offset and maximal free space in datagram packet.
584         (receive): Likewise.
585         (send): Use offset in datagram packet.
586
587 2003-11-22  Michael Koch  <konqueror@gmx.de>
588
589         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
590         (peekData): Use offset and maximal free space in datagram packet.
591         (receive): Likewise.
592         (send): Use offset in datagram packet.
593
594 2003-11-22  Michael Koch  <konqueror@gmx.de>
595
596         * gnu/java/nio/DatagramChannelImpl.java
597         (getNativeFD): Use getPlainDatagramSocketImpl().
598         * gnu/java/nio/NIODatagramSocket.java
599         (getPlainDatagramSocketImpl): Renamed from getImpl().
600         * gnu/java/nio/NIOSocket.java
601         (getPlainSocketImpl): Renamed from getImpl().
602         (setChannel): Use getPlainSocketImpl().
603         * gnu/java/nio/SocketChannelImpl.java
604         (SocketChannelImpl): Use getPlainSocketImpl().
605         (getPlainSocketImpl): Renamed from getImpl().
606         (getNativeFD): Use getPlainSocketImpl().
607
608 2003-11-18  Graydon Hoare  <graydon@redhat.com>
609
610         * javax/swing/JLayeredPane.java: Implement.
611         * javax/swing/JFrame.java (getContentPane): Make public
612         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
613         Use JLayeredPane.FRAME_CONTENT_LAYER.
614
615 2003-11-21  Mark Wielaard  <mark@klomp.org>
616
617         * java/lang/Float.java (static): Removed.
618
619 2003-11-18  Graydon Hoare  <graydon@redhat.com>
620
621         * java/awt/font/TextLayout.java: Implement simple layouts
622         using attributed strings and glyph vectors.
623
624 2003-11-17  Graydon Hoare  <graydon@redhat.com>
625
626         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
627         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
628         (GdkFontLineMetrics): New inner class.
629         (getLineMetrics): Return new GdkFontLineMetrics.
630         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
631         (layoutGlyphVector): Create GdkGlyphVector.
632         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
633         (GdkGraphics2D): Initialize state via mathod calls.
634         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
635         (cairoTranslate, cairoScale, cairoRotate): Remove.
636         (various methods): use setTransform for special transform cases.
637         (DrawState): New inner class.
638         (stateSave): New method.
639         (stateRestore): New method.
640         (various methods): use stateSave, stateRestore.
641         (getClipInDevSpace): New method.
642         (clip, clipRect, setClip, getClip, getClipBounds): 
643         Follow spec more closely.
644         (getTransform): Return clone of transform.
645         (setStroke): Set linewidth to passed width / 2.0.
646         (setPaintMode): Set SrcOver rather than Xor.
647         (setColor): Set paint to passed color.
648         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
649         transform from image to user space.
650         (drawRenderedImage, drawRenderableImage): Implement.
651         (getFontRenderContext, getFontMetrics, drawString, getFont): 
652         Implement
653         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
654         Implement.
655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
656         Match changes to java side.
657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
658         Release resources.
659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
660         Don't use pango for metrics.
661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
662         New file.
663
664 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
665             Jim Pick  <jim@kaffe.org>
666
667         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
668         methods.
669
670 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
671
672         * java/text/DecimalFormatSymbols.java (getCurrency,
673         setCurrency): New methods.
674
675 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
676
677         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
678         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
679         Describe how the implementation works.
680
681 2003-11-19  Michael Koch  <konqueror@gmx.de>
682
683         * java/net/Socket.java
684         (implCreated): New variable that indicates created impl.
685         (getImpl): New method.
686         (toString): Return more SUN compliant string representation.
687         (various): Use getImpl() instead of impl.
688
689 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
690
691         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
692         the right libgcc. Add -multiply_defined suppress and -bind_at_load
693         flags.
694
695 2003-11-18  Tom Tromey  <tromey@redhat.com>
696
697         PR libgcj/13026:
698         * verify.cc (state::copy): Only set local_changed if we're in a
699         subroutine.  Correctly copy local variables which were modified
700         by the subroutine.
701         (push_jump_merge): Added more debugging output.
702
703         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
704         is null.
705
706 2003-11-17  Graydon Hoare  <graydon@redhat.com>
707
708         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
709         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
710
711 2003-11-16  Tom Tromey  <tromey@redhat.com>
712
713         PR libgcj/13062:
714         * java/io/StreamTokenizer.java (commentChar): Clear other
715         attributes for character.
716         (quoteChar): Likewise.
717
718 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
719
720         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
721         zero-length int arrays when layoutInfo is null.
722         (getLayoutWeights): Return array of two zero-length double arrays when
723         layoutInfo is null.
724
725 2003-11-13  Tom Tromey  <tromey@redhat.com>
726
727         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
728         JvGetStringUTFRegion.
729         * java/lang/natPosixProcess.cc (new_string): Pass length of string
730         to JvGetStringUTFRegion.
731         * java/lang/natDouble.cc (parseDouble): Pass length of string to
732         JvGetStringUTFRegion.
733         * java/lang/natWin32Process.cc (startProcess): Pass length of
734         string to JvGetStringUTFRegion.
735         * java/lang/natClass.cc (forName): Pass length of string to
736         JvGetStringUTFRegion.
737         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
738         of string to JvGetStringUTFRegion.
739         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
740         JvGetStringUTFRegion.
741         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
742         to JvGetStringUTFRegion.
743         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
744         string to JvGetStringUTFRegion.
745
746 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
747
748         * gnu/java/nio/natSelectorImplPosix.cc
749         (helper_put_filedescriptors): Change to static linkage.
750         (helper_get_filedescriptors): Likewise.
751
752 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
753
754         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
755         null check.
756         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
757         * java/awt/Component.java (prepareImage): Likewise.
758
759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
760         Rename to nativeSetAlignment.
761
762 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
763
764         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
765         (JNI_GetCreatedJavaVMs): Likewise.
766         (JNI_GetDefaultJavaVMInitArgs): Likewise.
767         * include/jni.h (JNIIMPEXP): Remove definition
768         and replace with...
769         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
770         symbols,
771         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
772
773 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
774
775         * Makefile.am: Add GdkPixbufDecoder.java and
776         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
777         * Makefile.in: Regenerate.
778         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
779         New constructor.
780         (startProduction): Create ByteArrayInputStream when url and filename are
781         null.
782         (produce): Declare stream parameter as InputStream.
783         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
784         as InputStream.
785         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
786         (GdkPixbufDecoder(byte[],int,int)): New constructor.
787         (produce): Declare stream parameter as InputStream.
788         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
789         if image is null.  Set image's observer before running PrepareImage
790         thread.  Pass image to startProduction.
791         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
792         source's member functions.
793         (observer): New field.
794         (setObserver): New method.
795         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
796         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
797         new GtkImage.
798         (prepareImage): Implement.
799         * java/awt/Component.java: Add static fields incrementalDraw and
800         redrawRate.
801         (imageUpdate): Implement.
802         (createImage): Call Toolkit's createImage if peer is null.
803         (prepareImage): Throw NPE if image is null.
804         * java/awt/MediaTracker.java: Fix return value.
805
806 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
807
808         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
809         (create(String, float)): New method.
810         (setText): Make native.
811         (nativeSetAlignment): New method.
812         (setAlignment): Call nativeSetAlignment.
813         (getArgs): Remove method.
814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
815         (find_fg_color_widget, find_bg_color_widget): New functions.
816         (gtkWidgetSetForeground): Call find_fg_color_widget.
817         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
818         prelight colors.
819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
820         widget in event box.
821         (setText, setAlignment): Implement new native methods.
822
823 2003-11-11  Michael Koch  <konqueror@gmx.de>
824
825         * java/awt/Font.java,
826         java/awt/datatransfer/DataFlavor.java,
827         java/math/BigInteger.java,
828         java/net/Inet4Address.java,
829         java/net/Inet6Address.java,
830         java/rmi/MarshalledObject.java,
831         java/rmi/server/RMIClassLoader.java,
832         java/security/cert/CertStore.java,
833         java/sql/Timestamp.java,
834         java/text/SimpleDateFormat.java,
835         javax/naming/CompoundName.java:
836         Removed some redundant obj == null checks.
837
838 2003-11-11  Michael Koch  <konqueror@gmx.de>
839
840         * java/nio/ByteBuffer.java
841         (equals): Remove redundant obj == null check.
842
843 2003-11-11  Michael Koch  <konqueror@gmx.de>
844
845         * gnu/java/nio/natPipeImpl.cc,
846         gnu/java/nio/natSelectorImpl.cc: Removed
847         * gnu/java/nio/natPipeImplEcos.cc,
848         gnu/java/nio/natPipeImplPosix.cc,
849         gnu/java/nio/natPipeImplWin32.cc,
850         gnu/java/nio/natSelectorImplEcos.cc,
851         gnu/java/nio/natSelectorImplPosix.cc,
852         gnu/java/nio/natSelectorImplWin32.cc: New files
853         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
854         gnu/java/nio/natSelectorImpl.cc
855         * configure: Regenerated.
856
857 2003-11-11  Micheal Koch  <konqueror@gmx.de>
858
859         * java/net/URLStreamHandler.java (toExternalForm): Print port only
860         if host is printed too and port was really given to URL.
861
862 2003-11-10  Gary Benson  <gbenson@redhat.com>
863
864         * java/sql/Timestamp.java (valueOf): Correctly handle
865         nanoseconds.
866
867 2003-11-09  Tom Tromey  <tromey@redhat.com>
868
869         * java/net/Inet4Address.java (serialVersionUID): Updated.
870
871 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
872
873         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
874         New fields.
875
876 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
877
878         * java/io/ByteArrayOutputStream.java (resize):
879         Fix off-by-one error.
880
881 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
882
883         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
884         public.
885
886 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
887
888         PR libgcj/12231
889         * java/lang/Win32Process.java (hasExited) Changed from
890         public to private.
891         (startProcess): Likewise.
892         (cleanup): Likewise.
893         * java/lang/natWin32Process.cc (cleanup) Don't close
894         input, output and error streams.
895         (ChildProcessPipe): New helper class.
896         (startProcess): Refactored to use ChildProcessPipe.
897         Use CREATE_NO_WINDOW when launching child process.
898
899 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
900
901         * include/win32.h (_Jv_platform_close_on_exec): Changed
902         signature and declared extern.
903         * win32.cc (_Jv_platform_close_on_exec): Implemented.
904         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
905         (create): Use new signature of _Jv_platform_close_on_exec.
906         * gnu/java/net/natPlainSocketImplWin32.cc 
907         (create): Eliminated a few typecasts
908         Use new signature of _Jv_platform_close_on_exec.
909         (accept): Eliminated a few typecasts
910         Use new signature of _Jv_platform_close_on_exec.
911         * java/io/natFileDescriptorWin32.cc (open): Use
912         _Jv_platform_close_on_exec.
913
914 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
915
916         * java/lang/natClass.cc (newInstance): Throw InstantiationException
917         if class has no null-argument constructor.
918
919 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
920
921         PR libgcj/12647:
922         * win32-threads.cc (_Jv_CondWait): Respect mutex's
923         refcount when releasing and reacquiring it.
924
925 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
926
927         * win32.cc: (dirExists) Internal helper function to
928         test for directory existence.
929         (getUserHome) New helper function refactored out
930         of _Jv_platform_initProperties. Uses USERPROFILE
931         instead of HOMEDIR and attempts to support Win9X and NT.
932         (_Jv_platform_initProperties) Use getUserHome.
933
934 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
935
936         PR libgcj/11521:
937         * gnu/java/net/natPlainSocketImplWin32.cc
938         (bind): Don't use SO_REUSEADDR
939
940 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
941
942         PR libgcj/6652:
943         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
944
945 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
946
947         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
948         dispatch for final methods.
949
950 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
951
952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
953         word wrapping.
954
955 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
956
957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
958         scrolled window's size request.
959
960 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
961
962         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
963         * java/awt/geom/QuadCurve2D.java: Likewise.
964
965 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
966
967         * java/awt/geom/CubicCurve2D.java: Added documentation.
968         * java/awt/geom/QuadCurve2D.java: Likewise.
969
970         * java/awt/geom/doc-files/QuadCurve2D-4.png,
971         java/awt/geom/doc-files/QuadCurve2D-5.png,
972         java/awt/geom/doc-files/CubicCurve2D-4.png,
973         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
974
975 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
976
977         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
978         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
979         (subdivide(double[],int,double[],int,double[],int)): Implement.
980
981 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
982
983         * java/awt/geom/doc-files/CubicCurve2D-1.png,
984         java/awt/geom/doc-files/CubicCurve2D-2.png,
985         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
986
987 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
988
989         * java/text/DecimalFormat.java
990         (scanFormat) corrected so that '%' may appear in a pattern.
991
992 2003-10-29  Mark Wielaard  <mark@klomp.org>
993
994         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
995         * java/text/DateFormat.java (Field): New public static inner class.
996         * java/text/Format.java (Field): Likewise.
997         (formatToCharacterIterator): New method.
998         * java/text/FormatCharacterIterator.java: New file.
999
1000 2003-10-29  Mark Wielaard  <mark@klomp.org>
1001
1002         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1003         * java/util/Currency.java: New file.
1004
1005 2003-10-29  Michael Koch  <konqueror@gmx.de>
1006
1007         * Makefile.am (ordinary_java_source_files): Added
1008         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1009         * Makefile.in: Regenerated.
1010
1011 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1012
1013         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1014         static methods.
1015
1016 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1017
1018         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1019         getObjectInstance() with Object, Name, Context and environment
1020         Hashtable from exception. Call fillInStackTrace() on exception when
1021         rethrown.
1022         * javax/naming/InitialContext.java (lookup(Name)): When a
1023         CannotProceedException is thrown use the ContinuationContext.
1024         (lookup(String)): Likewise.
1025         (close): Clear myProps and defaultInitCtx.
1026
1027 2003-10-29  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/net/InetAddress.java
1030         (equals): Remove redundant obj == null check.
1031         * java/net/SocketPermission.java
1032         (equals): Likewise.
1033         * java/net/URL.java
1034         (equals): Likewise.
1035         (getURLStreamHandler): Likewise.
1036
1037 2003-10-29  Michael Koch  <konqueror@gmx.de>
1038
1039         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1040         (setOption): Directly return if no error occured.
1041         * gnu/java/net/natPlainSocketImplPosix.cc
1042         (setOption): Likewise.
1043
1044 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1045
1046         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1047         vtable slot for final methods. Add FIXME comment.
1048
1049 2003-10-28  David S. Miller  <davem@redhat.com>
1050
1051         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1052
1053 2003-10-26  Mark Wielaard  <mark@klomp.org>
1054
1055         Reported by Helmer Kraemer <hkraemer@freenet.de>
1056         * java/util/jar/JarInputStream.java (readManifest): Don't call
1057         closeEntry().
1058
1059         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1060         (finish): Use inbufWrite().
1061         (write(int)): Likewise.
1062         (write(byte[],int,int)): Likewise.
1063
1064 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1065
1066         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1067         Don't check for AccessibleObject. Update javadocs.
1068         
1069         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1070
1071 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1072
1073         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1074         whitespace on constructor with no modifiers.
1075         * java/lang/reflect/natConstructor.java (newInstance): Look up
1076         caller and perform accessibility check only if constructor is
1077         non-public and accessible flag is not set.
1078
1079 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1080
1081         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1082         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1083         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1084         is_virtual_call argument.
1085         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1086         natClass.cc.
1087         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1088         _Jv_isVirtualMethod.
1089         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1090         _Jv_LookupDeclaredMethod.
1091         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1092         look up method in target object's vtable.
1093
1094 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1095
1096         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1097         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1098         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1099         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1100         New concrete implementation of ClasspathFontPeer, with native part.
1101         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1102         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1103         New class, with native part.
1104         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1105         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1106         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1107
1108 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1109
1110         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1111         on method with no modifiers.
1112
1113 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1114
1115         PR libgcj/11780:
1116         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1117         accessibility check only if target is non-public and accessible flag
1118         is not set.
1119         * java/lang/reflect/natField.cc (getAddr): Likewise.
1120
1121 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1122
1123         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1124         Remove method.
1125         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1126         New method.
1127         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1128         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1129         (dispose): Post WINDOW_CLOSED event.
1130         (addWindowFocusListener, addWindowStateListener): Assign result
1131         of multicaster add back to window listener.
1132         (removeWindowFocusListener, removeWindowStateListener): Assign
1133         result of multicaster remove back to window listener.
1134         (dispatchEventImpl): Add null checks for focus and state
1135         listeners.
1136         (processWindowEvent): Handle case where windowListener is null
1137         but state or focus listeners exist.
1138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1139         glue for postWindowEvent.
1140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1141         (window_delete_cb, window_destroy_cb, window_show_cb,
1142         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1143         window_get_new_state): New functions.
1144         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1145         macros.  Declare postWindowEventID.
1146
1147 2003-10-24  Anthony Green  <green@redhat.com>
1148
1149         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1150         we have no interpreter.
1151
1152 2003-10-22  Andrew Haley  <aph@redhat.com>
1153
1154         * java/lang/natClass.cc (initializeClass): Call
1155         _Jv_linkExceptionClassTable.
1156         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1157         _Jv_Defer_Resolution on a method whose ncode is NULL.
1158         (_Jv_linkExceptionClassTable): New function.
1159         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1160         entry, look it up.
1161         * java/lang/Class.h (struct _Jv_CatchClass): New.
1162         (_Jv_linkExceptionClassTable): New friend.
1163         (_Jv_Defer_Resolution): New friend.
1164         (class Class.catch_classes): New field.
1165         * include/java-interp.h (Jv_Defer_Resolution): New method.
1166         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1167         (_Jv_MethodBase.deferred): New field.
1168         (_Jv_Defer_Resolution): New function.
1169         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1170         * exception.cc (get_ttype_entry): Change return type to void**.
1171         (PERSONALITY_FUNCTION): Remove all code related to using a
1172         Utf8Const* for a match type.  Change match type to be a pointer to
1173         a pointer, rather than a pointer to a Class.
1174         * defineclass.cc (handleCodeAttribute): Initialize
1175         method->deferred.
1176         (handleMethodsEnd): Likewise.
1177
1178 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1179
1180         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1181         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1182
1183 2003-10-22  Tom Tromey  <tromey@redhat.com>
1184
1185         PR libgcj/12416:
1186         * java/lang/Class.h: Updated.
1187         * java/lang/natClass.cc (_getFields): Removed.
1188         (getFields): Likewise.
1189         (getDeclaredFields): Added `public_only' parameter.
1190         * java/lang/Class.java (getFields): Now implemented in java; from
1191         Classpath.
1192         (getDeclaredFields): Likewise.
1193         (getDeclaredFields(boolean)): Declare.
1194         (_getFields): Removed.
1195         (internalGetFields): New method, from Classpath.
1196
1197         PR libgcj/12656:
1198         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1199         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1200
1201 2003-10-22  David Daney  <ddaney@avtrex.com)
1202
1203         * include/mips-signal.h: New file.
1204         * sysdep/dwarf2-backtrace.cc: New file.
1205         * sysdep/mips: New directory.
1206         * sysdep/mips/locks.h: New file.
1207         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1208         added to libgcj.
1209         (extra_cc_source_files): Ditto.
1210         * configure.host(disable_dladdr):  New shell variable passed to
1211         configure.
1212         (mips*-*-linux*): sysdeps_dir=mips,
1213         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1214         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1215         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1216         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1217         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1218         (EXTRA_CC_FILES): New, to support conditional addition of
1219         sysdep/dwarf2-backtrace.cc.
1220         * configure: Regenerated.
1221         * Makefile.in: Regenerated.
1222         * gcj/Makefile.in: Regenerated.
1223         * include/config.h.in: Regenerated.
1224         * include/Makefile.in: Regenerated.
1225         * testsuite/Makefile.in: Regenerated.
1226         
1227 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1228
1229         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1230         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1231
1232 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1233
1234         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1235         * java/awt/geom/doc-files: New directory.
1236         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1237         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1238         
1239 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1240
1241         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1242
1243 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1244
1245         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1246
1247 2003-10-22  Michael Koch  <konqueror@gmx.de>
1248
1249         * java/io/File.java
1250         (equals): Removed redundant obj == null check.
1251         (createTempFile): Merged comments from classpath.
1252
1253 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1254
1255         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1256         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1257         (error): Synchronize on instance, not class.
1258
1259 2003-10-21  Mark Wielaard  <mark@klomp.org>
1260
1261         Reported by M.Negovanovic
1262         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1263         method.
1264         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1265
1266 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1267
1268         Fix for Classpath bug #6076.
1269         * java/awt/geom/GeneralPath.java (append): Re-written.
1270
1271 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1272
1273         Fix for Classpath bug #6089.
1274         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1275         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1276
1277 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1278
1279         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1280         point, not start of subpath.  Fixes Classpath bug #6075.
1281
1282 2003-10-21  Michael Koch  <konqueror@gmx.de>
1283
1284         * java/nio/ByteOrder.java,
1285         java/nio/DirectByteBufferImpl.java,
1286         java/nio/channels/FileChannelImpl.java:
1287         Add code to load library with code for native methods if needed.
1288
1289 2003-10-21  Michael Koch  <konqueror@gmx.de>
1290
1291         * gnu/java/net/PlainDatagramSocketImpl.java,
1292         gnu/java/net/PlainSocketImpl.java,
1293         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1294         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1295         gnu/java/net/natPlainSocketImplPosix.cc,
1296         gnu/java/net/natPlainSocketImplWin32.cc:
1297         Renamed fnum to native_fd to match classpath more.
1298
1299 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1300
1301         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1302         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1303         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1304         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1305         _Jv_PthreadCheckMonitor.  Simplify code.
1306         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1307         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1308         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1309         * java/lang/Thread.java (holdsLock): New.
1310         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1311         without JV_HASH_SYNCHRONIZATION.
1312         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1313
1314 2003-10-20  Michael Koch  <konqueror@gmx.de>
1315
1316         * java/text/RuleBasedCollator.java
1317         (RuleBasedCollator): Check rules not empty, fixed search in already
1318         existing collation elements.
1319         (is_special): Removed common whitespace characters.
1320         (text_argument): Dont return on whitespaces, add characters between
1321         two ' to string buffer.
1322
1323 2003-10-18  Michael Koch  <konqueror@gmx.de>
1324
1325         * gnu/java/net/protocol/file/Connection.java,
1326         gnu/java/net/protocol/file/Handler.java,
1327         gnu/java/net/protocol/http/Connection.java,
1328         gnu/java/net/protocol/http/Handler.java,
1329         gnu/java/net/protocol/jar/Connection.java,
1330         gnu/java/net/protocol/jar/Handler.java:
1331         Merged copyright text from classpath to make
1332         it possible to merge the classes.
1333
1334 2003-10-18  Mark Wielaard  <mark@klomp.org>
1335
1336         Reported by M.Negovanovic
1337         * java/beans/IndexedPropertyDescriptor.java
1338         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1339
1340 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1341
1342         * win32.cc (_Jv_pipe): Implemented.
1343         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1344         _Jv_pipe instead of ::pipe.
1345         * include/posix.h (_Jv_pipe): New inline.
1346         * include/win32.h (_Jv_pipe): New declaration.
1347         
1348 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1349
1350         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1351         (append, substring, insert): Likewise.
1352         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1353         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1354         
1355 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1356
1357         * java/lang/natString.cc (getChars):
1358         Fix validation of array indexes.
1359         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1360         * testsuite/libjava.lang/String_overflow.java: New file.
1361         * testsuite/libjava.lang/String_overflow.out: New file.
1362
1363 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1364
1365         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1366         overflow a jint.
1367         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1368         check for overflowing size_t, since the lower level functions
1369         take a jint.
1370         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1371         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1372         
1373 2003-10-15  Michael Koch  <konqueror@gmx.de>
1374
1375         * java/text/RuleBasedCollator.java
1376         (RuleBasedCollator): Moved around, documentation added.
1377         (compare): Documentation added.
1378         (equals): Likewise.
1379         (getCollationElementIterator): Likewise.
1380         (getCollationKey): Likewise.
1381         (getRules): Likewise.
1382         (hashCode): Likewise.
1383
1384 2003-10-15  Michael Koch  <konqueror@gmx.de>
1385
1386         * java/text/RuleBasedCollator.java
1387         (CollationElement): Renamed from RBCElement and moved into
1388         RuledBasedCollator as inner class.
1389
1390 2003-10-15  Michael Koch  <konqueror@gmx.de>
1391
1392         * java/text/CollationElementIterator.java
1393         (CollationElementIterator): Moved, documenatation added, call setText.
1394         (next): Reformated.
1395         (reset): Reformated.
1396         (setText): New method.
1397         (getOffset): New method.
1398         * java/text/CollationKey.java
1399         (getSourceString): Reformated.
1400         (hashCode): Reformated.
1401         (toByteArray): Reformated.
1402
1403 2003-10-15  Michael Koch  <konqueror@gmx.de>
1404
1405         * java/util/zip/InflaterInputStream.java
1406         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1407         added description to exception, check for inf == null and size < 0.
1408
1409 2003-10-15  Michael Koch  <konqueror@gmx.de>
1410
1411         * java/text/AttributedCharacterIterator.java,
1412         java/text/CharacterIterator.java: Reformated.
1413
1414 2003-10-15  Michael Koch  <konqueror@gmx.de>
1415
1416         * javax/swing/UIDefaults.java (putDefaults):
1417         Readded accidently removed "public" modifier.
1418
1419 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1420
1421         * interpret.cc (_Jv_InterpMethod::run): Don't
1422         use libffi types, they were meant to be internal.
1423         * gcj/javaprims.h (_Jv_ulong): New typedef.
1424
1425 2003-10-13  Tom Tromey  <tromey@redhat.com>
1426
1427         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1428         (defineClass): Updated.
1429         (_Jv_NewClass): Likewise.
1430         * prims.cc (_Jv_InitPrimClass): Don't call
1431         _Jv_InitNewClassFields.
1432
1433 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1434
1435         PR libgcj/12592
1436         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1437         not just \n.
1438
1439 2003-10-13  Michael Koch  <konqueror@gmx.de>
1440
1441         * java/io/File.java: Reformated.
1442         (equals): Check for obj == null.
1443
1444 2003-10-13  Michael Koch  <konqueror@gmx.de>
1445
1446         * java/net/JarURLConnection.java
1447         (jarFileURL): Added dcoumentation.
1448         (jarFileURLConnection): Reformated documentation.
1449         (entryName): Renamed from "element", documentation rewritten.
1450         (connectionCache): Renamed from "conn_cache", documentation
1451         reformated.
1452         (JarURLConnection): Check URL protocol.
1453         (getEntryName): Use entryName.
1454         (connect): Use connectionCache.
1455         (getInputStream): Use entryName, fixed comment.
1456         (getJarEntry): Use entryName.
1457         (getHeaders): Use entryName.
1458         * java/net/URLConnection.java
1459         (addRequestProperty): Fixed documentation.
1460         (setDefaultRequestProptery): Added comment that it does nothing since
1461         JDK 1.3.
1462         (getDefaultRequestProperty): Likewise.
1463
1464 2003-10-13  Michael Koch  <konqueror@gmx.de>
1465
1466         * java/net/java/net/URLStreamHandlerFactory.java
1467         (createURLStreamHandler): Removed redundant "public" modifier.
1468         * java/sql/DatabaseMetaData.java:
1469         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1470         * java/sql/ParameterMetaData.java:
1471         (ParameterMetaData): Readded accidently removed "public" modifier.
1472         * java/sql/PreparedStatement.java:
1473         (PreparedStatement): Readded accidently removed "public" modifier.
1474         * java/sql/Ref.java:
1475         (Ref): Readded accidently removed "public" modifier.
1476
1477 2003-10-13  Michael Koch  <konqueror@gmx.de>
1478
1479         * java/nio/Buffer.java
1480         (hasRemaining): Made implementation more clear.
1481         * java/nio/MappedByteBuffer.java
1482         (loaded): New member variable.
1483         (force): Added comment.
1484         (isLoaded): Return value of loaded.
1485         (load): Set loaded to true, added comment.
1486
1487 2003-10-12  Michael Koch  <konqueror@gmx.de>
1488
1489         * gnu/java/nio/PipeImpl.java
1490         (SourceChannelImpl): New inner class.
1491         (SinkChannelImpl): New inner class.
1492         (sink): New member variable.
1493         (source): New member variable.
1494         (PipeImpl): Add SelectorProvider argument, implemented.
1495         (nativeInit): New method.
1496         (sink): Return sink channel.
1497         (source): Return source channel.
1498         * gnu/java/nio/SelectorProviderImpl.java
1499         (openPipe): Give provider as argument to PipeImpl constructor.
1500         * java/nio/channels/spi/SelectorProvider.java
1501         (pr): Removed.
1502         (systemDefaultProvider): New member variable.
1503         (provider): Made it synchronized, use property
1504         java.nio.channels.spi.SelectorProvider.
1505         * gnu/java/nio/natPipeImpl.cc: New file.
1506         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1507         * Makefile.in: Regenerated.
1508
1509 2003-10-12  Michael Koch  <konqueror@gmx.de>
1510
1511         * javax/swing/table/DefaultTableModel.java,
1512         javax/swing/table/TableCellEditor.java,
1513         javax/swing/table/TableCellRenderer.java,
1514         javax/swing/table/TableColumnModel.java,
1515         javax/swing/table/TableModel.java,
1516         javax/swing/text/AbstractDocument.java,
1517         javax/swing/text/Document.java,
1518         javax/swing/text/MutableAttributeSet.java,
1519         javax/swing/text/StyledDocument.java,
1520         javax/swing/text/ViewFactory.java,
1521         javax/swing/tree/DefaultMutableTreeNode.java,
1522         javax/swing/tree/MutableTreeNode.java,
1523         javax/swing/tree/RowMapper.java,
1524         javax/swing/tree/TreeCellEditor.java,
1525         javax/swing/tree/TreeCellRenderer.java,
1526         javax/swing/tree/TreeModel.java,
1527         javax/swing/tree/TreeNode.java,
1528         javax/swing/tree/TreeSelectionModel.java,
1529         javax/swing/undo/StateEditable.java,
1530         javax/swing/undo/UndoableEdit.java:
1531         Removed redundant modifiers.
1532
1533 2003-10-12  Michael Koch  <konqueror@gmx.de>
1534
1535         * javax/swing/event/AncestorListener.java,
1536         javax/swing/event/CaretListener.java,
1537         javax/swing/event/CellEditorListener.java,
1538         javax/swing/event/ChangeListener.java,
1539         javax/swing/event/DocumentEvent.java,
1540         javax/swing/event/DocumentListener.java,
1541         javax/swing/event/HyperlinkListener.java,
1542         javax/swing/event/InternalFrameListener.java,
1543         javax/swing/event/ListDataListener.java,
1544         javax/swing/event/ListSelectionListener.java,
1545         javax/swing/event/MenuDragMouseListener.java,
1546         javax/swing/event/MenuKeyListener.java,
1547         javax/swing/event/MenuListener.java,
1548         javax/swing/event/MouseInputListener.java,
1549         javax/swing/event/PopupMenuListener.java,
1550         javax/swing/event/TableColumnModelListener.java,
1551         javax/swing/event/TableModelListener.java,
1552         javax/swing/event/TreeExpansionListener.java,
1553         javax/swing/event/TreeModelListener.java,
1554         javax/swing/event/TreeSelectionListener.java,
1555         javax/swing/event/TreeWillExpandListener.java,
1556         javax/swing/event/UndoableEditListener.java,
1557         javax/swing/plaf/UIResource.java,
1558         javax/swing/plaf/metal/MetalLookAndFeel.java:
1559         Removed redundant modifiers.
1560
1561 2003-10-12  Michael Koch  <konqueror@gmx.de>
1562
1563         * javax/swing/Action.java,
1564         javax/swing/BoundedRangeModel.java,
1565         javax/swing/CellEditor.java,
1566         javax/swing/ComboBoxEditor.java,
1567         javax/swing/ComboBoxModel.java,
1568         javax/swing/DesktopManager.java,
1569         javax/swing/JComboBox.java,
1570         javax/swing/ListCellRenderer.java,
1571         javax/swing/ListSelectionModel.java,
1572         javax/swing/MenuElement.java,
1573         javax/swing/MutableComboBoxModel.java,
1574         javax/swing/Renderer.java,
1575         javax/swing/RootPaneContainer.java,
1576         javax/swing/ScrollPaneConstants.java,
1577         javax/swing/SingleSelectionModel.java,
1578         javax/swing/SpinnerModel.java,
1579         javax/swing/SwingConstants.java,
1580         javax/swing/UIDefaults.java,
1581         javax/swing/WindowConstants.java,
1582         javax/swing/border/Border.java,
1583         javax/swing/colorchooser/ColorSelectionModel.java:
1584         Removed redundant modifiers.
1585
1586 2003-10-11  Michael Koch  <konqueror@gmx.de>
1587
1588         * javax/transaction/Status.java,
1589         javax/transaction/Synchronization.java,
1590         javax/transaction/Transaction.java,
1591         javax/transaction/TransactionManager.java,
1592         javax/transaction/UserTransaction.java,
1593         javax/transaction/xa/XAResource.java,
1594         javax/transaction/xa/Xid.java:
1595         Removing redundant modifiers.
1596
1597 2003-10-11  Michael Koch  <konqueror@gmx.de>
1598
1599         * javax/print/attribute/Attribute.java,
1600         javax/print/attribute/AttributeSet.java,
1601         javax/print/attribute/PrintRequestAttributeSet.java:
1602         Removing redundant modifiers.
1603
1604 2003-10-11  Michael Koch  <konqueror@gmx.de>
1605
1606         * javax/sql/ConnectionEventListener.java,
1607         javax/sql/ConnectionPoolDataSource.java,
1608         javax/sql/DataSource.java,
1609         javax/sql/PooledConnection.java,
1610         javax/sql/RowSet.java,
1611         javax/sql/RowSetInternal.java,
1612         javax/sql/RowSetListener.java,
1613         javax/sql/RowSetMetaData.java,
1614         javax/sql/RowSetReader.java,
1615         javax/sql/RowSetWriter.java,
1616         javax/sql/XAConnection.java,
1617         javax/sql/XADataSource.java:
1618         Removing redundant modifiers.
1619
1620 2003-10-11  Michael Koch  <konqueror@gmx.de>
1621
1622         * javax/naming/Context.java,
1623         javax/naming/Name.java,
1624         javax/naming/NameParser.java,
1625         javax/naming/NamingEnumeration.java,
1626         javax/naming/Referenceable.java,
1627         javax/naming/directory/Attribute.java,
1628         javax/naming/directory/Attributes.java,
1629         javax/naming/directory/DirContext.java,
1630         javax/naming/event/EventContext.java,
1631         javax/naming/event/EventDirContext.java,
1632         javax/naming/event/NamespaceChangeListener.java,
1633         javax/naming/event/NamingListener.java,
1634         javax/naming/event/ObjectChangeListener.java,
1635         javax/naming/ldap/Control.java,
1636         javax/naming/ldap/ExtendedRequest.java,
1637         javax/naming/ldap/ExtendedResponse.java,
1638         javax/naming/ldap/HasControls.java,
1639         javax/naming/ldap/LdapContext.java,
1640         javax/naming/ldap/UnsolicitedNotification.java,
1641         javax/naming/ldap/UnsolicitedNotificationListener.java,
1642         javax/naming/spi/DirObjectFactory.java,
1643         javax/naming/spi/DirStateFactory.java,
1644         javax/naming/spi/InitialContextFactory.java,
1645         javax/naming/spi/InitialContextFactoryBuilder.java,
1646         javax/naming/spi/ObjectFactory.java,
1647         javax/naming/spi/ObjectFactoryBuilder.java,
1648         javax/naming/spi/Resolver.java,
1649         javax/naming/spi/StateFactory.java:
1650         Removing redundant modifiers.
1651
1652 2003-10-11  Michael Koch  <konqueror@gmx.de>
1653
1654         * java/security/Key.java,
1655         * java/security/PrivateKey.java,
1656         * java/security/PublicKey.java,
1657         * java/security/acl/Acl.java,
1658         * java/security/acl/AclEntry.java,
1659         * java/security/acl/Group.java,
1660         * java/security/acl/Owner.java,
1661         * java/security/acl/Permission.java,
1662         * java/security/cert/X509Extension.java,
1663         * java/security/interfaces/DSAKey.java,
1664         * java/security/interfaces/DSAKeyPairGenerator.java,
1665         * java/security/interfaces/DSAParams.java,
1666         * java/security/interfaces/DSAPrivateKey.java,
1667         * java/security/interfaces/DSAPublicKey.java,
1668         * java/security/interfaces/RSAKey.java,
1669         * java/security/interfaces/RSAPrivateCrtKey.java,
1670         * java/security/interfaces/RSAPrivateKey.java,
1671         * java/security/interfaces/RSAPublicKey.java:
1672         Removed redundant modifiers.
1673
1674 2003-10-11  Michael Koch  <konqueror@gmx.de>
1675
1676         * gnu/java/rmi/server/ProtocolConstants.java,
1677         gnu/java/security/der/DER.java:
1678         Removing redundant modifiers.
1679
1680 2003-10-11  Michael Koch  <konqueror@gmx.de>
1681
1682         * java/util/Map.java,
1683         java/util/Observer.java,
1684         java/util/zip/Checksum.java,
1685         java/util/zip/ZipConstants.java:
1686         Removed redundant modifiers.
1687
1688 2003-10-11  Michael Koch  <konqueror@gmx.de>
1689
1690         * java/text/AttributedCharacterIterator.java,
1691         java/text/CharacterIterator.java:
1692         Removed redundant modifiers.
1693
1694 2003-10-11  Michael Koch  <konqueror@gmx.de>
1695
1696         * java/sql/Array.java,
1697         java/sql/Blob.java,
1698         java/sql/CallableStatement.java,
1699         java/sql/Clob.java,
1700         java/sql/Connection.java,
1701         java/sql/DatabaseMetaData.java,
1702         java/sql/Driver.java,
1703         java/sql/ParameterMetaData.java,
1704         java/sql/PreparedStatement.java,
1705         java/sql/Ref.java,
1706         java/sql/ResultSet.java,
1707         java/sql/ResultSetMetaData.java,
1708         java/sql/SQLData.java,
1709         java/sql/SQLInput.java,
1710         java/sql/SQLOutput.java,
1711         java/sql/Savepoint.java,
1712         java/sql/Statement.java,
1713         java/sql/Struct.java:
1714         Removed redundant modifiers.
1715
1716 2003-10-11  Michael Koch  <konqueror@gmx.de>
1717
1718         * java/nio/channels/Channel.java,
1719         java/nio/channels/GatheringByteChannel.java,
1720         java/nio/channels/ReadableByteChannel.java,
1721         java/nio/channels/ScatteringByteChannel.java,
1722         java/nio/channels/WritableByteChannel.java:
1723         Removed redundant modifiers.
1724
1725 2003-10-11  Michael Koch  <konqueror@gmx.de>
1726
1727         * java/rmi/activation/ActivationInstantiator.java,
1728         java/rmi/activation/ActivationMonitor.java,
1729         java/rmi/activation/ActivationSystem.java,
1730         java/rmi/activation/Activator.java,
1731         java/rmi/dgc/DGC.java,
1732         java/rmi/registry/Registry.java,
1733         java/rmi/registry/RegistryHandler.java,
1734         java/rmi/server/LoaderHandler.java,
1735         java/rmi/server/RMIClientSocketFactory.java,
1736         java/rmi/server/RMIFailureHandler.java,
1737         java/rmi/server/RMIServerSocketFactory.java,
1738         java/rmi/server/RemoteCall.java,
1739         java/rmi/server/RemoteRef.java,
1740         java/rmi/server/ServerRef.java,
1741         java/rmi/server/Skeleton.java,
1742         java/rmi/server/Unreferenced.java:
1743         Removed redundant modifiers.
1744
1745 2003-10-11  Michael Koch  <konqueror@gmx.de>
1746
1747         * java/net/ContentHandlerFactory.java,
1748         java/net/DatagramSocketImplFactory.java,
1749         java/net/FileNameMap.java,
1750         java/net/SocketImplFactory.java,
1751         java/net/SocketOptions.java,
1752         java/net/URLStreamHandlerFactory.java:
1753         Removed redundant modifiers.
1754
1755 2003-10-11  Michael Koch  <konqueror@gmx.de>
1756
1757         * java/io/Externalizable.java,
1758         java/io/FileFilter.java,
1759         java/io/FilePermission.java,
1760         java/io/ObjectInput.java,
1761         java/io/ObjectInputValidation.java,
1762         java/io/ObjectOutput.java,
1763         java/io/ObjectStreamClass.java,
1764         java/io/ObjectStreamConstants.java,
1765         java/io/Serializable.java:
1766         Removed redundant modifiers.
1767
1768 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1769
1770         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1771         codebase and context classloader.
1772
1773 2003-10-11  Michael Koch  <konqueror@gmx.de>
1774
1775         * java/beans/beancontext/BeanContext.java,
1776         java/beans/beancontext/BeanContextChild.java,
1777         java/beans/beancontext/BeanContextChildComponentProxy.java,
1778         java/beans/beancontext/BeanContextChildSupport.java,
1779         java/beans/beancontext/BeanContextContainerProxy.java,
1780         java/beans/beancontext/BeanContextMembershipListener.java,
1781         java/beans/beancontext/BeanContextProxy.java,
1782         java/beans/beancontext/BeanContextServiceProvider.java,
1783         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1784         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1785         java/beans/beancontext/BeanContextServices.java,
1786         java/beans/beancontext/BeanContextServicesListener.java:
1787         Removed redundant modifiers.
1788
1789 2003-10-11  Michael Koch  <konqueror@gmx.de>
1790
1791         * java/beans/AppletInitializer.java,
1792         java/beans/BeanInfo.java,
1793         java/beans/Customizer.java,
1794         java/beans/DesignMode.java,
1795         java/beans/PropertyEditor.java,
1796         java/beans/Visibility.java:
1797         Removed redundant modifiers.
1798
1799 2003-10-11  Michael Koch  <konqueror@gmx.de>
1800
1801         * java/awt/print/Pageable.java,
1802         * java/awt/print/Printable.java,
1803         java/awt/print/PrinterGraphics.java:
1804         Removed redundant modifiers.
1805
1806 2003-10-11  Michael Koch  <konqueror@gmx.de>
1807
1808         * java/awt/peer/ButtonPeer.java,
1809         java/awt/peer/CheckboxMenuItemPeer.java,
1810         java/awt/peer/CheckboxPeer.java,
1811         java/awt/peer/ChoicePeer.java,
1812         java/awt/peer/ComponentPeer.java,
1813         java/awt/peer/ContainerPeer.java,
1814         java/awt/peer/DialogPeer.java,
1815         java/awt/peer/FileDialogPeer.java,
1816         java/awt/peer/FramePeer.java,
1817         java/awt/peer/LabelPeer.java,
1818         java/awt/peer/ListPeer.java,
1819         java/awt/peer/MenuBarPeer.java,
1820         java/awt/peer/MenuComponentPeer.java,
1821         java/awt/peer/MenuItemPeer.java,
1822         java/awt/peer/MenuPeer.java,
1823         java/awt/peer/PopupMenuPeer.java,
1824         java/awt/peer/RobotPeer.java,
1825         java/awt/peer/ScrollPanePeer.java,
1826         java/awt/peer/ScrollbarPeer.java,
1827         java/awt/peer/TextAreaPeer.java,
1828         java/awt/peer/TextComponentPeer.java,
1829         java/awt/peer/TextFieldPeer.java,
1830         java/awt/peer/WindowPeer.java:
1831         Removed redundant modifiers.
1832
1833 2003-10-11  Michael Koch  <konqueror@gmx.de>
1834
1835         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1836         * gnu/java/nio/ServerSocketChannelImpl.java
1837         (serverSocket): Made it a NIOServerSocket.
1838         (impl): Removed.
1839         (ServerSocketChannelImpl): Initialize only serverSocket.
1840         (initServerSocket): Removed.
1841         (getNativeFD): Rewritten.
1842         (implConfigureBlocking): Set socket timeout and removed comment.
1843         (accept): Rewritten.
1844         * gnu/java/nio/SocketChannelImpl.java
1845         (impl): New variable.
1846         (connected): Removed.
1847         (SocketChannelImpl): Initialize impl too.
1848         (getImpl): New method.
1849         (isConnected): Rewritten.
1850         (read): Rewritten, set position in buffer correctly.
1851         (write): Set position in buffer correctly.
1852         * java/net/ServerSocket.java (getImpl): New method.
1853         * gnu/java/nio/NIOServerSocket.java,
1854         gnu/java/nio/natNIOServerSocket.cc: New files.
1855         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1856         * Makefile.am
1857         (ordinary_java_source_files):
1858         Added gnu/java/nio/NIOServerSocket.java.
1859         (nat_source_files):
1860         Removed gnu/java/nio/natServerSocketChannelImpl.cc
1861         and added gnu/java/nio/natNIOServerSocket.cc.
1862         * Makefile.in: Regenerated.
1863
1864 2003-10-11  Michael Koch  <konqueror@gmx.de>
1865
1866         * java/awt/ActiveEvent.java,
1867         java/awt/datatransfer/ClipboardOwner.java,
1868         java/awt/datatransfer/FlavorMap.java,
1869         java/awt/datatransfer/Transferable.java,
1870         java/awt/dnd/Autoscroll.java,
1871         java/awt/dnd/peer/DragSourceContextPeer.java,
1872         java/awt/dnd/peer/DropTargetContextPeer.java,
1873         java/awt/dnd/peer/DropTargetPeer.java,
1874         java/awt/font/MultipleMaster.java,
1875         java/awt/font/OpenType.java,
1876         java/awt/im/spi/InputMethodDescriptor.java,
1877         java/awt/image/ImageObserver.java,
1878         java/awt/image/ImageConsumer.java,
1879         java/awt/image/ImageProducer.java,
1880         java/awt/image/RGBImageFilter.java,
1881         java/awt/image/RasterOp.java,
1882         java/awt/image/renderable/RenderableImage.java:
1883         Removed redundant modifiers.
1884
1885 2003-10-11  Michael Koch  <konqueror@gmx.de>
1886
1887         * gnu/awt/j2d/DirectRasterGraphics.java,
1888         gnu/java/awt/EmbeddedWindowSupport.java:
1889         Removed redundant modifiers.
1890
1891 2003-10-09  Michael Koch  <konqueror@gmx.de>
1892
1893         * gnu/java/nio/SelectorImpl.java (register):
1894         Use ServerSocketChannelSelectionKey for server socket channels,
1895         removed unneeded comments.
1896         * gnu/java/nio/ServerSocketChannelImpl.java
1897         (ServerSocketChannelImpl): Made class public final.
1898         (impl): New member variable.
1899         (ServerSocketChannelImpl): Initialize member variables correctly.
1900         (initServerSocket): New method.
1901         (getNativeFD): Likewise.
1902         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1903         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1904         * Makefile.am (ordinary_java_source_files):
1905         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1906         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1907         * Makefile.in: Regenrated.
1908
1909 2003-10-09  Michael Koch  <konqueror@gmx.de>
1910
1911         * java/nio/channels/spi/AbstractSelectableChannel.java
1912         (registered): Made private.
1913         (blocking): Likewise.
1914         (LOCK): Likewise.
1915         (provider): Likewise.
1916         (keys): Made it a private LinkedList.
1917         (AbstractSelectableChannel): Initialize keys.
1918         (isRegistered): New implementation.
1919         (locate): Rewritten.
1920         (register): Rewritten.
1921         * java/nio/channels/spi/AbstractSelectionKey.java
1922         (ok): Removed.
1923         (cancelled): New member variable.
1924         (cancel): Rewritten.
1925         (isValid): Rewritten.
1926         * java/nio/channels/spi/AbstractSelector.java:
1927         Some methods moved.
1928         (closed): Make private.
1929         (provider): Likewise.
1930         (cancelledKeys): New member variable.
1931         (AbstractSelector): Initialize cancelledKeys.
1932         (cancelKey): New method.
1933
1934 2003-10-09  Tom Tromey  <tromey@redhat.com>
1935
1936         * java/lang/ClassLoader.java (setSigners): Implemented.
1937         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1938         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1939         Initialize new fields.
1940         * java/lang/Class.java (getSigners): Now native.
1941         (setSigners): Declare.
1942         * java/lang/natClass.cc (getSigners): New method.
1943         (getSigners): Likewise.
1944         * java/lang/Class.h (Class::signers): New field.
1945         (Class::setSigners): New method.
1946
1947 2003-10-09  Michael Koch  <konqueror@gmx.de>
1948
1949         * java/rmi/server/RMIClassLoader.java:
1950         Removed unused imports, little reformatings.
1951         (getClassLoader): New method, implementation was part of old loadCLass
1952         method.
1953         (loadClass): Simplified by moving functionality to new method and
1954         reworking the code a bit.
1955         (getClassAnnotation): Merged documentation from classpath.
1956
1957 2003-10-09  Michael Koch  <konqueror@gmx.de>
1958
1959         * java/math/BigInteger.java
1960         (add): Removed unused local variable len.
1961
1962 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1963
1964         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1965         modality check.
1966         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1967         Initialize insets to use latest insets.
1968         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1969         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1970         field.
1971         (postConfigureEvent): Update latestInsets field when insets
1972         change.  Remove call to setSize.  Move validate call outside of
1973         if blocks.
1974         (setVisible): Call setBounds before showing window.
1975         (nativeSetVisible): New native method.
1976         * java/awt/Window.java (show): Show visible owned windows.
1977         (hide): Hide visible owned windows.
1978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1979         (awt_event_handler): Implement modality using GTK grabs.
1980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1981         (global_gtk_window_group): New global variable.
1982         (gtkInit): Initialize global_gtk_window_group.
1983         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1984         Clamp width and height values to at least 1.  Add this window to
1985         the global GTK window group.
1986         (setVisible): Rename to nativeSetVisible.
1987         (setup_window): Remove function.
1988         (setSize): Clamp width and height values to at least 1.
1989         (nativeSetBounds): Likewise.
1990         (gdk_window_get_root_geometry): Remove function.
1991         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1992         and setup_window declarations.  Declare global_gtk_window_group.
1993
1994         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1995         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1996         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1997         (gtkWidgetSetForeground): New method.
1998         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1999         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2000         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2001         (setBackground, setForeground): Implement.
2002         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2004         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2005         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2006         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2008         Position PangoLayout relative to text's baseline.
2009         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2010
2011         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2012         for CENTER and RIGHT alignments.
2013
2014 2003-10-08  Michael Koch  <konqueror@gmx.de>
2015
2016         * java/security/Security.java: Reformated.
2017
2018 2003-10-08  Michael Koch  <konqueror@gmx.de>
2019
2020         * java/text/SimpleDateFormat.java
2021         (compileFormat): Replace Character.isLetter() test with
2022         Character.isLowerCase() || Character.isUpperCase().
2023
2024 2003-10-08  Tom Tromey  <tromey@redhat.com>
2025
2026         * java/lang/StrictMath.java (toDegrees): Multiply before
2027         dividing.
2028         (toRadians): Likewise.
2029
2030 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2031
2032         * java/lang/Math.java
2033         (toRadians): multiply before dividing to reduce decimal error
2034         (toDegrees): ditto
2035
2036 2003-10-08  Michael Koch  <konqueror@gmx.de>
2037
2038         * gnu/gcj/protocol/core/Connection.java,
2039         gnu/gcj/protocol/core/CoreInputStream.java,
2040         gnu/gcj/protocol/core/Handler.java,
2041         gnu/gcj/protocol/core/natCoreInputStream.cc,
2042         gnu/gcj/protocol/file/Connection.java,
2043         gnu/gcj/protocol/file/Handler.java,
2044         gnu/gcj/protocol/gcjlib/Connection.java,
2045         gnu/gcj/protocol/gcjlib/Handler.java,
2046         gnu/gcj/protocol/http/Connection.java,
2047         gnu/gcj/protocol/http/Handler.java,
2048         gnu/gcj/protocol/jar/Connection.java,
2049         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2050         * gnu/java/net/protocol/core/Connection.java,
2051         gnu/java/net/protocol/core/CoreInputStream.java,
2052         gnu/java/net/protocol/core/Handler.java,
2053         gnu/java/net/protocol/core/natCoreInputStream.cc,
2054         gnu/java/net/protocol/file/Connection.java,
2055         gnu/java/net/protocol/file/Handler.java,
2056         gnu/java/net/protocol/gcjlib/Connection.java,
2057         gnu/java/net/protocol/gcjlib/Handler.java,
2058         gnu/java/net/protocol/http/Connection.java,
2059         gnu/java/net/protocol/http/Handler.java,
2060         gnu/java/net/protocol/jar/Connection.java,
2061         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2062         * gnu/gcj/runtime/FirstThread.java,
2063         java/net/URL.java: Use moved protocol handlers.
2064         * Makefile.am
2065         (ordinary_java_source_files): Moved files.
2066         (nat_source_files): Likewise.
2067         * Makefile.in: Regenerated.
2068
2069 2003-10-08  Michael Koch  <konqueror@gmx.de>
2070
2071         * gnu/java/nio/SocketChannelImpl.java
2072         (read): Write only read data to buffer.
2073
2074 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2075
2076         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2077         out.
2078         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2079         (JCL_free): Attach "unused" attribute to env parameter.
2080         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2081         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2082         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2083         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2084         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2085         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2086         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2087         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2088         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2089         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2090         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2091         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2092         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2093         parameters.
2094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2095         (initNativeState): Pass 0 as info argument to
2096         gtk_selection_add_target.
2097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2098         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2099         unused method implementations.
2100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2101         (awt_event_handler): Add break statement after default label.
2102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2103         (drawPixels): Remove unused variable i.
2104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2105         (setEnabled): Remove method implementation.
2106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2107         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2108         argument.
2109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2110         unused function.
2111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2112         (menu_pos): Assign TRUE to push_in.
2113         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2114         argument.
2115         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2116         (create): Remove unused variable layout.
2117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2118         Pass window_widget, rather than window, to
2119         gtk_widget_set_size_request.
2120         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2121         structure initialization with NULL values.
2122         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2123
2124 2003-10-08  Michael Koch  <konqueror@gmx.de>
2125
2126         * java/util/LinkedList.java:
2127         Removed whitespace to match classpath's version again.
2128
2129 2003-10-08  Michael Koch  <konqueror@gmx.de>
2130
2131         * java/util/prefs/Preferences.java
2132         (defaultFactoryClass): Fixed class name.
2133         (getFactory): Create instance of class returned by Class.forName(),
2134         reformated code.
2135
2136 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2137
2138         * javax/swing/table/AbstractTableModel.java
2139         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2140         helped stop pulling my hair on this +1 then -1 tricky thing!
2141
2142 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2143
2144         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2145         Remove unused parameters.
2146         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2147         Likewise.
2148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2149         (keyevent_state_to_awt_mods): Export function.
2150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2151         (getCaretPosition): Fix TextArea case.
2152         (textcomponent_commit_cb): Get exact event time and modifier
2153         state.
2154         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2155
2156 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2157
2158         * java/net/InetSocketAddress.java
2159         (InetSocketAddress): Made exception more clear.
2160         (equals): Handle case when addr is null.
2161         (toString): Likewise.
2162         * java/net/NetworkInterface.java
2163         (static): Load native library.
2164         (getNetworkInterfaces): Rewritten.
2165
2166 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2167
2168         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2169         field.
2170         (initializeInsets): New method.
2171         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2172         setBounds unconditionally.
2173         (setBounds): Convert coordinates if parent is a Window.
2174         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2175         field to GtkComponentPeer.
2176         (GtkContainerPeer): Don't initialize insets.
2177         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2178         New method.
2179         (create): Call new GtkWindowPeer create method.
2180         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2181         New method.
2182         (create): Call new GtkWindowPeer create method.
2183         (setBounds): Remove method.
2184         (postConfigureEvent): Likewise.
2185         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2186         type constants with GDK window type constants.
2187         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2188         (create(int,boolean)): Likewise.
2189         (create()): Call create(int,boolean).
2190         (nativeSetBounds): New native method declaration.
2191         (setBounds): Call native method declaration.
2192         (setSize): New native method declaration.
2193         (setBoundsCallback): Likewise.
2194         (postConfigureEvent): Handle change in insets.  Call setSize and
2195         setBoundsCallback methods.
2196         * java/awt/Window.java (Window): Set visible to false.
2197         (setBoundsCallback): New method.
2198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2199         (gtkWidgetGetLocationOnScreen): If this component is not a
2200         container, adjust the location returned based on the peer's
2201         allocation.
2202         (set(String,boolean)): Revert change from 2003-09-19.
2203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2204         (awt_event_handler): Fix inset calculation.
2205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2206         glue for Window.setBoundsCallback.
2207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2208         Set up stacking order, window decorations and window manager
2209         hints.
2210         (setBoundsCallback): New method.
2211         (setSize): New method.
2212         (nativeSetBounds): New method.
2213         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2214
2215 2003-10-02  Tom Tromey  <tromey@redhat.com>
2216
2217         * java/lang/VMClassLoader.java (loadClass): Now native.
2218         * java/lang/natClassLoader.cc (loadClass): Implement.
2219         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2220
2221 2003-10-02  Michael Koch  <konqueror@gmx.de>
2222
2223         * java/net/InetAddress.java
2224         (zeros): Removed.
2225         (ANY_IF): Initalizie in static block.
2226         (static): Load library with native methods here and initialize ANY_IF.
2227         (isAnyLocalAddress): Check if equal to ANY_IF.
2228         (equals): Use addr directly instead of addr1. Simplify for loop.
2229         (toString): Rename "result" to "host" and add IP address allways.
2230         (getLocalHost): Merged documentation from classpath.
2231         * java/net/ServerSocket.java
2232         (ServerSocket): New package-private constructor used by java.nio.
2233         * java/net/URLConnection.java
2234         (getRequestProperties): Check if already connected.
2235
2236 2003-10-02  Michael Koch  <konqueror@gmx.de>
2237
2238         * java/nio/ByteBufferHelper.java:
2239         Rewrote all methods by suggestions from Eric Blake.
2240
2241 2003-10-02  Michael Koch  <konqueror@gmx.de>
2242
2243         * java/net/URL.java
2244         (DEFAULT_SEARCH_PATH): New static variable.
2245         (ph_cache): Made it a HashMap.
2246         (getURLStreamHandler): Rename propVal to ph_search_path and use
2247         DEFAULT_SEARCH_PATH.
2248
2249 2003-10-02  Michael Koch  <konqueror@gmx.de>
2250
2251         * javax/swing/table/AbstractTableModel.java
2252         (findColumnName): Prevent from NullPointerException if argument
2253         columnName is null.
2254
2255 2003-10-02  Michael Koch  <konqueror@gmx.de>
2256
2257         * javax/swing/table/AbstractTableModel.java:
2258         This patch is based on a patch done by Arnaud Vandyck
2259         <arnaud.vandyck@ulg.ac.be>.
2260         (getColumnName): Fixed method documentation.
2261         (findColumn): Likewise.
2262         (getColumnClass): Likewise.
2263         (isCellEditable): Likewise.
2264         (setValueAt): Likewise.
2265         (addTableModelListener): Likewise.
2266         (removeTableModelListener): Likewise.
2267         (getTableModelListeners): New method.
2268
2269 2003-10-02  Michael Koch  <konqueror@gmx.de>
2270
2271         * javax/swing/table/AbstractTableModel.java:
2272         Reformated.
2273
2274 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2275
2276         Fix PR libgcj/12475
2277         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2278         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2279
2280 2003-10-01  Tom Tromey  <tromey@redhat.com>
2281
2282         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2283
2284 2003-10-01  Andrew Haley  <aph@redhat.com>
2285
2286         * java/lang/natClass.cc (initializeClass): Check for otable and
2287         atable.
2288         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2289         loops using for().  Search superinterfaces.  Check for fields as
2290         well as methods.  Initialize atable as well as otable: check for
2291         static methods as well as virtual methods.
2292         * java/lang/Class.h (struct _Jv_AddressTable): New.
2293         (atable): New.
2294         (atable_syms): New.
2295         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2296         * prims.cc (_Jv_equalUtf8Consts): constify.
2297
2298 2003-09-29  Tom Tromey  <tromey@redhat.com>
2299
2300         PR libgcj/10596:
2301         * include/jvm.h (_Jv_FinalizeString,
2302         _Jv_RegisterStringFinalizer): Declare.
2303         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2304         unintern.
2305         (intern): Updated.
2306         (_Jv_NewStringUtf8Const): Likewise.
2307         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2308         Add special case when finalizing a String.
2309         (in_hash): New function.
2310         (_Jv_RegisterStringFinalizer): Likewise.
2311         (maybe_add_finalize): Likewise.
2312
2313 2003-09-29  Michael Koch  <konqueror@gmx.de>
2314
2315         * java/net/InetAddress.java:
2316         (isMulticastAddress): Dont use local variable to store address length.
2317         Let the compiler optimize this.
2318         (getHostName): Merged dcoumentation from classpath.
2319         (getAddress): Likewise.
2320         (getHostAddress): Likewise.
2321         (hashCode): Likewise.
2322         (equals): Likewise.
2323         (toString): Likewise.
2324         (getByName): Likewise.
2325         (getAllByName): Likewise.
2326
2327 2003-09-29  Michael Koch  <konqueror@gmx.de>
2328
2329         * java/awt/image/IndexColorModel.java: Reformated.
2330
2331 2003-09-29  Michael Koch  <konqueror@gmx.de>
2332
2333         * java/net/InetAddress.java,
2334         java/net/URL.java: Reformated.
2335
2336 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2337
2338         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2339         significant bit of descriptor. Include the vtable and sync_info 
2340         fields.
2341
2342 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2343
2344         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2345         if `obj' is not a Number or Date instance.
2346         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2347         instead of Vector.
2348
2349 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2350
2351         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2352         Don't call setTimeZone on calendar.
2353
2354 2003-09-27  Michael Koch  <konqueror@gmx.de>
2355
2356         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2357
2358 2003-09-27  Michael Koch  <konqueror@gmx.de>
2359
2360         * java/net/URL.java (getURLStreamHandler):
2361         Check if we have to use cache before trying to retrieve handler from
2362         cache. Rename facName to clsName to match classpath more. Reformated
2363         some little pieces.
2364
2365 2003-09-27  Michael Koch  <konqueror@gmx.de>
2366
2367         * gnu/java/nio/SelectionKeyImpl.java
2368         (ch): Make package-private again. Jikes found this bug.
2369         Jeff Sturm submitted PR12426 for this to bugzilla
2370         to fix this bug in gcj.
2371
2372 2003-09-26  Michael Koch  <konqueror@gmx.de>
2373
2374         * java/rmi/server/RMIClassLoader.java:
2375         Reformatted file, no functional code changes.
2376
2377 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2378
2379         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2380         Save space for some pixels at the buffer end.  Added Javadoc.
2381
2382 2003-09-26  Tom Tromey  <tromey@redhat.com>
2383
2384         * java/io/ObjectOutputStream.java (writeFields): Fixed
2385         indentation.
2386         (putFields): Likewise.
2387
2388 2003-09-26  Michael Koch  <konqueror@gmx.de>
2389
2390         * java/nio/ByteBufferHelper.java:
2391         Totally reworked with help from Eric Blake.
2392
2393 2003-09-26  Tom Tromey  <tromey@redhat.com>
2394
2395         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2396         * java/awt/geom/PathIterator.java: Documentation fixes.
2397
2398 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2399
2400         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2401         (select): Likewise.
2402         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2403
2404 2003-09-25  Michael Koch  <konqueror@gmx.de>
2405
2406         * gnu/java/nio/DatagramChannelImpl.java
2407         (getNativeFD): New method.
2408         * gnu/java/nio/SelectionKeyImpl.java
2409         (SelectionKeyImpl): Class made abstract.
2410         (fd): Removed.
2411         (SelectionKeyImpl): Remove fd argument.
2412         (getNativeFD): New method.
2413         * gnu/java/nio/SocketChannelImpl.java
2414         (getNativeFD): New method.
2415         gnu/java/nio/DatagramChannelSelectionKey.java,
2416         * gnu/java/nio/SocketChannelSelectionKey.java:
2417         New files.
2418         * Makefile.am (ordinary_java_source_files):
2419         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2420         gnu/java/nio/SocketChannelSelectionKey.java.
2421         * Makefile.in: Regenerated.
2422
2423 2003-09-25  Michael Koch  <konqueror@gmx.de>
2424
2425         * java/lang/reflect/Proxy.java
2426         (getProxyClass): Remove workaround for gcj 3.0.x.
2427
2428 2003-09-25  Michael Koch  <konqueror@gmx.de>
2429
2430         * gnu/java/net/PlainDatagramSocketImpl.java
2431         (finalize): Moved to directly after constructor.
2432         (getNativeFD): New method.
2433         * gnu/java/net/PlainSocketImpl.java
2434         (getNativeFD): New method.
2435
2436 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2437
2438         * java/io/ObjectOutputStream.java:
2439         Allow putFields be called more than once.
2440
2441 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2442
2443         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2444         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2445         * java/awt/image/BufferedImage.java (toString): Implement.
2446
2447 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2448
2449         * aclocal.m4: Rebuilt.
2450         * configure: Rebuilt.
2451
2452 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2453
2454         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2455         field.
2456
2457 2003-09-25  Michael Koch  <konqueror@gmx.de>
2458
2459         * gnu/java/nio/SelectorImpl.java
2460         (implSelect): Renamed from java_do_select.
2461         (select): Call native implSelect() and add support for Thread
2462         interruption.
2463         * gnu/java/nio/natSelectorImpl.cc
2464         (implSelect): Renamed from java_do_select.
2465
2466 2003-09-25  Michael Koch  <konqueror@gmx.de>
2467
2468         * gnu/java/nio/SelectorImpl.java
2469         (selectNow): Made final, throws IOException.
2470         (select): Likewise.
2471         (getFDsAsArray): Made final.
2472         (selectedKeys): Likewise.
2473         (wakeup): Likewise.
2474         (deregisterCancelledKeys): Likewise.
2475         (register): Likewise.
2476         (ass): Removed.
2477         (add_selected): Removed.
2478         * gnu/java/nio/natSelectorImpl.cc:
2479         No need to include bstring.h or gcj/cni.h.
2480         (helper_put_filedescriptors): Rewritten.
2481         (helper_get_filedescriptors): Rewritten.
2482
2483 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2484
2485         * java/awt/font/FontRenderContext.java (getTransform): Return
2486         copy of internal transform object. Add Javadoc.
2487         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2488         winding rule as Sun J2SE.
2489         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2490
2491 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2492
2493         * java/rmi/Naming.java:
2494         Added comments, now accepts pseudo protocol "rmi".
2495
2496 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2497
2498         * java/text/DecimalFormat.java (format): Don't immediatly round
2499         baseNumber to long.
2500         (setMinimumIntegerDigits): Call super.
2501         (setMinimumFractionDigits): Likewise.
2502         (setMaximumIntegerDigits): Likewise.
2503         (setMaximumFractionDigits): Likewise.
2504
2505 2003-09-25  Michael Koch  <konqueror@gmx.de>
2506
2507         * gnu/java/nio/DatagramChannelImpl.java
2508         (DatagramChannelImpl): Made class final.
2509         (blocking): Made private.
2510         (socket): Made it a NIODatagramSocket and private.
2511         (DatagramChannelImpl): create NIODatagramSocket instead of
2512         DatagramSocket.
2513         (implConfigureBlocking): Set socket timeout.
2514         (connect): Check that channel is not closed.
2515         (write): Implemented.
2516         (write): Rewritten.
2517         (read): Implemented.
2518         (read): Rewritten.
2519         (receive): Implemented.
2520         (send): Implemented.
2521         * gnu/java/nio/SelectionKeyImpl.java
2522         (readyOps): Made private.
2523         (interestOps): Made private.
2524         (impl): Made private.
2525         (ch): Made private.
2526         (readyOps): Check if selection key is valid.
2527         (interestOps): Likewise.
2528         * gnu/java/nio/SelectorImpl.java
2529         (closed): Removed.
2530         (keys): Made private.
2531         (selected): Made private.
2532         (finalize): New method.
2533         (implCloseSelector): Rewritten.
2534         (keys): Return unmodifiable Set.
2535         (deregisterCancelledKeys): Fixed typo in method name.
2536         * gnu/java/nio/SocketChannelImpl.java
2537         (SocketChannelImpl): Made class final.
2538         (socket): Made it a NIOSocket and private.
2539         (blocking): Made private.
2540         (connected): Made private.
2541         (connectionPending): New member variable.
2542         (SocketChannelImpl): New implementation.
2543         (finalizer): Use isConnected().
2544         (connect): Rewritten.
2545         (finishConnect): Throws IOException, implemented.
2546         (isConnectionPending): Return connectionPending.
2547         (read): Rewritten.
2548         (write): Rewritten.
2549         * gnu/java/nio/NIOConstants.java: New file.
2550         * Makefile.am (ordinary_java_source_files):
2551         Added gnu/java/nio/NIOConstants.java.
2552         * Makefile.in: Regenerated.
2553
2554 2003-09-25  Michael Koch  <konqueror@gmx.de>
2555
2556         * java/net/InetAddress.java:
2557         Reorder imports, remove implementation comment.
2558         (isMulticastAddress): Merged documentation from classpath.
2559         * java/net/URLConnection.java
2560         (setRequestProperty): Check key for null, fix documentation.
2561         (adREquestProperty): Check key for null, remove wrong implementation
2562         and replace it with comment to overwrite this method in subclasses,
2563         fix documentation.
2564
2565 2003-09-25  Tom Tromey  <tromey@redhat.com>
2566
2567         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2568         domain code.
2569         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2570         argument.
2571         (linkClass0): Now in VMClassLoader.
2572         (markClassErrorState0): Likewise.
2573         (getSystemClassLoaderInternal): New method.
2574         * java/lang/natClass.cc (initializeClass): Use
2575         VMClassLoader::resolveClass.
2576         * java/lang/ClassLoader.java: New version, from Classpath.
2577         * java/lang/Class.java (getProtectionDomain):
2578         protectionDomainPermission and unknownProtectionDomain now in
2579         VMClassLoader.
2580         * java/lang/Class.h: VMClassLoader now a friend class.
2581         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2582         package-private.
2583         * gcj/javaprims.h: Regenerated class list.
2584         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2585         * java/lang/VMClassLoader.java: New version from Classpath;
2586         modified for libgcj use.
2587
2588 2003-09-25  Michael Koch  <konqueror@gmx.de>
2589
2590         * java/nio/ByteBufferHelper.java:
2591         New file.
2592         * java/nio/ByteBufferImpl.java,
2593         java/nio/DirectByteBufferImpl.java,
2594         java/nio/MappedByteBufferImpl.java
2595         (getType,putType): Use new helper class ByteBufferHelper.
2596         * Makefile.am (ordinary_java_source_files):
2597         Added java/nio/ByteBufferHelper.java.
2598         * Makefile.in: Regenerated.
2599
2600 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2601
2602         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2603         PR libgcj/12388.
2604
2605 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2606
2607         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2608         Strings, even if buffer is already shared.
2609
2610 2003-09-24  Michael Koch  <konqueror@gmx.de>
2611
2612         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2613
2614 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2615
2616         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2617         (write): Likewise.
2618         (SocketInputStream): Declare `read' and `write' methods native.
2619         Remove implementations which called back into PlainSocketImpl.
2620         Remove unneccessary overridden methods.
2621         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2622         to inner class PlainSocketImpl.SocketInputStream.
2623         (write): Likewise.
2624         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2625         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2626         * gnu/java/net/SocketInputStream.java: Remove unused file.
2627         * gnu/java/net/SocketOutputStream.java: Likewise.
2628         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2629         and SocketOutputStream.
2630         * Makefile.in: Rebuilt.
2631
2632 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2633
2634         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2635
2636         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2637         markers.
2638
2639 2003-09-22  Anthony Green  <green@redhat.com>
2640
2641         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2642         * configure: Rebuilt.
2643
2644 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2645
2646         PR java/12350:
2647         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2648
2649 2003-09-22  Michael Koch  <konqueror@gmx.de>
2650
2651         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2652         compiler warning but produces a different one now.
2653
2654 2003-09-22  Michael Koch  <konqueror@gmx.de>
2655
2656         * java/net/InetAddress.java:
2657         Moves around some code, reformats and adds documentation.
2658         No functional changes.
2659
2660 2003-09-22  Michael Koch  <konqueror@gmx.de>
2661
2662         * java/net/JarURLConnection.java
2663         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2664         (getCertificates): Made it more error prone.
2665         (getMainAttributes): Likewise.
2666         (getAttributes): Implemented.
2667         (getManifest): Reformatted code.
2668
2669 2003-09-20  Tom Tromey  <tromey@redhat.com>
2670
2671         * java/awt/Component.java: Indentation cleanup from Classpath.
2672
2673 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2674
2675        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2676        checking to follow 1.4.2 spec.
2677
2678 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2679
2680         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2681         is compatible in case client and server are running in the same VM
2682         (remerged from Classpath on 2003-09-20)
2683
2684 2003-09-19  David Daney <ddaney@avtrex.com>
2685
2686         * java/lang/ref/Reference.java (clear): Set referent to null and
2687         synchronize.
2688
2689 2003-09-19  Michael Koch  <konqueror@gmx.de>
2690
2691         * gnu/java/nio/NIODatagramSocket.java,
2692         gnu/java/nio/NIOSocket.java: New files.
2693         * Makefile.am (ordinary_java_source_files):
2694         Added gnu/java/nio/NIODatagramSocket.java and
2695         gnu/java/nio/NIOSocket.java.
2696         * Makefile.in: Regenerated.
2697
2698 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2699
2700         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2701         top-level GTK window.
2702         (getArgs): Add "title" property.
2703         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2704         "allow_shrink" and "allow_grow" properties.
2705         * java/awt/Dialog.java: Initialize resizable to true and change
2706         comments accordingly.  Initialize visible to false in
2707         constructors.
2708         * java/awt/Frame.java (dispose): Remove method.
2709         * java/awt/Window.java (ownedWindows): New field.
2710         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2711         owner's ownedWindows vector.
2712         (finalize): Remove method.
2713         (hide): Hide owned windows.
2714         (dispose): Dispose of owned windows.
2715         (getOwnedWindows): Implement.
2716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2717         unused GtkArg code.
2718         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2719         to TRUE or FALSE.
2720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2721         (create): Set window's size requisition.
2722         (connectHooks): Fix indentation.
2723         (setResizable): Remove function.
2724         (static setBounds): Likewise.
2725         (setBounds): Replace call to setBounds with GTK size requisition
2726         and resize calls.
2727
2728 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2729
2730         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2731         function for lazy initialization of an auto-reset event.
2732         (_Jv_CondWait) Added thread interrupt support.
2733         (_Jv_ThreadInitData) Added initialization of interrupt support
2734         members.
2735         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2736         (_Jv_ThreadStart) Removed unused code.
2737         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2738         to an external caller.
2739         (_Jv_ThreadInterrupt) Implemented.
2740         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2741         event for interrupt support as well as a mutex which regulates
2742         access to this.
2743         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2744         event to an external caller.
2745         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2746         process.
2747         (waitFor) Added interrupt support.
2748
2749 2003-09-19  Michael Koch  <konqueror@gmx.de>
2750
2751         * java/net/DatagramSocket.java (getLocalAddress):
2752         Renamed result variable to localAddr.
2753         * java/net/MulticastSocket.java:
2754         No need to import gnu.java.net.PlainDatagramSocketImpl.
2755
2756 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2757
2758         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2759         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2760
2761 2003-09-18  Tom Tromey  <tromey@redhat.com>
2762
2763         * javax/naming/InitialContext.java: Reindented.
2764
2765 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2766             Helmer Kraemer <hkraemer@freenet.de>
2767
2768         * javax/naming/spi/NamingManager.java (getURLContext,
2769         getObjectInstance, getStateToBind): Always use current thread's
2770         context class loader when calling Class.forName.
2771
2772 2003-09-18  Michael Koch  <konqueror@gmx.de>
2773
2774         * java/util/Timer.java (finalize): Added "throws Throwable".
2775
2776 2003-09-18  Michael Koch  <konqueror@gmx.de>
2777
2778         * java/net/DatagramSocket.java
2779         (ch): Removed.
2780         (receive): Use getChannel() instead of ch.
2781         (send): Likewise.
2782         (getChannel): Return null.
2783         * java/net/ServerSocket.java
2784         (ch): Removed.
2785         (setChannel): Removed.
2786         (implAccept): Use getChannel() instead of ch.
2787         (close): Likewise.
2788         (getChannel): Return null.
2789         * java/net/Socket.java
2790         (ch): Removed.
2791         (connect): Use getChannel() instead of ch.
2792         (setChannel): Removed.
2793         (getChannel): Return null.
2794
2795 2003-09-18  Mark Wielaard  <mark@klomp.org>
2796
2797         Reported by Guilhem Lavaux and Julian Dolby
2798         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2799         field "serialPersistentFields", not "getSerialPersistentFields".
2800
2801 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2802
2803         * java/util/TimeZone.java: Initialize lazily.
2804         * java/util/Locale.java (readManifest): Fix check for country.
2805         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2806         traceable 
2807         * java/util/Calendar.java: Make use of ResourceBundle better
2808         traceable.
2809
2810 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2811
2812         * java/sql/Timestamp.java
2813         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2814
2815 2003-09-18  David P Grove  <groved@us.ibm.com>
2816
2817         * java/io/LineNumberReader (read): Don't reset pos & limit when
2818         markPos is 0.
2819
2820 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2821
2822         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2823         constant.
2824         (computeArguments): use computeTypicalArguments.
2825
2826         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2827         Compile_jikes.java and RMICException.java.
2828         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2829         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2830         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2831  
2832         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2833  
2834         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2835         (computeTypicalArguments): New method.
2836         (compile): Print compiler output to System.out. Collect compiler
2837         error output and use it in exception message.
2838  
2839         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2840         (destination): Initialize to null.
2841         (run): Replace file separator with '.' when processing class.
2842         (processClass): Replace '.' with file separator when compiling
2843         classes.
2844         (findClass): Use SystemClassLoader to load class.
2845         (generateStub): Use full class name for generated stub, that puts
2846         it in right path.  Replace '.' with file separator when generating
2847         stub file name. Write just the stub class name without package
2848         information as class name, and constructor name. Write only
2849         interface names for interfaces extending java.rmi.Remote as
2850         implemented.
2851         (generateSkel): Use full class name for generated skel, that puts
2852         it in right path.  Replace '.' with file separator when generating
2853         stub file name. Write just the stub class name without package
2854         information as class name.
2855
2856 2003-09-18  Michael Koch  <konqueror@gmx.de>
2857
2858         * Makefile.am (rmi_java_source_files):
2859         Added gnu/java/rmi/rmic/Compile_kjc.java,
2860         gnu/java/rmi/rmic/Compile_jikes.java and
2861         gnu/java/rmi/rmic/RMICException.java
2862         * Makefile.in: Regenerated.
2863
2864 2003-09-17  Graydon Hoare  <graydon@redhat.com>
2865
2866         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2867         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2868         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2869         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
2870         New files.
2871
2872 2003-09-16  Graydon Hoare  <graydon@redhat.com>
2873
2874         * java/awt/BufferedImage.java (setData): Support non-component
2875         sample models.
2876         (getData): Same.
2877
2878 2003-09-10  Graydon Hoare  <graydon@redhat.com>
2879
2880         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2881         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2882
2883 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
2884
2885         * configure.in: Standardized help text case of
2886         --enable-hash-synchronization
2887         New configure switch --enable-libgcj-multifile and corresponding
2888         automake conditional ONESTEP.
2889         * configure: Rebuilt.
2890         * Makefile.am: Use automake conditional ONESTEP to determine
2891         whether classfiles should be compiled individually or all
2892         at once.
2893         * Makefile.in: Rebuilt.
2894
2895 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2896
2897         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2898         Remove method declaration.
2899         (create()): Call native create.
2900         (create(int)): New method.
2901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2902         (create): Add window_id parameter.  Call gtk_plug_new with
2903         window_id parameter.
2904         (construct): Remove method implementation.
2905
2906 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
2907
2908         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2909         (mostlyclean-local): New target patterned after clean-local
2910         which recursively deletes all libtool objects using 'libtool rm'.
2911         (clean-local): Slightly modified comment to alleviate monotony.
2912         (distclean-local): New target patterned after clean-local
2913         which recursively deletes all .d files.
2914         * Makefile.in: Rebuilt.
2915
2916 2003-09-11  Tom Tromey  <tromey@redhat.com>
2917
2918         * java/net/URLStreamHandler.java (parseURL): If original file
2919         ends with "/", so must canonical result.
2920         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2921         with nul-termination and finding previous "/".
2922
2923 2003-09-11  Michael Koch  <konqueror@gmx.de>
2924
2925         * acconfig.h: Removed most items.
2926         * configure.in: Added descriptions to AC_DEFINE macros that where in
2927         acconfig.h before.
2928         * include/config.h.in: Regenerated.
2929
2930 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
2931
2932         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2933         if one is installed. Improve Javadoc.
2934         (getSystemEventQueueImpl): Improve Javadoc.
2935
2936 2003-09-11  Tom Tromey  <tromey@redhat.com>
2937
2938         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2939         file does not exist.
2940
2941 2003-09-10  Anthony Green  <green@redhat.com>
2942
2943         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2944         Specify full name when referencing ::java::net::InetAddress.
2945         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2946         Fix argument type.
2947
2948 2003-09-10  Michael Koch  <konqueror@gmx.de>
2949
2950         * acconfig.h (__NO_MATH_INLINES): Removed.
2951         * configure.in: Removed check for g++ math inlining bug from 2000.
2952         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2953         libgcj_cxxflags.
2954         * configure: Regenerated.
2955
2956 2003-09-10  David Daney <ddaney@avtrex.com>
2957
2958         * java/util/Arrays.java (equals(all variants)): Quit using
2959         NullPointerException catching to detect null valued parameters.
2960
2961 2003-09-10  Michael Koch  <konqueror@gmx.de>
2962
2963         * java/net/DatagramSocket.java,
2964         java/net/MulticastSocket.java,
2965         java/net/ServerSocket.java,
2966         java/net/Socket.java:
2967         Use gnu.java.net.Plain*SocketImpl instead of
2968         java.net.PlainSocketImpl.
2969         * java/net/PlainDatagramSocketImpl.java,
2970         java/net/PlainSocketImpl.java,
2971         java/net/SocketInputStream.java,
2972         java/net/SocketOutputStream.java,
2973         java/net/natPlainDatagramSocketImplNoNet.cc,
2974         java/net/natPlainDatagramSocketImplPosix.cc,
2975         java/net/natPlainDatagramSocketImplWin32.cc,
2976         java/net/natPlainSocketImplNoNet.cc,
2977         java/net/natPlainSocketImplPosix.cc,
2978         java/net/natPlainSocketImplWin32.cc:
2979         Removed.
2980         * gnu/java/net/PlainDatagramSocketImpl.java,
2981         gnu/java/net/PlainSocketImpl.java,
2982         gnu/java/net/SocketInputStream.java,
2983         gnu/java/net/SocketOutputStream.java,
2984         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2985         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2986         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2987         gnu/java/net/natPlainSocketImplNoNet.cc,
2988         gnu/java/net/natPlainSocketImplPosix.cc,
2989         gnu/java/net/natPlainSocketImplWin32.cc:
2990         New files (moved from java/net).
2991         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2992         instead of java/net/natPlain*SocketImpl.cc.
2993         * configure: Regenerated.
2994         * Makefile.am: Moved files from java/net to gnu/java/net.
2995         * Makefile.in: Regenerated.
2996
2997 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2998
2999         * configure: Regenerate.
3000
3001 2003-09-04  Tom Tromey  <tromey@redhat.com>
3002
3003         * configure.host: Removed erroneous comment.
3004
3005         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3006         lvalue cast; use correct rvalue cast.
3007
3008 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3009
3010         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3011         and height arguments to GtkWindowPeer.create method call.
3012         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3013         (create(int,int,int)): New method.
3014         (create(int)): Add call to new create method.
3015         (create()): Add width and height arguments to create method
3016         call.
3017         (GtkWindowPeer): Remove call to setBounds.
3018         * java/awt/Frame.java (Frame(String)): Initialize visible field
3019         to false.
3020         (Frame(GraphicsConfiguration)): Likewise.
3021         (Frame(String,GraphicsConfiguration)): Likewise.
3022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3023         Add width and height parameters.  Call
3024         gtk_window_set_default_size.
3025         (connectHooks): Remove unused name variable.
3026         (static setBounds): Call gtk_window_resize not
3027         gtk_widget_set_usize.
3028         (setBounds): Remove unused nchildren variable.
3029
3030 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3031
3032         * java/util/logging/Logger.java: provide class and method information
3033         * java/util/logging/LogManager.java: create handlers
3034         * java/util/logging/SimpleFormatter.java: print souceClassName and
3035         sourceMethodName
3036
3037 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3038
3039         * win32.cc: fixed tab, indentation and whitespace
3040         inconsistencies
3041         removed jvm.h include
3042         added includes java/lang/UnsupportedOperationException.h,
3043         java/io/IOException.h, java/net/SocketException.h
3044         (WSAEventWrapper): class implementation
3045         (_Jv_WinStrError): implemented both overloads
3046         (_Jv_ThrowIOException): implemented both overloads
3047         (_Jv_ThrowSocketException): implemented both overloads
3048         (_Jv_select): implemented
3049         * include/win32.h: fixed tab, indentation and whitespace
3050         inconsistencies
3051         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3052         added jvm.h include
3053         (WSAEventWrapper): added class declaration
3054         (_Jv_WinStrError): added both overload declarations
3055         (_Jv_ThrowIOException): added both overload declarations
3056         (_Jv_ThrowSocketException): added both overload declarations
3057         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3058         (_Jv_select): added declaration
3059         (_Jv_socket): removed
3060         (_Jv_connect): removed
3061         (_Jv_close): removed
3062         (_Jv_bind): removed
3063         (_Jv_accept): removed
3064         (_Jv_listen): removed
3065         (_Jv_write): removed
3066         (_Jv_read): removed
3067         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3068         whitespace inconsistencies
3069         replaced <windows.h> #include with <platform.h>
3070         removed jvm.h include
3071         (testCanUseGetHandleInfo): new function which tests whether Win32
3072         GetHandleInformation() call can be used with console buffer handles
3073         (only supported on >=WinNT 5.0)
3074         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3075         (valid): rewrote implementation using GetHandleInformation()
3076         (sync):         changed exception throwing to use error string and exception
3077         helper methods declared in include/win32.h
3078         (open): likewise
3079         (write): likewise
3080         (setLength): likewise
3081         (close): likewise
3082         (seek): likewise
3083         (getFilePointer): likewise
3084         (read): likewise
3085         * java/io/natFileWin32.cc: fixed tab, indentation and
3086         whitespace inconsistencies
3087         replaced <windows.h> #include with <platform.h>
3088         removed jvm.h include
3089         (_access): use JV_TEMP_UTF_STRING
3090         (_stat): likewise
3091         (performMkDir): use JV_TEMP_UTF_STRING
3092         (performRenameTo): likewise
3093         (performDelete): likewise
3094         (performCreate): likewise
3095         (performSetReadOnly): likewise
3096         (performSetLastModified): likewise
3097         * java/lang/natWin32Process.cc: fixed tab, indentation and
3098         whitespace inconsistencies
3099         replaced <windows.h> #include with <platform.h>
3100         removed includes gcj/cni.h, jvm.h
3101         (new_string): removed
3102         (startProcess): use JV_TEMP_UTF_STRING,
3103         changed exception throwing to use error string and exception
3104         helper methods declared in include/win32.h
3105         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3106         whitespace inconsistencies
3107         replaced <windows.h> #include with <platform.h>
3108         removed jvm.h include
3109         removed DISABLE_JAVA_NET conditional code
3110         removed POSIX conditional code not relevant to Win32
3111         (aton): use JV_TEMP_UTF_STRING
3112         removed POSIX conditional code not relevant to Win32
3113         (lookup): likewise
3114         (getLocalHostName): likewise
3115         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3116         whitespace inconsistencies
3117         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3118         removed DISABLE_JAVA_NET conditional code
3119         removed POSIX conditional code not relevant to Win32
3120         (winsock2GetRealNetworkInterfaces): new function to compute network
3121         interfaces via Winsock2 API
3122         (determineGetRealNetworkInterfacesFN): new function for returning
3123         a function pointer to the function used to compute network interfaces.
3124         (getRealNetworkInterfaces): implemented
3125         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3126         whitespace inconsistencies
3127         removed gcj/cni.h include
3128         removed DISABLE_JAVA_NET conditional code
3129         removed POSIX conditional code not relevant to Win32
3130         changed net POSIXisms to Win32isms
3131         replaced _Jv socket-related calls with their real Win32 equivalents
3132         changed exception throwing to use error string and exception
3133         helper methods declared in include/win32.h
3134         (peekData): implemented timeout support
3135         (receive): likewise
3136         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3137         whitespace inconsistencies
3138         removed gcj/cni.h and gcj/javaprims.h includes
3139         removed DISABLE_JAVA_NET conditional code
3140         removed POSIX conditional code not relevant to Win32
3141         changed net POSIXisms to Win32isms
3142         replaced _Jv socket-related calls with their real Win32
3143         equivalents
3144         changed exception throwing to use error string and exception
3145         helper methods declared in include/win32.h
3146         (throwConnectException): helper function for connect()
3147         (connect): implemented timeout support
3148         (accept): likewise
3149         (doRead): new helper function common to both read() method overloads,
3150         includes timeout support
3151         (read): implemented both overloads in terms of doRead()
3152         (available): implemented using ioctlsocket()
3153
3154 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3155
3156         * java/net/natInetAddressWin32.cc,
3157         java/net/natNetworkInterfaceWin32.cc,
3158         java/net/natPlainDatagramSocketImplWin32.cc,
3159         java/net/natPlainSocketImplWin32.cc:
3160         Readded code enclosed in DISABLE_JAVA_NET defines
3161         in preparation for MinGW cleanup / networking
3162         patch
3163
3164 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3165
3166         * Makefile.am: Fixed problems with parallel makes.
3167         (all_java_class_files): Readded definition.
3168         (all_java_class_files): New target which depends on
3169         libgcj-@gcc_version@.jar
3170         * Makefile.in: Rebuilt
3171
3172 2003-08-28  Tom Tromey  <tromey@redhat.com>
3173
3174         * Makefile.in: Rebuilt.
3175         * Makefile.am (ordinary_java_source_files): Added new files.
3176         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3177         friend.
3178         * java/net/URLClassLoader.java (findClass): Don't use
3179         findURLResource.  Use loader's getClass method.
3180         (URLLoader.getClass): New method.
3181         (addURL): Handle `gcjlib' URLs.
3182         (SoURLLoader): New class.
3183         (SoResource): Likewise.
3184         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3185         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3186         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3187         (_Jv_RegisterCoreHook): Declare.
3188         (_Jv_FindCore): Declare.
3189         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3190         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3191         typedef.
3192         (core_hook): New function.
3193         (struct SharedLibDummy) [saved_core]: New field.
3194         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3195         (register_hook): Set protection domain and class loader on new
3196         class.
3197         (finalize): Free core chain.
3198         * gnu/gcj/Core.java (Core): New constructor.
3199         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3200         SharedLibHelper.
3201         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3202         (_Jv_create_core): New function.
3203         (create): Use it.
3204         (default_register_resource): New function.
3205         (_Jv_RegisterCoreHook): New global.
3206         (_Jv_RegisterResource): Use it.
3207         (core_chain_struct): Removed.
3208         (_Jv_FindCore): New function.
3209         (_Jv_FreeCoreChain): New function.
3210
3211 2003-08-29  Michael Koch  <konqueror@gmx.de>
3212
3213         * java/net/natInetAddressWin32.cc,
3214         java/net/natNetworkInterfaceWin32.cc,
3215         java/net/natPlainDatagramSocketImplWin32.cc,
3216         java/net/natPlainSocketImplWin32.cc:
3217         Removed code enclosed in DISABLE_JAVA_NET defines.
3218
3219 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3220
3221         * Makefile.am: (write_entries_to_file) New parameterized
3222         function for writing entries to a file one line at a time.
3223         (all_java_class_files): Removed definition.
3224         (.java.class) Removed.target.
3225         (libgcj-@gcc_version@.jar): Changed dependency to
3226         $(all_java_source_files); added compilation step which compiles
3227         all changed source files in one pass.
3228         (libgcj.la) Refactored to use write_entries_to_file.
3229         (lib-gnu-awt-xlib.la) Likewise.
3230         (install-data-local) Likewise.
3231         (write-entries-to-file-check) New target which tests write_entries_to_file.
3232         (all-recursive): Changed dependency from $(all_java_class_files)
3233         to libgcj-@gcc_version@.jar
3234         * Makefile.in: Rebuilt.
3235
3236 2003-08-26  Tom Tromey  <tromey@redhat.com>
3237
3238         * java/lang/StrictMath.java: Typo fix.
3239         * java/lang/Math.java: Typo fix.
3240
3241 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3242
3243         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3244         of the removed Thread.
3245
3246 2003-08-26  Mark Wielaard  <mark@klomp.org>
3247
3248         Reported by David Holmes <dholmes@dltech.com.au>.
3249         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3250         Collections.synchronizedMap.
3251         * java/lang/ThreadLocal.java (valueMap): Likewise.
3252
3253 2003-08-26  Mark Wielaard  <mark@klomp.org>
3254
3255         * java/security/acl/Acl.java: Fix broken p tag.
3256         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3257         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3258         * javax/swing/plaf/TreeUI.java: Likewise.
3259         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3260         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3261         documentation.
3262         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3263         tag.
3264
3265 2003-08-26  Tom Tromey  <tromey@redhat.com>
3266
3267         * Makefile.in: Rebuilt.
3268         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3269
3270         * java/lang/ref/Reference.java (get): Indentation fix.
3271         (clear): Comment fix.
3272         (enqueue): Likewise.
3273         (lock): Likewise.
3274         (referent): Likewise.
3275
3276 2003-08-26  Tom Tromey  <tromey@redhat.com>
3277
3278         PR java/12058:
3279         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3280
3281         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3282         (ProxyData.getPackage): New method.
3283         (ProxyData.getProxyData): Use package name, not Package.
3284         (ClassFactory.ClassFactory): Updated.
3285
3286 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3287         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3288         * Makefile.in: re-generated.
3289         * gnu/awt/j2d/IntegerGraphicsState.java
3290         (ScreenCoupledImage): new interface.
3291         (drawImage): detect ScreenCoupledImage instances.
3292         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3293         * gnu/awt/xlib/XEventLoop.java
3294         (createEvent): re-formatted, and rearranged to avoid null pointer.
3295         * gnu/awt/xlib/XGraphics.java
3296         (drawImage): added XOffScreenImage handling.
3297         * gnu/awt/xlib/XOffScreenImage.java: new file.
3298         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3299         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3300         * gnu/gcj/xlib/XAnyEvent.java
3301         (TYPE_KEY_PRESS): new constant.
3302         (TYPE_KEY_RELEASE): new constant.
3303         (TYPE_MOTION_NOTIFY): new constant.
3304         (TYPE_ENTER_NOTIFY): new constant.
3305         (TYPE_LEAVE_NOTIFY): new constant.
3306         (TYPE_FOCUS_IN): new constant.
3307         (TYPE_FOCUS_OUT): new constant.
3308         (TYPE_KEYMAP_NOTIFY): new constant.
3309         (TYPE_GRAPHICS_EXPOSE): new constant.
3310         (TYPE_NO_EXPOSE): new constant.
3311         (TYPE_VISIBILITY_NOTIFY): new constant.
3312         (TYPE_CREATE_NOTIFY): new constant.
3313         (TYPE_DESTROY_NOTIFY): new constant.
3314         (TYPE_MAP_REQUEST): new constant.
3315         (TYPE_CONFIGURE_REQUEST): new constant.
3316         (TYPE_GRAVITY_NOTIFY): new constant.
3317         (TYPE_RESIZE_REQUEST): new constant.
3318         (TYPE_CIRCULATE_NOTIFY): new constant.
3319         (TYPE_CIRCULATE_REQUEST): new constant.
3320         (TYPE_PROPERTY_NOTIFY): new constant.
3321         (TYPE_SELECTION_CLEAR): new constant.
3322         (TYPE_SELECTION_REQUEST): new constant.
3323         (TYPE_SELECTION_NOTIFY): new constant.
3324         (TYPE_COLORMAP_NOTIFY): new constant.
3325         (TYPE_MAPPING_NOTIFY): new constant.
3326         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3327         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3328         * java/awt/Component.java (createImage): changed to use peer method.
3329
3330 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3331
3332         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3333         name, not XLFD, to native drawString.
3334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3335         Replace XLFD-based implementation with Pango-based
3336         implementation.
3337
3338 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3339
3340         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3341         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3342
3343 2003-08-21  David Daney  <ddaney@avtrex.com>
3344
3345         Fix for PR libgcj/12013:
3346         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3347         Check `cleared' field.
3348         * java/lang/ref/Reference.java (copy): Updated comments.
3349         (cleared): New field.
3350         (clear): Rewrote.
3351
3352 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3353             Thomas Fitzsimmons  <fitzsim@redhat.com>
3354
3355         * Makefile.am (gtk_awt_peer_sources): Add
3356         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3357         gnu/java/awt/GLightweightPeer.java.
3358         * gnu/java/awt/GLightweightPeer.java: Remove file.
3359         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3360         * java/awt/Component.java (getToolkit): Add comment about
3361         lightweight components.
3362         * java/awt/Toolkit.java (createComponent): Return
3363         gnu.java.awt.peer.GLightweightPeer.
3364
3365 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3366
3367         * configure.in: Fix detection of gcj when building with newlib.
3368         * configure: Regenerated.
3369
3370 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3371
3372         * jni.cc: Replace "cheating" pointer-casting code with
3373         extract_from_jvalue<> template.
3374
3375 2003-08-20  Andrew Haley  <aph@redhat.com>
3376
3377         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3378         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3379         (classAt): Break out class lookup function into getClass().
3380         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3381         handlers when using -fno-assume-compiled.
3382
3383 2003-08-20  Tom Tromey  <tromey@redhat.com>
3384
3385         Fix for PR libgcj/9125:
3386         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3387         object outside of loop.  Respect lib_control setting.
3388         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3389         field.
3390         (lib_control): New field.
3391         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3392         (VMClassLoader): Initialize new field.
3393
3394         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3395         Set `list->reference' to DELETED_REFERENCE when removing dead
3396         object.
3397         (find_slot): Added an assert.
3398         (DELETED_REFERENCE): New define.
3399         (add_to_hash): Check for DELETED_REFERENCE.
3400         (remove_from_hash): Just return if found slot isn't ours.
3401
3402 2003-08-19  Andrew Haley  <aph@redhat.com>
3403
3404         * prims.cc (unblock_signal): New function.
3405         (catch_segv): Use it.
3406         (catch_fpe): Likewise.
3407
3408 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3409
3410         PR libgcj/11575
3411         * java/io/natFileDescriptorWin32.cc (open): Set create
3412         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3413         Honor EXCL when openning with WRITE flag. 
3414
3415 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3416
3417         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3418         getting a temporary C string from a jstring)
3419         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3420         but uses a stack buffer if the string length is less than 256
3421         bytes.
3422
3423 2003-08-18  Tom Tromey  <tromey@redhat.com>
3424
3425         PR libgcj/11951:
3426         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3427         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3428         value.  Added is_jni_call argument; only wrap exception if not a
3429         JNI call.  Use descriptive message if operation not supported.
3430         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3431         array class.
3432         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3433         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3434         _Jv_CallAnyMethodA.
3435         (_Jv_JNI_CallAnyMethodA): Likewise.
3436         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3437         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3438
3439 2003-08-13  Tom Tromey  <tromey@redhat.com>
3440
3441         * gij.cc (help): Document -? and -X.
3442
3443 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3444
3445         * java/awt/Font.java: 
3446         Stub out more recent API. 
3447
3448 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3449
3450         * java/awt/Color.java (getAlpha): 
3451         Prevent sign-extended alpha values.
3452
3453 2003-08-12  Tom Tromey  <tromey@redhat.com>
3454
3455         * gij.cc (main): Handle -? and -X.
3456
3457 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3458
3459         * java/awt/Container.java
3460         (getPreferredSize): Call preferredSize.
3461         (preferredSize): Moved body of getPreferredSize here.
3462         (getMinimumSize): Call minimumSize.
3463         (minimumSize): Moved body of getMinimumSize here.
3464
3465 2003-08-11  Tom Tromey  <tromey@redhat.com>
3466
3467         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3468         (postEvent): Removed FIXME comment.
3469         (isDispatchThread): Documented.
3470         (getCurrentEvent): New method.
3471         (dispatchEvent): Set currentEvent and lastWhen.
3472         (getMostRecentEventTime): Rewrote.
3473         (invokeLater): Documented.
3474
3475 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3476
3477         * java/io/PrintStream.java (print): Always flush if auto_flush is
3478         set. Don't check for newline characters.
3479         (write (int)): Implement without using a temporary array.
3480         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3481         check for newline characters.
3482         Fixes PR libgcj/11778.
3483
3484 2003-08-08  Andrew Haley  <aph@redhat.com>
3485
3486         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3487         * Makefile.in: Rebuild.
3488         * java/lang/natRuntime.cc (insertSystemProperties): Add
3489         "sun.boot.class.path".
3490
3491 2003-08-07  Andrew Haley  <aph@redhat.com>
3492
3493         * java/io/PrintStream.java: Don't crash on a null string.
3494         
3495 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3496
3497         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3498         * configure: Regenerate.
3499
3500 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3501
3502         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3503         SocketImpl. Update Javadoc.
3504         (bind): Call close() not impl.close() in event of exception.
3505         (connect): Likewise.
3506         Remove superfluous null checks throughout.
3507         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3508         Don't create an extra socket. Fix for PR libgcj/10868.
3509         (bind): Clean up exception handling.
3510         Remove superfluous null checks throughout.
3511
3512 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3513             Bryce McKinlay  <bryce@mckinlay.net.nz>
3514
3515         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3516         ready-to-write argument to _Jv_Select. Reset the socket back to 
3517         non-blocking state after connecting.
3518         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3519         Throw SocketTimeoutException not InterruptedIOException.
3520         (read): Throw SocketTimeoutException not InterruptedIOException.
3521
3522 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3523
3524         * java/lang/Thread.java (Thread): Check for null "name" from
3525         start of private constructor, not after calling the private
3526         constructor.
3527
3528 2003-08-06  Tom Tromey  <tromey@redhat.com>
3529
3530         * java/io/FilePermission.java (equals): Use correct index for
3531         last character of path.
3532
3533 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3534
3535         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3536         * configure.in: Compare with_cross_host to build_alias, not build.
3537         * aclocal.m4: Regenerate.
3538         * configure: Regenerate.
3539
3540 2003-08-05  Tom Tromey  <tromey@redhat.com>
3541
3542         Fix for PR libgcj/11779:
3543         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3544         class.
3545
3546         * java/lang/reflect/Method.java: Updated status comment.
3547         Imported javadoc from Classpath and re-ordered methods.
3548         * java/lang/reflect/Constructor.java: Reindented.  Updated
3549         status comment.  Imported javadoc from Classpath and re-ordered
3550         methods.
3551
3552 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3553
3554         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3555         Add keyLocation parameter.
3556         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3557         string.
3558         (paramString): Generate keyChar string according to keyChar, not
3559         keyCode.
3560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3561         (state_to_awt_mods): Handle ALT key.
3562         (keyevent_state_to_awt_mods): New function.
3563         (get_first_keyval_from_keymap): New function.
3564         (keysym_to_awt_keycode): Get virtual key code from keymap.
3565         Handle missing VK_ values.
3566         (keysym_to_awt_keylocation): New function.
3567         (keyevent_to_awt_keychar): New function.
3568         (generates_key_typed_event): Handle non-text-component case.
3569         Handle GDK_KP_Delete and GDK_KP_Enter.
3570         (awt_event_handler): Call new functions to get postKeyEvent
3571         parameters.
3572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3573         Update postKeyEvent method signature.
3574         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3575         VK_ defines.
3576
3577 2003-08-05  Matthias Klose  <doko@debian.org>
3578
3579         * aclocal.m4: check for libart-config binary
3580           under the name libart2-config as well.
3581         * configure: regenerated.
3582
3583 2003-08-04  David P Grove  <groved@us.ibm.com>
3584
3585         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3586         when groupingSize is 0.
3587         (parse): Likewise.
3588
3589 2003-08-04  Matthias Klose  <doko@debian.org>
3590
3591         * libart.m4: check for libart-config binary
3592           under the name libart2-config as well.
3593         * configure, aclocal.m4: regenerated.
3594
3595 2003-08-02  Michael Koch  <konqueror@gmx.de>
3596
3597         * java/nio/ByteBufferImpl.java
3598         (getChar): Check remaining bytes, fixed comment about endianess.
3599         (putChar): Likewise.
3600         (getShort): Likewise.
3601         (putShort): Likewise.
3602         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3603         endianess.
3604         (putInt): Likewise.
3605         (getLong): Likewise.
3606         (putLong): Likewise.
3607         (getFloat): Likewise.
3608         (putFloat): Likewise.
3609         (getDouble): Likewise.
3610         (putDouble): Likewise.
3611         * java/nio/DirectByteBufferImpl.java
3612         (getChar): Wrapped code, fixed comment about endianess.
3613         (putchar): Likewise.
3614         (getShort): Likewise.
3615         (putShort): Likewise.
3616         (getInt): Fixed conversion, fixed comment about endianess.
3617         (putInt): Likewise.
3618         (getLong): Likewise.
3619         (putLong): Likewise.
3620         (getFloat): Likewise.
3621         (putFloat): Likewise.
3622         (getDouble): Likewise.
3623         (putDouble): Likewise.
3624         * java/nio/MappedByteBufferImpl.java
3625         (compact): Implemented.
3626         (getChar): Implemented.
3627         (putChar): Implemented.
3628         (getDouble): Implemented.
3629         (putdouble): Implemented.
3630         (getFloat): Implemented.
3631         (putFloat): Implemented.
3632         (getInt): Implemented.
3633         (putInt): Implemented.
3634         (getLong): Implemented.
3635         (putLong): Implemented.
3636         (getShort): Implemented.
3637         (putShort): Implemented.
3638         * java/nio/channels/FileChannelImpl.java
3639         (read): Set position where to access file.
3640         (write): Likewise.
3641         (transferTo): Flip buffer after read and before write.
3642         (transferFrom): Likewise.
3643
3644 2003-08-02  Michael Koch  <konqueror@gmx.de>
3645
3646         * gnu/java/lang/ArrayHelper.java
3647         (equalsArray): Reformated, added method documentation.
3648
3649 2003-08-02  Michael Koch  <konqueror@gmx.de>
3650
3651         * java/net/URL.java
3652         (URL): Added paragraph about the
3653         gnu.java.net.nocache_protocol_handlers property.
3654         (ph_cache): Renamed from handlers to match classpath's implementation.
3655         Reordered it with factory and serialVersionUID member variables.
3656         (cache_handlers): New member variable.
3657         (static): New static initializer to initialize cache_handlers from
3658         gnu.java.net.nocache_protocol_handlers property.
3659         (URL): Use ph_cache instead of handlers, reformatted some code to
3660         match classpath's implementation.
3661
3662 2003-08-01  Tom Tromey  <tromey@redhat.com>
3663
3664         Fix for PR libgcj/11241:
3665         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3666         initialCapacity is 0, set it to 1.
3667
3668 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3669
3670         * java/net/SocketImpl.java (toString): Display the remote address
3671         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3672
3673 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3674
3675         * javax/swing/border/BevelBorder.java,
3676         javax/swing/border/EtchedBorder.java,
3677         javax/swing/border/LineBorder.java,
3678         javax/swing/border/MatteBorder.java,
3679         javax/swing/border/SoftBevelBorder.java,
3680         javax/swing/plaf/BorderUIResource.java,
3681         javax/swing/plaf/ComponentUI.java,
3682         javax/swing/plaf/TreeUI.java,
3683         javax/swing/plaf/basic/BasicBorders.java,
3684         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3685         javax/swing/plaf/basic/BasicTreeUI.java:
3686         Prepend "doc-files" to all paths to embedded Javadoc images, so
3687         that the generated documentation contains the correct URL.
3688
3689 2003-08-01  Tom Tromey  <tromey@redhat.com>
3690
3691         * configure: Rebuilt.
3692         * configure.in (tool_include_dir): Redefine to match gcc.
3693
3694 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3695             Mark Wielaard  <mark@klomp.org>
3696             
3697         * java/math/BigDecimal (divide): Correctly handle
3698         ROUND_HALF_EVEN when amount is greater than 0.5.
3699         Simplify and optimize code.
3700
3701 2003-07-31  Tom Tromey  <tromey@redhat.com>
3702
3703         More for PR libgcj/11737:
3704         * java/io/ObjectInputStream.java (processResolution): Use
3705         getMethod.
3706         (getMethod): Make method accessible.
3707         (getField): Make field accessible.
3708         (setBooleanField): Don't call setAccessible here.
3709         (setByteField, setCharField, setDoubleField, setFloatField,
3710         setIntField, setLongField, setShortField, setObjectField):
3711         Likewise.
3712         (callReadMethod): Don't check whether method is null.  Catch
3713         NoSuchMethodException.
3714         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3715         cause on thrown exceptions.
3716
3717 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3718
3719         Fix for PR libgcj/11728:
3720         * java/util/HashMap.java (readObject): Set size.
3721
3722 2003-07-31  Tom Tromey  <tromey@redhat.com>
3723
3724         Fix for PR libgcj/11737:
3725         * java/io/ObjectOutputStream.java (getMethod): Make method
3726         accessible.
3727         (getField): Likewise.
3728         (writeObject): Use getMethod.
3729         Import PrivilegedAction and AccessController.
3730         (callWriteMethod): Don't check whether m is null.  Catch
3731         NoSuchMethodException.
3732
3733         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3734         (containsAngle): Likewise.
3735         (getStartPoint): Rewrote.
3736         (getEndPoint): Likewise.
3737         (setAngleStart(Point2D)): Likewise.
3738
3739 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3740             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3741
3742         * configure.in: Add new THREADCXXFLAGS variable.
3743         Handle POSIX threads on alpha*-dec-osf*.
3744         * configure: Regenerate.
3745         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3746         * Makefile.in: Regenerate.
3747
3748 2003-07-08  Andrew Haley  <aph@redhat.com>
3749
3750         * include/i386-signal.h (RESTORE): New.
3751         (INIT_SEGV): Set restorer.
3752         (INIT_FPE): Likewise.
3753
3754 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3755
3756         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3757         than getXLFD.
3758         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3759         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3761         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3763         Likewise.
3764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3765         Likewise.
3766
3767 2003-07-29  Tom Tromey  <tromey@redhat.com>
3768
3769         * defineclass.cc (handleField): Throw exception if field name is
3770         duplicated.
3771         (handleMethod): Throw exception for duplicate method.
3772
3773 2003-07-29  Tom Tromey  <tromey@redhat.com>
3774
3775         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3776         output buffer is too small.
3777
3778 2003-07-28  Tom Tromey  <tromey@redhat.com>
3779
3780         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3781         New method.
3782         Include gnu/gcj/runtime/StringBuffer.h.
3783         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3784         native method.
3785         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3786
3787 2003-07-27  Anthony Green  <green@redhat.com>
3788
3789         * configure.in: Fix newlib check.
3790         * configure: Rebuilt.
3791
3792 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3793
3794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3795         Create vbox and layout for GtkPlug.
3796
3797 2003-07-27  Michael Koch  <konqueror@gmx.de>
3798
3799         * java/awt/Window.java
3800         (Window): Removed now unused constructor. It became oboslete with the
3801         new embedded window patch.
3802
3803 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3804             Michael Koch  <konqueror@gmx.de>
3805
3806         * gnu/java/awt/EmbeddedWindow.java
3807         (EmbeddedWindow): Extends Frame instead of Window.
3808         (window_id): New member variable to store the native window handle.
3809         (create): Removed.
3810         (EmbeddedWindow): New constructor.
3811         (addNotify): New method.
3812         (getHandler): Likewise.
3813         (setWindowPeer): New native method.
3814         * gnu/java/awt/EmbeddedWindowSupport.java
3815         (EmbeddedWindowSupport): Fixed documentation.
3816         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3817         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3818         window data.
3819         * gnu/java/awt/natEmbeddedWindow.cc
3820         (create): Removed.
3821         (setWindowPeer): New method.
3822         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3823         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3825         New files
3826         * gnu/java/awt/peer/gtk/GtkToolkit.java
3827         (GtkToolkit): Implements EmbeddedWindowSupport.
3828         (createEmbeddedWindow): New method.
3829         * java/awt/Window.java
3830         (Window): Removed.
3831         * Makefile.am
3832         (java_source_files): Added EmbeddedWindowPeer.java.
3833         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3834         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3835         * Makefile.in: Regenerated.
3836
3837 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
3838
3839         * java/lang/Win32Process.java (ConcreteProcess): Surround
3840         a command line element with quotes if it contains an
3841         embedded space or tab.
3842         * java/lang/natWin32Process.cc (startProcess): Do not
3843         surround command line elements with quotes here.
3844
3845         * configure.host: Use -fcheck-references and 
3846         -fuse-divide-subroutine for MinGW until we fix
3847         win32_exception_handler( ) in win32.cc w.r.t. Win32 
3848         Structured Exception Handling (SEH).
3849
3850         * win32.cc (_Jv_platform_initProperties): Use generic names
3851         like "x86" for the "os.arch" property to be consistent with
3852         what Sun's JDK produces. Use the wProcessorArchitecture
3853         member of the Win32 SYSTEM_INFO structure, filled in a call 
3854         to GetSystemInfo( ), instead of dwProcessorType.
3855
3856 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
3857             Ranjit Mathew  <rmathew@hotmail.com>
3858
3859         * Makefile.am: Use cross-compiling gcjh from the path for
3860         a crossed-native build.
3861         * Makefile.in: Rebuilt.
3862         * configure.in: Include libltdl in non-newlib builds.
3863         Moved determination of gcj used to build libraries to
3864         its own section. Fixed cross-compilation issues for
3865         non-newlib builds.
3866         * configure: Rebuilt.
3867
3868 2003-07-25  Tom Tromey  <tromey@redhat.com>
3869
3870         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3871         (write): Likewise.
3872         (read): Likewise.
3873         (read): Likewise.
3874
3875 2003-07-25  Mark Wielaard  <mark@klomp.org>
3876
3877         * java/lang/natRuntime.cc (_load): Add library name to
3878         UnsatisfiedLinkError when thrown.
3879
3880 2003-07-25  Mark Wielaard  <mark@klomp.org>
3881
3882         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3883         added.
3884         * Makefile.in: Likewise.
3885
3886 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
3887
3888         * java/awt/Component.java
3889         (getPreferredSize): Call preferredSize.
3890         (preferredSize): Moved body of getPreferredSize here.
3891         (getMinimumSize): Call minimumSize.
3892         (minimumSize): Moved body of getMinimumSize here.
3893         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3894         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3895         pass -1
3896         * java/awt/Container.java
3897         (validate): Don't validate if there is no peer.
3898         (update): Clear background before calling paint.
3899         * java/awt/GridBagLayout.java
3900         Completed the implementation and fixed several bugs.
3901         * java/awt/MediaTracker.java
3902         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3903         combine flags.
3904         * java/awt/Window.java
3905         (Window): Don't call setVisible(false). Windows are invisible by
3906         default and calling virtual methods from constructor causes
3907         compatibility problems (e.g. subclasses may assume that the peer
3908         already exists).
3909
3910 2003-07-25  Michael Koch  <konqueror@gmx.de>
3911
3912         * java/awt/GridBagLayout.java:
3913         Totally reworked and partly implemented.
3914         * java/awt/GridBagLayoutInfo.java:
3915         New file.
3916
3917 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3918
3919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3920         Don't pack label in an event box.
3921
3922 2003-07-24  Tom Tromey  <tromey@redhat.com>
3923
3924         For PR libgcj/7482:
3925         * verify.cc (ref_intersection): New class.
3926         (type_val): Removed unresolved_reference_type,
3927         uninitialized_unresolved_reference_type.
3928         (is_assignable_from_slow): Rewrote.
3929         (type::data): Removed.
3930         (type::klass): New field.
3931         (type::type): Added verifier argument.
3932         (type::resolve): Removed.
3933         (type::set_uninitialized): Updated for change to type_val.
3934         (type::set_initialized): Likewise.
3935         (type::isinitialized): Likewise.
3936         (type::print): Likewise.
3937         (construct_primitive_array_type): Likewise.
3938         (type::compatible): Updated for change to type_val and to use
3939         ref_intersection.
3940         (type::isarray): Updated to use ref_intersection.
3941         (type::isinterface): Likewise.
3942         (type::element_type): Likewise.
3943         (type::to_array): Likewise.
3944         (type::verify_dimensions): Rewrote.
3945         (type::merge): Likewise.
3946         (check_class_constant): Updated for type constructor change.
3947         (check_constant): Likewise.
3948         (check_field_constant): Likewise.
3949         (get_one_type): Likewise.
3950         (initialize_stack): Likewise.
3951         (verify_instructions_0): Likewise.
3952         (verify_instructions_0) [op_invokeinterface]: Removed special
3953         case.
3954         (isect_list): New field.
3955         (_Jv_BytecodeVerifier): Initialize it.
3956         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
3957
3958 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
3959
3960         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3961         unless field size is 2.
3962
3963 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3964
3965         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3966         (connectHooks): New method.
3967         (handleEvent): Remove.
3968         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3969         (createHooks): Remove declaration.
3970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3971         (generates_key_typed_event): Change to handle only certain
3972         keyvals.
3973         (awt_event_handler): Add special handling for GtkTextView.
3974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3975         (textcomponent_commit_cb): New function.
3976         (textcomponent_changed_cb): Likewise.
3977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3978         (connectHooks): Remove.
3979
3980 2003-07-23  Tom Tromey  <tromey@redhat.com>
3981
3982         * java/lang/natSystem.cc (arraycopy): Check for overflow.
3983
3984         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3985
3986 2003-07-22  Tom Tromey  <tromey@redhat.com>
3987
3988         * boehm.cc (_Jv_BuildGCDescr): Wrote.
3989         Include limits.h.
3990
3991 2003-07-22  Tom Tromey  <tromey@redhat.com>
3992
3993         * java/awt/Window.java (getWarningString): Just return the
3994         string.
3995         (Window): Set warningString; check with security manager.
3996
3997 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
3998
3999         * gnu/awt/xlib/XGraphicsConfiguration.java
4000         (FontMetricsCache): Made static.
4001  
4002 2003-07-22  Tom Tromey  <tromey@redhat.com>
4003
4004         * java/net/URLEncoder.java (encode(String)): Use platform default
4005         encoding.
4006         (encode(String,String)): Convert to 2-digit upper-case hex
4007         number.
4008         (hex): New field.
4009
4010 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4011
4012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4013         (create): Remove unused method implementation.
4014         (connectHooks): Remove debug messages.
4015
4016 2003-07-20  Anthony Green  <green@redhat.com>
4017
4018         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4019         CloneNotSupportedException.
4020         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4021         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4022         * gnu/gcj/xlib/GC.java (clone): Ditto.
4023         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4024         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4025
4026         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4027         handler.
4028         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4029
4030 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4031
4032         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4033         String.  Put dlerror() message into exception.
4034         Include UnsatisfiedLinkError.
4035         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4036         String.  Now native.
4037
4038 2003-07-20  Tom Tromey  <tromey@redhat.com>
4039
4040         * java/lang/Runtime.java: Comment fix.
4041         * java/lang/ClassLoader.java (isAncestorOf): New method.
4042         (getParent): Uncommented security check.  Use isAncestorOf.
4043         * include/jvm.h (_Jv_CheckAccess): Declare.
4044         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4045         access check.
4046         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4047         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4048         class loader to _Jv_GetArrayClass.
4049         Include ArrayIndexOutOfBoundsException.h.
4050         * java/lang/reflect/Field.java: Update comment to reflect status.
4051         (equals): Fixed indentation.
4052         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4053         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4054         * java/lang/Class.java (memberAccessCheck): New method from
4055         Classpath.
4056         (checkMemberAccess): Removed.
4057         (getDeclaredMethod): Use memberAccessCheck.
4058         (getField): Likewise.
4059         (getMethod): Likewise.
4060         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4061         (_Jv_SearchMethodInClass): Likewise.
4062         * prims.cc (_Jv_CheckAccess): New function.
4063         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4064         (_Jv_JNI_GetAnyFieldID): Likewise.
4065         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4066         (getClassLoader): Added security check.
4067         (getConstructor): Call memberAccessCheck.
4068         (getDeclaredClasses): Likewise.
4069         (getDeclaredField): Likewise.
4070         (getDeclaredFields): Likewise.
4071         (_getConstructors): Likewise.
4072         (getDeclaredConstructor): Likewise.
4073         (getDeclaredMethods): Likewise.
4074         (getFields): Likewise.
4075         (getMethods): Likewise.
4076         (newInstance): Likewise.
4077         (_Jv_MakeVTable): Put method name in exception.
4078         * java/lang/reflect/natMethod.cc (getType): Use
4079         getClassLoaderInternal.
4080         (_Jv_GetTypesFromSignature): Likewise.
4081         (invoke): Perform access check.
4082         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4083         Include ArrayIndexOutOfBoundsException.h.
4084         * java/lang/reflect/natField.cc (getType): Use
4085         getClassLoaderInternal.
4086         (_Jv_CheckFieldAccessibility): Removed.
4087         (getAddr): Use _Jv_CheckAccess; find caller.
4088         Include ArrayIndexOutOfBoundsException.h.
4089
4090 2003-07-20  Michael Koch  <konqueror@gmx.de>
4091
4092         * java/net/URL.java
4093         (URL): Fixed documentation to name an argument correcty, Reformatted
4094         one method declaration.
4095         (getURLStreamHandler): Added documentation from classpath.
4096
4097 2003-07-19  Tom Tromey  <tromey@redhat.com>
4098
4099         * mauve-libgcj: Don't run CollationElementIterator tests.
4100
4101 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4102
4103         * java/net/URLClassLoader.java (addURL): Moved implementation to
4104         private addURLImpl() to avoid calling addURL from the constructor.
4105         (addURLImpl): Contains the code that was previously in addURL.
4106         (addURLs): Call addURLImpl(), not addURL().
4107
4108 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4109
4110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4111         Handle missing event cases, connect to "value-changed" signal.
4112
4113 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4114
4115         * java/awt/geom/CubicCurve2D.java,
4116         java/awt/geom/Line2D.java,
4117         java/awt/geom/QuadCurve2D.java,
4118         java/awt/geom/Rectangle2D.java: 
4119         Fix path some calculations, make path iterators follow
4120         a consistent style.
4121
4122 2003-07-18  Mark Wielaard  <mark@klomp.org>
4123
4124         * java/util/logging/Handler.java (isLoggable): Check record level
4125         smaller or equal.
4126
4127 2003-07-17  Michael Koch  <konqueror@gmx.de>
4128
4129         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4130         Reworked imports.
4131
4132 2003-07-14  Michael Koch  <konqueror@gmx.de>
4133
4134         * gnu/java/rmi/server/UnicastServerRef.java:
4135         New version from classpath.
4136
4137 2003-07-14  Michael Koch  <konqueror@gmx.de>
4138
4139         * java/awt/image/MemoryImageSource.java,
4140         java/beans/PropertyEditorManager.java,
4141         javax/naming/CompoundName.java,
4142         javax/naming/spi/NamingManager.java,
4143         javax/swing/AbstractButton.java,
4144         javax/swing/ButtonModel.java,
4145         javax/swing/SwingUtilities.java,
4146         javax/swing/UIManager.java,
4147         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4148         javax/swing/event/AncestorEvent.java,
4149         javax/swing/event/InternalFrameEvent.java,
4150         java/util/zip/ZipFile.java:
4151         New versions from classpath.
4152
4153 2003-07-13  Michael Koch  <konqueror@gmx.de>
4154
4155         * gnu/java/nio/FileChannelImpl.java,
4156         gnu/java/nio/natFileChannelImpl.cc: Removed.
4157         * java/io/FileInputStream.java,
4158         java/io/FileOutputStream.java,
4159         java/io/RandomAccessFile.java,
4160         java/nio/MappedByteBufferImpl.java:
4161         Import java.nio.channels.FileChannelImpl instead of
4162         gnu.java.nio.FileChannelImpl.
4163         * java/nio/channels/FileChannelImpl.java,
4164         java/nio/channels/natFileChannelImpl.cc:
4165         New files.
4166         * Makefile.am
4167         (ordinary_java_source_files):
4168         Removed gnu/java/nio/FileChannelImpl.java and added
4169         java/nio/channels/FileChannelImpl.java.
4170         (nat source_files):
4171         Removed gnu/java/nio/natFileChannelImpl.cc and added
4172         java/nio/channels/natFileChannelImpl.cc.
4173         * Makefile.in: Regenerated.
4174
4175 2003-07-13  Michael Koch  <konqueror@gmx.de>
4176
4177         * javax/swing/plaf/basic/BasicBorders.java,
4178         javax/swing/plaf/basic/BasicLabelUI.java,
4179         javax/swing/plaf/basic/BasicLookAndFeel.java,
4180         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4181         javax/swing/plaf/basic/BasicTextUI.java,
4182         javax/swing/plaf/metal/MetalLookAndFeel.java:
4183         New versions from classpath.
4184
4185 2003-07-13  Michael Koch  <konqueror@gmx.de>
4186
4187         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4188         * gnu/java/awt/peer/gtk/GdkGraphics.java
4189         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4190         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4191         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4192         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4193         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4194         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4195         * gnu/java/awt/peer/gtk/GtkClipboard.java
4196         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4197         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4198         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4199         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4200         * gnu/java/awt/peer/gtk/GtkImage.java
4201         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4202         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4203         * gnu/java/awt/peer/gtk/GtkListPeer.java
4204         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4205         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4206         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4207         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4208         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4209         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4210         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4211         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4212         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4213         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4214         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4215         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4216
4217 2003-07-13  Michael Koch  <konqueror@gmx.de>
4218
4219         * gnu/java/locale/LocaleInformation_de.java
4220         * gnu/java/locale/LocaleInformation_en.java
4221         * gnu/java/locale/LocaleInformation_nl.java
4222
4223 2003-07-13  Michael Koch  <konqueror@gmx.de>
4224
4225         * gnu/java/awt/EmbeddedWindow.java,
4226         gnu/java/awt/EmbeddedWindowSupport.java,
4227         gnu/java/awt/natEmbeddedWindow.cc:
4228         New files.
4229         * java/awt/Window.java
4230         (Window): New constructor to support embedded windows.
4231         * Makefile.am
4232         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4233         gnu/java/awt/EmbeddedWindowSupport.java.
4234         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4235         * Makefile.in: Regenerated.
4236
4237 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4238
4239         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4240         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4241         * java/awt/im/InputContext.java: Remove a redundant
4242         partial line.
4243
4244 2003-07-09  Tom Tromey  <tromey@redhat.com>
4245
4246         * Makefile.in: Rebuilt.
4247         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4248
4249 2003-07-09  Mark Wielaard  <mark@klomp.org>
4250
4251         * java/io/ObjectOutputStream.java (writeObject): break after
4252         calling writeClassDescriptor().
4253
4254 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4255
4256         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4257
4258 2003-07-09  Michael Koch  <konqueror@gmx.de>
4259
4260         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4261         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4262         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4263         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4264         Explicitly import used classes.
4265         * java/awt/Container.java: New version from classpath.
4266
4267 2003-07-09  Michael Koch  <konqueror@gmx.de>
4268
4269         * libgcj.pc.in: New file.
4270         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4271         * Makefile.in: Regenerated.
4272         * configure: Regenrated.
4273         * configure.in: Create libgcj.pc from libgcj.pc.in.
4274
4275 2003-07-08  Mark Wielaard <mark@klomp.org>
4276
4277         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4278
4279         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4280         * java/lang/fdlibm.h: Likewise.
4281
4282 2003-07-07  Adam Megacz <adam@xwt.org>
4283
4284         * posix.cc: added #include<stdio.h>
4285                 
4286 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4287
4288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4289         formatting.
4290
4291         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4292         (setCaretPosition, setEditable): Rely entirely on native
4293         implementation.
4294         (getArgs): Remove.
4295         (postTextEvent): New method.
4296         (handleEvent): New method.
4297         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4298         method.
4299         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4301         (keysym_to_awt_keycode): Fix range checks.
4302         (generates_key_typed_event): New function.
4303         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4304         queue.
4305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4306         (gtkInit): Store TextComponent's postTextEvent method ID.
4307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4308         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4309
4310 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4311
4312         * configure.in: Check for usleep declaration.
4313         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4314         * configure: Regenerate.
4315         * include/config.h.in: Likewise.
4316         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4317
4318 2003-07-01  Michael Koch  <konqueror@gmx.de>
4319
4320         * gnu/gcj/convert/natIconv.cc
4321         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4322         handle.
4323
4324 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4325
4326         * glib-2.0.m4: New file.
4327         * gtk-2.0.m4: New file.
4328         * glib.m4: Remove.
4329         * gtk.m4: Remove.
4330         * configure.in: Update AM_PATH_GTK macro call to
4331         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4343         jni/gtk-peer/gthread-jni.c,
4344         jni/gtk-peer/gthread-jni.h:
4345         New versions from classpath.
4346         * aclocal.m4: Regenerate.
4347         * configure: Regenerate.
4348         * Makefile.in: Regenerate.
4349         * gcj/Makefile.in: Regenerate.
4350         * include/Makefile.in: Regenerate.
4351         * testsuite/Makefile.in: Regenerate.
4352
4353 2003-06-30  Gary Benson  <gbenson@redhat.com>
4354
4355         For PR libgcj/11349:
4356         * javax/naming/spi/NamingManager.java (getURLContext): Use
4357         correct name for factory class.
4358
4359 2003-06-28  Michael Koch  <konqueror@gmx.de>
4360
4361         * java/io/PrintStream.java
4362         (checkError): Call flush() instead of direct flushing of the Writer
4363         object.
4364         (print): Call print(String) instead of direct print method of the
4365         Writer Object.
4366         (println): Call println(String) instead of direct println method of the
4367         Writer Object.
4368         (write): Simplified.
4369
4370 2003-06-28  Michael Koch  <konqueror@gmx.de>
4371
4372         * java/net/ServerSocket.java
4373         (setChannel): New method.
4374         * java/net/Socket.java
4375         (setChannel): New method.
4376
4377 2003-06-27  Michael Koch  <konqueror@gmx.de>
4378
4379         * java/beans/beancontext/BeanContextSupport.java:
4380         New version from classpath.
4381
4382 2003-06-27  Michael Koch  <konqueror@gmx.de>
4383
4384         * java/awt/Window.java,
4385         java/awt/font/GraphicAttribute.java,
4386         java/awt/font/ImageGraphicAttribute.java,
4387         java/awt/image/DataBufferByte.java,
4388         java/awt/image/DataBufferInt.java,
4389         java/awt/image/DataBufferUShort.java,
4390         java/awt/image/DirectColorModel.java,
4391         java/awt/image/PixelGrabber.java:
4392         New versions from classpath.
4393
4394 2003-06-27  Michael Koch  <konqueror@gmx.de>
4395
4396         * java/security/Certificate.java
4397         (getGuarantor): Removed wrong @deprecated tag.
4398         (getPrincipal): Likewise.
4399         (getPublicKey): Likewise.
4400         (encode): Likewise.
4401         (decode): Likewise.
4402         (getFormat): Likewise.
4403         (toString): Likewise.
4404         * java/security/cert/PolicyQualifierInfo.java
4405         (PolicyQualifierInfo): Made final.
4406         * javax/security/auth/x500/X500Principal.java
4407         (serialVersionUID): New member variable.
4408
4409 2003-06-27  Michael Koch  <konqueror@gmx.de>
4410
4411         * java/text/Format.java
4412         (serialVersionUID): Fixed value.
4413
4414 2003-06-27  Michael Koch  <konqueror@gmx.de>
4415
4416         * java/net/Inet4Address.java
4417         (Inet4Address): Made package-private.
4418         * java/net/Inet6Address.java
4419         (Inet4Address): Made package-private.
4420
4421 2003-06-27  Michael Koch  <konqueror@gmx.de>
4422
4423         * java/io/RandomAccessFile.java
4424         (readLine): Removed wrong @deprecated tag.
4425         (getChannel): Made final.
4426
4427 2003-06-27  Michael Koch  <konqueror@gmx.de>
4428
4429         * gnu/java/nio/FileChannelImpl.java
4430         (write): Removed.
4431
4432 2003-06-27  Michael Koch  <konqueror@gmx.de>
4433
4434         * java/nio/ByteBufferImpl.java
4435         (ByteBufferImpl): Made it a package-private class
4436         * java/nio/CharBufferImpl.java
4437         (CharBufferImpl): Made it a package-private class
4438         * java/nio/DirectByteBufferImpl.java
4439         (DirectByteBufferImpl): Made it a package-private class
4440         * java/nio/DoubleBufferImpl.java
4441         (DoubleBufferImpl): Made it a package-private class
4442         * java/nio/FloatBufferImpl.java
4443         (FloatBufferImpl): Made it a package-private class
4444         * java/nio/IntBufferImpl.java
4445         (IntBufferImpl): Made it a package-private class
4446         * java/nio/LongBufferImpl.java
4447         (LongBufferImpl): Made it a package-private class
4448         * java/nio/ShortBufferImpl.java
4449         (ShortBufferImpl): Made it a package-private class
4450         * java/nio/channels/FileChannel.java
4451         (write): Made final.
4452         * java/nio/channels/ServerSocketChannel.java
4453         (ServerSocketChanne): Made protected.
4454
4455 2003-06-27  Michael Koch  <konqueror@gmx.de>
4456
4457         * javax/naming/CompositeName.java
4458         (serialVersionUID): New member variable.
4459         * javax/naming/CompoundName.java
4460         (serialVersionUID): New member variable.
4461         * javax/naming/InitialContext.java
4462         (InitialContext): Throws NamingException.
4463         (init): Likewise.
4464         * javax/naming/LinkRef.java
4465         (serialVersionUID): New member variable.
4466         (gteLinkName): Throws NamingException.
4467         * javax/naming/NamingException.java
4468         (serialVersionUID): New member variable.
4469         * javax/naming/NamingSecurityException.java
4470         (NamingSecurityException): Made abstract.
4471         (serialVersionUID): New member variable.
4472         * javax/naming/ReferralException.java
4473         (serialVersionUID): New member variable.
4474         * javax/naming/StringRefAddr.java
4475         (serialVersionUID): New member variable.
4476         * javax/naming/directory/BasicAttribute.java:
4477         Reworked imports.
4478         (serialVersionUID): New member variable.
4479         (get): Throws NamingException.
4480         (getAll): Throws NamingException.
4481         * javax/naming/directory/BasicAttributes.java:
4482         Reworked imports.
4483         (serialVersionUID): New member variable.
4484         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4485         (serialVersionUID): New member variable.
4486
4487 2003-06-27  Michael Koch  <konqueror@gmx.de>
4488
4489         * Makefile.am
4490         (awt_java_source_files): Added new files:
4491         javax/swing/Popup.java,
4492         javax/swing/PopupFactory.java
4493         * Makefile.in: Regenerated.
4494
4495 2003-06-27  Michael Koch  <konqueror@gmx.de>
4496
4497         * javax/swing/JWindow.java,
4498         javax/swing/event/AncestorEvent.java,
4499         javax/swing/event/HyperlinkEvent.java,
4500         javax/swing/event/InternalFrameEvent.java,
4501         javax/swing/event/ListDataEvent.java,
4502         javax/swing/event/TableModelEvent.java,
4503         javax/swing/plaf/PopupMenuUI.java,
4504         javax/swing/plaf/SplitPaneUI.java,
4505         javax/swing/plaf/TabbedPaneUI.java,
4506         javax/swing/plaf/TextUI.java,
4507         javax/swing/plaf/TreeUI.java,
4508         javax/swing/plaf/basic/BasicTextUI.java,
4509         javax/swing/plaf/basic/BasicTreeUI.java:
4510         New versions from classpath.
4511         * javax/swing/Popup.java,
4512         javax/swing/PopupFactory.jav:
4513         New source files from classpath.
4514         * javax/swing/plaf/doc-files/TreeUI-1.png:
4515         New binary files from classpath.
4516
4517 2003-06-25  Michael Koch  <konqueror@gmx.de>
4518
4519         * Makefile.am
4520         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4521         * Makefile.in: Regenerated.
4522
4523 2003-06-25  Michael Koch  <konqueror@gmx.de>
4524
4525         * javax/swing/plaf/ActionMapUIResource.java,
4526         javax/swing/plaf/BorderUIResource.java,
4527         javax/swing/plaf/ButtonUI.java,
4528         javax/swing/plaf/ColorChooserUI.java,
4529         javax/swing/plaf/ColorUIResource.java,
4530         javax/swing/plaf/ComboBoxUI.java,
4531         javax/swing/plaf/ComponentInputMapUIResource.java,
4532         javax/swing/plaf/ComponentUI.java,
4533         javax/swing/plaf/DesktopIconUI.java,
4534         javax/swing/plaf/DesktopPaneUI.java,
4535         javax/swing/plaf/DimensionUIResource.java,
4536         javax/swing/plaf/FileChooserUI.java,
4537         javax/swing/plaf/FontUIResource.java,
4538         javax/swing/plaf/IconUIResource.java,
4539         javax/swing/plaf/InputMapUIResource.java,
4540         javax/swing/plaf/InsetsUIResource.java,
4541         javax/swing/plaf/InternalFrameUI.java,
4542         javax/swing/plaf/LabelUI.java,
4543         javax/swing/plaf/ListUI.java,
4544         javax/swing/plaf/MenuBarUI.java,
4545         javax/swing/plaf/MenuItemUI.java,
4546         javax/swing/plaf/OptionPaneUI.java,
4547         javax/swing/plaf/PanelUI.java,
4548         javax/swing/plaf/ProgressBarUI.java,
4549         javax/swing/plaf/RootPaneUI.java,
4550         javax/swing/plaf/ScrollBarUI.java,
4551         javax/swing/plaf/ScrollPaneUI.java,
4552         javax/swing/plaf/SeparatorUI.java,
4553         javax/swing/plaf/SliderUI.java,
4554         javax/swing/plaf/TableHeaderUI.java,
4555         javax/swing/plaf/TableUI.java,
4556         javax/swing/plaf/ToolBarUI.java,
4557         javax/swing/plaf/ToolTipUI.java,
4558         javax/swing/plaf/ViewportUI.java:
4559         New versions from classpath.
4560         * javax/swing/plaf/SpinnerUI.java: 
4561         New file from classpath
4562
4563 2003-06-25  Michael Koch  <konqueror@gmx.de>
4564
4565         * java/awt/image/ColorModel.java:
4566         New version from classpath.
4567
4568 2003-06-25  Michael Koch  <konqueror@gmx.de>
4569
4570         * java/net/PlainDatagramSocketImpl.java:
4571         Partly merged with classpath, this mainly adds documentation.
4572
4573 2003-06-25  Michael Koch  <konqueror@gmx.de>
4574
4575         * java/io/ObjectInputStream.java
4576         (readClassDescriptor): New method.
4577         (readObject): Moved functionality to readClassDescriptor().
4578         * java/io/ObjectOutputStream.java
4579         (writeClassDescriptor): New method.
4580         (writeObject): Moved functionality to writeClassDescriptor().
4581
4582 2003-06-25  Michael Koch  <konqueror@gmx.de>
4583
4584         * javax/swing/plaf/basic/BasicListUI.java,
4585         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4586         Added missing methods.
4587
4588 2003-06-25  Michael Koch  <konqueror@gmx.de>
4589
4590         * javax/swing/event/AncestorEvent.java
4591         javax/swing/event/HyperlinkEvent.java
4592         javax/swing/event/InternalFrameEvent.java
4593         javax/swing/event/ListDataEvent.java
4594         javax/swing/event/TableModelEvent.java:
4595         Compile fixes.
4596
4597 2003-06-24  Michael Koch  <konqueror@gmx.de>
4598
4599         * java/net/URL.java:
4600         Renamed "handler" to "ph" in the whole file to match classpaths
4601         version.
4602         * java/net/URLStreamHandler.java:
4603         (equals): Renamed "handler" to "ph".
4604
4605 2003-06-24  Michael Koch  <konqueror@gmx.de>
4606
4607         * javax/swing/event/AncestorEvent.java,
4608         javax/swing/event/HyperlinkEvent.java,
4609         javax/swing/event/InternalFrameEvent.java,
4610         javax/swing/event/ListDataEvent.java,
4611         javax/swing/event/TableModelEvent.java,
4612         javax/swing/event/TreeWillExpandListener.java,
4613         javax/swing/plaf/ComponentUI.java,
4614         javax/swing/plaf/DesktopIconUI.java,
4615         javax/swing/plaf/DesktopPaneUI.java,
4616         javax/swing/plaf/DimensionUIResource.java,
4617         javax/swing/plaf/FileChooserUI.java,
4618         javax/swing/plaf/FontUIResource.java,
4619         javax/swing/plaf/IconUIResource.java,
4620         javax/swing/plaf/InputMapUIResource.java,
4621         javax/swing/plaf/InsetsUIResource.java,
4622         javax/swing/plaf/InternalFrameUI.java,
4623         javax/swing/plaf/LabelUI.java,
4624         javax/swing/plaf/ListUI.java,
4625         javax/swing/plaf/MenuBarUI.java,
4626         javax/swing/plaf/MenuItemUI.java,
4627         javax/swing/plaf/OptionPaneUI.java,
4628         javax/swing/plaf/PanelUI.java,
4629         javax/swing/plaf/ProgressBarUI.java,
4630         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4631         javax/swing/plaf/doc-files/ComponentUI-1.png:
4632         New versions from classpath.
4633
4634 2003-06-24  Michael Koch  <konqueror@gmx.de>
4635
4636         * java/nio/Buffer.java
4637         (cap): Made package-private.
4638         (pos): Likewise.
4639         (limit): Likewise.
4640         (mark): Likewise.
4641
4642 2003-06-24  Michael Koch  <konqueror@gmx.de>
4643
4644         * java/net/SocketImpl.java
4645         (shutdownInput): Made it non-abstract method throwing an exception
4646         like in SUNs JRE.
4647         (shutdownOutput): Likewise.
4648         * java/net/SocketInputStream.java,
4649         java/net/SocketOutputStream.java:
4650         New files from classpath.
4651
4652 2003-06-24  Michael Koch  <konqueror@gmx.de>
4653
4654         * java/awt/Font.java,
4655         java/awt/Window.java,
4656         java/awt/color/ColorSpace.java,
4657         java/awt/datatransfer/StringSelection.java,
4658         java/awt/image/ColorModel.java:
4659         New versions from classpath.
4660
4661 2003-06-24  Michael Koch  <konqueror@gmx.de>
4662
4663         * Makefile.am
4664         (awt_java_source_files): Added new files:
4665         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4666         javax/swing/plaf/basic/BasicSplitPaneUI.java
4667         * Makefile.in: Regenerated.
4668
4669 2003-06-24  Michael Koch  <konqueror@gmx.de>
4670
4671         * javax/swing/text/JTextComponent.java:
4672         New version from classpath.
4673
4674 2003-06-24  Michael Koch  <konqueror@gmx.de>
4675
4676         * javax/swing/Timer.java,
4677         javax/swing/plaf/ActionMapUIResource.java,
4678         javax/swing/plaf/ButtonUI.java,
4679         javax/swing/plaf/ColorChooserUI.java,
4680         javax/swing/plaf/ColorUIResource.java,
4681         javax/swing/plaf/ComboBoxUI.java,
4682         javax/swing/plaf/ComponentInputMapUIResource.java,
4683         javax/swing/plaf/basic/BasicBorders.java:
4684         New versions from classpath.
4685         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4686         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4687         New file from classpath.
4688         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4689         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4690         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4691         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4692         javax/swing/plaf/doc-files/ComponentUI-1.png:
4693         New binary files from classpath.
4694
4695 2003-06-24  Michael Koch  <konqueror@gmx.de>
4696
4697         * java/io/LineNumberReader.java
4698         (skip): Dont do line number accounting here as this is already done in
4699         read(), simplified.
4700
4701 2003-06-21  Michael Koch  <konqueror@gmx.de>
4702
4703         * java/io/File.java
4704         (static): Load javaio lib if existing (only in classpath).
4705         (File): Revised documentation to show the correct argument name.
4706         (createTempFile): Partly merged with classpath.
4707         (compareTo): Simplified.
4708         (lastModified): Throw exception if time < 0.
4709         (deleteOnExit): Revised documentation.
4710
4711 2003-06-21  Michael Koch  <konqueror@gmx.de>
4712
4713         * java/net/PlainSocketImpl.java:
4714         Reformatted.
4715         (PlainSocketImpl): Merged class documentaion with classpath.
4716         (in): Moved.
4717         (out): Moved.
4718         (PlainSocketImpl): New empty constructor.
4719         (finalize): Moved.
4720         (setOption): Merged documentation from classpath.
4721         (getOption): Likewise.
4722         (create): Likewise.
4723         (connect): Likewise.
4724         (bind): Likewise.
4725         (listen): Likewise.
4726         (accept): Likewise.
4727         (available): Likewise.
4728         (close): Likewise.
4729         (read): Likewise.
4730         (write): Likewise.
4731         (getInputStream): Made synchronozed to get sure that only one stream
4732         object can be created for this socket, merged documentation from
4733         classpath.
4734         (getOutputStream): Likewise.
4735
4736 2003-06-21  Michael Koch  <konqueror@gmx.de>
4737
4738         * java/net/PlainSocketImpl.java:
4739         Reformatting.
4740         (static): New implicit method.
4741         (read): Made package private.
4742         (write): Likewise.
4743
4744 2003-06-21  Michael Koch  <konqueror@gmx.de>
4745
4746         * java/util/SimpleTimeZone.java:
4747         Removed unneeded import, reformatting.
4748
4749 2003-06-21  Michael Koch  <konqueror@gmx.de>
4750
4751         * java/text/DateFormat.java,
4752         java/text/SimpleDateFormat.java,
4753         java/util/Locale.java:
4754         New versions from classpath.
4755
4756 2003-06-21  Michael Koch  <konqueror@gmx.de>
4757
4758         * javax/swing/SpinnerModel.java:
4759         New file from classpath.
4760         * javax/swing/border/LineBorder.java,
4761         javax/swing/border/SoftBevelBorder.java,
4762         javax/swing/plaf/BorderUIResource.java,
4763         javax/swing/plaf/basic/BasicBorders.java:
4764         New versions from classpath.
4765         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4766         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4767         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4768         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4769         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4770         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4771         New binary files from classpath.
4772
4773 2003-06-21  Michael Koch  <konqueror@gmx.de>
4774
4775         * java/util/logging/LogRecord.java,
4776         java/util/logging/Logger.java,
4777         java/util/logging/SocketHandler.java,
4778         java/util/logging/SimpleFormatter.java,
4779         java/util/logging/Formatter.java,
4780         java/util/logging/ErrorManager.java,
4781         java/util/logging/Handler.java,
4782         java/util/logging/FileHandler.java,
4783         java/util/logging/LogManager.java,
4784         java/util/logging/Level.java,
4785         java/util/logging/ConsoleHandler.java,
4786         java/util/logging/StreamHandler.java,
4787         java/util/logging/LoggingPermission.java,
4788         java/util/logging/Filter.java,
4789         java/util/logging/MemoryHandler.java,
4790         java/util/logging/XMLFormatter.java:
4791         New files from classpath.
4792
4793 2003-06-20  Michael Koch  <konqueror@gmx.de>
4794
4795         * java/io/ObjectStreamField.java
4796         (unshared): new member variable.
4797         (ObjectStreamField): New constructor.
4798         (isUnshared): New method.
4799
4800 2003-06-20  Michael Koch  <konqueror@gmx.de>
4801
4802         * java/net/URLStreamHandler.java
4803         (hostsEqual): Rewritten.
4804
4805 2003-06-20  Michael Koch  <konqueror@gmx.de>
4806
4807         * gnu/java/nio/MappedByteFileBuffer.java,
4808         gnu/java/nio/natMappedByteFileBuffer.cc:
4809         Removed
4810         * java/nio/MappedByteBufferImpl.java:
4811         New file.
4812         * gnu/java/nio/FileChannelImpl.java:
4813         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4814         * Makefile.am
4815         (ordinary_java_source_files): Removed
4816         gnu/java/nio/MappedByteFileBuffer.java and added
4817         java/nio/MappedByteBufferImpl.java.
4818         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4819         * Makefile.in: Regenerated.
4820
4821 2003-06-19  Michael Koch  <konqueror@gmx.de>
4822
4823         * gnu/java/nio/DatagramChannelImpl.java
4824         (fd): Removed.
4825         (blocking): New member variable.
4826         (socket): Likewise.
4827         (DatagramChannelImpl): Throws IOException, initialize socket.
4828         (socket):Implemented.
4829         (implCloseSelectableChannel): Throws IOException, implemented.
4830         (implConfigureBlocking): Likewise.
4831         (connect): Likewise.
4832         (disconnect): Likewise.
4833         (isConnected): Likewise.
4834         (write): Likewise.
4835         (read): Likewise.
4836         (receive): Throws IOException.
4837         (send): Likewise.
4838         * gnu/java/nio/SocketChannelImpl.java
4839         (read): Implemented.
4840         (write): Implemented.
4841
4842 2003-06-19  Michael Koch  <konqueror@gmx.de>
4843
4844         * javax/swing/JComponent.java,
4845         javax/swing/JInternalFrame.java,
4846         javax/swing/MenuSelectionManager.java,
4847         javax/swing/SwingUtilities.java,
4848         javax/swing/ToggleButtonModel.java:
4849         New versions from classpath.
4850
4851 2003-06-19  Michael Koch  <konqueror@gmx.de>
4852
4853         * java/text/CollationElementIterator.java
4854         (NULLORDER): Initialize with -1 as JDK documentation says.
4855
4856 2003-06-19  Michael Koch  <konqueror@gmx.de>
4857
4858         * java/net/HttpURLConnection.java,
4859         java/net/Inet4Address.java,
4860         java/net/Inet6Address.java,
4861         java/net/SocketImpl.java,
4862         java/net/URLClassLoader.java:
4863         Reworked import statements.
4864         * java/net/InetAddress.java
4865         (getByAddress): Simplified.
4866         * java/net/ServerSocket.java
4867         (ServerSocket): Moved special handling during bind operation to
4868         bind().
4869         (bind): Handle different cases when trying to bind a socket.
4870         * java/net/URLConnection.java
4871         (getHeaderFieldDate): Merged with classpath.
4872         (getHeaderFieldInt): Likewise.
4873
4874 2003-06-19  Michael Koch  <konqueror@gmx.de>
4875
4876         * java/util/zip/InflaterInputStream.java
4877         (InflaterInputStream): Throw NullPointerException if in is null (as
4878         JDK does).
4879
4880 2003-06-19  Michael Koch  <konqueror@gmx.de>
4881
4882         * java/awt/Font.java
4883         javax/swing/UIManager.java
4884         javax/swing/border/AbstractBorder.java
4885         javax/swing/border/BevelBorder.java
4886         javax/swing/border/Border.java
4887         javax/swing/border/CompoundBorder.java
4888         javax/swing/border/EmptyBorder.java
4889         javax/swing/border/EtchedBorder.java
4890         javax/swing/border/LineBorder.java
4891         javax/swing/border/MatteBorder.java
4892         javax/swing/border/TitledBorder.java
4893         javax/swing/plaf/BorderUIResource.java
4894         javax/swing/plaf/basic/BasicBorders.java
4895         javax/swing/plaf/basic/BasicButtonUI.java
4896         javax/swing/plaf/basic/BasicCheckBoxUI.java
4897         javax/swing/plaf/basic/BasicGraphicsUtils.java
4898         javax/swing/plaf/basic/BasicLabelUI.java
4899         javax/swing/plaf/basic/BasicRadioButtonUI.java
4900         javax/swing/plaf/basic/BasicToggleButtonUI.java:
4901         New versions from classpath.
4902         * javax/swing/border/SoftBevelBorder.java:
4903         New file from classpath.
4904         * javax/swing/border/doc-files/LineBorder-1.png,
4905         javax/swing/border/doc-files/BevelBorder-1.png,
4906         javax/swing/border/doc-files/BevelBorder-2.png,
4907         javax/swing/border/doc-files/BevelBorder-3.png,
4908         javax/swing/border/doc-files/EmptyBorder-1.png,
4909         javax/swing/border/doc-files/EtchedBorder-1.png,
4910         javax/swing/border/doc-files/EtchedBorder-2.png,
4911         javax/swing/border/doc-files/MatteBorder-1.png,
4912         javax/swing/border/doc-files/MatteBorder-2.png,
4913         javax/swing/border/doc-files/MatteBorder-3.png,
4914         javax/swing/border/doc-files/MatteBorder-4.png,
4915         javax/swing/border/doc-files/MatteBorder-5.png,
4916         javax/swing/border/doc-files/MatteBorder-6.png,
4917         javax/swing/border/doc-files/SoftBevelBorder-1.png,
4918         javax/swing/border/doc-files/SoftBevelBorder-2.png,
4919         javax/swing/border/doc-files/SoftBevelBorder-3.png,
4920         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4921         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4922         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4923         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4924         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4925         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4926         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4927         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4928         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4929         New binary files from classpath.
4930         * Makefile.am
4931         (awt_java_source_files): Added
4932         javax/swing/border/SoftBevelBorder.java.
4933         * Makefile.in: Regenerated.
4934
4935 2003-06-19  Michael Koch  <konqueror@gmx.de>
4936
4937         * gnu/java/security/x509/X509Certificate.java
4938         (writeReplace): Merged from classpath.
4939
4940 2003-06-19  Michael Koch  <konqueror@gmx.de>
4941
4942         * gnu/java/nio/FileChannelImpl.java
4943         (map_address): Made public.
4944         (FileChannelImpl): Merged with classpath.
4945         * gnu/java/nio/natFileChannelImpl.cc
4946         (nio_mmap_file): Commented out unused arguments.
4947         (nio_unmmap_file): Likewise.
4948         (niu_msync): Likewise.
4949
4950 2003-06-19  Michael Koch  <konqueror@gmx.de>
4951
4952         * java/awt/image/IndexColorModel.java:
4953         New version from classpath.
4954
4955 2003-06-18  Tom Tromey  <tromey@redhat.com>
4956
4957         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4958         on arrays.
4959         (isLoopbackAddress): Likewise.
4960         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4961         on arrays.
4962
4963 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
4964
4965         * java/lang/natVMSecurityManager.cc (getClassContext):
4966         Use maxlen instead of len for loop bound.
4967
4968 2003-06-18  Michael Koch  <konqueror@gmx.de>
4969
4970         * gnu/java/nio/SelectorImpl.java
4971         (register): Use fd with value 0 for now, will be fixed later.
4972         * gnu/java/nio/ServerSocketChannelImpl.java
4973         (fd): Removed.
4974         (local_port): Removed.
4975         (InetSocketAddress): Removed.
4976         (ServerSocketChannelImpl): Just initialize internal socket object.
4977         (implCloseSelectableChannel): Close internal socket object.
4978         (implConfigureBlocking): Added comment.
4979         (accept): Use jaba.net stuff to accept socket.
4980         * gnu/java/nio/SocketChannelImpl.java
4981         (fd): Removed.
4982         (local_port): Removed.
4983         (InetSocketAddress): Removed.
4984         (SocketCreate): Removed.
4985         (SocketConnect): Removed.
4986         (SocketBind): Removed.
4987         (SocketListen): Removed.
4988         (SocketAvailable): Removed.
4989         (SocketClose): Removed.
4990         (SocketRead): Removed.
4991         (SocketWrite): Removed.
4992         (SocketChannelImpl): Just initialize internal socket object.
4993         (implCloseSelectableChannel): Close internal socket object.
4994         (implConfigureBlocking): Fixed implementation, added comment.
4995         (connect): Use internal socket object to connect.
4996         (socket): No need for sanity checks.
4997         (read): Comment out some stuff, this will be reimplemented in the next
4998         commit.
4999         (write): Likewise.
5000         * gnu/java/nio/natFileChannelImpl.cc
5001         (nio_mmap_file): Line wrapped.
5002         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5003         * Makefile.am
5004         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5005         * Makefile.in: Regenerated.
5006
5007 2003-06-18  Michael Koch  <konqueror@gmx.de>
5008
5009         * java/util/Locale.java
5010         (equals): Merged from classpath.
5011
5012 2003-06-18  Michael Koch  <konqueror@gmx.de>
5013
5014         * java/net/InetAddress.java:
5015         Reformatted to better match classpath's version.
5016         * java/net/URL.java
5017         (equals): Simplified.
5018         * java/net/URLConnection.java
5019         (setDoInput): Revised documentation.
5020         (getDefaultUseCaches): Likewise.
5021         (setRequestProperty): Added @since tag.
5022
5023 2003-06-17  Michael Koch  <konqueror@gmx.de>
5024
5025         * java/net/InetSocketAddress.java
5026         (InetSocketAddress): Use wildcard address if addr is null.
5027         (InetSocketAddress): Dont duplicate implementation.
5028         (InetSocketAddress): Throw exception when hostname is null.
5029         * java/net/Socket.java:
5030         Reworked imports.
5031         (Socket): Throw exception when raddr is null, handle case when laddr
5032         is null.
5033
5034 2003-06-17  Michael Koch  <konqueror@gmx.de>
5035
5036         * java/nio/DirectByteBufferImpl.java
5037         (address): Made package private.
5038         (DirectByteBufferImpl): New constructor.
5039         * java/nio/natDirectByteBufferImpl.cc
5040         (allocateImpl): Moved to java.nio namespace, implemented.
5041         (freeImpl): Likewise.
5042         (getImpl): Likewise.
5043         (putImpl): Likewise.
5044         * jni.cc
5045         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5046         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5047         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5048
5049 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5050
5051         * include/powerpc-signal.h: New File.
5052         * configure.in: Use it.
5053         * configure: Regenerated.
5054
5055 2003-06-17  Michael Koch  <konqueror@gmx.de>
5056
5057         * java/util/Locale.java
5058         (getDisplayLanguage): Made it final.
5059         (getDisplayCountry): Likewise.
5060         (getDisplayVariant): Likewise.
5061         (getDisplayName): Likewise.
5062
5063 2003-06-17  Michael Koch  <konqueror@gmx.de>
5064
5065         * java/util/PropertyResourceBundle.java:
5066         Removed unneeded import.
5067
5068 2003-06-17  Michael Koch  <konqueror@gmx.de>
5069
5070         * java/util/prefs/AbstractPreferences.java,
5071         java/util/prefs/PreferencesFactory.java:
5072         Reworked imports, removed unused imports.
5073         * java/util/prefs/Preferences.java
5074         (systemNodeForPackage): Method takes a Class not an Object.
5075         (userNodeForPackage): Likewise.
5076         (nodeForPackage): Likewise.
5077
5078 2003-06-17  Michael Koch  <konqueror@gmx.de>
5079
5080         * gnu/java/security/x509/X509Certificate.java:
5081         Explicitely import used classes.
5082
5083 2003-06-17  Michael Koch  <konqueror@gmx.de>
5084
5085         * java/util/zip/ZipEntry.java,
5086         java/util/zip/ZipFile.java,
5087         java/util/zip/ZipInputStream.java,
5088         java/util/zip/ZipOutputStream.java:
5089         Reworked imports, only import used classes.
5090
5091 2003-06-17  Michael Koch  <konqueror@gmx.de>
5092
5093         * gnu/java/lang/ArrayHelper.java,
5094         gnu/java/lang/ClassHelper.java:
5095         Reformatted to match classpath's versions.
5096
5097 2003-06-14  Michael Koch  <konqueror@gmx.de>
5098
5099         * gnu/java/nio/FileChannelImpl.java
5100         (map_address): Removed incorrect comment.        
5101         * gnu/java/nio/SelectorImpl.java
5102         (register): Remove code duplication and code for file channel handling.        
5103         * gnu/java/nio/ServerSocketChannelImpl.java
5104         (serverSocket): Renamed from sock_object.
5105         (ServerSocketChannel): Initialize serverSocket.
5106         (socket): Return serverSocket.
5107         * gnu/java/nio/SocketChannelImpl.java
5108         (socket): Renamed from sock_object.
5109         (isConnectionPenging): Simplified.
5110         (socket): Return socket.
5111 2003-06-14  Michael Koch  <konqueror@gmx.de>
5112
5113         * java/security/BasicPermission.java:
5114         New version from classpath.
5115
5116 2003-06-14  Michael Koch  <konqueror@gmx.de>
5117
5118         * javax/naming/directory/Attribute.java:
5119         New version from classpath.
5120
5121 2003-06-14  Michael Koch  <konqueror@gmx.de>
5122
5123         * java/io/BufferedReader.java,
5124         java/io/FileOutputStream.java:
5125         New versions from classpath.
5126
5127 2003-06-12  Andrew Haley  <aph@redhat.com>
5128
5129         * prims.cc (catch_segv): Create exception in handler.
5130         (catch_fpe): Likewise.  
5131         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5132         (_Jv_ThrowSignal): Remove.
5133
5134         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5135         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5136         to nullp and arithexception.
5137         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5138         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5139         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5140         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5141         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5142
5143 2003-06-11  Andrew Haley  <aph@redhat.com>
5144
5145         * jni.cc (_Jv_JNI_check_types): New.
5146         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5147         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5148         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5149         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5150         
5151         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5152         infinite loop.
5153
5154 2003-06-11  Tom Tromey  <tromey@redhat.com>
5155
5156         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5157         * java/io/PrintStream.java: Not deprecated.
5158
5159 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5160
5161         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5162         (fillOval): implemented
5163         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5164         (fillArc): implemented.
5165         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5166         (fillArc): added native method.
5167         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5168         (fillArc): added native method.
5169
5170 2003-06-11  Michael Koch  <konqueror@gmx.de>
5171
5172         * java/awt/im/InputSubset.java:
5173         New version from classpath.
5174
5175 2003-06-11  Michael Koch  <konqueror@gmx.de>
5176
5177         * javax/swing/AbstractAction.java,
5178         javax/swing/AbstractButton.java,
5179         javax/swing/AbstractCellEditor.java,
5180         javax/swing/AbstractListModel.java,
5181         javax/swing/BorderFactory.java,
5182         javax/swing/Box.java,
5183         javax/swing/BoxLayout.java,
5184         javax/swing/ButtonGroup.java,
5185         javax/swing/DefaultButtonModel.java,
5186         javax/swing/DefaultListModel.java,
5187         javax/swing/DefaultListSelectionModel.java,
5188         javax/swing/FocusManager.java,
5189         javax/swing/ImageIcon.java,
5190         javax/swing/InputMap.java,
5191         javax/swing/JApplet.java,
5192         javax/swing/JButton.java,
5193         javax/swing/JCheckBox.java,
5194         javax/swing/JCheckBoxMenuItem.java,
5195         javax/swing/JColorChooser.java,
5196         javax/swing/JComboBox.java,
5197         javax/swing/JComponent.java,
5198         javax/swing/JDesktopPane.java,
5199         javax/swing/JDialog.java,
5200         javax/swing/JEditorPane.java,
5201         javax/swing/JFileChooser.java,
5202         javax/swing/JFormattedTextField.java,
5203         javax/swing/JFrame.java,
5204         javax/swing/JLabel.java,
5205         javax/swing/JLayeredPane.java,
5206         javax/swing/JList.java,
5207         javax/swing/JMenuBar.java,
5208         javax/swing/JMenuItem.java,
5209         javax/swing/JOptionPane.java,
5210         javax/swing/JPanel.java,
5211         javax/swing/JPasswordField.java,
5212         javax/swing/JPopupMenu.java,
5213         javax/swing/JProgressBar.java,
5214         javax/swing/JRadioButton.java,
5215         javax/swing/JRadioButtonMenuItem.java,
5216         javax/swing/JRootPane.java,
5217         javax/swing/JScrollBar.java,
5218         javax/swing/JScrollPane.java,
5219         javax/swing/JSeparator.java,
5220         javax/swing/JSlider.java,
5221         javax/swing/JTabbedPane.java,
5222         javax/swing/JTable.java,
5223         javax/swing/JTextField.java,
5224         javax/swing/JToggleButton.java,
5225         javax/swing/JToolBar.java,
5226         javax/swing/JToolTip.java,
5227         javax/swing/JTree.java,
5228         javax/swing/JViewport.java,
5229         javax/swing/JWindow.java,
5230         javax/swing/KeyStroke.java,
5231         javax/swing/ListSelectionModel.java,
5232         javax/swing/LookAndFeel.java,
5233         javax/swing/RepaintManager.java,
5234         javax/swing/ScrollPaneLayout.java,
5235         javax/swing/SizeRequirements.java,
5236         javax/swing/SwingConstants.java,
5237         javax/swing/Timer.java,
5238         javax/swing/UIDefaults.java,
5239         javax/swing/UIManager.java,
5240         javax/swing/border/AbstractBorder.java,
5241         javax/swing/border/CompoundBorder.java,
5242         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5243         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5244         javax/swing/colorchooser/ColorSelectionModel.java,
5245         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5246         javax/swing/event/AncestorEvent.java,
5247         javax/swing/event/HyperlinkEvent.java,
5248         javax/swing/event/InternalFrameAdapter.java,
5249         javax/swing/event/InternalFrameEvent.java,
5250         javax/swing/event/ListDataEvent.java,
5251         javax/swing/event/MouseInputAdapter.java,
5252         javax/swing/event/SwingPropertyChangeSupport.java,
5253         javax/swing/event/TableModelEvent.java,
5254         javax/swing/event/TreeWillExpandListener.java,
5255         javax/swing/event/UndoableEditEvent.java,
5256         javax/swing/filechooser/FileFilter.java,
5257         javax/swing/filechooser/FileSystemView.java,
5258         javax/swing/filechooser/FileView.java,
5259         javax/swing/plaf/BorderUIResource.java,
5260         javax/swing/plaf/basic/BasicDefaults.java,
5261         javax/swing/table/AbstractTableModel.java,
5262         javax/swing/table/DefaultTableCellRenderer.java,
5263         javax/swing/table/DefaultTableColumnModel.java,
5264         javax/swing/table/DefaultTableModel.java,
5265         javax/swing/table/TableColumn.java,
5266         javax/swing/text/JTextComponent.java,
5267         javax/swing/tree/AbstractLayoutCache.java,
5268         javax/swing/tree/DefaultMutableTreeNode.java,
5269         javax/swing/tree/DefaultTreeCellEditor.java,
5270         javax/swing/tree/DefaultTreeCellRenderer.java,
5271         javax/swing/tree/DefaultTreeModel.java,
5272         javax/swing/tree/DefaultTreeSelectionModel.java,
5273         javax/swing/tree/FixedHeightLayoutCache.java,
5274         javax/swing/tree/TreeCellEditor.java,
5275         javax/swing/tree/TreeModel.java,
5276         javax/swing/tree/TreeNode.java,
5277         javax/swing/tree/TreePath.java,
5278         javax/swing/tree/TreeSelectionModel.java,
5279         javax/swing/tree/VariableHeightLayoutCache.java,
5280         javax/swing/undo/AbstractUndoableEdit.java,
5281         javax/swing/undo/CompoundEdit.java,
5282         javax/swing/undo/StateEdit.java,
5283         javax/swing/undo/UndoManager.java,
5284         javax/swing/undo/UndoableEditSupport.java:
5285         New versions from classpath.
5286         * javax/swing/table/JTableHeader.java:
5287         New file from classpath.
5288         * Makefile.am
5289         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5290         * Makefile.in: Regenerated.
5291
5292 2003-06-11  Michael Koch  <konqueror@gmx.de>
5293
5294         * java/nio/MappedByteBuffer.java,
5295         java/nio/channels/Channels.java,
5296         java/nio/channels/ServerSocketChannel.java,
5297         java/nio/channels/spi/AbstractSelector.java:
5298         Removed unneeded imports.
5299
5300 2003-06-11  Michael Koch  <konqueror@gmx.de>
5301
5302         * java/net/DatagramSocket.java:
5303         Partly merged with classpath.
5304
5305 2003-06-11  Michael Koch  <konqueror@gmx.de>
5306
5307         * java/awt/Frame.java,
5308         java/awt/Graphics.java,
5309         java/awt/Menu.java,
5310         java/awt/Robot.java,
5311         java/awt/image/ColorModel.java:
5312         New versions from classpath.
5313
5314 2003-06-10  Michael Koch  <konqueror@gmx.de>
5315
5316         * java/io/PrintStream.java:
5317         Merged version from classpath.
5318         (close): Removed sychronized keyword. This class is not garantied to
5319         be thread-safe.
5320         (write): Likewise.
5321
5322 2003-06-09  Tom Tromey  <tromey@redhat.com>
5323
5324         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5325         field.
5326         (getDescent): Likewise, for "descent".
5327
5328 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5329
5330         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5331         (getMaxDescent): adjusted return value.
5332         (getAscent): modified to use metrics for 'O'.
5333         (getDescent): modified to use metrics for 'y'.
5334
5335 2003-06-08  Anthony Green  <green@redhat.com>
5336
5337         * java/net/URLStreamHandler.java (sameFile): Fix port value
5338         comparison.
5339         * java/net/URL.java (handler): Make package private.
5340         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5341
5342 2003-06-07  Tom Tromey  <tromey@redhat.com>
5343
5344         For PR libgcj/11085:
5345         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5346         Limit number of characters in numeric field when required.
5347         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5348         Respect maximumIntegerDigits.
5349
5350 2003-06-08  Michael Koch  <konqueror@gmx.de>
5351
5352         * java/net/Socket.java
5353         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5354         call bind() and connect() to actually do the bind and connect tasks.
5355         (bind): Connect to canonical address if bindpoint is null, create
5356         socket and bind it to bindpoint.
5357         (connect): Check for exceptions.
5358
5359 2003-06-08  Michael Koch  <konqueror@gmx.de>
5360
5361         * java/net/DatagramSocket.java
5362         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5363         into the Multicast constructors.
5364         * java/net/DatagramSocketImpl.java
5365         (getOption): Removed.
5366         (setOption): Removed.
5367         * java/net/MulticastSocket.java
5368         (MulticastSocket): Call setReuseAddress (true).
5369         * java/net/SocketImpl.java
5370         (getOption): Removed.
5371         (setOption): Removed.
5372
5373 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5374
5375         PR libgcj/10886:
5376         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5377         Test for empty vector.
5378
5379 2003-06-06  Mark Wielaard  <mark@klomp.org>
5380
5381         * java/security/Security.java (secprops): Initialize.
5382         (loadProviders): Return boolean.
5383         (static): Check result of loadProvider calls. If necessary
5384         display WARNING and fallback to Gnu provider.
5385
5386 2002-06-06  James Clark  <jjc@jclark.com>
5387
5388         Fix for PR libgcj/8738:
5389         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5390         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5391         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5392         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5393         (write): Always decrease avail when count is increased.
5394         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5395         and whether output buffer is full before increasing size.
5396
5397 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5398
5399         * java/io/PrintStream.java (writeChars(char[],int, int)):
5400         Check converter.havePendingBytes().
5401         (writeChars(String,int,int)): Likewise.
5402         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5403         Check converter.havePendingBytes() and flush buffer when stalled.
5404
5405 2003-06-07  Michael Koch  <konqueror@gmx.de>
5406
5407         * include/posix.h
5408         (O_DSYNC): Define O_DSYNC on platforms not
5409         supporting O_FSYNC (newlib).
5410
5411 2003-06-06  Mark Wielaard  <mark@klomp.org>
5412
5413         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5414         AWTError.
5415
5416 2003-06-06  Michael Koch  <konqueror@gmx.de>
5417
5418         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5419         More compile fixes from my stupid work yesterday.
5420
5421 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5422
5423         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5424         if _IEEE_LIBM is undefined.
5425
5426 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5427
5428         * libjava/include/posix.h (O_SYNC): Define if not available
5429         and a reasonable, perhaps more conservative, replacement exists.
5430         (O_DSYNC): Likewise.
5431         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5432
5433 2003-06-05  Michael Koch  <konqueror@gmx.de>
5434
5435         * javax/swing/plaf/BorderUIResource.java,
5436         javax/swing/plaf/basic/BasicDefaults.java,
5437         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5438         More compile fixes for latest Border commit. I should not commit
5439         something in this heat here ...
5440
5441 2003-06-05  Michael Koch  <konqueror@gmx.de>
5442
5443         * javax/swing/border/BevelBorder.java
5444         (BevelBorder): Removed.
5445         * javax/swing/border/EmptyBorder.java:
5446         Reformatted.
5447         (EmptyBorder): Removed.
5448         (getBorderInsets): Dont use l, r, t and b.
5449         * javax/swing/border/EtchedBorder.java
5450         (EtchedBorder): Removed.
5451         * javax/swing/border/LineBorder.java
5452         (LineBorder): Removed.
5453         * javax/swing/border/MatteBorder.java
5454         (MatteBorder): Removed.
5455         * javax/swing/border/TitledBorder.java
5456         (defaultBorder): Use other default for now.
5457         (defaultFont): Likewise.
5458         (defaultColor): Likewise.
5459
5460 2003-06-05  Michael Koch  <konqueror@gmx.de>
5461
5462         * javax/swing/border/Border.java:
5463         New version from classpath.
5464
5465 2003-06-05  Michael Koch  <konqueror@gmx.de>
5466
5467         * javax/swing/border/AbstractBorder.java,
5468         javax/swing/border/BevelBorder.java,
5469         javax/swing/border/CompoundBorder.java,
5470         javax/swing/border/EmptyBorder.java,
5471         javax/swing/border/EtchedBorder.java,
5472         javax/swing/border/LineBorder.java,
5473         javax/swing/border/MatteBorder.java,
5474         javax/swing/border/TitledBorder.java:
5475         New versions from Classpath.
5476
5477 2003-06-05  Michael Koch  <konqueror@gmx.de>
5478
5479         * java/awt/Button.java,
5480         java/awt/Checkbox.java,
5481         java/awt/CheckboxMenuItem.java,
5482         java/awt/Choice.java,
5483         java/awt/Container.java,
5484         java/awt/Dialog.java,
5485         java/awt/EventQueue.java,
5486         java/awt/FileDialog.java,
5487         java/awt/Frame.java,
5488         java/awt/Label.java,
5489         java/awt/List.java,
5490         java/awt/Menu.java,
5491         java/awt/MenuItem.java,
5492         java/awt/Panel.java,
5493         java/awt/PopupMenu.java,
5494         java/awt/Rectangle.java,
5495         java/awt/ScrollPane.java,
5496         java/awt/Scrollbar.java,
5497         java/awt/TextArea.java,
5498         java/awt/TextField.java,
5499         java/awt/Window.java,
5500         java/awt/datatransfer/DataFlavor.java,
5501         java/awt/dnd/DragSource.java,
5502         java/awt/dnd/DragSourceContext.java,
5503         java/awt/event/HierarchyEvent.java,
5504         java/awt/event/MouseWheelEvent.java,
5505         java/awt/im/InputContext.java,
5506         java/awt/image/BufferedImage.java,
5507         java/awt/image/ComponentColorModel.java,
5508         java/awt/image/Raster.java,
5509         java/awt/image/WritableRaster.java,
5510         java/awt/peer/ComponentPeer.java,
5511         java/awt/print/PageFormat.java,
5512         java/awt/print/PrinterJob.java:
5513         New versions from Classpath.
5514
5515 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5516
5517         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5518         numberFormat.setParseIntegerOnly(true).
5519
5520 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5521
5522         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5523
5524 2003-06-03  Andrew Haley  <aph@redhat.com>
5525
5526         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5527         stack volatile to prevent optimization from removing it.
5528
5529 2003-05-27  Michael Koch  <konqueror@gmx.de>
5530
5531         * java/util/zip/Deflater.java
5532         (FILTERED): Merged documentation from classpath.
5533         * java/util/zip/DeflaterOutputStream.java
5534         (DeflaterOutputStream): Merged documentation and argument validity
5535         check from classpath.
5536         (deflate): Merged documentation from classpath.
5537         (finish): Likewise.
5538         * java/util/zip/Inflater.java
5539         (Inflater): Merged class documentation from classpath.
5540         (zstream): Reordered.
5541         (is_finished): Reordered.
5542         (dict_needed): Reordered.
5543         (Inflater): Reordered, merged documentation from classpath.
5544         (end): Likewise.
5545         (finalize): Merged documentation from classpath.
5546         (finished): Likewise.
5547         (getAdler): Likewise.
5548         (getRemaining): Likewise.
5549         (getTotalIn): Likewise.
5550         (getTotalOut): Likewise.
5551         (inflate): Likewise.
5552         (needsDictionary): Likewise.
5553         (needsInput): Likewise.
5554         (reset): Likewise.
5555         (setDictionary): Likewise.
5556         (setInput): Likewise.
5557
5558 2003-05-27  Michael Koch  <konqueror@gmx.de>
5559
5560         * java/net/URLConnection.java
5561         (getHeaderFieldInt): Merged with classpath.
5562
5563 2003-05-27  Michael Koch  <konqueror@gmx.de>
5564
5565         * java/io/PrintStream.java
5566         (PrintStream): Reformatted.
5567         (PrintStream): New method, merged from classpath.
5568         (write): Reformatted.
5569
5570 2003-05-27  Michael Koch  <konqueror@gmx.de>
5571
5572         * java/lang/System.java:
5573         Explicitely import needed classes.
5574
5575 2003-05-26  Michael Koch  <konqueror@gmx.de>
5576
5577         * java/net/NetPermission.java,
5578         java/net/NetworkInterface.java,
5579         java/net/PasswordAuthentication.java,
5580         java/net/SocketPermission.java:
5581         New versions from classpath.
5582
5583 2003-05-25  Michael Koch  <konqueror@gmx.de>
5584
5585         * java/io/PushbackInputStream.java,
5586         java/net/Authenticator.java,
5587         java/net/ContentHandler.java,
5588         java/net/ContentHandlerFactory.java,
5589         java/net/DatagramSocket.java,
5590         java/net/DatagramSocketImpl.java,
5591         java/net/DatagramSocketImplFactory.java,
5592         java/net/FileNameMap.java,
5593         java/net/SocketImplFactory.java,
5594         java/net/SocketOptions.java,
5595         java/net/URLStreamHandlerFactory.java:
5596         Merged new versions from classpath.
5597
5598 2003-05-25  Michael Koch  <konqueror@gmx.de>
5599
5600         * java/awt/Checkbox.java,
5601         java/awt/Dialog.java,
5602         java/awt/Font.java,
5603         java/awt/Frame.java,
5604         java/awt/ScrollPaneAdjustable.java,
5605         java/awt/Scrollbar.java,
5606         java/awt/Window.java:
5607         New versions from classpath.
5608
5609 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5610
5611         PR libgcj/10838:
5612         * java/io/ObjectInputStream (enableResolveObject):
5613         Fixed spelling of permission name.
5614
5615 2003-05-20  Michael Koch  <konqueror@gmx.de>
5616
5617         * java/io/DataInputStream.java
5618         (convertFromUTF): Merged comment from classpath.
5619         * java/io/PrintStream.java
5620         (error_occured): Renamed from error, merged comment from classpath.
5621         (PrintStream): No need to initialized error.
5622         (checkError): Replace error with error_occurred.
5623         (setError): Likewise.
5624
5625 2003-05-20  Michael Koch  <konqueror@gmx.de>
5626
5627         * java/io/DataInputStream.java:
5628         Reformatted, Replaced < and & with html entitites in documentation.
5629         * java/io/File.java:
5630         Reformatted.
5631         * java/io/PrintWriter.java:
5632         Moved class documentation.
5633
5634 2003-05-20  Michael Koch  <konqueror@gmx.de>
5635
5636         * gnu/java/nio/ByteBufferImpl.java,
5637         gnu/java/nio/CharBufferImpl.java,
5638         gnu/java/nio/CharViewBufferImpl.java,
5639         gnu/java/nio/DirectByteBufferImpl.java,
5640         gnu/java/nio/DoubleBufferImpl.java,
5641         gnu/java/nio/DoubleViewBufferImpl.java,
5642         gnu/java/nio/FloatBufferImpl.java,
5643         gnu/java/nio/FloatViewBufferImpl.java,
5644         gnu/java/nio/IntBufferImpl.java,
5645         gnu/java/nio/IntViewBufferImpl.java,
5646         gnu/java/nio/LongBufferImpl.java,
5647         gnu/java/nio/LongViewBufferImpl.java,
5648         gnu/java/nio/natDirectByteBufferImpl.cc,
5649         gnu/java/nio/ShortBufferImpl.java,
5650         gnu/java/nio/ShortViewBufferImpl.java:
5651         Moved files to java/nio.
5652         * gnu/java/nio/SocketChannelImpl.java
5653         
5654         * java/nio/ByteBuffer.java,
5655         java/nio/CharBuffer.java,
5656         java/nio/DoubleBuffer.java,
5657         java/nio/FloatBuffer.java,
5658         java/nio/IntBuffer.java,
5659         java/nio/LongBuffer.java,
5660         java/nio/ShortBuffer.java:
5661         Dont import anything.
5662         * java/nio/ByteBufferImpl.java,
5663         java/nio/CharBufferImpl.java,
5664         java/nio/CharViewBufferImpl.java,
5665         java/nio/DirectByteBufferImpl.java,
5666         java/nio/DoubleBufferImpl.java,
5667         java/nio/DoubleViewBufferImpl.java,
5668         java/nio/FloatBufferImpl.java,
5669         java/nio/FloatViewBufferImpl.java,
5670         java/nio/IntBufferImpl.java,
5671         java/nio/IntViewBufferImpl.java,
5672         java/nio/LongBufferImpl.java,
5673         java/nio/LongViewBufferImpl.java,
5674         java/nio/natDirectByteBufferImpl.cc,
5675         java/nio/ShortBufferImpl.java,
5676         java/nio/ShortViewBufferImpl.java:
5677         Moved from gnu/java/nio.
5678         * Makefile.am
5679         (ordinary_java_source_files): Moved files from gnu/java/nio to
5680         java/nio.
5681         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5682         to java/nio.
5683         * Makefile.in: Regenerated.
5684
5685 2003-05-19  Michael Koch  <konqueror@gmx.de>
5686
5687         * java/util/Calendar.java
5688         (get): Not final anymore since JDK 1.4
5689         (set): Likewise.
5690
5691 2003-05-19  Michael Koch  <konqueror@gmx.de>
5692
5693         * java/text/CollationKey.java:
5694         Merged copyright and dat from classpath.
5695         * java/text/RuleBasedCollator.java:
5696         Merged class documentation from classpath.
5697
5698 2003-05-19  Michael Koch  <konqueror@gmx.de>
5699
5700         * java/nio/CharBuffer.java
5701         (toString): Compile fix.
5702
5703 2003-05-19  Michael Koch  <konqueror@gmx.de>
5704
5705         * gnu/java/nio/ByteBufferImpl.java
5706         (putLong): Fixed conversion to bytes.
5707         (putDouble): Fixed conversion to bytes.
5708         * gnu/java/nio/DirectByteBufferImpl.java
5709         (putLong): Fixed conversion to bytes.
5710         (putDouble): Fixed conversion to bytes.
5711         * gnu/java/nio/FileLockImpl.java
5712         (isValid): Reformatted.
5713         * java/nio/Buffer.java
5714         (Buffer): Fixed off-by-one bug in handling mark.
5715         * java/nio/ByteBuffer.java:
5716         Added newline.
5717         * java/nio/CharBuffer.java
5718         (toString): Don't use relative get to get string data.
5719
5720 2003-05-16  Michael Koch  <konqueror@gmx.de>
5721
5722         * java/io/natFileDescriptorPosix.cc
5723         (open): Commented out the O_SYNC and O_DSYNC usage until its better
5724         tested.
5725
5726 2003-05-14  Michael Koch  <konqueror@gmx.de>
5727
5728         * gnu/java/nio/FileLockImpl.java
5729         (released): New member variable.
5730         (FileLockImpl): Initialize released.
5731         (releaseImpl): New native method.
5732         (release): Implemented.
5733         * gnu/java/nio/SelectorImpl.java: Reformatted.
5734         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5735         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5736         (accept): Throws IOException.
5737         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5738         (implConfigureBlocking): Throws IOException.
5739         (connect): Likewise.
5740         (read): Likewise.
5741         (write): Likewise.
5742         * gnu/java/nio/natFileLockImpl.cc: New file.
5743         * java/nio/channels/FileLock.java: Reformatted.
5744         * Makefile.am:
5745         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5746         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5747         * Makefile.in: Regenerated.
5748
5749 2003-05-13  Michael Koch  <konqueror@gmx.de>
5750
5751         * gnu/java/nio/CharViewBufferImpl.java
5752         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5753         (get): Shift bits to the right direction.
5754         (put): Likewise.
5755         * gnu/java/nio/DoubleViewBufferImpl.java
5756         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5757         (get): Shift bits to the right direction.
5758         (put): Likewise.
5759         * gnu/java/nio/FloatViewBufferImpl.java
5760         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5761         (get): Shift bits to the right direction.
5762         (put): Likewise.
5763         * gnu/java/nio/IntViewBufferImpl.java
5764         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5765         (get): Shift bits to the right direction.
5766         (put): Likewise.
5767         * gnu/java/nio/LongViewBufferImpl.java
5768         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5769         (get): Shift bits to the right direction.
5770         (put): Likewise.
5771         * gnu/java/nio/ShortViewBufferImpl.java
5772         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5773         (get): Shift bits to the right direction.
5774         (put): Likewise.
5775
5776 2003-05-13  Michael Koch  <konqueror@gmx.de>
5777
5778         * gnu/java/nio/natDirectByteBufferImpl.cc
5779         (allocateImpl): jlong -> RawData*.
5780         (freeImpl): Likewise.
5781
5782 2003-05-13  Michael Koch  <konqueror@gmx.de>
5783
5784         * java/nio/channels/FileChannel.java
5785         (MapMode.m): Made it package-private to match JDK 1.4.
5786         * java/nio/charset/Charset.java
5787         (decode): Made it final to match JDK 1.4.
5788
5789 2003-05-13  Michael Koch  <konqueror@gmx.de>
5790
5791        * java/io/FileDescriptor.java
5792        (SYNC): New constant.
5793        (DSYNC): Likewise.
5794        (getLength): Renamed from lenght() to match classpath's
5795        FileDescriptor.java.
5796        * java/io/RandomAccessFile.java
5797        (RandomAccessFile): Removed unneeded mode check, implemented mode
5798        "rws" and "rwd", merged documentation from classpath.
5799        (setLength): Reformatted.
5800        (length): Use new getLength() of FileDescriptor.
5801        * java/io/natFileDescriptorEcos.cc
5802        (getLength): Renamed from length().
5803        * java/io/natFileDescriptorPosix.cc
5804        (open): Implemented support for SYNC and DSYNC.
5805        (seek): Use getLength() instead of length().
5806        (getLength): Renamed from length().
5807        * java/io/natFileDescriptorWin32.cc
5808        (getLength): Renamed from length().
5809        (seek): Use getLength() instead of length().
5810        (available): Likewise.
5811        * gnu/java/nio/natFileChannelImpl.cc
5812        (size): Use getLength() instead of length().
5813
5814 2003-05-13  Michael Koch  <konqueror@gmx.de>
5815
5816         * gnu/java/nio/ByteBufferImpl.java
5817         (ByteBufferImpl): All constructors revised.
5818         (slice): Reimplemented.
5819         (duplicate): Reimplemented.
5820         (asReadOnlyBuffer): Reimplemented.
5821         * java/nio/ByteBuffer.java:
5822         Reformatted.
5823         (array_offset): Renamed from "offset" to match all other buffer
5824         classes.
5825         (ByteBuffer): All constructors revised.
5826         (allocateDirect): Implemented.
5827         (allocate): New implementation, documentation reworked.
5828         (wrap): Likewise.
5829         (get): Documentation reworked.
5830         (put): New implementation, documentation reworked.
5831         (hasArray): Documentation reworked.
5832         (arrayOffset): Likewise.
5833         (hashCode): Likewise.
5834         (equals): Likewise.
5835         (compareTo): Likewise.
5836         (order): Likewise.
5837         (compact): Likewise.
5838         (isDirect): Likewise.
5839         (slice): Likewise.
5840         (duplicate): Likewise.
5841         (asReadOnlyBuffer): Likewise.
5842         * Makefile.am
5843         (ordinary_java_source_files):
5844         Added gnu/java/nio/DirectByteBufferImpl.java.
5845         (nat_source_files):
5846         Added gnu/java/nio/natDirectByteBufferImpl.cc.
5847         * Makefile.in: Regenerated.
5848
5849 2003-05-12  Michael Koch  <konqueror@gmx.de>
5850
5851         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5852         (nio_get_*): Removed.
5853         (nio_put_*): Removed.
5854         (as*Buffer): Implemented.
5855         (compact): Implemented.
5856         (get): Documentation added.
5857         (put): Documentation added.
5858         (get*): Newly implemented.
5859         (put*): Newly implemented.
5860         * gnu/java/nio/CharBufferImpl.java: Reformatted.
5861         (CharBufferImpl): Revised.
5862         (slice): New implementation.
5863         (duplicate): New implementation.
5864         (compact): New implementation.
5865         (asReadOnlyBuffer): New implementation.
5866         (get): Documentation revised.
5867         (order): Return native byte order.
5868         * gnu/java/nio/DirectByteBufferImpl.java
5869         (allocateDirect): objects can be null not 0.
5870         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5871         (DoubleBufferImpl): Revised.
5872         (slice): New implementation.
5873         (duplicate): New implementation.
5874         (compact): New implementation.
5875         (asReadOnlyBuffer): New implementation.
5876         (get): Documentation revised.
5877         (order): Return native byte order.
5878         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5879         (FloatBufferImpl): Revised.
5880         (slice): New implementation.
5881         (duplicate): New implementation.
5882         (compact): New implementation.
5883         (asReadOnlyBuffer): New implementation.
5884         (get): Documentation revised.
5885         (order): Return native byte order.
5886         * gnu/java/nio/IntBufferImpl.java: Reformatted.
5887         (IntBufferImpl): Revised.
5888         (slice): New implementation.
5889         (duplicate): New implementation.
5890         (compact): New implementation.
5891         (asReadOnlyBuffer): New implementation.
5892         (get): Documentation revised.
5893         (order): Return native byte order.
5894         * gnu/java/nio/LongBufferImpl.java: Reformatted.
5895         (LongBufferImpl): Revised.
5896         (slice): New implementation.
5897         (duplicate): New implementation.
5898         (compact): New implementation.
5899         (asReadOnlyBuffer): New implementation.
5900         (get): Documentation revised.
5901         (order): Return native byte order.
5902         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5903         (ShortBufferImpl): Revised.
5904         (slice): New implementation.
5905         (duplicate): New implementation.
5906         (compact): New implementation.
5907         (asReadOnlyBuffer): New implementation.
5908         (get): Documentation revised.
5909         (order): Return native byte order.
5910         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5911         (CharBuffer): Revised.
5912         (order): Removed.
5913         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5914         (DoubleBuffer): Revised.
5915         (allocateDirect): Removed.
5916         (order): Removed.
5917         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5918         (FloatBuffer): Revised.
5919         (allocateDirect): Removed.
5920         (order): Removed.
5921         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5922         (IntBuffer): Revised.
5923         (allocateDirect): Removed.
5924         (order): Removed.
5925         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5926         (LongBuffer): Revised.
5927         (allocateDirect): Removed.
5928         (order): Removed.
5929         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5930         (ShortBuffer): Revised.
5931         (allocateDirect): Removed.
5932         (order): Removed.
5933         * gnu/java/nio/natByteBufferImpl.cc: Removed.
5934         * gnu/java/nio/natCharBufferImpl.cc: Removed.
5935         * Makefile.am
5936         (ordinary_java_source_files): Added the following files:
5937         gnu/java/nio/CharViewBufferImpl.java,
5938         gnu/java/nio/DoubleViewBufferImpl.java,
5939         gnu/java/nio/FloatViewBufferImpl.java,
5940         gnu/java/nio/IntViewBufferImpl.java,
5941         gnu/java/nio/LongViewBufferImpl.java,
5942         gnu/java/nio/ShortViewBufferImpl.java
5943         (nat_source_files): Removed the following files:
5944         gnu/java/nio/natByteBufferImpl.cc,
5945         gnu/java/nio/natCharBufferImpl.cc
5946         * Makefile.in: Regenerated.
5947
5948 2003-05-12  Michael Koch  <konqueror@gmx.de>
5949
5950         * gnu/java/nio/CharViewBufferImpl.java,
5951         gnu/java/nio/DirectByteBufferImpl.java,
5952         gnu/java/nio/DoubleViewBufferImpl.java,
5953         gnu/java/nio/FloatViewBufferImpl.java,
5954         gnu/java/nio/IntViewBufferImpl.java,
5955         gnu/java/nio/LongViewBufferImpl.java,
5956         gnu/java/nio/ShortViewBufferImpl.java,
5957         gnu/java/nio/natDirectByteBufferImpl.cc:
5958         New files, not yet to be compiled.
5959
5960 2003-05-10  Michael Koch  <konqueror@gmx.de>
5961
5962         * javax/swing/plaf/ButtonUI.java,
5963         javax/swing/plaf/ColorUIResource.java,
5964         javax/swing/plaf/ComponentUI.java,
5965         javax/swing/plaf/DimensionUIResource.java,
5966         javax/swing/plaf/FontUIResource.java,
5967         javax/swing/plaf/IconUIResource.java,
5968         javax/swing/plaf/InsetsUIResource.java,
5969         javax/swing/plaf/LabelUI.java,
5970         javax/swing/plaf/ListUI.java,
5971         javax/swing/plaf/OptionPaneUI.java,
5972         javax/swing/plaf/PanelUI.java,
5973         javax/swing/plaf/TabbedPaneUI.java,
5974         javax/swing/plaf/TextUI.java,
5975         javax/swing/plaf/TreeUI.java,
5976         javax/swing/plaf/ViewportUI.java,
5977         javax/swing/plaf/basic/BasicBorders.java,
5978         javax/swing/plaf/basic/BasicButtonUI.java,
5979         javax/swing/plaf/basic/BasicCheckBoxUI.java,
5980         javax/swing/plaf/basic/BasicDefaults.java,
5981         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5982         javax/swing/plaf/basic/BasicIconFactory.java,
5983         javax/swing/plaf/basic/BasicLabelUI.java,
5984         javax/swing/plaf/basic/BasicListUI.java,
5985         javax/swing/plaf/basic/BasicOptionPaneUI.java,
5986         javax/swing/plaf/basic/BasicPanelUI.java,
5987         javax/swing/plaf/basic/BasicRadioButtonUI.java,
5988         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5989         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5990         javax/swing/plaf/basic/BasicTextUI.java,
5991         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5992         javax/swing/plaf/basic/BasicTreeUI.java,
5993         javax/swing/plaf/basic/BasicViewportUI.java,
5994         javax/swing/plaf/metal/MetalLookAndFeel.java:
5995         New versions from classpath. This adds copyrights to all files and
5996         some serialVersionUIDs.
5997
5998 2003-05-10  Michael Koch  <konqueror@gmx.de>
5999
6000         * java/nio/CharBuffer.java
6001         (offset): Make it package-private.
6002         (backing_buffer): Likewise.
6003         * java/nio/DoubleBuffer.java
6004         (offset): Make it package-private.
6005         (backing_buffer): Likewise.
6006         (put): Reformatted.
6007         * java/nio/FloatBuffer.java
6008         (offset): Make it package-private.
6009         (backing_buffer): Likewise.
6010         * java/nio/IntBuffer.java
6011         (offset): Make it package-private.
6012         (backing_buffer): Likewise.
6013         * java/nio/LongBuffer.java
6014         (offset): Make it package-private.
6015         (backing_buffer): Likewise.
6016         * java/nio/ShortBuffer.java
6017         (offset): Make it package-private.
6018         (backing_buffer): Likewise.
6019
6020 2003-05-10  Michael Koch  <konqueror@gmx.de>
6021
6022         * java/nio/CharBuffer.java
6023         (put): Fixed precondtion check.
6024         (toString): Make it work without backing array.
6025         (put): Skip one level of method calling.
6026
6027 2003-05-10  Michael Koch  <konqueror@gmx.de>
6028
6029         * java/security/Identity.java,
6030         java/security/IdentityScope.java,
6031         java/security/Key.java,
6032         java/security/KeyPair.java,
6033         java/security/PrivateKey.java,
6034         java/security/Provider.java,
6035         java/security/PublicKey.java,
6036         java/security/SecureRandom.java,
6037         java/security/SecureRandomSpi.java,
6038         java/security/SignedObject.java,
6039         java/security/Signer.java,
6040         java/security/cert/Certificate.java,
6041         java/security/cert/PKIXCertPathBuilderResult.java,
6042         java/security/cert/X509Certificate.java:
6043         New versions from classpath.
6044
6045 2003-05-09  Tom Tromey  <tromey@redhat.com>
6046
6047         * Makefile.in: Rebuilt.
6048         * Makefile.am (nat_source_files): Removed old files.
6049         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6050         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6051         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6052         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6053         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6054
6055 2003-05-09  Michael Koch  <konqueror@gmx.de>
6056
6057         * gnu/java/nio/ByteBufferImpl.java
6058         (nio_cast): Removed.
6059         (ByteBufferImpl): Removed.
6060         (nio_get_Byte): Removed.
6061         (nio_put_Byte): Removed.
6062         (asByteBuffer): Removed.
6063         (asCharBuffer): Removed implementation and throw exception.
6064         (asShortBuffer): Likewise.
6065         (asIntBuffer): Likewise.
6066         (asLongBuffer): Likewise.
6067         (asFloatBuffer): Likewise.
6068         (asDoubleBuffer): Likewise.
6069         * gnu/java/nio/CharBufferImpl.java
6070         (CharBufferImpl): Removed.
6071         (nio_get_Byte): Removed.
6072         (nio_put_Byte): Removed.
6073         (asByteBuffer): Removed.
6074         * gnu/java/nio/DoubleBufferImpl.java
6075         (DoubleBufferImpl): Removed.
6076         (nio_get_Byte): Removed.
6077         (nio_put_Byte): Removed.
6078         (asByteBuffer): Removed.
6079         * gnu/java/nio/FloatBufferImpl.java
6080         (FloatBufferImpl): Removed.
6081         (nio_get_Byte): Removed.
6082         (nio_put_Byte): Removed.
6083         (asByteBuffer): Removed.
6084         * gnu/java/nio/IntBufferImpl.java
6085         (IntBufferImpl): Removed.
6086         (nio_get_Byte): Removed.
6087         (nio_put_Byte): Removed.
6088         (asByteBuffer): Removed.
6089         * gnu/java/nio/LongBufferImpl.java
6090         (LongBufferImpl): Removed.
6091         (nio_get_Byte): Removed.
6092         (nio_put_Byte): Removed.
6093         (asByteBuffer): Removed.
6094         * gnu/java/nio/ShortBufferImpl.java
6095         (ShortBufferImpl): Removed.
6096         (nio_get_Byte): Removed.
6097         (nio_put_Byte): Removed.
6098         (asByteBuffer): Removed.
6099         * gnu/java/nio/natByteBufferImpl.cc
6100         (nio_cast): Removed.
6101         (nio_get_Byte): Removed.
6102         (nio_put_Byte): Removed.
6103         * gnu/java/nio/natCharBufferImpl.cc
6104         (nio_get_Byte): Removed.
6105         (nio_put_Byte): Removed.
6106
6107 2003-05-09  Michael Koch  <konqueror@gmx.de>
6108
6109         * java/net/JarURLConnection.java
6110         (getJarEntry): Merged documentation from classpath.
6111         (getJarFile): Likewise.
6112         (getMainAttributes): Likewise.
6113         (getAttributes): Likewise.
6114         (getManifest): Likewise.
6115         (getCertificates): Reformatted.
6116         * java/net/URLConnection.java:
6117         Little classpath merge.
6118
6119 2003-05-09  Michael Koch  <konqueror@gmx.de>
6120
6121         * java/io/DataOutputStream.java
6122         (writeShort): Made it synchronized.
6123         (writeChar): Likewise.
6124         (writeInt): Likewise.
6125         (writeLong): Liekwise.
6126         (writeUTF): Made it synchronized, renamed argument to match classpath.
6127         * java/io/InputStreamReader.java
6128         (converter): Added documentation.
6129         (read): Merged documentation from classpath.
6130         * java/io/OutputStreamWriter.java
6131         (OutputStreamWriter): Merged documentation from classpath.
6132         (close): Reformatted.
6133         (getEncoding): Likewise.
6134         (flush): Likewise.
6135         (write): Merged documentation from classpath, reformatted.
6136
6137 2003-05-08  Tom Tromey  <tromey@redhat.com>
6138
6139         * configure.host <powerpc64*-*>: Set with_libffi_default and
6140         libgcj_interpreter to "yes".
6141
6142 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6143
6144         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6145         
6146 2003-05-06  Tom Tromey  <tromey@redhat.com>
6147
6148         * verify.cc: Reverted previous patch.
6149
6150 2003-05-06  Michael Koch  <konqueror@gmx.de>
6151
6152         * java/io/DataOutputStream.java
6153         (write): Renamed argument to "value", merged documentation from
6154         classpath.
6155         (writeBoolean): Likewise.
6156         (writeByte): Likewise.
6157         (writeShort): Likewise.
6158         (writeChar): Likewise.
6159         (writeInt): Likewise.
6160         (writeLong): Likewise.
6161         (writeFloat): Likewise.
6162         (writeDouble): Likewise.
6163         (writeBytes): Likewise.
6164         (writeChars): Likewise.
6165         (writeUTF): Likewise.
6166         * java/io/File.java
6167         (performDelete): Added documentation.
6168         (performList): Likewise.
6169         (performMkdir): Likewise.
6170         (performSetReadOnly): Likewise.
6171         (performRenameTo): Likewise.
6172         (performSetLastModified): Likewise.
6173         (delete): Made it sychronized.
6174         (renameTo): Made it sychronized.
6175         (equals): Reformatted.
6176         (isHidden): Likewise.
6177         (listFiles): Likewise.
6178         (setReadOnly): Likewise.
6179         (listRoots): Likewise.
6180         (setLastModified): Likewise.
6181         (checkRead): Likewise.
6182         (checkWrite): Likewise.
6183         * java/io/FileInputStream.java
6184         (skip): Made it sychronized, merged from classpath.
6185         * java/io/FileOutputStream.java
6186         (write): Merged from classpath.
6187         * java/io/InputStreamReader.java:
6188         (InputStreamReader): Merged documentation from classpath.
6189
6190 2003-05-05  Michael Koch  <konqueror@gmx.de>
6191
6192         * java/net/NetworkInterface.java
6193         (networkInterfaces): Removed.
6194         (getByName): Use getRealNetworkInterfaces() instead of
6195         networkInterfaces.
6196         (getByInetAddress): Likewise.
6197         (getNetworkInterfaces): Likewise.
6198         (toString): Fix output of addresses of an interface.
6199
6200 2003-05-05  Michael Koch  <konqueror@gmx.de>
6201
6202         * java/io/DataInputStream.java:
6203         Merged new documentation from classpath.
6204
6205 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6206
6207         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6208         "version".
6209         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6210         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6211         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6212         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6213         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6214         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6215         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6216         * java/security/Key.java: Likewise.
6217         * java/security/PrivateKey.java: Likewise.
6218         * java/security/Provider.java: Likewise.
6219         * java/security/PublicKey.java: Likewise.
6220
6221 2003-05-02  Michael Koch  <konqueror@gmx.de>
6222
6223         * java/net/URI.java
6224         (create): Doesnt throws any exceptions.
6225         * java/net/URLConnection.java
6226         (URLConnection): Commend added.
6227         (getExpiration): The header field is called "expires" not
6228         "expiration".
6229         (getHeaderField): Merged documentation with classpath.
6230         (getHeaderFieldInt): Likewise.
6231         (getHeaderFieldDate): Likewise.
6232         (getHeaderFieldKey): Likewise.
6233         (getPermission): Likewise.
6234         (setDefaultUseCaches): Likewise.
6235         (setRequestProperty): Likewise.
6236         (addRequestProperty): Likewise.
6237         (getRequestProperty): Likewise.
6238         (getRequestProperties): Likewise.
6239         (setDefaultRequestProperty): Likewise.
6240         (getDefaultRequestProperty): Likewise.
6241         (guessContentTypeFromStream): Likewise.
6242         (getFileNameMap): Likewise.
6243         (setFileNameMap): Likewise.
6244         (setDoInput): Merged implementation and documentation with classpath.
6245         (setDoOutput): Likewise.
6246         (setAllowUserInteraction): Likewise.
6247         (setDefaultAllowUserInteraction): Likewise.
6248         (setContentHandlerFactory): Made it synchronized, merged documentation
6249         with classpath.
6250         (guessContentTypeFromName): Renamed argument fname to filename to
6251         match classpath, merged documentation with classpath.
6252
6253 2003-05-02  Michael Koch  <konqueror@gmx.de>
6254
6255         * java/net/JarURLConnection.java
6256         (JarURLConnection): Class documentation merged with classpath.
6257         (getJarFileURL): Moved and documentation merged with classpath.
6258         (getEntryName): Likewise.
6259         (JarURLConnection): Documentation merged with classpath.
6260         (getJarEntry): Likewise.
6261         (getJarFile): Likewise.
6262         * java/net/PlainDatagramSocketImpl.java:
6263         Class documentation moved.
6264         * java/net/URLConnection.java
6265         (fileNameMap): Moved and documentation merged with classpath.
6266         (factory): Likewise.
6267         (defaultAllowUserInteraction): Likewis.
6268         (defaultUseCaches): Likewise.
6269         (allowUserInteraction): Likewise.
6270         (connected): Likewise.
6271         (url): Likewise.
6272         (connect): Documentation merged with classpath.
6273         (getURL): Likewise.
6274         (getContentLength): Likewise.
6275         (getContentType): Likewise.
6276         (getContentEncoding): Likewise.
6277         (getExpiration): Likewise.
6278         (getDate): Likewise.
6279         (getLastModified): Likewise.
6280         (getHeaderField): Likewise.
6281         (getContent): Likewise.
6282         (getPermission): Likewise.
6283         (getInputStream): Likewise.
6284         (getOutputStream): Likewise.
6285         (toString): Likewise.
6286         (getDoInput): Likewise.
6287         (getDoOutput): Likewise.
6288         (setAllowUserInteraction): Likewise.
6289         (getAllowUserInteraction): Likewise.
6290         (setDefaultAllowUserInteraction): Likewise.
6291         (getDefaultAllowUserInteraction): Likewise.
6292         (setUseCaches): Likewise.
6293         (getUseCaches): Likewise.
6294         (setIfModifiedSince): Likewise.
6295         (getIfModifiedSince): Likewise.
6296         (setDefaultRequestProperty): Likewise.
6297         (getDefaultRequestProperty): Likewise.
6298         (setContentHandlerFactory): Likewise.
6299         (setFileNameMap): Likewise.
6300
6301 2003-05-02  Michael Koch  <konqueror@gmx.de>
6302
6303         * java/net/InetAddress.java:
6304         Merged class documentation with classpath.
6305         * java/net/JarURLConnection.java:
6306         Explicitely import all used classes.
6307         * java/net/URL.java:
6308         Reformatting.
6309         * java/net/ServerSocket.java,
6310         java/net/Socket.java:
6311         New versions from classpath.
6312
6313 2003-05-02  Michael Koch  <konqueror@gmx.de>
6314
6315         * gnu/java/nio/FileChannelImpl.java
6316         (read): New implementation.
6317         (implRead): New methods.
6318         (write): New implementation, call other write insteal of read method.
6319         (implWrite): New methods.
6320         (map): Added comment.
6321         (transferFrom): Implemented.
6322         (transferTo): Implemented.
6323         (lock): Added checks to throw exceptions.
6324         (truncate): Added check to throw exception.
6325         * gnu/java/nio/natFileChannelImpl.cc
6326         (implRead): New method.
6327         (implWrite): New method.
6328         * java/nio/ByteBuffer.java
6329         (hashCode): Fixed comment.
6330         (get): Fixed exception documentation.
6331         (put): Fixed exception documentation.
6332         * java/nio/CharBuffer.java:
6333         Added comment for later optimizations.
6334
6335 2003-04-30  Tom Tromey  <tromey@redhat.com>
6336
6337         PR libgcj/10582:
6338         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6339         Removed.
6340         (type::compatible): Use _Jv_IsAssignableFrom.
6341         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6342         (_Jv_IsAssignableFrom): Work even when source or target class is
6343         not prepared.
6344
6345 2003-04-30  Michael Koch  <konqueror@gmx.de>
6346
6347         * java/text/BreakIterator.java
6348         (clone): New method.
6349
6350 2003-04-30  Michael Koch  <konqueror@gmx.de>
6351
6352         * java/text/CollationElementIterator.java,
6353         java/text/CollationKey.java,
6354         java/text/RuleBasedCollator.java:
6355         Merged copyright and documentation from classpath and
6356         rearranged some code. No code changes done.
6357
6358 2003-04-30  Michael Koch  <konqueror@gmx.de>
6359
6360         * java/util/regex/Matcher.java
6361         (pattern): New member variable.
6362         (appendReplacement): New method.
6363         (appendTail): New method.
6364         (end): New method.
6365         (find): New method.
6366         (group): New method.
6367         (replaceFirst): Added documentation.
6368         (replaceAll): Added documentation.
6369         (groupCount): New method.
6370         (lookingAt): New method.
6371         (matches): New method.
6372         (reset): New method.
6373         (start): New method.
6374         * java/util/regex/Pattern.java
6375         (serialVersionUID): New constant.
6376         (CANON_EQ): New constant.
6377         (CASE_INSENSITIVE): New constant.
6378         (COMMENTS): New constant.
6379         (DOTALL): New constant.
6380         (MULTILINE): New constant.
6381         (UNICODE_CASE): New constant.
6382         (UNIX_LINES): New constant.
6383         (regex): New member variable.
6384         (flags): New member variable.
6385         (Pattern): New method.
6386         (compile): Documentation added.
6387         (flags): New method.
6388         (matches): Documentation added.
6389         (matcher): Documentation added.
6390         (split): Documentation added.
6391         (pattern): New method.
6392
6393 2003-04-30  Michael Koch  <konqueror@gmx.de>
6394
6395         * gnu/java/security/Engine.java,
6396         gnu/java/security/OID.java,
6397         gnu/java/security/der/BitString.java,
6398         gnu/java/security/der/DER.java,
6399         gnu/java/security/der/DERReader.java,
6400         gnu/java/security/der/DERValue.java,
6401         gnu/java/security/der/DERWriter.java,
6402         gnu/java/security/provider/DSAKeyFactory.java,
6403         gnu/java/security/provider/X509CertificateFactory.java,
6404         gnu/java/security/x509/X500DistinguishedName.java,
6405         gnu/java/security/x509/X509CRL.java,
6406         gnu/java/security/x509/X509CRLEntry.java,
6407         gnu/java/security/x509/X509Certificate.java,
6408         java/security/cert/CRLSelector.java,
6409         java/security/cert/CertPathBuilder.java,
6410         java/security/cert/CertPathBuilderResult.java,
6411         java/security/cert/CertPathBuilderSpi.java,
6412         java/security/cert/CertPathParameters.java,
6413         java/security/cert/CertPathValidator.java,
6414         java/security/cert/CertPathValidatorResult.java,
6415         java/security/cert/CertPathValidatorSpi.java,
6416         java/security/cert/CertSelector.java,
6417         java/security/cert/CertStore.java,
6418         java/security/cert/CertStoreParameters.java,
6419         java/security/cert/CertStoreSpi.java,
6420         java/security/cert/CollectionCertStoreParameters.java,
6421         java/security/cert/LDAPCertStoreParameters.java,
6422         java/security/cert/PKIXBuilderParameters.java,
6423         java/security/cert/PKIXCertPathBuilderResult.java,
6424         java/security/cert/PKIXCertPathChecker.java,
6425         java/security/cert/PKIXCertPathValidatorResult.java,
6426         java/security/cert/PKIXParameters.java,
6427         java/security/cert/PolicyNode.java,
6428         java/security/cert/PolicyQualifierInfo.java,
6429         java/security/cert/TrustAnchor.java,
6430         javax/security/auth/x500/X500Principal.java:
6431         New files from classpath.
6432         * gnu/java/io/ASN1ParsingException.java,
6433         gnu/java/io/Base64InputStream.java,
6434         gnu/java/security/der/DEREncodingException.java,
6435         gnu/java/security/provider/DSAParameters.java,
6436         gnu/java/security/provider/DSASignature.java,
6437         gnu/java/security/provider/Gnu.java,
6438         gnu/java/security/provider/GnuDSAPrivateKey.java,
6439         gnu/java/security/provider/GnuDSAPublicKey.java,
6440         java/security/AlgorithmParameterGenerator.java,
6441         java/security/AlgorithmParameters.java,
6442         java/security/KeyFactory.java,
6443         java/security/KeyPairGenerator.java,
6444         java/security/KeyStore.java,
6445         java/security/MessageDigest.java,
6446         java/security/SecureClassLoader.java,
6447         java/security/SecureRandom.java,
6448         java/security/Security.java,
6449         java/security/Signature.java,
6450         java/security/cert/Certificate.java,
6451         java/security/cert/CertificateFactory.java,
6452         java/security/cert/CertificateFactorySpi.java,
6453         java/security/cert/X509CRL.java,
6454         java/security/cert/X509Certificate.java,
6455         java/security/spec/DSAPublicKeySpec.java:
6456         New versions from classpath.
6457         * gnu/java/security/provider/DERReader.java,
6458         gnu/java/security/provider/DERWriter.java,
6459         java/security/Engine.java: Removed.
6460         * Makefile.am
6461         (java_source_files, javax_source_files): Added new files.
6462         * Makefile.in: Regenerated.
6463
6464 2003-04-29  Michael Koch  <konqueror@gmx.de>
6465
6466         * javax/swing/JTable.java
6467         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6468         (AUTO_RESIZE_LAST_COLUMN): New constant.
6469         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6470         (AUTO_RESIZE_OFF): New constant.
6471         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6472         (JTable): New method.
6473         (columnAdded): New method.
6474         (columnMarginChanged): New method.
6475         (columnMoved): New method.
6476         (columnRemoved): New method.
6477         (columnSelectionChanged): New method.
6478         (editingCanceled): New method.
6479         (editingStopped): New method.
6480         (getColumnModel): New method.
6481         (getPreferredScrollableViewportSize): New method.
6482         (getScrollableBlockIncrement): New method.
6483         (getScrollableTracksViewportHeight): New method.
6484         (getScrollableTracksViewportWidth): New method.
6485         (getScrollableUnitIncrement): New method.
6486         (getSelectedRow): New method.
6487         (getSelectionModel): New method.
6488         (tableChanged): New method.
6489         (setModel): New method.
6490         (setSelectionMode): New method.
6491         (setSelectionModel): New method.
6492         (setShowGrid): New method.
6493         (valueChanged): New method.
6494         * javax/swing/text/DefaultEditorKit.java
6495         (backwardAction): New constant.
6496         (beepAction): New constant.
6497         (beginAction): New constant.
6498         (beginLineAction): New constant.
6499         (beginParagraphAction): New constant.
6500         (beginWordAction): New constant.
6501         (copyAction): New constant.
6502         (cutAction): New constant.
6503         (defaultKeyTypedAction): New constant.
6504         (deleteNextCharAction): New constant.
6505         (deletePrevCharAction): New constant.
6506         (downAction): New constant.
6507         (endAction): New constant.
6508         (endLineAction): New constant.
6509         (endOfLineStringProperty): New constant.
6510         (endParagraphAction): New constant.
6511         (endWordAction): New constant.
6512         (forwardAction): New constant.
6513         (insertBreakAction): New constant.
6514         (insertContentAction): New constant.
6515         (insertTabAction): New constant.
6516         (nextWordAction): New constant.
6517         (pageDownAction): New constant.
6518         (pageUpAction): New constant.
6519         (pasteAction): New constant.
6520         (previousWordAction): New constant.
6521         (readOnlyAction): New constant.
6522         (selectAllAction): New constant.
6523         (selectionBackwardAction): New constant.
6524         (selectionBeginAction): New constant.
6525         (selectionBeginLineAction): New constant.
6526         (selectionBeginParagraphAction): New constant.
6527         (selectionBeginWordAction): New constant.
6528         (selectionDownAction): New constant.
6529         (selectionEndAction): New constant.
6530         (selectionEndLineAction): New constant.
6531         (selectionEndParagraphAction): New constant.
6532         (selectionEndWordAction): New constant.
6533         (selectionForwardAction): New constant.
6534         (selectionNextWordAction): New constant.
6535         (selectionPreviousWordAction): New constant.
6536         (selectionUpAction): New constant.
6537         (selectLineAction): New constant.
6538         (selectParagraphAction): New constant.
6539         (selectWordAction): New constant.
6540         (upAction): New constant.
6541         (writableAction): New constant.
6542
6543 2003-04-29  Michael Koch  <konqueror@gmx.de>
6544
6545         * java/util/PropertyPermission.java:
6546         New version from classpath
6547         * java/util/ResourceBundle.java:
6548         Partly merged from classpath
6549         (getObject): Reformated.
6550         (tryBundle): Set foundBundle = null if no bundle found.
6551
6552 2003-04-29  Michael Koch  <konqueror@gmx.de>
6553
6554         * javax/swing/AbstractListModel.java,
6555         javax/swing/DefaultBoundedRangeModel.java,
6556         javax/swing/DefaultSingleSelectionModel.java:
6557         New Versions from classpath.
6558
6559 2003-04-29  Michael Koch  <konqueror@gmx.de>
6560
6561         * java/awt/Window.java
6562         (show): Call super.show() instead of setVisible() to avoid endless
6563         loop.
6564         (hide): Call super.hide() instead of setVisible() to avoid endless
6565         loop.
6566
6567 2003-04-29  Michael Koch  <konqueror@gmx.de>
6568
6569         * java/util/zip/Deflater.java,
6570         java/util/zip/DeflaterOutputStream.java:
6571         Partly merged with classpath.
6572
6573 2003-04-27  Tom Tromey  <tromey@redhat.com>
6574
6575         * java/lang/natString.cc (_Jv_AllocString): Initialize
6576         cachedHashCode.
6577         (init): Likewise.
6578         (_Jv_NewStringUtf8Const): Likewise.
6579
6580 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6581
6582         * include/jvm.h: (_Jv_GetNbArgs) added
6583         (_Jv_GetSafeArg) added
6584         (_Jv_SetArgs) added
6585         * prims.cc: (_Jv_GetNbArgs) implemented
6586         (_Jv_GetSafeArg) implemented
6587         (_Jv_SetArgs) implemented
6588         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6589         setting _Jv_argc and _Jv_argv
6590         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6591         instead of _Jv_argv
6592         * java/lang/natRuntime.cc: (insertSystemProperties) use
6593         _Jv_GetSafeArg() instead of _Jv_argv
6594
6595 2003-04-23  Tom Tromey  <tromey@redhat.com>
6596
6597         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6598         required by this object.  Search superclasses to find required
6599         alignment.
6600         (get_alignment_from_class): Use alignment of type as it appears
6601         in a struct.
6602         (ALIGNOF): New macro.
6603         (struct aligner): New helper structure.
6604
6605 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6606
6607         * java/awt/Container.java (addImpl): Enable paint events if adding
6608         a lightweight to a heavyweight.
6609         (addNotify): Ensure that peer is created before
6610         addNotifyContainerChildren.
6611         (addNotifyContainerChildren): Enable paint events if a heavyweight
6612         container contains a lightweight.
6613
6614 2003-04-20  Tom Tromey  <tromey@redhat.com>
6615
6616         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6617         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6618         Classpath.
6619
6620 2003-04-19  Tom Tromey  <tromey@redhat.com>
6621
6622         * java/sql/Date.java, java/sql/DriverManager.java,
6623         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6624         Classpath.
6625
6626         * Makefile.in: Rebuilt.
6627         * Makefile.am (ordinary_java_source_files): Added new files.
6628         * java/security/AlgorithmParameterGenerator.java,
6629         java/security/AlgorithmParameters.java, java/security/Engine.java,
6630         java/security/Identity.java, java/security/IdentityScope.java,
6631         java/security/KeyFactory.java,
6632         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6633         java/security/MessageDigest.java, java/security/Policy.java,
6634         java/security/ProtectionDomain.java,
6635         java/security/SecureRandom.java, java/security/Security.java,
6636         java/security/Signature.java, java/security/SignatureSpi.java,
6637         java/security/SignedObject.java, java/security/Signer.java,
6638         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6639         java/security/spec/PSSParameterSpec.java,
6640         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6641         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6642         Classpath.
6643
6644 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6645
6646         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6647         (dispose): Null metrics.
6648         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6649         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6650         finalize.
6651         (finalize): Call dispose.
6652         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6653         (gcCachedCount): New field.
6654         (finalize): New method.
6655         (putGCInCache): New method.
6656         (getGCFromCache): New method.
6657         * gnu/gcj/xlib/GC.java (GC): Make protected.
6658         (clone): Get new GC from cache if possible.
6659         (create): New static method.
6660         (dispose): Save old GC in cache.
6661         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6662         deleting.
6663         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6664         is null.
6665         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6666         * java/awt/Container.java (visitChild): Dispose gfx2 when
6667         finished.
6668
6669 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6670
6671         * java/math/BigInteger.java (probablePrime): New.
6672         * java/math/BigDecimal.java (unscaledValue): New.
6673
6674 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6675
6676         * java/io/File.java (getAbsolutePath): On Windows, take care
6677         of paths like "C:", "G:foo\bar", etc.
6678         (getName): Make it work correctly on Windows.
6679         (getParent): Make it work correctly on Windows. For UNIX,
6680         fix bug that causes "/" to be returned as the parent of "/",
6681         instead of null as returned by Sun's JRE.
6682
6683         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6684
6685 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6686
6687         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6688         inner class.
6689         (CACHE_SIZE_PER_DISPLAY): New field
6690         (fontMetricsCache): New field
6691         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6692         loading ISO10646-1 fonts.
6693
6694 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6695
6696         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6697         characters.
6698         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6699         characters.
6700
6701 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6702
6703         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6704         floating point.
6705
6706 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6707
6708         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6709         installed libpthread is either linuxthreads with floating stacks or
6710         NPTL.
6711
6712 2003-04-14  Tom Tromey  <tromey@redhat.com>
6713
6714         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6715         of alignment.
6716
6717 2003-04-10  Tom Tromey  <tromey@redhat.com>
6718
6719         * verify.cc (pop64): Removed.
6720         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
6721         exception if top-of-stack is narrow.
6722         (initialize_stack): Check to ensure that <init> is not static and
6723         <clinit> is.
6724
6725 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
6726
6727         * java/io/ObjectStreamException
6728         * java/io/FileFilter
6729         * java/io/FilenameFilter
6730         * java/io/ObjectInput
6731         * java/io/ObjectOutput
6732         * java/io/ObjectStreamConstants
6733         Minor doc fixes, format fixes, spelling corrections, etc.
6734         * java/io/DataInput
6735         Corrected code samples in Javadocs to match reality
6736         * java/io/DataOutput
6737         * java/io/ObjectInputValidation
6738         Major documentation fixes - all Javadocs re-written or updated
6739
6740 2003-04-06  Michael Koch  <konqueror@gmx.de>
6741
6742         * java/net/URLConnection.java:
6743         Import classes directly.
6744         (URLConnection): Merged class documentation with classpath.
6745         (url): Moved, documentation from classpath added.
6746         (doInput): Moved, documentation from classpath added.
6747         (doOutput): Moved, documentation from classpath added.
6748         (allowUserInteraction): Moved.
6749         (useCaches): Moved, documentation from classpath added.
6750         (ifModifiedSince): Moved, documentation from classpath added.
6751         (connected): Moved, documentation from classpath added.
6752
6753 2003-04-06  Michael Koch  <konqueror@gmx.de>
6754
6755         * java/io/FileInputStream.java
6756         (skip): Renamed some variables to match classpath, added
6757         checks from classpath.
6758
6759 2003-03-31  Michael Koch  <konqueror@gmx.de>
6760
6761         * javax/swing/AbstractAction.java
6762         (AbstractAction): Reformatted.
6763         (serialVersionUID): New private member variable.
6764         * javax/swing/plaf/BorderUIResource.java
6765         (serialVersionUID): New private member variable.
6766         * javax/swing/plaf/basic/BasicLookAndFeel.java
6767         (serialVersionUID): New private member variable.
6768
6769 2003-03-31  Michael Koch  <konqueror@gmx.de>
6770
6771         * java/sql/Date.java
6772         (valueOf): Deprecated, reformatted.
6773         (toString): Deprecated, reformatted.
6774         * java/sql/Time.java
6775         (valueOf): Deprecated, reformatted.
6776         (toString): Deprecated, reformatted.
6777
6778 2003-03-31  Michael Koch  <konqueror@gmx.de>
6779
6780         * java/rmi/dgc/VMID.java
6781         (isUnique): Deprecated.
6782
6783 2003-03-31  Michael Koch  <konqueror@gmx.de>
6784
6785         * java/io/File.java
6786         (separator): Merged documentation from classpath.
6787         (separatorChar): Merged documentation from classpath.
6788         (pathSeparator): Merged documentation from classpath.
6789         (pathSeparatorChar): Merged documentation from classpath.
6790         (path): Merged documentation from classpath.
6791         (canRead): Merged documentation from classpath.
6792         (canWrite): Merged documentation from classpath.
6793         (createNewFile): Merged documentation from classpath.
6794         (delete): Merged documentation from classpath.
6795         (equals): Merged documentation from classpath.
6796         (exists): Merged documentation from classpath.
6797         (File): Renamed p to name to match classpath, merged documentation
6798         from classpath.
6799         (getAbsolutePath): Merged documentation from classpath.
6800         (getCanonicalPath): Merged documentation from classpath.
6801         (getCanonicalFile): Merged documentation from classpath.
6802         (getName): Merged documentation from classpath.
6803         (getParent): Merged documentation from classpath.
6804         (getParentFile): Merged documentation from classpath.
6805         (getPath): Merged documentation from classpath.
6806         (hashCode): Merged documentation from classpath.
6807         (isAbsolute): Merged documentation from classpath.
6808         (isDirectory): Merged documentation from classpath.
6809         (isFile): Merged documentation from classpath.
6810         (isHidden): Merged documentation from classpath.
6811         (lastModified): Merged documentation from classpath.
6812         (length): Merged documentation from classpath.
6813         (list): Merged documentation from classpath.
6814         (listFiles): Merged documentation from classpath.
6815         (toString): Merged documentation from classpath.
6816         (toURL): Merged documentation from classpath.
6817         (mkdir): Merged documentation from classpath.
6818         (mkdirs): Merged documentation from classpath.
6819         (createTempFile): Merged documentation from classpath.
6820         (setReadOnly): Merged documentation from classpath.
6821         (listRoots): Merged documentation from classpath.
6822         (compareTo): Merged documentation from classpath.
6823         (renameTo): Merged documentation from classpath.
6824         (setLastModified): Merged documentation from classpath.
6825         * java/io/PrintStream.java
6826         (auto_flush): Merged documentation from classpath.
6827         (PrintStream): Merged documentation from classpath.
6828         (checkError): Merged documentation from classpath.
6829         (setError): Merged documentation from classpath.
6830         (close): Merged documentation from classpath.
6831         (flush): Merged documentation from classpath.
6832         (print): Merged documentation from classpath.
6833         (println):  Merged documentation from classpath.
6834         (write): Renamed count to len to match classpath,
6835         merged documentation from classpath.
6836         * java/io/RandomAccessFile.java
6837         (readShort): Merged documentation from classpath.
6838         (readUnsignedByte): Merged documentation from classpath.
6839         (readUnsignedShort): Merged documentation from classpath.
6840         (readUTF): Merged documentation from classpath.
6841         (seek): Reformatted, merged documentation from classpath.
6842         (skipBytes): Renamed some variables to match classpath, reformatted,
6843         merged documentation from classpath.
6844         (write): Merged documentation from classpath.
6845         (writeBoolean): Merged documentation from classpath.
6846         (writeByte): Merged documentation from classpath.
6847         (writeShort): Merged documentation from classpath.
6848         (writeChar): Merged documentation from classpath.
6849         (writeInt): Merged documentation from classpath.
6850         (writeLong): Merged documentation from classpath.
6851         (writeFloat): Merged documentation from classpath.
6852         (writeDouble): Merged documentation from classpath.
6853         (writeBytes): Merged documentation from classpath.
6854         (writeChars): Merged documentation from classpath.
6855         (writeUTF): Reformatted.
6856         (getChannel): Reformatted.
6857
6858 2003-03-31  Michael Koch  <konqueror@gmx.de>
6859
6860         * java/awt/font/TextAttribute.java
6861         (readResolve): Throws java.io.InvalidObjectException.
6862
6863 2003-03-31  Michael Koch  <konqueror@gmx.de>
6864
6865         * java/rmi/server/LoaderHandler.java
6866         (loadClass): Deprecated.
6867         (getSecurityContext): Deprecated.
6868         * java/rmi/server/LogStream.java
6869         (getDefaultStream): Deprecated.
6870         (setDefaultStream): Deprecated.
6871         (getOutputStream): Deprecated.
6872         (setOutputStream): Deprecated.
6873         (write): Deprecated.
6874         (toString): Deprecated.
6875         (parseLevel): Deprecated.
6876         * java/rmi/server/Operation.java
6877         (Operation): Deprecated.
6878         (getOperation): Deprecated.
6879         (toString): Deprecated.
6880         * java/rmi/server/RemoteCall.java
6881         (getOutputStream): Deprecated.
6882         (releaseOutputStream): Deprecated.
6883         (getInputStream): Deprecated.
6884         (releaseInputStream): Deprecated.
6885         (getResultStream): Deprecated.
6886         (executeCall): Deprecated.
6887         (done): Deprecated.
6888         * java/rmi/server/RemoteRef.java
6889         (invoke): Deprecated.
6890         (newCall): Deprecated.
6891         (done): Deprecated.
6892         * java/rmi/server/RemoteStub.java
6893         (setRef): Deprecated.
6894         * java/rmi/server/Skeleton.java:
6895         No need to import java.lang.Exception explicitly.
6896         (dispatch): Deprecated.
6897         (getOperations): Deprecated.
6898
6899 2003-03-31  Michael Koch  <konqueror@gmx.de>
6900
6901         * java/rmi/dgc/VMID.java,
6902         java/rmi/registry/RegistryHandler.java,
6903         java/rmi/server/LogStream.java,
6904         java/rmi/server/Operation.java,
6905         java/rmi/server/RemoteCall.java,
6906         java/rmi/server/RemoteRef.java,
6907         java/rmi/server/RemoteStub.java:
6908         Reformatted.
6909
6910 2003-03-31  Michael Koch  <konqueror@gmx.de>
6911
6912         * javax/swing/AbstractCellEditor.java,
6913         javax/swing/AbstractListModel.java,
6914         javax/swing/ActionMap.java,
6915         javax/swing/BorderFactory.java,
6916         javax/swing/ButtonGroup.java,
6917         javax/swing/DefaultBoundedRangeModel.java,
6918         javax/swing/DefaultButtonModel.java,
6919         javax/swing/DefaultCellEditor.java,
6920         javax/swing/DefaultComboBoxModel.java,
6921         javax/swing/DefaultDesktopManager.java,
6922         javax/swing/DefaultListCellRenderer.java,
6923         javax/swing/DefaultSingleSelectionModel.java,
6924         javax/swing/InputMap.java,
6925         javax/swing/JComponent.java,
6926         javax/swing/JMenu.java,
6927         javax/swing/JSlider.java,
6928         javax/swing/KeyStroke.java,
6929         javax/swing/OverlayLayout.java,
6930         javax/swing/ScrollPaneLayout.java,
6931         javax/swing/SizeRequirements.java,
6932         javax/swing/UIManager.java,
6933         javax/swing/ViewportLayout.java,
6934         javax/swing/border/AbstractBorder.java,
6935         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6936         javax/swing/event/EventListenerList.java,
6937         javax/swing/table/AbstractTableModel.java,
6938         javax/swing/table/DefaultTableCellRenderer.java,
6939         javax/swing/table/DefaultTableColumnModel.java,
6940         javax/swing/table/DefaultTableModel.java,
6941         javax/swing/table/TableColumn.java,
6942         javax/swing/text/StyledEditorKit.java,
6943         javax/swing/tree/DefaultMutableTreeNode.java,
6944         javax/swing/tree/DefaultTreeModel.java,
6945         javax/swing/tree/DefaultTreeSelectionModel.java,
6946         javax/swing/tree/TreePath.java,
6947         javax/swing/undo/AbstractUndoableEdit.java,
6948         javax/swing/undo/StateEdit.java,
6949         javax/swing/undo/StateEditable.java,
6950         javax/swing/undo/UndoableEditSupport.java:
6951         Merges from classpath.
6952
6953 2003-03-30  Tom Tromey  <tromey@redhat.com>
6954
6955         * java/lang/String.java (data, boffset, count): Documented.
6956         (String(byte[],String)): Reformatted.
6957         (String(byte[])): Likewise.
6958         (lastIndexOf(int)): Likewise.
6959         (lastIndexOf(String)): Likewise.
6960         (substring(int)): Renamed argument to match Classpath.
6961         (String(StringBuffer)): Don't share buffer if it is nearly empty.
6962
6963         * java/lang/String.java: Miscellaneous minor formatting changes
6964         to match Classpath more closely.
6965
6966 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
6967             Tom Tromey  <tromey@redhat.com>
6968
6969         * java/lang/natString.cc (hashCode): Use cachedHashCode.
6970         (init()): Removed.
6971         (charAt): Put index in exception.
6972         (contentEquals): New method.
6973         Include StringBuffer.h.
6974         * java/lang/String.java (cachedHashCode): New field.
6975         (String()): Follow classpath implementation.
6976         (init()): Removed.
6977         (contentEquals): Declare.
6978         (subSequence): Don't declare IndexOutIfBoundsException in throws
6979         clause.
6980         (matches, replaceFirst, replaceAll, split): New methods from
6981         Classpath.
6982
6983 2003-03-29  Tom Tromey  <tromey@redhat.com>
6984
6985         * java/lang/String.java: Reordered to follow Classpath; merged in
6986         javadoc.
6987
6988         * java/text/MessageFormat.java: Removed some whitespace.
6989
6990         * Makefile.in: Rebuilt.
6991         * Makefile.am (awt_java_source_files): Added new files.
6992         * gnu/javax/rmi/PortableServer.java,
6993         gnu/javax/rmi/CORBA/DelegateFactory.java,
6994         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6995         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6996         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6997         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6998         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6999         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7000         javax/rmi/PortableRemoteObject.java,
7001         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7002         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7003         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7004         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7005         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7006         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7007
7008         * java/lang/natClass.cc (newInstance): Put method name in
7009         exception.
7010         (getConstructor): Likewise.
7011         (getDeclaredConstructor): Likewise.
7012         (getPrivateMethod): Likewise.
7013
7014 2003-03-28  Tom Tromey  <tromey@redhat.com>
7015
7016         * java/lang/reflect/Proxy.java: New version from Classpath.
7017         * java/lang/Package.java: New version from Classpath.
7018
7019 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7020
7021         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7022         * configure: Regenerate.
7023
7024 2003-03-28  Michael Koch  <konqueror@gmx.de>
7025
7026         * java/io/File.java:
7027         Import needed classes instead of whole packages, merged class
7028         documentation with classpath, moved constants and variables to top of
7029         class.
7030         * java/io/PrintStream.java:
7031         Merged class documentation with classpath, moved constants and
7032         variables to top of class.
7033         * java/io/RandomAccessFile.java
7034         (RandomAccessFile): Merged with classpath.
7035         (read): Merged with classpath).
7036         (read*): Reformatted.
7037
7038 2003-03-28  Michael Koch  <konqueror@gmx.de>
7039
7040         * java/io/FileDescriptor.java
7041         (finalize): Throws Throwable, not IOException.
7042         * java/io/ObjectOutputStream.java
7043         (PutField.put): Doesnt throws anything.
7044
7045 2003­03-28  Michael Koch  <konqueror@gmx.de>
7046
7047         * java/io/FileOutputStream.java:
7048         Merged class documentation and authors with classpath.
7049         (FileOutputStream): Partly merged with classpath.
7050         (write): Merged with classpath.
7051         (getChannel): Make it synchronized instead of explicit block in this
7052         method.
7053         * java/io/RandomAccessFile.java:
7054         Merged class documentation and authors with classpath.
7055
7056 2003-03-26  Tom Tromey  <tromey@redhat.com>
7057
7058         * java/lang/natRuntime.cc (insertSystemProperties): Set
7059         gnu.classpath.home.url.
7060         * Makefile.in: Rebuilt.
7061         * Makefile.am: Define LIBDIR.
7062
7063 2003-03-25  Michael Koch  <konqueror@gmx.de>
7064
7065         * java/io/FileInputStream.java
7066         (read): Renamed b to buf and off to offset.
7067         * java/io/FileOutputStream.java
7068         (ch): Documentation added.
7069         (FileOutputStream): Documentation added.
7070         (getFD): Documentation added.
7071         (write): Documentation added.
7072         (close): Documentation added.
7073         (getChannel): Documentation added.
7074
7075 2003-03-24  Michael Koch  <konqueror@gmx.de>
7076
7077         * java/io/DataOutputStream.java
7078         (write): Merged from classpath.
7079         * java/io/File.java:
7080         Merged copyrigth with classpath.
7081         * java/io/FileInputStream.java
7082         (getChannel): Made it synchronized instead of using a synchronized
7083         block.
7084         * java/io/FileOutputStream.java: Reformatted.
7085         * java/io/InputStreamReader.java
7086         (InputStreamReader): Renamed enc to encoding_name.
7087         (close): Merged documentation from classpath.
7088         (getEncoding): Merged documentation from classpath.
7089         (ready): Merged documentation from classpath.
7090         (read): Merged documentation from classpath.
7091         * java/io/LineNumberReader.java
7092         (lineNumber): Made it private.
7093         (LineNumberReader): Use Constant instead of a direct value.
7094         * java/io/OutputStreamWriter.java
7095         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7096         documentation from classpath.
7097         (close): Merged documentation from classpath.
7098         (flush): Merged documentation from classpath.
7099         (write): Merged documentation from classpath.
7100         * java/io/PrintStream.java: Reformatted.
7101
7102 2003-03-24  Michael Koch  <konqueror@gmx.de>
7103
7104         * javax/swing/text/ComponentView.java
7105         (getComponent): Must be final.
7106         * javax/swing/tree/DefaultTreeCellRenderer.java:
7107         Reformatted.
7108         * javax/swing/undo/StateEditable.java:
7109         Reformatted.
7110
7111 2003-03-24  Michael Koch  <konqueror@gmx.de>
7112
7113         * java/rmi/activation/ActivationInstantiator.java:
7114         Reformatted.
7115         * java/rmi/activation/Activator.java:
7116         Reformatted.
7117         * java/rmi/registry/RegistryHandler.java:
7118         Remerged from classpath.
7119
7120 2003-03-24  Michael Koch  <konqueror@gmx.de>
7121
7122         * java/util/Date.java:
7123         Fixed documentation starting tag to make javadoc happy.
7124         * java/util/regex/Pattern.java
7125         (Pattern): Implements Serializable.
7126         * java/util/PatternSyntaxException.java
7127         (serialVersionUID): New member variable.
7128
7129 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7130
7131         * java/awt/ContainerOrderFocusTraversalPolicy.java
7132         (getFirstComponent): Implemented.
7133         (getLastComponent): Implemented.
7134         (getDefaultComponent): Implemented.
7135         (setImplicitDownCycleTraversal): Fixed implementation.
7136         * java/awt/Robot.java
7137         (Robot): Added documentation.
7138         * java/awt/Toolkit.java
7139         (getFontList): Deprecated.
7140         (getFontMetrics): Deprecated.
7141         (getPrintJob): Added documentation.
7142         (getSystemSelection): Added documentation.
7143         (getLockingKeyState): Added documentation.
7144         (setLockingKeyState): Added documentation.
7145         (createCustomCursor): Added documentation.
7146         (getBestCursorSize): Added documentation.
7147         (getMaximumCursorColors): Added documentation.
7148         (isFrameStateSupported): Added documentation.
7149
7150 2003-03-24  Michael Koch  <konqueror@gmx.de>
7151
7152         * java/io/RandomAccessFile.java:
7153         More little merges with classpath. No code changes.
7154
7155 2003-03-24  Michael Koch  <konqueror@gmx.de>
7156
7157         * java/net/natInetAddressNoNet.cc:
7158         Include stddef.h.
7159         * java/net/natPlainDatagramSocketImplNoNet.cc:
7160         Fixed inlcude of java/net/DatagramPacket.h.
7161         * java/net/natPlainSocketImplNoNet.cc:
7162         Include some missing classes.
7163
7164 2003-03-24  Michael Koch  <konqueror@gmx.de>
7165
7166         * java/awt/dnd/DropTarget.java
7167         (DropTargetAutoScroller): According to the online documentation, this
7168         is protected, but in reality it is public.
7169         * java/awt/dnd/DropTargetContext.java
7170         (TransferableProxy): According to the online documentation, this
7171         is protected, but in reality it is public.
7172
7173 2003-03-24  Michael Koch  <konqueror@gmx.de>
7174
7175         * java/io/DataInputStream.java
7176         (): Wrapped documentation line.
7177         (): Fixed @return tag.
7178         * java/io/DataOutputStream.java
7179         (written): Moved to top of class.
7180         (all methods): Merged documentation from classpath.
7181         * java/io/File.java:
7182         Merged copyright year with classpath.
7183         * java/io/FileInputStream.java
7184         (all methods): Merged documentation from classpath.
7185         * java/io/LineNumberReader.java
7186         (getLineNumber): Fixed @return tag.
7187         * java/io/ObjectInputStream.java.
7188         Reformatted.
7189         * java/io/ObjectOutputStream.java:
7190         Reformatted, fixed some @see tags.
7191         * java/io/OutputStreamWriter.java:
7192         Deleted empty line.
7193         * java/io/Writer.java:
7194         Reformatted.
7195
7196 2003-03-24  Michael Koch  <konqueror@gmx.de>
7197
7198         * java/awt/Frame.java
7199         (DEFAULT_CURSOR): Fixed @deprecated tag.
7200         (setCursor): Fixed @deprecated tag.
7201
7202 2003-03-24  Michael Koch  <konqueror@gmx.de>
7203
7204         * java/beans/beancontext/BeanContextEvent.java:
7205         Reformated.
7206
7207 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7208
7209         * java/lang/natStringBuffer.cc (regionMatches): New function.
7210         * java/lang/String.java (count): Now package-private.
7211         * java/lang/StringBuffer.java: Merged with Classpath.
7212
7213 2003-03-23  Michael Koch  <konqueror@gmx.de>
7214
7215         * java/io/BufferedOutputStream.java:
7216         Reformated.
7217         * java/io/BufferedReader.java:
7218         Reformated.
7219         * java/io/ByteArrayOutputStream.java
7220         (size): Fixed @see tag.
7221         * java/io/CharArrayWriter.java
7222         (size): Fixed @see tag.
7223         * java/io/DataInput.java:
7224         Reformated.
7225         * java/io/DataOutput.java:
7226         Reformated.
7227         * java/io/DataOutputStream.java:
7228         Merged copyright years with classpath.
7229         * java/io/Externalizable.java:
7230         Reformated.
7231         * java/io/FileFilter.java:
7232         Reformated.
7233         * java/io/FileInputStream.java:
7234         Merged copyright years with classpath.
7235         * java/io/FileOutputStream.java:
7236         Merged copyright years with classpath.
7237         * java/io/FilePermission.java
7238         (FilePermission): Replaced @XXX with FIXME:.
7239         * java/io/FileWriter.java:
7240         Reformated.
7241         * java/io/FilenameFilter.java:
7242         Reformated.
7243         * java/io/FilterInputStream.java:
7244         Reformated.
7245         * java/io/FilterOutputStream.java:
7246         Reformated.
7247         * java/io/FilterReader.java:
7248         Reformated.
7249         * java/io/FilterWriter.java:
7250         Reformated.
7251         * java/io/LineNumberInputStream.java
7252         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7253         happy.
7254         (getLineNumber): Fixed @return tag.
7255         * java/io/ObjectInput.java:
7256         Reformated.
7257         * java/io/ObjectOutput.java:
7258         Reformated.
7259         * java/io/ObjectStreamClass.java:
7260         Reformated.
7261         * java/io/PrintStream.java:
7262         Merged copyright years with classpath.
7263         * java/io/PushbackReader.java
7264         (PushbackReader): Replaced @code with @param.
7265         * java/io/SerializablePermission.java:
7266         Reformated.
7267         * java/io/StreamTokenizer.java
7268         (resetSyntax): Fixed @see tag.
7269
7270 2003-03-22  Richard Henderson  <rth@redhat.com>
7271
7272         * sysdep/ia64/locks.h: Include ia64intrin.h.
7273         (compare_and_swap): Use __sync_bool_compare_and_swap.
7274         (compare_and_swap_release): Expose ar.ccv assignment.
7275
7276 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7277
7278         * include/posix.h: Add suffix for darwin dynamic libraries.
7279
7280 2003-03-21  Michael Koch  <konqueror@gmx.de>
7281
7282         * javax/swing/Action.java
7283         (ACCELERATOR_KEY): New constant.
7284         (ACTION_COMMAND_KEY): Likewise.
7285         (MNEMONIC_KEY): Likewise.
7286         * javax/swing/UnsupportedLookAndFeelException.java
7287         (UnsupportedLookAndFeelException): Must be public.
7288         * javax/swing/WindowConstants.java
7289         (EXIT_ON_CLOSE): New constant.
7290         * javax/swing/text/BadLocationException.java
7291         (offset): New member variable.
7292         (BadLocationException): New implementation, documentation added.
7293         (offsetRequested): New method.
7294         * javax/swing/text/Caret.java:
7295         Reformated.
7296         * javax/swing/text/Document.java:
7297         Reformated.
7298
7299 2003-03-21  Michael Koch  <konqueror@gmx.de>
7300
7301         * java/rmi/activation/Activatable.java
7302         (serialVersionUID): New member variable.
7303         * java/rmi/activation/ActivationGroup.java
7304         (serialVersionUID): New member variable.
7305         * java/rmi/activation/ActivationGroupDesc.java
7306         (serialVersionUID): New member variable.
7307         * java/rmi/registry/Registry.java:
7308         Reformated.
7309         (Registry): Deprecated.
7310         * java/rmi/server/LoaderHandler.java
7311         Reformated.
7312         (LoaderHandler): Deprecated.
7313         * java/rmi/server/LogStream.java
7314         Reformated.
7315         (LogStream): Deprecated.
7316         * java/rmi/server/Operation.java
7317         (Operation): Deprecated.
7318         * java/rmi/server/RMIFailureHandler.java:
7319         Reformated.
7320         * java/rmi/server/RMISocketFactory.java:
7321         Reformated.
7322         * java/rmi/server/RemoteCall.java
7323         (RemoteCall): Deprecated.
7324         * java/rmi/server/RemoteStub.java:
7325         Reformated.
7326         * java/rmi/server/Skeleton.java
7327         Reformated.
7328         (Skeleton): Deprecated.
7329
7330 2003-03-21  Michael Koch  <konqueror@gmx.de>
7331
7332         * java/io/LineNumberReader.java
7333         (LineNumberReader): Merged documentation with classpath.
7334         (getLineNumber): Likewise.
7335         (setLineNumber): Likewise.
7336         (mark): Likewise.
7337         (reset): Likewise.
7338         (read): Likewise.
7339         (readLine): Likewise.
7340         (skip): Likewise.
7341
7342 2003-03-21  Michael Koch  <konqueror@gmx.de>
7343
7344         * java/rmi/RMISecurityManager.java
7345         (checkAccept): Removed.
7346         (checkAccess): Likewise.
7347         (checkAccess): Likewise.
7348         (checkAwtEventQueueAccess): Likewise.
7349         (checkConnect): Likewise.
7350         (checkCreateClassLoader): Likewise.
7351         (checkDelete): Likewise.
7352         (checkExec): Likewise.
7353         (checkExit): Likewise.
7354         (checkLink): Likewise.
7355         (checkListen): Likewise.
7356         (checkMemberAccess): Likewise.
7357         (checkMulticast): Likewise.
7358         (checkPackageAccess): Likewise.
7359         (checkPackageDefinition): Likewise.
7360         (checkPermission): Likewise.
7361         (checkPrintJobAccess): Likewise.
7362         (checkPropertiesAccess): Likewise.
7363         (checkPropertyAccess): Likewise.
7364         (checkRead): Likewise.
7365         (checkSecurityAccess): Likewise.
7366         (checkSetFactory): Likewise.
7367         (checkSystemClipboardAccess): Likewise.
7368         (checkTopLevelWindow): Likewise.
7369         (checkWrite): Likewise.
7370
7371 2003-03-20  Michael Koch  <konqueror@gmx.de>
7372
7373         * gnu/java/nio/FileChannelImpl.java
7374         (address): Removed.
7375         (map_address): New member variable.
7376         (length): Make it package private.
7377         (fd): Make it package private.
7378         (buf): Make it package private.
7379         (file_obj): Make it package private.
7380         (FileChannelImpl): New constructor.
7381         (nio_mmap_file): Use RawData instead of long.
7382         (nio_munmap_file): Use RawData instead of long.
7383         (nio_msync): Use RawData instead of long.
7384         (implCloseChannel): New implementation using map_address.
7385         (read): Reformated.
7386         (map): Implemented.
7387         (create_direct_mapped_buffer): Implemented, use RawData, throws
7388         IOException.
7389         (force): Use map_address instead of address.
7390         * gnu/java/nio/MappedByteFileBuffer.java
7391         (address): Removed.
7392         (map_address): New member variable.
7393         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7394         (several methods): Use map_address instead of address, replaced long
7395         with RawData where appropriate.
7396         * gnu/java/nio/natFileChannelImpl.cc
7397         (nio_mmap_file): Replaced long with RawData.
7398         (nio_munmap_file): Replaced long with RawData.
7399         (nio_msync): Replaced long with RawData.
7400         * gnu/java/nio/natMappedByteFileBuffer.cc
7401         (several methods): Replaced long with RawData where appropriate.
7402
7403 2003-03-20  Michael Koch  <konqueror@gmx.de>
7404
7405         * java/net/InetAddress.java,
7406         java/net/JarURLConnection.java,
7407         java/net/PlainDatagramSocketImpl.java,
7408         java/net/PlainSocketImpl.java,
7409         java/net/URLConnection.java:
7410         Merged copyright statements with classpath for easier merging.
7411
7412 2003-03-20  Michael Koch  <konqueror@gmx.de>
7413
7414         * java/io/FileInputStream.java
7415         (getChannel): New implementation.
7416         * java/io/FileOutputStream.java
7417         (ch): New member variable.
7418         (getChannel): Implemented.
7419         * java/io/RandomAccessFile.java
7420         (RandomAccessFile): Throws FileNotFoundException instead of
7421         IOException.
7422         (getChannel): New method.
7423         (ch): New member variable.
7424
7425 2003-03-20  Michael Koch  <konqueror@gmx.de>
7426
7427         * java/io/DataOutputStream.java,
7428         java/io/File.java,
7429         java/io/FileInputStream.java,
7430         java/io/FileOutputStream.java,
7431         java/io/InputStreamReader.java,
7432         java/io/LineNumberReader.java,
7433         java/io/OutputStreamWriter.java,
7434         java/io/PrintStream.java,
7435         java/io/RandomAccessFile.java:
7436         Merged copyright statements with classpath for easier merging.
7437
7438 2003-03-19  Michael Koch  <konqueror@gmx.de>
7439
7440         * java/lang/Process.java:
7441         Merged from classpath.
7442
7443 2003-03-19  Michael Koch  <konqueror@gmx.de>
7444
7445         * java/io/FileOutputStream.java
7446         (FileOutputStream): New constructor, merged from classpath.
7447         * java/io/FileWriter.java
7448         (FileWriter): New constructor, merged from classpath.
7449
7450 2003-03-18  Michael Koch  <konqueror@gmx.de>
7451
7452         * java/awt/ScrollPane.java
7453         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7454         (getViewportSize): Likewise.
7455         (addNotify): Likewise.
7456         (removeNotify): Likewise.
7457         * java/awt/ScrollPaneAdjustable.java
7458         (ScrollPaneAdjustable): No longer extends Scrollbar.
7459         * java/beans/beancontext/BeanContextServices.java:
7460         Reformated.
7461         (getService): Added throws TooManyListenersException;
7462         * java/beans/beancontext/BeanContextServicesSupport.java:
7463         Reformated.
7464
7465 2003-03-18  Michael Koch  <konqueror@gmx.de>
7466
7467         * java/io/BufferedOutputStream.java,
7468         java/io/DataInput.java,
7469         java/io/DataInputStream.java,
7470         java/io/DataOutput.java,
7471         java/io/Externalizable.java:
7472         More merges from classpath.
7473
7474 2003-03-18  Michael Koch  <konqueror@gmx.de>
7475
7476         * configure.in: Fixed links to platform dependant java.net files.
7477         * configure: Regenerated.
7478         * java/net/natInetAddress.cc,
7479         java/net/natNetworkInterface.cc,
7480         java/net/natPlainDatagramSocketImpl.cc,
7481         java/net/natPlainSocketImpl.cc:
7482         Removed.
7483
7484 2003-03-18  Michael Koch  <konqueror@gmx.de>
7485
7486         * configure.in: Create links to architecture dependent files,
7487         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7488         * configure: Regenerated.
7489         * java/net/natInetAddressNoNet.cc,
7490         java/net/natInetAddressPosix.cc,
7491         java/net/natInetAddressWin32.cc,
7492         java/net/natNetworkInterfaceNoNet.cc,
7493         java/net/natNetworkInterfacePosix.cc,
7494         java/net/natNetworkInterfaceWin32.cc,
7495         java/net/natPlainDatagramSocketImplNoNet.cc,
7496         java/net/natPlainDatagramSocketImplPosix.cc,
7497         java/net/natPlainDatagramSocketImplWin32.cc,
7498         java/net/natPlainSocketImplNoNet.cc,
7499         java/net/natPlainSocketImplPosix.cc,
7500         java/net/natPlainSocketImplWin32.cc: New files.
7501
7502 2003-03-18  Michael Koch  <konqueror@gmx.de>
7503
7504         * java/io/BufferedReader.java,
7505         java/io/BufferedWriter.java,
7506         java/io/ByteArrayOutputStream.java,
7507         java/io/FileFilter.java,
7508         java/io/FilePermission.java,
7509         java/io/FileReader.java,
7510         java/io/FileWriter.java,
7511         java/io/FilenameFilter.java,
7512         java/io/FilterInputStream.java,
7513         java/io/FilterOutputStream.java,
7514         java/io/FilterReader.java,
7515         java/io/FilterWriter.java,
7516         java/io/ObjectInput.java,
7517         java/io/ObjectInputValidation.java,
7518         java/io/ObjectOutput.java,
7519         java/io/ObjectStreamField.java,
7520         java/io/PipedInputStream.java,
7521         java/io/PipedReader.java,
7522         java/io/PrintWriter.java,
7523         java/io/PushbackReader.java,
7524         java/io/Reader.java,
7525         java/io/SerializablePermission.java,
7526         java/io/StringReader.java,
7527         java/io/Writer.java:
7528         Merged from classpath.
7529
7530 2003-03-17  Michael Koch  <konqueror@gmx.de>
7531
7532         * java/awt/ScrollPaneAdjustable.java:
7533         Compile fixes.
7534         
7535 2003-03-17  Michael Koch  <konqueror@gmx.de>
7536
7537         * java/net/DatagramSocket.java
7538         (connect): Fixed comment.
7539         * java/nio/ByteBuffer.java
7540         (hasArray): Fixed comment.
7541
7542 2003-03-17  Michael Koch  <konqueror@gmx.de>
7543
7544         * java/beans/Beans.java:
7545         Explicitely import classes not packages.
7546         * java/beans/FeatureDescriptor.java
7547         (preferred): New member variable.
7548         (isPreferred): New method.
7549         (setPreferred): New method.
7550         * java/beans/PropertyEditorManager.java:
7551         Explicitely import used classes.
7552         * java/beans/beancontext/BeanContextChild.java:
7553         Added line wrapping.
7554         * java/beans/beancontext/BeanContextChildSupport.java:
7555         Reindented.
7556         * java/beans/beancontext/BeanContextEvent.java:
7557         Reindented.
7558
7559 2003-03-17  Michael Koch  <konqueror@gmx.de>
7560
7561         * java/awt/Dialog.java
7562         (Dialog): New constructor, changed implementations, added
7563         documentation.
7564         * java/awt/ScrollPaneAdjustable.java
7565         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7566         Serializable.
7567         (serialVersionUID): New member variable.
7568         (sp): New member variable.
7569         (orientation): New member variable.
7570         (value): New member variable.
7571         (minimum): New member variable.
7572         (maximum): New member variable.
7573         (visibleAmount): New member variable.
7574         (unitIncrement): New member variable.
7575         (blockIncrement): New member variable.
7576         (AdjustmentListener): New member variable.
7577         (ScrollPaneAdjustable): New implementation.
7578         (addAdjustmentListener): New method.
7579         (removeAdjustmentListener): New method.
7580         (getAdjustmentListeners): New method.
7581         (getBlockIncrement): New method.
7582         (getMaximum): New method.
7583         (getMinimum): New method.
7584         (getOrientation): New method.
7585         (getUnitIncrement): New method.
7586         (getValue): New method.
7587         (getVisibleAmount): New method.
7588         (setBlockIncrement): New method.
7589         (setMaximum): Implemented.
7590         (setMinimum): Implemented.
7591         (setUnitIncrement): New method.
7592         (setValue): New method.
7593         (setVisibleAmount): Implemented. 
7594         (paramString): New stubbed method.
7595         * java/awt/Window.java
7596         (show): Call setVisible().
7597         (hide): Call setVisible().
7598         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7599         and WINDOW_STATE_CHANGED.
7600         (processWindowFocusEvent): New method.
7601         (processWindowStateEvent): New method.
7602         (postEvent): Deprecated.
7603         (applyResourceBundle): Deprecated.
7604         * java/awt/datatransfer/DataFlavor.java
7605         (DataFlavor): Doesn't thow ClassNotFoundException.
7606
7607 2003-03-17  Michael Koch
7608
7609         * javax/print/attribute/Attribute.java,
7610         javax/print/attribute/AttributeSet.java,
7611         javax/print/attribute/PrintRequestAttributeSet.java:
7612         New files.
7613         * Makefile.am
7614         (javax_source_files): Added new files:
7615         javax/print/attribute/Attribute.java
7616         javax/print/attribute/AttributeSet.java
7617         javax/print/attribute/PrintRequestAttributeSet.java
7618         * Makefile.in: Regenerated.
7619
7620 2003-03-17  Michael Koch
7621
7622         * javax/print/attribute/Attribute.java,
7623         javax/print/attribute/AttributeSet.java,
7624         javax/print/attribute/PrintRequestAttributeSet.java:
7625         New files.
7626         * Makefile.am
7627         (awt_java_source_files): Added new files:
7628         javax/print/attribute/Attribute.java
7629         javax/print/attribute/AttributeSet.java
7630         javax/print/attribute/PrintRequestAttributeSet.java
7631         * Makefile.in: Regenerated.
7632
7633 2003-03-16  Tom Tromey  <tromey@redhat.com>
7634
7635         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7636         Include platform.h.
7637         * java/lang/natRuntime.cc (insertSystemProperties): Use
7638         _Jv_platform_path_separator.
7639         (nativeGetLibname): Use _Jv_platform_file_separator.
7640         (_load): Use _Jv_platform_onload_names.
7641         (onload_names): New global.
7642         * include/win32.h (_Jv_platform_file_separator): New define.
7643         (_Jv_platform_path_separator): Likewise.
7644         (_Jv_platform_onload_names): Likewise.
7645         (_Jv_platform_ffi_abi): Likewise.
7646         * include/posix.h (_Jv_platform_file_separator): New define.
7647         (_Jv_platform_path_separator): Likewise.
7648         (_Jv_platform_onload_names): Likewise.
7649         (_Jv_platform_ffi_abi): Likewise.
7650
7651 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7652
7653         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7654
7655 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7656
7657         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7658         hierarchy loop.
7659         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7660         list to Object,ObjectStreamClass, moved callReadMethod code up into
7661         readObject and added Class argument to all setXxxField calls.
7662         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7663         consistent with ObjectOutputStream and to facilitate caching the
7664         Method in the future.
7665         (setBooleanField): Added Class argument.
7666         (setByteField): Likewise.
7667         (setCharField): Likewise.
7668         (setDoubleField): Likewise.
7669         (setFloatField): Likewise.
7670         (setIntField): Likewise.
7671         (setLongField): Likewise.
7672         (setShortField): Likewise.
7673         (setObjectField): Likewise.
7674         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7675         class hierarchy loop.
7676         (defaultWriteObject): Call writeFields with new argument list.
7677         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7678         list to Object,ObjectStreamClass, moved callWriteMethod up into
7679         writeObject and added Class argument to all getXxxField calls.
7680         (callWriteMethod): Added ObjectStreamClass argument to be able to
7681         get the proper class to call getMethod on (each class can have (or
7682         not have) its own writeObject method).
7683         (getBooleanField): Added Class argument.
7684         (getByteField): Likewise.
7685         (getCharField): Likewise.
7686         (getDoubleField): Likewise.
7687         (getFloatField): Likewise.
7688         (getIntField): Likewise.
7689         (getLongField): Likewise.
7690         (getShortField): Likewise.
7691         (getObjectField): Likewise.
7692         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7693         facilitate caching the Method object in the future.
7694
7695 2003-03-12  Andreas Schwab  <schwab@suse.de>
7696
7697         * configure.in: Avoid trailing /. in toolexeclibdir.
7698         * configure: Rebuilt.
7699
7700 2003-03-11  Michael Koch  <konqueror@gmx.de>
7701
7702         * gnu/java/nio/ByteBufferImpl.java
7703         (putInt): Use limit() instead of limit.
7704         * gnu/java/nio/CharBufferImpl.java
7705         (slice): Fixed implementation.
7706         (subSequence): Better bounds checking.
7707         * gnu/java/nio/MappedByteFileBuffer.java:
7708         Import all needed classes directly.
7709         * java/nio/ByteBuffer.java
7710         (hashCode): New dummy method.
7711         * java/nio/CharBuffer.java
7712         (array_offset): New member variable.
7713         (hasArray): Fixed documentation.
7714         (arrayOffset): Return array_offset.
7715
7716 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7717
7718         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7719         setter; made return value of getter const char* instead of char*
7720         * prims.cc: removed all references to _Jv_ThisExecutable().
7721         These are in the platform-specific sections now.
7722         * posix.cc: define platform-specific _Jv_ThisExecutable().
7723         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7724         * win32.cc: define platform-specific _Jv_ThisExecutable()
7725         using GetModuleFilename()
7726         * java/lang/natRuntime.cc: set gnu.gcj.progname property
7727         to argv[0] instead of _Jv_ThisExecutable()
7728
7729 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7730
7731         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7732         that is set if we are using addr2name.awk instead of addr2line.
7733         (NameFinder): Set usingAddr2name if using addr2name.awk.
7734         (getExternalLabel): New native method to convert a method 
7735         name to an external label.
7736         (lookup): Convert name given by addr2line to an external label
7737         before demangling.
7738
7739         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7740         constant representing the prefix attached to method names to
7741         convert them to an external label.
7742         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
7743         using LABEL_PREFIX.
7744
7745 2003-03-10  Tom Tromey  <tromey@redhat.com>
7746
7747         * Makefile.in: Rebuilt.
7748         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7749         (JC1FLAGS): Removed -Wno-deprecated.
7750
7751 2003-03-10  Michael Koch  <konqueror@gmx.de>
7752
7753         * java/nio/ByteOrder.java
7754         (nativeOrder): Working implementation, added documentation.
7755         (toString): Added documentation.
7756
7757 2003-03-10  Michael Koch  <konqueror@gmx.de>
7758
7759         * java/net/DatagramSocket.java,
7760         java/net/MulticastSocket.java,
7761         java/net/Socket.java,
7762         java/net/URL.java,
7763         java/net/URLConnection.java:
7764         Fixed some documentation tags to make javadoc and friends happy.
7765
7766 2003-03-10  Michael Koch  <koqnueror@gmx.de>
7767
7768         * java/beans/beancontext/BeanContextServicesSupport.java,
7769         java/beans/beancontext/BeanContextSupport.java: New files.
7770         * Makefile.am
7771         (awt_source_files): Added new files.
7772         * Makefile.in: Regenerated.
7773
7774 2003-03-10  Michael Koch  <konqueror@gmx.de>
7775
7776         * java/awt/FocusTraversalPolicy.java
7777         (FocusTraversalPolicy): Documentation added.
7778         (getComponentAfter): Documentation added.
7779         (getComponentBefore): Documentation added.
7780         (getFirstComponent): Documentation added.
7781         (getLastComponent): Documentation added.
7782         (getDefaultComponent): Documentation added.
7783         (getInitialComponent): Documentation added.
7784         * java/awt/ScrollPaneAdjustable.java
7785         (sp): New member variable.
7786         (orientation): New member variable.
7787         (value): New member variable.
7788         (minimum): New member variable.
7789         (maximum): New member variable.
7790         (visibleAmount): New member variable.
7791         (unitIncrement): New member variable.
7792         (blockIncrement): New member variable.
7793         (adjustmentListener): New member variable.
7794         (ScrollPaneAdjustable): Rewrote.
7795         (addAdjustmentListener): New method.
7796         (removeAdjustmentListener): New method.
7797         (getAdjustmentListeners): New method.
7798         (getBlockIncrement): New method.
7799         (getMaximum): New method.
7800         (getMinimum): New method.
7801         (getOrientation): New method.
7802         (getUnitIncrement): New method.
7803         (getValue): New method.
7804         (getVisibleAmount): New method.
7805         (setBlockIncrement): New method.
7806         (setUnitIncrement): New method.
7807         (setMaximum): Implemented.
7808         (setMinimum): Implemented.
7809         (setValue): New method.
7810         (setVisibleAmount): Implemented.
7811         (paramString): New method.
7812         * java/awt/Window.java
7813         (show): Use setVisible(true) instead of super.show().
7814         (hide): Use sevVisible(false) instead of super.hide().
7815         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7816         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7817         (postEvent): Deprecated.
7818         (applyResourceBundle): Deprecated.
7819         (processWindowFocusEvent): New method.
7820         (processWindowStateEvent): New method.
7821         * java/awt/datatransfer/DataFlavor.java: Reindented.
7822         * java/awt/font/TextHitInfo.java
7823         (charIndex): New member variable.
7824         (leadingEdge): New member variable.
7825         (TextHitInfo): New constructor.
7826         (getCharIndex): Implemented.
7827         (isLeadingEdge): Implemented.
7828         (getInsertionIndex): Implemented.
7829         (hashCode): Access charIndex directly.
7830         (equals): Reformated.
7831         (leading): Implemented.
7832         (trailing): Implemented.
7833         (beforeOffset): Implemented.
7834         (afterOffset): Implemented.
7835         (getOtherHit): Implemented.
7836         (getOffsetHit): Implemented.
7837         (toString): Implemented.
7838         * java/awt/image/BufferedImage.java
7839         (BufferedImage): Implements WritableRenderedImage.
7840         (observers): New member variable.
7841         (addTileObserver): New method.
7842         (removeTileObserver): New method.
7843
7844 2003-03-09  Tom Tromey  <tromey@redhat.com>
7845
7846         PR libgcj/9934:
7847         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7848         to lseek.  Return 0 if we can't compute the value.
7849
7850 2003-03-03  Michael Koch  <konqueror@gmx.de>
7851
7852         * java/net/NetworkInterface.java: Merged with classpath.
7853
7854 2003-03-03  Tom Tromey  <tromey@redhat.com>
7855
7856         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7857         of bytecode.
7858         (handle_ret_insn): Fail if returning to jsr that appears at end of
7859         bytecode.
7860
7861 2003-03-03  Michael Koch  <konqueror@gmx.de>
7862
7863         * Makefile.am
7864         (ordinary_java_source_files):
7865         Added gnu/java/nio/MappedByteFileBuffer.java.
7866         (nat_source_files):
7867         Added gnu/java/nio/natMappedByteFileBuffer.cc.
7868         * Makefile.in: Regenerated.
7869
7870 2003-03-03  Michael Koch  <konqueror@gmx.de>
7871
7872         * java/net/DatagramSocket.java
7873         (connect): Merged comment from classpath.
7874         (receive): Merged documentation from classpath.
7875         * java/net/Socket.java
7876         (setSoTimeout): Clarified documentation.
7877         * java/net/URL.java
7878         (getPath): Merged from classpath.
7879         (getUserInfo): Merged from classpath.
7880         (getQuery): Merged from classpath.
7881         * java/net/URLStreamHandler.java
7882         (toExternalForm): Merged from classpath.
7883
7884 2003-03-02  Mark Wielaard  <mark@klomp.org>
7885
7886         * java/util/Properties.java (load): Only skip line if the first
7887         character is a comment, whitespaces don't count.
7888
7889 2003-03-02  Michael Koch  <konqueror@gmx.de>
7890
7891         * java/net/NetPermission.java:
7892         Merged copyright with classpath.
7893
7894 2003-03-02  Michael Koch  <konqueror@gmx.de>
7895
7896         * java/lang/Package.java:
7897         Remerged from classpath.
7898
7899 2003-03-02  Michael Koch  <konqueror@gmx.de>
7900
7901         * java/net/HttpURLConnection.java
7902         (HTTP_SERVER_ERROR): Deprecated.
7903         * java/net/MulticastSocket.java
7904         (send): Replaced checkMulticast with appropriate checkPermission call,
7905         deprecated.
7906         * java/net/URLDecoder.java
7907         (decode): Deprecated.
7908         * java/net/URLEncoder.java
7909         (encode): Deprecated.
7910
7911 2003-03-02  Michael Koch  <konqueror@gmx.de>
7912
7913         * javax/swing/text/Caret.java
7914         (getMagicCaretPosition): Fixed typo in method name.
7915         * javax/swing/text/DefaultCaret.java
7916         (getMagicCaretPosition): Fixed typo in method name.
7917
7918 2003-03-02  Michael Koch  <konqueror@gmx.de>
7919
7920         * java/awt/List.java
7921         (setMultipleSelections): Deprecated.
7922         (delItem): Deprecated.
7923         * java/awt/MenuComponent.java
7924         (getPeer): Deprecated.
7925         * java/awt/ScrollPane.java
7926         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7927         * java/awt/dnd/MouseDragGestureRecognizer.java
7928         (mouseClicked): Added comment.
7929         (mousePressed): Added comment.
7930         (mouseReleased): Added comment.
7931         (mouseEntered): Added comment.
7932         (mouseExited): Added comment.
7933         (mouseDragged): Added comment.
7934         (mouseMoved): Added comment.
7935         * java/awt/event/KeyEvent.java
7936         (KeyEvent): Deprecated.
7937         (setModifiers): Deprecated.
7938         
7939 2003-03-02  Michael Koch  <konqueror@gmx.de>
7940
7941         * gnu/java/nio/FileChannelImpl.java
7942         (fd): Type FileDescriptor instead of int.
7943         (lengthInternal): Removed.
7944         (FileChannelImpl): Fixed arguments, check type of file object.
7945         (size): Made it native.
7946         (implPosition): New native method.
7947         (implTruncate): New native method.
7948         (position): Implemented.
7949         (truncate): Implemented.
7950         (nio_mmap_file): Changed arguments.
7951         (nio_munmap_file): Changed arguments.
7952         (nio_msync): Changed arguments.
7953         * gnu/java/nio/natFileChannelImpl.cc
7954         (lengthInternal): Removed.
7955         (size): New method.
7956         (implPosition): New method.
7957         (implTruncate): New method.
7958         (nio_mmap_file): Changed arguments.
7959         (nio_munmap_file): Changed arguments.
7960         (nio_msync): Changed arguments.
7961
7962 2003-03-02  Michael Koch  <konqueror@gmx.de>
7963
7964         * java/awt/dnd/DropTargetContext.java:
7965         Compile fix: Forgot to commit import.
7966         
7967 2003-03-02  Michael Koch  <konqueror@gmx.de>
7968
7969         * java/awt/Component.java,
7970         java/awt/ScrollPane.java:
7971         Fixed typos.
7972
7973 2003-03-02  Michael Koch  <konqueror@gmx.de>
7974
7975         * java/awt/dnd/DnDEventMulticaster.java: New file.
7976         * java/awt/dnd/DragSource.java
7977         (flavorMap): New member variable.
7978         (dragSourceListener): New member variable.
7979         (dragSourceMotionListener): New member variable.
7980         (getFlavorMap): Implemented.
7981         (createDragGestureRecognizer): Implemented.
7982         (addDragSourceListener): Implemented.
7983         (removeDragSourceListener): Implemented.
7984         (getDragSourceListeners): Implemented.
7985         (addDragSourceMotionListener): Implemented.
7986         (removeDragSourceMotionListener): Implemented.
7987         (getDragSourceMotionListeners): Implemented.
7988         (getListeners): Implemented.
7989         * java/awt/dnd/DragSourceContext.java
7990         (peer): New member variable.
7991         (cursor): New member variable.
7992         (transferable): New member variable.
7993         (trigger): New member variable.
7994         (dragSourceListener): New member variable.
7995         (image): New member variable.
7996         (offset): New member variable.
7997         (DragSourceContext): Implemented.
7998         (getDragSource): Implemented.
7999         (getComponent): Implemented.
8000         (getTrigger): Implemented.
8001         (getSourceActions): Implemented.
8002         (setCursor): Implemented.
8003         (getCursor): Implemented.
8004         (addDragSourceListener): Implemented.
8005         (removeDragSourceListener): Implemented.
8006         (getTransferable): Implemented.
8007         * java/awt/dnd/DropTarget.java
8008         (DropTargetAutoScroller.component): New member variable.
8009         (DropTargetAutoScroller.point): New member variable.
8010         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8011         (DropTargetAutoScroller.updateLocation): Implemented.
8012         (active): Renamed from isActive, defaults to true now.
8013         (component): New member variable.
8014         (flavorMap): New member variable.
8015         (actions): New member variable.
8016         (dropTargetContext): New member variable.
8017         (dropTargetListener): New member variable.
8018         (DropTarget): Implemented.
8019         (getComponent): Implemented.
8020         (setComponent): Implemented.
8021         (setDefaultActions): Implemented.
8022         (getDefaultActions): Implemented.
8023         (setActive): Use active instead of isActive.
8024         (isActive): Use active instead of isActive.
8025         (addDropTargetListener): Implemented.
8026         (removeDropTargetListener): Implemented.
8027         (getFlavorMap): Implemented.
8028         (setFlavorMap): Implemented.
8029         (getDropTargetContext): Implemented.
8030         (createDropTargetContext): Implemented.
8031         (createDropTargetAutoScroller): Implemented.
8032         * java/awt/dnd/DropTargetContext.java
8033         (TransferableProxy.getTransferDataFlavors): Implemented.
8034         (TransferableProxy.isDataFlavorSupported): Implemented.
8035         (TransferableProxy.getTransferData): Implemented.
8036         (dropTarget):  New member variable.
8037         (dtcp): New member variable.
8038         (DropTargetContext): New package private constructor.
8039         (getDropTarget): Implemented.
8040         (getComponent): Implemented.
8041         (addNotify): Implemented.
8042         (removeNotify): Implemented.
8043         (getCurrentDataFlavorsAsList): Implemented.
8044         (isDataFlavorSupported): Implemented.
8045         * java/awt/dnd/MouseDragGestureRecognizer.java
8046         (registerListeners): Implemented.
8047         (unregisterListeners): Implemented.
8048         * Makefile.am
8049         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8050         * Makefile.in: Regenerated.
8051
8052 2003-03-02  Michael Koch  <konqueror@gmx.de>
8053
8054         * java/awt/Component.java
8055         (eventTypeEnabled): New method.
8056         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8057         * java/awt/Container.java
8058         (changeSupport): New member variable.
8059         (addPropertyChangeListener): New methods.
8060         * java/awt/ContainerOrderFocusTraversalPolicy.java
8061         (ContainerOrderFocusTraversalPolicy): Added comment.
8062         (getComponentAfter): Throw exception, documentation added.
8063         (getComponentBefore): Throw exception, documentation added.
8064         (getFirstComponent): Throw exception, documentation added.
8065         (getLastComponent): Throw exception, documentation added.
8066         (getDefaultComponent): Throw exception, documentation added.
8067         * java/awt/EventQueue.java: Reindented.
8068         * java/awt/FocusTraversalPolicy.java:
8069         (FocusTraversalPolicy): Added comment.
8070         (getComponentAfter): Documentation added.
8071         (getComponentBefore): Documentation added.
8072         (getFirstComponent): Documentation added.
8073         (getLastComponent): Documentation added.
8074         (getDefaultComponent): Documentation added.
8075         (getInitialComponent): Documentation added.
8076         * java/awt/ScrollPane.java
8077         (wheelScrollingEnabled): New member variable.
8078         (ScrollPane): Initialize wheelScollingEnabled.
8079         (eventTypeEnabled): New method.
8080         (isWheelScrollingEnabled): New method.
8081         (setWheelScrollingEnabled): New method.
8082
8083 2003-03-02  Michael Koch  <konqueror@gmx.de>
8084
8085         * java/net/DatagramSocket.java
8086         (closed): New member variable.
8087         (close): Use closed variable.
8088         (getInetAddress): No need to call isConnected().
8089         (getPort): No need to call isConnected().
8090         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8091         (isClosed): Reimplemented.
8092         
8093 2003-03-02  Michael Koch  <konqueror@gmx.de>
8094
8095         * configure.in: Added check for memory mapping of files.
8096         * configure: Regenerated.
8097         * config.h.in: Regenerated.
8098
8099 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8100
8101         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8102         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8103
8104 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8105
8106         * java/io/File.java (normalizePath): Remove trailing separator
8107         on Windows only if path is not of the form "x:\".
8108
8109         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8110         (java::io::File::attr): Change formatting a bit and use
8111         WIN32_EPOCH_MILLIS instead of magic numbers.
8112         (java::io::File::isAbsolute): Path must have at least 3 
8113         characters for a UNC network path.
8114         (java::io::File::init_native): Define.
8115         (java::io::File::performCreate): Likewise.
8116         (java::io::File::performSetReadOnly): Likewise.
8117         (java::io::File::performSetLastModified): Likewise.
8118         (java::io::File::performListRoots): Likewise.
8119
8120 2003-03-01  Tom Tromey  <tromey@redhat.com>
8121
8122         * java/lang/natObject.cc: Don't include assert.h.
8123         (heavy_lock_obj_finalization_proc): Use JvAssert.
8124         (remove_all_heavy): Likewise.
8125         (_Jv_MonitorEnter): Likewise.
8126         (_Jv_MonitorExit): Likewise.
8127         (wait): Likewise.
8128
8129 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8130
8131         * java/io/File (getAbsolutePath): Prefix drive specifier on
8132         Windows for paths starting with a '\'.
8133         (toURL): Make URL more consistent with what Sun's JDK returns.
8134
8135         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8136         true only if the path is a UNC network path or it starts with a
8137         drive specifier.
8138
8139         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8140         Be prepared to handle either '/' or '\\' in the file path for
8141         Windows if using the "file" protocol.
8142         Canonicalise the file path if using a relative path in the given
8143         context and the "file" protocol.
8144
8145 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8146
8147         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8148         program array element passed to CreateProcess.
8149
8150 2003-03-01  Tom Tromey  <tromey@redhat.com>
8151
8152         * java/rmi/registry/RegistryHandler.java: Deprecate.
8153
8154 2003-03-01  Tom Tromey  <tromey@redhat.com>
8155
8156         * javax/accessibility/AccessibleEditableText.java,
8157         javax/accessibility/AccessibleHyperlink.java: New versions from
8158         Classpath.
8159
8160         * gnu/java/locale/LocaleInformation_af_ZA.java,
8161         gnu/java/locale/LocaleInformation_ar_AE.java,
8162         gnu/java/locale/LocaleInformation_ar_BH.java,
8163         gnu/java/locale/LocaleInformation_ar_DZ.java,
8164         gnu/java/locale/LocaleInformation_ar_EG.java,
8165         gnu/java/locale/LocaleInformation_ar_IN.java,
8166         gnu/java/locale/LocaleInformation_ar_IQ.java,
8167         gnu/java/locale/LocaleInformation_ar_JO.java,
8168         gnu/java/locale/LocaleInformation_ar_KW.java,
8169         gnu/java/locale/LocaleInformation_ar_LB.java,
8170         gnu/java/locale/LocaleInformation_ar_LY.java,
8171         gnu/java/locale/LocaleInformation_ar_MA.java,
8172         gnu/java/locale/LocaleInformation_ar_OM.java,
8173         gnu/java/locale/LocaleInformation_ar_QA.java,
8174         gnu/java/locale/LocaleInformation_ar_SD.java,
8175         gnu/java/locale/LocaleInformation_ar_SY.java,
8176         gnu/java/locale/LocaleInformation_ar_TN.java,
8177         gnu/java/locale/LocaleInformation_ar_YE.java,
8178         gnu/java/locale/LocaleInformation_be_BY.java,
8179         gnu/java/locale/LocaleInformation_bn_IN.java,
8180         gnu/java/locale/LocaleInformation_br_FR.java,
8181         gnu/java/locale/LocaleInformation_bs_BA.java,
8182         gnu/java/locale/LocaleInformation_ca_ES.java,
8183         gnu/java/locale/LocaleInformation_cs_CZ.java,
8184         gnu/java/locale/LocaleInformation_cy_GB.java,
8185         gnu/java/locale/LocaleInformation_da_DK.java,
8186         gnu/java/locale/LocaleInformation_de_AT.java,
8187         gnu/java/locale/LocaleInformation_de_BE.java,
8188         gnu/java/locale/LocaleInformation_de_CH.java,
8189         gnu/java/locale/LocaleInformation_de_DE.java,
8190         gnu/java/locale/LocaleInformation_de_LU.java,
8191         gnu/java/locale/LocaleInformation_el_GR.java,
8192         gnu/java/locale/LocaleInformation_en_AU.java,
8193         gnu/java/locale/LocaleInformation_en_BW.java,
8194         gnu/java/locale/LocaleInformation_en_CA.java,
8195         gnu/java/locale/LocaleInformation_en_DK.java,
8196         gnu/java/locale/LocaleInformation_en_GB.java,
8197         gnu/java/locale/LocaleInformation_en_HK.java,
8198         gnu/java/locale/LocaleInformation_en_IE.java,
8199         gnu/java/locale/LocaleInformation_en_IN.java,
8200         gnu/java/locale/LocaleInformation_en_NZ.java,
8201         gnu/java/locale/LocaleInformation_en_PH.java,
8202         gnu/java/locale/LocaleInformation_en_SG.java,
8203         gnu/java/locale/LocaleInformation_en_US.java,
8204         gnu/java/locale/LocaleInformation_en_ZA.java,
8205         gnu/java/locale/LocaleInformation_en_ZW.java,
8206         gnu/java/locale/LocaleInformation_es_AR.java,
8207         gnu/java/locale/LocaleInformation_es_BO.java,
8208         gnu/java/locale/LocaleInformation_es_CL.java,
8209         gnu/java/locale/LocaleInformation_es_CO.java,
8210         gnu/java/locale/LocaleInformation_es_CR.java,
8211         gnu/java/locale/LocaleInformation_es_DO.java,
8212         gnu/java/locale/LocaleInformation_es_EC.java,
8213         gnu/java/locale/LocaleInformation_es_ES.java,
8214         gnu/java/locale/LocaleInformation_es_GT.java,
8215         gnu/java/locale/LocaleInformation_es_HN.java,
8216         gnu/java/locale/LocaleInformation_es_MX.java,
8217         gnu/java/locale/LocaleInformation_es_NI.java,
8218         gnu/java/locale/LocaleInformation_es_PA.java,
8219         gnu/java/locale/LocaleInformation_es_PE.java,
8220         gnu/java/locale/LocaleInformation_es_PR.java,
8221         gnu/java/locale/LocaleInformation_es_PY.java,
8222         gnu/java/locale/LocaleInformation_es_SV.java,
8223         gnu/java/locale/LocaleInformation_es_US.java,
8224         gnu/java/locale/LocaleInformation_es_UY.java,
8225         gnu/java/locale/LocaleInformation_es_VE.java,
8226         gnu/java/locale/LocaleInformation_et_EE.java,
8227         gnu/java/locale/LocaleInformation_eu_ES.java,
8228         gnu/java/locale/LocaleInformation_fa_IR.java,
8229         gnu/java/locale/LocaleInformation_fi_FI.java,
8230         gnu/java/locale/LocaleInformation_fo_FO.java,
8231         gnu/java/locale/LocaleInformation_fr_BE.java,
8232         gnu/java/locale/LocaleInformation_fr_CA.java,
8233         gnu/java/locale/LocaleInformation_fr_CH.java,
8234         gnu/java/locale/LocaleInformation_fr_FR.java,
8235         gnu/java/locale/LocaleInformation_fr_LU.java,
8236         gnu/java/locale/LocaleInformation_ga_IE.java,
8237         gnu/java/locale/LocaleInformation_gd_GB.java,
8238         gnu/java/locale/LocaleInformation_gl_ES.java,
8239         gnu/java/locale/LocaleInformation_gv_GB.java,
8240         gnu/java/locale/LocaleInformation_he_IL.java,
8241         gnu/java/locale/LocaleInformation_hi_IN.java,
8242         gnu/java/locale/LocaleInformation_hr_HR.java,
8243         gnu/java/locale/LocaleInformation_hu_HU.java,
8244         gnu/java/locale/LocaleInformation_id_ID.java,
8245         gnu/java/locale/LocaleInformation_it_CH.java,
8246         gnu/java/locale/LocaleInformation_it_IT.java,
8247         gnu/java/locale/LocaleInformation_iw_IL.java,
8248         gnu/java/locale/LocaleInformation_ja_JP.java,
8249         gnu/java/locale/LocaleInformation_ka_GE.java,
8250         gnu/java/locale/LocaleInformation_kl_GL.java,
8251         gnu/java/locale/LocaleInformation_ko_KR.java,
8252         gnu/java/locale/LocaleInformation_kw_GB.java,
8253         gnu/java/locale/LocaleInformation_lt_LT.java,
8254         gnu/java/locale/LocaleInformation_lv_LV.java,
8255         gnu/java/locale/LocaleInformation_mi_NZ.java,
8256         gnu/java/locale/LocaleInformation_mk_MK.java,
8257         gnu/java/locale/LocaleInformation_mr_IN.java,
8258         gnu/java/locale/LocaleInformation_mt_MT.java,
8259         gnu/java/locale/LocaleInformation_nl_BE.java,
8260         gnu/java/locale/LocaleInformation_nl_NL.java,
8261         gnu/java/locale/LocaleInformation_nn_NO.java,
8262         gnu/java/locale/LocaleInformation_no_NO.java,
8263         gnu/java/locale/LocaleInformation_oc_FR.java,
8264         gnu/java/locale/LocaleInformation_pl_PL.java,
8265         gnu/java/locale/LocaleInformation_pt_BR.java,
8266         gnu/java/locale/LocaleInformation_pt_PT.java,
8267         gnu/java/locale/LocaleInformation_ro_RO.java,
8268         gnu/java/locale/LocaleInformation_ru_RU.java,
8269         gnu/java/locale/LocaleInformation_ru_UA.java,
8270         gnu/java/locale/LocaleInformation_se_NO.java,
8271         gnu/java/locale/LocaleInformation_sk_SK.java,
8272         gnu/java/locale/LocaleInformation_sl_SI.java,
8273         gnu/java/locale/LocaleInformation_sq_AL.java,
8274         gnu/java/locale/LocaleInformation_sr_YU.java,
8275         gnu/java/locale/LocaleInformation_sv_FI.java,
8276         gnu/java/locale/LocaleInformation_sv_SE.java,
8277         gnu/java/locale/LocaleInformation_ta_IN.java,
8278         gnu/java/locale/LocaleInformation_te_IN.java,
8279         gnu/java/locale/LocaleInformation_tg_TJ.java,
8280         gnu/java/locale/LocaleInformation_tl_PH.java,
8281         gnu/java/locale/LocaleInformation_tr_TR.java,
8282         gnu/java/locale/LocaleInformation_uk_UA.java,
8283         gnu/java/locale/LocaleInformation_ur_PK.java,
8284         gnu/java/locale/LocaleInformation_uz_UZ.java,
8285         gnu/java/locale/LocaleInformation_vi_VN.java,
8286         gnu/java/locale/LocaleInformation_yi_US.java,
8287         gnu/java/locale/LocaleInformation_zh_CN.java,
8288         gnu/java/locale/LocaleInformation_zh_HK.java,
8289         gnu/java/locale/LocaleInformation_zh_SG.java,
8290         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8291         info; from Classpath.
8292
8293         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8294         isPaintPending): New methods.
8295         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8296         setMaximizedBounds): New methods.
8297         (beginLayout, endLayout, isPaintPending): Likewise.
8298         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8299         (requestFocus): Likewise.
8300         (isObscured): Likewise.
8301         (canDetermineObscurity): Likewise.
8302         (coalescePaintEvent): Likewise.
8303         (updateCursorImmediately): Likewise.
8304         (createVolatileImage): Likewise.
8305         (handlesWheelScrolling): Likewise.
8306         (createBuffers): Likewise.
8307         (getBackBuffer): Likewise.
8308         (flip): Likewise.
8309         (destroyBuffers): Likewise.
8310
8311         * Makefile.in: Rebuilt.
8312         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8313         RobotPeer.java.
8314         * gnu/java/awt/GLightweightPeer.java,
8315         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8316         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8317         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8318         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8319         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8320         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8321         java/awt/dnd/peer/DragSourceContextPeer.java,
8322         java/awt/dnd/peer/DropTargetContextPeer.java,
8323         java/awt/peer/ButtonPeer.java,
8324         java/awt/peer/CheckboxMenuItemPeer.java,
8325         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8326         java/awt/peer/ComponentPeer.java,
8327         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8328         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8329         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8330         java/awt/peer/MenuBarPeer.java,
8331         java/awt/peer/MenuComponentPeer.java,
8332         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8333         java/awt/peer/PopupMenuPeer.java,
8334         java/awt/peer/ScrollPanePeer.java,
8335         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8336         java/awt/peer/TextComponentPeer.java,
8337         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8338         New versions from Classpath.
8339         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8340         * java/awt/peer/RobotPeer.java: Likewise.
8341
8342 2003-03-01  Mark Wielaard  <mark@klomp.org>
8343
8344         * java/io/ObjectInputStream.java: Reindent.
8345         * java/io/ObjectOutputStream.java: Likewise.
8346
8347 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8348
8349         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8350         jvalue for each argument. Simplify.
8351         * testsuite/libjava.jni/calls.c (docall),
8352         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8353         misalignment.
8354
8355 2003-02-28  Mark Wielaard  <mark@klomp.org>
8356
8357         * Makefile.am (nat_source_files): Remove
8358         java/io/natObjectOutputStream.cc.
8359         * Makefile.in: Regenerated.
8360         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8361         * java/io/ObjectStreamField.java (typename): New field.
8362         (ObjectStreamField(String, Class)): Initialize new field.
8363         (ObjectStreamField(String, String)): New Constructor.
8364         (getTypeCode): Use new field.
8365         (getTypeString): Use new field.
8366         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8367         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8368         Handle reading of Proxy classes. Never drain(), just write
8369         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8370         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8371         (flush): Call flush(), not just drain().
8372         (writeBoolean): Always use blockDataOutput.
8373         (writeByte): Likewise.
8374         (writeShort): Likewise.
8375         (writeChar): Likewise.
8376         (writeInt): Likewise.
8377         (writeLong): Likewise.
8378         (writeFloat): Likewise.
8379         (writeDouble): Likewise.
8380         (writeBytes): Likewise.
8381         (putfield (put(String,Object))): Throw IllegalArgumentException if
8382         field cannot be found.
8383         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8384         (writeArraySizeAndElements): Write byte[] in one go.
8385         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8386         set BlockDataMode to false.
8387         (annotateProxyClass): New method.
8388         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8389         (getField): No longer native.
8390         (getMethod): Likewise.
8391         (setBlockDataMode): Always drain() on switch, return old mode.
8392         (static): New static code block.
8393         * java/io/natObjectOutputStream.cc: Removed.
8394         * java/io/ObjectInputStream.java (getField): No longer native.
8395         (getMethod): Likewise.
8396         (readObject): Remember and reset old BlockDataMode. Track whether
8397         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8398         TC_LONGSTRING.
8399         (defaultReadObject): Set BlockDataMode to false during readFields.
8400         (resolveClass): Create new SecurityManager if necessary.
8401         Use Class.forName() if null ClassLoader found.
8402         (read(byte[],int,int): Copy remaining bytes to data before calling
8403         readNextBlock().
8404         (readFields): Set and reset BlockDataMode on call_read_method.
8405         Catch NoSuchFieldErrors.
8406         (setBlockDataMode): Return old mode.
8407         (static): New static code block.
8408         * java/io/natObjectInputStream.cc (getField): Removed.
8409         (getMethod): Likewise.
8410
8411 2003-02-27  Michael Koch  <konqueror@gmx.de>
8412
8413         * java/beans/Beans.java,
8414         java/beans/FeatureDescriptor.java
8415         java/beans/PropertyEditorManager.java:
8416         Reformated to GNU style.
8417
8418 2003-02-25  Michael Koch  <konqueror@gmx.de>
8419
8420         * gnu/java/nio/MappedByteFileBuffer.java,
8421         gnu/java/nio/natMappedByteFileBuffer.cc:
8422         New files, both are not compiled yet to get not noncompiling CVS.
8423
8424 2003-02-24  Tom Tromey  <tromey@redhat.com>
8425
8426         * java/util/prefs/AbstractPreferences.java (isUserNode):
8427         Implemented.
8428
8429 2003-02-24  Tom Tromey  <tromey@redhat.com>
8430
8431         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8432         Deprecate.
8433         * java/lang/Thread.java (resume): Deprecate.
8434         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8435         in @deprecated.
8436
8437 2003-02-23  Tom Tromey  <tromey@redhat.com>
8438
8439         * Makefile.in: Rebuilt.
8440         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8441
8442 2003-02-23  Tom Tromey  <tromey@redhat.com>
8443
8444         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8445         libraries): Removed.
8446         (add_library): Removed.
8447         (_load): Don't call add_library.
8448         (loadLibraryInternal): Likewise.
8449         (init): Likewise.
8450         (lookup_data): New struct.
8451         (find_symbol): New function.
8452         (_Jv_FindSymbolInExecutable): Use it.
8453
8454 2002-02-21  Anthony Green  <green@redhat.com>
8455
8456         * java/lang/Thread.java (Thread): New constructor taking stack
8457         size parameter (ignored for now).
8458         * Many methods: Merged GNU Classpath documentation.
8459
8460         * java/lang/Class.java (finalize): throws a Throwable.
8461
8462 2003-02-21  Mark Wielaard  <mark@klomp.org>
8463
8464         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8465         argument is null.
8466
8467 2003-02-21  Mark Wielaard  <mark@klomp.org>
8468
8469         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8470         then 65535 chars throw IllegalArgumentException.
8471
8472 2003-02-21  Mark Wielaard  <mark@klomp.org>
8473
8474         * java/util/zip/ZipFile.java (finalize): New method.
8475
8476 2003-02-21  Michael Koch  <konqueror@gmx.de>
8477
8478         * gnu/java/nio/natSocketChannelImpl.cc:
8479         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8480         <cato@df.lth.se> for pointing to it.
8481
8482 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8483
8484         * java/math/BigInteger.java (euclidInv): Take result array as an
8485         argument.  Updated all callers.
8486         (modInverse): Removed unused variables.
8487
8488 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8489
8490         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8491         config.status.
8492         * configure: Rebuilt.
8493
8494 2003-02-19  Michael Koch  <konqueror@gmx.de>
8495
8496         * gnu/java/nio/natSocketChannelImpl.cc:
8497         Added support for platforms without network support.
8498
8499 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8500
8501         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8502         after config.h.  Use <> for consistency.
8503         * java/lang/natObject.cc: Likewise.
8504         * java/lang/natRuntime.cc: Likewise.
8505         * java/lang/natSystem.cc: Likewise.
8506         * java/util/natTimeZone.cc: Likewise.
8507         * win32.cc: Likewise.
8508         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8509         listen, write, read): Undef to avoid interference from OS macros.
8510
8511 2003-02-19  Michael Koch  <konqueror@gmx.de>
8512
8513         * gnu/java/nio/ByteBufferImpl.java
8514         (ByteBufferImpl): Renamed two variables.
8515         * gnu/java/nio/CharBufferImpl.java
8516         (CharBufferImpl): Renamed two variables.
8517         * gnu/java/nio/DoubleBufferImpl.java
8518         (DoubleBufferImpl): Renamed two variables.
8519         * gnu/java/nio/FloatBufferImpl.java
8520         (FloatBufferImpl): Renamed two variables.
8521         * gnu/java/nio/IntBufferImpl.java
8522         (IntBufferImpl): Renamed two variables.
8523         * gnu/java/nio/LongBufferImpl.java
8524         (LongBufferImpl): Renamed two variables.
8525         * gnu/java/nio/ShortBufferImpl.java
8526         (ShortBufferImpl): Renamed two variables.
8527         * java/nio/CharBuffer.java
8528         (wrap): Fixed arguments to CharBufferImpl constructor.
8529         (hasArray): Only not read-only buffers have backing arrays.
8530         (length): Documentation added.
8531         (subSequence): Documentation added.
8532         * java/nio/DoubleBuffer.java
8533         (hasArray): Only not read-only buffers have backing arrays.
8534         * java/nio/FloatBuffer.java
8535         (hasArray): Only not read-only buffers have backing arrays.
8536         * java/nio/IntBuffer.java
8537         (hasArray): Only not read-only buffers have backing arrays.
8538         * java/nio/LongBuffer.java
8539         (hasArray): Only not read-only buffers have backing arrays.
8540         * java/nio/ShortBuffer.java
8541         (hasArray): Only not read-only buffers have backing arrays.
8542         
8543 2003-02-19  Michael Koch  <konqueror@gmx.de>
8544
8545         * javax/accessibility/AccessibleContext.java
8546         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8547
8548 2003-02-19  Michael Koch  <konqueror@gmx.de>
8549
8550         * java/awt/ScrollPaneAdjustable.java: Reformated.
8551
8552 2003-02-19  Michael Koch <konqueror@gmx.de>
8553
8554         * gnu/awt/j2d/Graphics2DImpl.java
8555         (getFontRenderContext): New method.
8556         (drawGlyphVector): New method.
8557         * java/awt/Graphics2D.java
8558         (getFontRenderContext): New abstract method.
8559         (drawGlyphVector): New abstract method.
8560         
8561 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8562
8563         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8564         if necessary.
8565         
8566         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8567         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8568         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8569         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8570         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8571         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8572         (setFont, gtkSetFont): add.
8573         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8574         Propagate font to peer.  (setFont): add FIXME comment.
8575
8576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8577         (gtkTextGetSize): fix height, width computation.
8578
8579         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8580         Make X font name a bit less bogus.
8581
8582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8583         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8584
8585         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8586         (processAdjustmentEvent): Adjust value.
8587
8588         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8589         logic errors.
8590
8591         * java/awt/Component.java (setVisible, show, hide): Call show and
8592         hide methods in subclasses.
8593         (getPreferredSize): don't set prefSize before we have peer.
8594
8595         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8596         Guess (0,0) if we don't have peer.
8597
8598
8599 2003-02-18  Michael Koch  <konqueror@gmx.de>
8600
8601         * java/nio/channels/FileChannel.java
8602         (toString): New implementation, added documentation.
8603         (map): Added exception documentation.
8604         (size): Added exception documentation.
8605         (write): New methods, documentation work.
8606         (read): New methods, documentation work.
8607         (implCloseChannel): Rewrote exception documentation.
8608         (force): Throws IOException, added documentation.
8609         (lock): New methods.
8610         (tryLock): New methods.
8611         (position): New methods.
8612         (transferTo): New method.
8613         (transferFrom): New method.
8614         (truncate): New method.
8615         * java/nio/channels/spi/SelectorProvider.java
8616         (provider): Implemented.
8617         * Makefile.am
8618         (ordinary_java_source_files): Added the following files:
8619         gnu/java/nio/DatagramChannelImpl.java
8620         gnu/java/nio/FileChannelImpl.java
8621         gnu/java/nio/PipeImpl.java
8622         gnu/java/nio/SelectionKeyImpl.java
8623         gnu/java/nio/SelectorImpl.java
8624         gnu/java/nio/SelectorProviderImpl.java
8625         gnu/java/nio/ServerSocketChannelImpl.java
8626         gnu/java/nio/SocketChannelImpl.java
8627         java/nio/channels/FileLock.java
8628         (nat_java_source_files): Added the following files:
8629         gnu/java/nio/natFileChannelImpl.cc
8630         gnu/java/nio/natSelectorImpl.cc
8631         gnu/java/nio/natSocketChannelImpl.cc
8632         * Makefile.in: Regenerated.
8633
8634 2003-02-17  Tom Tromey  <tromey@redhat.com>
8635
8636         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8637         * java/awt/image/ImageFilter.java: Likewise.
8638
8639 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8640
8641         * java/math/BigInteger.java (euclidInv): Return array of
8642         `BigInteger's.  Changed all callers.
8643
8644 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8645
8646         * java/util/Properties.java (store): Move the code formerly in
8647         list(), into this method.
8648         (list (PrintStream)): Just call list (PrintWriter) with a 
8649         PrintWriter object constructed from the given PrintStream object.
8650         (list (PrintWriter)): Emulate the output of Properties.list()
8651         as found in JDK 1.3/1.4.
8652
8653 2003-02-17  Michael Koch  <konqueror@gmx.de>
8654
8655         * java/net/DatagramSocket.java
8656         (connect): Merged with classpath.
8657         (disconnect): Merged documentation with classpath.
8658         (receice): Merged documentation with classpath.
8659         (send): Merged documentation with classpath.
8660         
8661 2003-02-17  Michael Koch  <konqueror@gmx.de>
8662
8663         * java/awt/dnd/DragSourceContext.java
8664         (addDragSourceListener): Added documentation.
8665         * java/awt/dnd/DragSourceDragEvent.java
8666         (serialVersionUID): New member variable.
8667         (getDropAction): Reformated.
8668         * java/awt/dnd/DragSourceDropEvent.java
8669         (serialVersionUID): New member variable.
8670         (dropSuccess): Renamed from success for serialization issues.
8671         * java/awt/dnd/DragSourceEvent.java
8672         (serialVersionUID): New member variable.
8673         * java/awt/dnd/DropTarget.java
8674         (serialVersionUID): New member variable.
8675         (DropTarget): Implemented, documentation reworked.
8676         (setComponent): Documentation added.
8677         (getComponent): Documentation added.
8678         (setDefaultActions): Documentation added.
8679         (getDefaultActions): Documentation added.
8680         (addDropTargetListener): Documentation added.
8681         * java/awt/dnd/DropTargetContext.java
8682         (DropTargetContext): Documentation added.
8683         (TransferableProxy.TransferableProxy): New method.
8684         (dropComplete): Fixed documentation.
8685         (getTransferable): Fixed documentation.
8686         (createTransferableProxy): Implemented.
8687         * java/awt/dnd/DropTargetDragEvent.java
8688         (DropTargetDragEvent): Documentation added.
8689         (serialVersionUID): New member variable.
8690         (DropTargetDragEvent): Throw exceptions, documentation added.
8691         (acceptDrag): Implemented.
8692         (getCurrentDataFlavors): Implemented.3yy
8693         (getCurrentDataFlavorsAsList): Implemented.
8694         (isDataFlavorSupported): Implemented.
8695         (rejectDrag): Implemented.
8696         * java/awt/dnd/DropTargetDropEvent.java
8697         (DropTargetDropEvent): Documentation added.
8698         (serialVersionUID): New member variable.
8699         (actions): Renamed from srcActions for serialization issues.
8700         (isLocalTx): Renamed from isLocalTx for serialization issues.
8701         (DropTargetDropEvent): New implementation, throw exceptions,
8702         documentation added.
8703         (getCurrentDataFlavors): Implemented.
8704         (getCurrentDataFlavorsAsList): Implemented.
8705         (isDataFlavorSupported): Implemented.
8706         (getSourceActions): Implemented.
8707         (getDropAction): Implemented.
8708         (getTransferable): Implemented.
8709         (acceptDrop): Implemented.
8710         (rejectDrop): Implemented.
8711         * java/awt/dnd/DropTargetListener.java
8712         (drop): Fixed documentation.
8713         * java/awt/dnd/MouseDragGestureRecognizer.java
8714         (MouseDragGestureRecognizer): Documentation added.
8715
8716 2003-02-17  Michael Koch  <konqueror@gmx.de>
8717
8718         * java/awt/font/FontRenderContext.java,
8719         java/awt/font/ShapeGraphicAttribute.java,
8720         java/awt/font/MultipleMaster.java,
8721         java/awt/font/TransformAttribute.java,
8722         java/awt/font/GlyphJustificationInfo.java,
8723         java/awt/font/LineBreakMeasurer.java,
8724         java/awt/font/TextMeasurer.java,
8725         java/awt/font/TextLayout.java,
8726         java/awt/font/LineMetrics.java,
8727         java/awt/font/TextAttribute.java,
8728         java/awt/font/GlyphMetrics.java,
8729         java/awt/font/OpenType.java,
8730         java/awt/font/GlyphVector.java,
8731         java/awt/font/GraphicAttribute.java,
8732         java/awt/font/ImageGraphicAttribute.java,
8733         java/awt/font/NumericShaper.java: New files.
8734         * Makefile.am
8735         (awt_java_source_files): Added the following files:
8736         java/awt/font/FontRenderContext.java
8737         java/awt/font/ShapeGraphicAttribute.java
8738         java/awt/font/MultipleMaster.java
8739         java/awt/font/TransformAttribute.java
8740         java/awt/font/GlyphJustificationInfo.java
8741         java/awt/font/LineBreakMeasurer.java
8742         java/awt/font/TextMeasurer.java
8743         java/awt/font/TextLayout.java
8744         java/awt/font/LineMetrics.java
8745         java/awt/font/TextAttribute.java
8746         java/awt/font/GlyphMetrics.java
8747         java/awt/font/OpenType.java
8748         java/awt/font/GlyphVector.java
8749         java/awt/font/GraphicAttribute.java
8750         java/awt/font/ImageGraphicAttribute.java
8751         java/awt/font/NumericShaper.java
8752         * Makefile.in: Regenerated.
8753
8754 2003-02-17  Michael Koch  <konqueror@gmx.de>
8755
8756         * java/awt/print/Paper.java
8757         (Paper): Implements Cloneable.
8758         * java/awt/print/PrinterJob.java
8759         (setJobName): Return value must be void.
8760         (print): Throws PrinterException.
8761         
8762 2003-02-16  Tom Tromey  <tromey@redhat.com>
8763
8764         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8765         variable.
8766
8767 2003-02-15  Michael Koch  <konqueror@gmx.de>
8768
8769         * java/awt/datatransfer/DataFlavor.java
8770         (isRepresentationClassByteBuffer): Removed try-catch block.
8771         (isRepresentationClassCharBuffer): Removed try-catch block.
8772         (isRepresentationClassReader): Removed try-catch block.
8773
8774 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8775
8776         * java/nio/charset/Charset.java
8777         (isRegistered): Fixed method args and implementation.
8778         * java/nio/charset/CharsetEncoder.java
8779         (unmappableCharacterAction): New method.
8780
8781 2003-02-15  Michael Koch  <konqueror@gmx.de>
8782
8783         * java/awt/CheckboxMenuItem.java
8784         (CheckBoxMenuItem): Dont implement Serializable.
8785         (getListeners): New method,
8786         (getItemListeners): New method.
8787         * java/awt/Choice.java
8788         (getListeners): New method,
8789         (getItemListeners): New method.
8790         * java/awt/Container.java
8791         (getListeners): Added exception documentation.
8792         (setFocusTraversalKeys): Throw exceptions, added documentattion.
8793         (getFocusTraversalKeys): Added documentation.
8794         (areFocusTraversalKeysSet): Added documentation.
8795         (applyComponentOrientation): Added documentation.
8796         * java/awt/ContainerOrderFocusTraversalPolicy.java
8797         (implicitDownCycleTraversal): Renamed from downCycle for
8798         serialization.
8799         (ContainerOrderFocusTraversalPolicy): Added documentation.
8800         (accept): Reformated.
8801         * java/awt/Dialog.java
8802         (Dialog): Dont implement Serializable.
8803         (Dialog): Added documentation.
8804         * java/awt/Font.java
8805         (Font): Dont use absolute class name.
8806         * java/awt/Frame.java
8807         (Frame): Font implement Serializable.
8808         * java/awt/List.java
8809         (getListeners): New method,
8810         (getActionListeners): New method.       
8811         (getItemListeners): New method.
8812         * java/awt/Menu.java
8813         (countItems): New deprecated method.
8814         * java/awt/Scrollbar.java
8815         (getListeners): New method,
8816         (getAdjustmentListeners): New method,
8817         * java/awt/TextComponent.java
8818         (getListeners): New method,
8819         (getTextListeners): New method,
8820         * java/awt/TextField.java
8821         (getListeners): New method,
8822         (getActionListeners): New method.       
8823         * java/awt/Window.java
8824         (windowFocusListener): New member variable.
8825         (windowStateListener): New member variable.
8826         (getWindowFocusListeners): New method.
8827         (getWindowStateListeners): New method.
8828         (addWindowFocusListener): New method.
8829         (addWindowStateListener): New method.
8830         (removeWindowFocusListener): New method.
8831         (removeWindowStateListener): New method.
8832         * java/awt/datatransfer/DataFlavor.java
8833         (isRepresentationClassByteBuffer): New method.
8834         (isRepresentationClassCharBuffer): New method.
8835         (isRepresentationClassReader): New method.
8836
8837 2003-02-14  Mark Wielaard  <mark@klomp.org>
8838
8839         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8840         zero when there is an exponent and the significant is zero.
8841         (divide): Always set scale to newScale even in special ZERO case.
8842
8843 2003-02-14  Tom Tromey  <tromey@redhat.com>
8844
8845         * java/lang/System.java (properties): Use Properties.clone.
8846         (setProperties): Likewise.
8847
8848 2003-02-14  Michael Koch  <konqueror@gmx.de>
8849
8850         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8851         * gnu/java/nio/ServerSocketChannelImpl.java
8852         (SocketAccept): Removed.
8853         (accept): Commented out use of SocketAccept.
8854
8855 2003-02-13  Tom Tromey  <tromey@redhat.com>
8856
8857         * verify.cc (state::seen_subrs): New field.
8858         (state::state): Initialize it.
8859         (state::clean_subrs): New method.
8860         (state::~state): Call it.
8861         (state::copy): Copy subroutine list.
8862         (state::add_subr): New method.
8863         (state::merge): Only register a change if the current subroutine
8864         hasn't yet been noted.
8865
8866 2003-02-13  Mark Wielaard  <mark@klomp.org>
8867
8868         * java/io/InputStreamReader.java (getEncoding): Return null when
8869         closed.
8870         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8871
8872 2003-02-13  Mark Wielaard  <mark@klomp.org>
8873  
8874         * java/util/zip/InflaterInputStream.java (read): Return zero when len
8875         is zero.
8876
8877 2003-02-13  Mark Wielaard  <mark@klomp.org>
8878
8879         * java/io/BufferedOutputStream.java (write(int)): Only flush when
8880         next byte cannot be buffered.
8881
8882 2003-02-13  Michael Koch  <konqueror@gmx.de>
8883  
8884         * java/awt/Label.java
8885         (Label): Don't implement Serializable directly.
8886         (addNotify): Fixed typo in documentation.
8887         * java/awt/List.java
8888         (List): Don't implement Serializable directly.
8889         * java/awt/PopupMenu.java
8890         (PopupMenu): Don't implement Serializable directly.
8891         * java/awt/ScrollPane.java
8892         (ScrollPane): Don't implement Serializable directly.
8893         * java/awt/Scrollbar.java
8894         (Scrollbar): Don't implement Serializable directly.
8895         * java/awt/TextArea.java
8896         (preferredSize): Fixed method arguments.
8897         * java/awt/TextField.java
8898         (TextField): Don't implement Serializable directly.
8899         * java/awt/color/ICC_ColorSpace.java
8900         (fromCIOXYZ): Documentation added.
8901         (getMinValue): Documentation added.
8902         (getMaxValue): Documentation added.
8903         * java/awt/datatransfer/DataFlavor.java
8904         (isMimeTypeEqual): May not be final.
8905         (clone): Throws CloneNotSupportedException.
8906         (getReaderForText): Don't throws UnsupportedEncodingException.
8907
8908 2003-02-13  Michael Koch  <konqueror@gmx.de>
8909  
8910         * gnu/java/awt/peer/gtk/GdkGraphics.java
8911         (drawString): New stubbed method.
8912         * java/awt/Graphics.java
8913         (drawString): New method.
8914
8915 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
8916
8917         PR libgcj/9271:
8918         * java/security/SecureRandom.java (next): Avoid bias in results.
8919
8920 2003-02-13  Michael  <konqueror@gmx.de>
8921
8922         * gnu/java/nio/FileChannelImpl.java
8923         (lengthInternal): Must be native.
8924         (size): Check if channel is already closed.
8925         (implCloseChannel): Reformated.
8926         (read): w was unused, removed it.
8927         (read): Removed.
8928         (read): New method.
8929         (write): New method.
8930         (map): Check arguments.
8931         (force): Throws IOException, check if channel is closed.
8932         (transferTo): New method.
8933         (transferFrom): New method.
8934         (lock): New method.
8935         (tryLock): New method.
8936         (position): New method.
8937         (truncate): New method.
8938         (nio_mmap_file): Uncommented.
8939         (nio_munmap_file): Uncommented.
8940         (nio_msync): Uncommented.
8941         * gnu/java/nio/natFileChannelImpl.cc: New file.
8942         
8943 2003-02-13  Michael Koch  <konqueror@gmx.de>
8944
8945         * java/nio/ByteBuffer.java
8946         (endian): New member variable.
8947         (get): New methods.
8948         (equals): New method.
8949         (compareTo): New method.
8950         (order): New methods.
8951         (compact): New method.
8952         (isDirect): New method.
8953         (slice): New method.
8954         (duplicate): New method.
8955         (asReadOnlyBuffer): New method.
8956         (asCharBuffer): New method.
8957         (asDoubleBuffer): New method.
8958         (asFloatBuffer): New method.
8959         (asIntBuffer): New method.
8960         (asLongBuffer): New method.
8961         (asShortBuffer): New method.
8962         (get*): New methods.
8963         (put*): New methods.
8964         (toString): New method.
8965         * java/nio/CharBuffer.java
8966         (CharBuffer): Implement Comparable instead of Cloneable.
8967         (get): May not be final.
8968         (put): May not be final.
8969         
8970 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
8971
8972         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
8973         lastIndexOf( ) instead of indexOf( ) to find the colon before
8974         the line number, because Win32 file names might contain a 
8975         drive letter and a colon at the start of an absolute path.
8976
8977 2003-02-13  Michael Koch  <konqueror@gmx.de>
8978
8979         * gnu/java/nio/natSocketChannelImpl.cc
8980         (SocketConnect): This is not implemented yet.
8981         (SocketBind): This is not implemented yet.
8982
8983 2003-02-13  Michael Koch  <konqueror@gmx.de>
8984
8985         * gnu/java/nio/natByteBufferImpl.cc,
8986         gnu/java/nio/natCharBufferImpl.cc,
8987         gnu/java/nio/natDoubleBufferImpl.cc,
8988         gnu/java/nio/natFloatBufferImpl.cc,
8989         gnu/java/nio/natIntBufferImpl.cc,
8990         gnu/java/nio/natLongBufferImpl.cc,
8991         gnu/java/nio/natShortBufferImpl.cc:
8992         Added copyright and license.
8993         * java/nio/DoubleBuffer.java,
8994         java/nio/FloatBuffer.java,
8995         java/nio/IntBuffer.java,
8996         java/nio/LongBuffer.java,
8997         java/nio/ShortBuffer.java
8998         (array): Throw exceptions.
8999         (arrayOffset): Throw exceptions.
9000
9001 2003-02-13  Michael Koch  <konqueror@gmx.de>
9002  
9003         * gnu/java/util/prefs/FileBasedFactory.java,
9004         gnu/java/util/prefs/MemmoryBasedFactory.java,
9005         gnu/java/util/prefs/MemoryBasedPreferences.java,
9006         gnu/java/util/prefs/NodeReader.java,
9007         gnu/java/util/prefs/NodeWriter.java,
9008         java/util/prefs/AbstractPreferences.java,
9009         java/util/prefs/BackingStoreException.java,
9010         java/util/prefs/InvalidPreferencesFormatException.java,
9011         java/util/prefs/NodeChangeEvent.java,
9012         java/util/prefs/NodeChangeListener.java,
9013         java/util/prefs/PreferenceChangeEvent.java,
9014         java/util/prefs/PreferenceChangeListener.java,
9015         java/util/prefs/Preferences.java,
9016         java/util/prefs/PreferencesFactory.java:
9017         New files, all merged from classpath.
9018         * Makefile.am
9019         (ordinary_java_source_files): Added the following files:
9020         gnu/java/util/prefs/FileBasedFactory.java,
9021         gnu/java/util/prefs/MemmoryBasedFactory.java,
9022         gnu/java/util/prefs/MemoryBasedPreferences.java,
9023         gnu/java/util/prefs/NodeReader.java,
9024         gnu/java/util/prefs/NodeWriter.java,
9025         (core_java_source_files): Added the following files:
9026         java/util/prefs/AbstractPreferences.java,
9027         java/util/prefs/BackingStoreException.java,
9028         java/util/prefs/InvalidPreferencesFormatException.java,
9029         java/util/prefs/NodeChangeEvent.java,
9030         java/util/prefs/NodeChangeListener.java,
9031         java/util/prefs/PreferenceChangeEvent.java,
9032         java/util/prefs/PreferenceChangeListener.java,
9033         java/util/prefs/Preferences.java,
9034         java/util/prefs/PreferencesFactory.java
9035         * Makefile.in: Regenerated.
9036  
9037 2003-02-13  Michael Koch  <konqueror@gmx.de>
9038
9039         * java/net/NetPermission.java
9040         (NetPermission): Make doucmentation match the method declaration.
9041         * java/net/NetworkInterface.java
9042         (equals): Reformated for GNU coding style.
9043         * java/net/ServerSocket.java: Merged with classpath.
9044         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9045         * java/net/SocketImpl.java
9046         (localPort): Merged with classpath (initialize with -1).
9047         * java/net/SocketPermission.java: Merged with classpath (reindented).
9048         * java/net/URLDecoder.java: Merged with classpath (reindented).
9049
9050 2003-02-13  Michael Koch  <konqueror@gmx.de>
9051
9052         * java/awt/GridBagConstraints.java
9053         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9054         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9055         * java/awt/KeyboardFocusManager.java
9056         (setGlobalCurrentFocusCycleRoot): Must be public.
9057         * java/awt/MenuComponent.java
9058         (MenuComponent): Must be public.
9059         * java/awt/Toolkit.java:
9060         Added some empty lines to make documentation more readable.
9061         (getFontPeer): Added @deprecated.
9062         (getColorModel): Added exception documentation.
9063         (getProperty): Fixed documentation.
9064  
9065 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9066
9067         * configure.host (alpha*-*): Default to -mieee.
9068         * configure.in (IEEESPEC): New.
9069         * libgcj.spec.in (jc1): Add IEEESPEC.
9070         * configure: Rebuild.
9071
9072 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9073
9074         * include/win32.h: Include ws2tcpip.h instead of
9075         winsock.h to obtain definition of the socklen_t type.
9076         Remove IP_TOS definition - not needed with ws2tcpip.h
9077         (_Jv_connect): Correct slight formatting error.
9078
9079 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9080
9081         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9082         size of the arguments for a JNI function. For Win32,
9083         modify to search for all forms of possible exported
9084         names of an stdcall JNI function.
9085         (_Jv_JNIMethod::call): Modify to calculate the size
9086         of the arguments passed to a JNI function and pass
9087         it to _Jv_LookupJNIMethod.
9088
9089 2003-02-12  Michael Koch  <konqueror@gmx.de>
9090
9091         * java/nio/channels/Channels.java: New file.
9092         * Makefile.am
9093         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9094         * Makefile.in: Regenerated.
9095
9096 2003-02-12  Michael Koch  <konqueror@gmx.de>
9097
9098         * java/nio/ByteBuffer.java
9099         (allocate): Implemented.
9100         (wrap): Implemented.
9101         * java/nio/CharBuffer.java:
9102         Some documentation added and reworked.
9103         (endian): Removed.
9104         (allocate): Implemented.
9105         (wrap): Implemented.
9106         (array): Throw exceptions.
9107         (arrayOffset): Throw exceptions.
9108         (toString): Implemented.
9109         (length): Implemented.
9110         (put): Implemented.
9111         (charAt): Implemented.
9112
9113 2003-02-11  John Leuner  <jewel@debian.org>
9114
9115         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9116         reads from end of file.
9117
9118 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9119
9120         * java/io/natFileDescriptorWin32.cc 
9121         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9122         returns with Win32 error code ERROR_BROKEN_PIPE.
9123
9124 2003-02-11  Michael Koch  <konqueror@gmx.de>
9125
9126         * Makefile.in
9127         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9128
9129 2003-02-11  Michael Koch  <konqueror@gmx.de>
9130
9131         * gnu/java/nio/ByteBufferImpl.java:
9132         Reformated and removed some code.
9133         (backing_buffer): Removed.      
9134         (array_offset): Removed.
9135         (ro): Renamed to readOnly.
9136         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9137         * gnu/java/nio/CharBufferImpl.java:
9138         Reformated and removed some code.
9139         (array_offset): Removed.
9140         (ro): Renamed to readOnly.
9141         (CharBufferImpl): Use parent constructor, initialize readOnly.
9142         (inc_pos): Removed.
9143         (order): New method.
9144         * gnu/java/nio/DoubleBufferImpl.java:
9145         Reformated and removed some code.
9146         (array_offset): Removed.
9147         (ro): Renamed to readOnly.
9148         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9149         (inc_pos): Removed.
9150         (order): New method.
9151         * gnu/java/nio/FloatBufferImpl.java:
9152         Reformated and removed some code.
9153         (array_offset): Removed.
9154         (ro): Renamed to readOnly.
9155         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9156         (inc_pos): Removed.
9157         (order): New method.
9158         * gnu/java/nio/IntBufferImpl.java:
9159         Reformated and removed some code.
9160         (array_offset): Removed.
9161         (ro): Renamed to readOnly.
9162         (IntBufferImpl): Use parent constructor, initialize readOnly.
9163         (inc_pos): Removed.
9164         (order): New method.
9165         * gnu/java/nio/LongBufferImpl.java:
9166         Reformated and removed some code.
9167         (array_offset): Removed.
9168         (ro): Renamed to readOnly.
9169         (LongBufferImpl): Use parent constructor, initialize readOnly.
9170         (inc_pos): Removed.
9171         (order): New method.
9172         * gnu/java/nio/ShortBufferImpl.java:
9173         Reformated and removed some code.
9174         (array_offset): Removed.
9175         (ro): Renamed to readOnly.
9176         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9177         (inc_pos): Removed.
9178         (order): New method.
9179         * Makefile.am
9180         (ordinary_java_source_files): Added the following files:
9181         gnu/java/nio/ByteBufferImpl.java
9182         gnu/java/nio/CharBufferImpl.java
9183         gnu/java/nio/DoubleBufferImpl.java
9184         gnu/java/nio/FloatBufferImpl.java
9185         gnu/java/nio/IntBufferImpl.java
9186         gnu/java/nio/LongBufferImpl.java
9187         gnu/java/nio/ShortBufferImpl.java
9188         java/nio/DoubleBuffer.java
9189         java/nio/FloatBuffer.java
9190         java/nio/IntBuffer.java
9191         java/nio/LongBuffer.java
9192         java/nio/ShortBuffer.java
9193         (nat_source_files): Added the following files:
9194         gnu/java/nio/natByteBufferImpl.cc
9195         gnu/java/nio/natCharBufferImpl.cc
9196         gnu/java/nio/natDoubleBufferImpl.cc
9197         gnu/java/nio/natFloatBufferImpl.cc
9198         gnu/java/nio/natIntBufferImpl.cc
9199         gnu/java/nio/natLongBufferImpl.cc
9200         gnu/java/nio/natShortBufferImpl.cc
9201         * Makefile.in: Regenerated.
9202
9203 2003-02-11  Michael Koch  <konqueror@gmx.de>
9204
9205         * gnu/java/nio/natCharBufferImpl.cc
9206         (nio_cast): Removed.
9207         (nio_put_*): Removed.
9208         (nio_get_*): Removed.
9209         * gnu/java/nio/natDoubleBufferImpl.cc
9210         (nio_cast): Removed.
9211         (nio_put_*): Removed.
9212         (nio_get_*): Removed.
9213         * gnu/java/nio/natFloatBufferImpl.cc
9214         (nio_cast): Removed.
9215         (nio_put_*): Removed.
9216         (nio_get_*): Removed.
9217         * gnu/java/nio/natIntBufferImpl.cc
9218         (nio_cast): Removed.
9219         (nio_put_*): Removed.
9220         (nio_get_*): Removed.
9221         * gnu/java/nio/natLongBufferImpl.cc
9222         (nio_cast): Removed.
9223         (nio_put_*): Removed.
9224         (nio_get_*): Removed.
9225         * gnu/java/nio/natShortBufferImpl.cc
9226         (nio_cast): Removed.
9227         (nio_put_*): Removed.
9228         (nio_get_*): Removed.
9229         * gnu/java/nio/SelectorProviderImpl.java
9230         (openDatagramChannel): Throws IOException.
9231         (openPipe): Throws IOException.
9232         (openSelector): Throws IOException.
9233         (openServerSocketChannel): Throws IOException.
9234         (openSocketChannel): Throws IOException.
9235         * gnu/java/nio/ServerSocketChannelImpl.java
9236         (ServerSocketChannelImpl): Throws IOException.
9237         (implCloseSelectableChannel): Throws IOException.
9238         (implConfigureBlocking): Throws IOException.
9239         * java/nio/ByteBuffer.java
9240         (readOnly): Removed.
9241         (hasArray): Use isReadOnly() instead of readOnly.
9242         (array): Use isReadOnly() instead of readOnly.
9243         (arrayOffset): Use isReadOnly() instead of readOnly.
9244         * java/nio/CharBuffer.java
9245         (CharBuffer): Implements Cloneable and CharSequence.
9246
9247 2003-02-11  Michael Koch  <konqueror@gmx.de>
9248
9249         * java/nio/DoubleBuffer.java
9250         (DoubleBuffer): Implements Comparable.
9251         (endian): Removed.
9252         (array_offset): New member variable.
9253         (DoubleBuffer): New constuctor.
9254         (get): May not be final.
9255         (put): May not be final.
9256         (arrayOffset): Implemented.
9257         (order): Made abstract.
9258         (order): Removed.
9259         (as*Buffer): Removed.
9260         (get*): Removed.
9261         (put*): Removed.
9262         * java/nio/FloatBuffer.java
9263         (FloatBuffer): Implements Comparable.
9264         (endian): Removed.
9265         (array_offset): New member variable.
9266         (FloatBuffer): New constuctor.
9267         (get): May not be final.
9268         (put): May not be final.
9269         (arrayOffset): Implemented.
9270         (order): Made abstract.
9271         (order): Removed.
9272         (as*Buffer): Removed.
9273         (get*): Removed.
9274         (put*): Removed.
9275         * java/nio/IntBuffer.java
9276         (IntBuffer): Implements Comparable.
9277         (endian): Removed.
9278         (array_offset): New member variable.
9279         (IntBuffer): New constuctor.
9280         (get): May not be final.
9281         (put): May not be final.
9282         (arrayOffset): Implemented.
9283         (order): Made abstract.
9284         (order): Removed.
9285         (as*Buffer): Removed.
9286         (get*): Removed.
9287         (put*): Removed.
9288         * java/nio/LongBuffer.java
9289         (LongBuffer): Implements Comparable.
9290         (endian): Removed.
9291         (array_offset): New member variable.
9292         (LongBuffer): New constuctor.
9293         (get): May not be final.
9294         (put): May not be final.
9295         (arrayOffset): Implemented.
9296         (order): Made abstract.
9297         (order): Removed.
9298         (as*Buffer): Removed.
9299         (get*): Removed.
9300         (put*): Removed.
9301         * java/nio/ShortBuffer.java
9302         (ShortBuffer): Implements Comparable.
9303         (endian): Removed.
9304         (array_offset): New member variable.
9305         (ShortBuffer): New constuctor.
9306         (get): May not be final.
9307         (put): May not be final.
9308         (arrayOffset): Implemented.
9309         (order): Made abstract.
9310         (order): Removed.
9311         (as*Buffer): Removed.
9312         (get*): Removed.
9313         (put*): Removed.
9314
9315 2003-02-11   Michael Koch  <konqueror@gmx.de>
9316
9317         * java/nio/channels/SelectionKey.java
9318         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9319         values.
9320
9321 2003-02-11  Michael Koch  <konqueror@gmx.de>
9322
9323         * java/nio/channels/DatagramChannel.java
9324         (write): Throws IOException.
9325         (connect): Throws IOException.
9326         (disconnect): Throws IOException.
9327         (read): Throws IOException.
9328         (receive): Throws IOException.
9329         (send): Throws IOException.
9330         * java/nio/channels/Pipe.java
9331         (open): Throws IOException.
9332         * java/nio/channels/SelectableChannel.java
9333         (configureBlocking): Throws IOException.
9334         * java/nio/channels/ServerSocketChannel.java
9335         (accept): Throws IOException.
9336         * java/nio/channels/SocketChannel.java
9337         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9338         GatheringByteChannel.
9339         (read): Throws IOException.
9340         (write): Throws IOException.
9341         (finishConnect): Throws IOException.
9342         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9343         (end): Throws AsynchronousCloseException.
9344         * java/nio/channels/spi/AbstractSelectableChannel.java
9345         (configureBlocking): Throws IOException.
9346         (implCloseChannel): Throws IOException.
9347         (implCloseSelectableChannel): Throws IOException.
9348         (implConfigureBlocking): Throws IOException.
9349         * java/nio/channels/spi/SelectorProvider.java
9350         (openDatagramChannel): Throws IOException.
9351         (openPipe): Throws IOException.
9352         (openSelector): Throws IOException.
9353         (openServerSocketChannel): Throws IOException.
9354         (openSocketChannel): Throws IOException.
9355
9356 2003-02-11  Michael Koch  <konqueror@gmx.de>
9357
9358         * gnu/java/nio/FileLockImpl.java,
9359         java/nio/channels/FileLock.java: New files.
9360
9361 2003-02-11  Michael Koch  <konqueror@gmx.de>
9362
9363         * java/nio/charset/IllegalCharsetNameException.java
9364         (serialVersionUID): New member variable.
9365         (charsetName): New member variable.
9366         (IllegalCharsetException): New implementation.
9367         (getCharsetName): New implementation.
9368         * java/nio/charset/UnsupportedCharsetException.java
9369         (serialVersionUID): New member variable.
9370         (charsetName): New member variable.
9371         (UnsupportedCharsetException): New implementation.
9372         (getCharsetName): New implementation.
9373
9374 2003-02-10  Tom Tromey  <tromey@redhat.com>
9375
9376         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9377         (ex): Renamed from sqlException.
9378
9379 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9380
9381         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9382         method used to ensure seeding has occurred and that a specific 
9383         seed can be set and used.
9384
9385 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9386
9387         * java/lang/Win32Process.java (destroy): Declare as native.
9388         (hasExited): New native method.
9389         (exitValue): Define.
9390         (getErrorStream): Likewise.
9391         (getInputStream): Likewise.
9392         (getOutputStream): Likewise.
9393         (waitFor): Declare as native.
9394         (startProcess): New native method.
9395         (cleanup): Likewise.
9396         (ConcreteProcess): Define.
9397         (outputStream, inputStream, errorStream): New members.
9398         (procHandle, exitCode): Likewise.
9399
9400         * java/lang/natWin32Process.cc
9401         (java::lang::ConcreteProcess::cleanup): Define.
9402         (java::lang::ConcreteProcess::destroy): Likewise.
9403         (java::lang::ConcreteProcess::hasExited): Likewise.
9404         (java::lang::ConcreteProcess::waitFor): Likewise.
9405         (new_string): Likewise.
9406         (java::lang::ConcreteProcess::startProcess): Likewise.
9407
9408 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9409
9410         * java/math/BigInteger.java:
9411         Updated notice to include years 2002 and 3.
9412         Added 2 private (int) arrays with values from the HAC (Handbook of
9413         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9414         and t[] that contains nbr. of tests --used in isProbablePrime().
9415
9416         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9417
9418         * java/math/BigInteger.java (make(int[],int), add(int,int),
9419         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9420         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9421         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9422         make(long).
9423
9424         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9425         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9426         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9427         BIs and returns void.
9428         (modInverse(BI)): Use new signatures of euclidInv().
9429
9430         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9431         static small primes instead of remainder().
9432         Use pre-computed max nbr of trials based on bitlength of BI to test.
9433         Use pre-computed small primes for the trial tests instead of random
9434         numbers.
9435
9436         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9437         not used.
9438
9439         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9440         invoacation of MPN.chars_per_word().  not used.
9441
9442         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9443         local var and used where needed.
9444
9445         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9446         Combined declaration with initialisation of locals.
9447         Removed unused var.
9448
9449         * java/math/BigInteger.java: Style changes
9450         (pow(int)): Removed 'else' keyword.
9451         (toString(int)): idem.
9452         (doubleValue()): idem.
9453         (bitLength()): idem.
9454         (equals(Object)): Use static methods name in same class w/o prepending
9455         class name.
9456         (doubleValue()): idem.
9457         (setNegative(BI)): idem.
9458         (negate()): idem.
9459         (and(BI,int)): idem.
9460         (and(BI)): idem.
9461         (gcd(BI)): idem.
9462         (byteArrayToIntArray()): Removed casting to (int). this is
9463         std. behaviour.
9464         (canonicalize()): idem.
9465         (alloc(int)): Always instantiate a new BI.
9466
9467 2003-02-10  Tom Tromey  <tromey@redhat.com>
9468
9469         * java/sql/Timestamp.java (compareTo(Object)): New method.
9470         (compareTo(Timestamp)): Likewise.
9471         (serialVersionUID): Updated.
9472
9473 2003-02-07  Mark Wielaard  <mark@klomp.org>
9474
9475         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9476         when verify is true.
9477         (JarFile(File, boolean)): Likewise.
9478         (manifestRead): Set manifestRead field correctly.
9479
9480 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9481
9482         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9483         tests; see patch #1016 on Savannah.
9484
9485 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9486
9487         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9488         (toString): do not return Strings starting with . and - erroneously.
9489         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9490         DiagBigDecimal.
9491
9492 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9493
9494         * java/beans/PropertyDescriptor.java
9495         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9496         methods.
9497         (PropertyDescriptor(String, Class, String, String)): Likewise.
9498         (PropertyDescriptor(String, Method, Method): Factor out getter and
9499         setter method sanity checks into new method.
9500         (findMethods): Don't do parameter sanity checking of get method here.
9501         (checkMethods): New method.
9502
9503 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9504
9505         * java/beans/PropertyDescriptor.java: Reformat.
9506
9507 2003-02-04  Tom Tromey  <tromey@redhat.com>
9508
9509         * java/io/PipedOutputStream.java (flush): Declare as throwing
9510         IOException.
9511         (close): Likewise.
9512         * java/io/PipedWriter.java (close): Declare as throwing
9513         IOException.
9514         * java/io/StringWriter.java (close): Declare as throwing
9515         IOException.
9516
9517 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9518
9519         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9520         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9521         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9522         "_JNI_OnLoad@8" (MSVC).
9523
9524 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9525
9526         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9527         convention on Win32 to invoke native JNI methods.
9528
9529 2003-02-03  Andrew Haley  <aph@redhat.com>
9530
9531         * configure.host (x86_64): Enable interpreter.
9532
9533 2003-02-03  Andrew Haley  <aph@redhat.com>
9534
9535         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9536         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9537         * configure.in (BACKTRACESPEC): New.
9538         * configure: Regenerate.
9539
9540 2003-02-02  Tom Tromey  <tromey@redhat.com>
9541
9542         * configure: Rebuilt.
9543         * configure.in (TOOLKIT) [xlib]: Set correctly.
9544
9545         * Makefile.in: Rebuilt.
9546         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9547         libstdc++.
9548
9549 2003-01-31  Mark WIelaard  <mark@klomp.org>
9550
9551         * Makefile.in: Rebuilt.
9552         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9553
9554 2003-01-31  Tom Tromey  <tromey@redhat.com>
9555
9556         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9557         cast to element type.
9558         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9559         (_Jv_JNI_GetObjectArrayElement): Likewise.
9560
9561         * Makefile.in: Rebuilt.
9562         * Makefile.am (cond_x_ltlibrary): Renamed library to
9563         lib-gnu-awt-xlib.la.
9564         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9565         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9566         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9567         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9568         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9569         (lib_gnu_awt_xlib_la_LINK): Likewise.
9570         (install-exec-hook): Removed.
9571         (lib-gnu-awt-xlib.la): Renamed.
9572
9573 2003-01-31  Tom Tromey  <tromey@redhat.com>
9574
9575         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9576         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9577         aclocal.m4 and lost in some merge.
9578
9579         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9580         Don't try to find graphics configuration.
9581         * java/awt/Toolkit.java (default_toolkit_name): Use new
9582         Configuration entry.
9583         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9584         New global.
9585         * configure: Rebuilt.
9586         * configure.in (TOOLKIT): New subst.
9587         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9588         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9589         directory.  Make output directories for .c files.
9590         * Makefile.in: Rebuilt.
9591         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9592         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9593         (all_java_source_files): Added new sources.
9594         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9595         (gtk_c_files): New macro.
9596         (gtk_c_source_files): New macro.
9597         (cond_gtk_ltlibrary): New macro.
9598         ($(gtk_c_files)): New target.
9599         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9600         (gtk_awt_peer_sources): New macro.
9601         (gtk_c_headers): New macro.
9602         ($(gtk_c_headers)): New target.
9603         (ACLOCAL_AMFLAGS): New macro.
9604         * gtk.m4, glib.m4, libart.m4: New files.
9605         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9606         gnu/java/awt/peer/gtk/GdkGraphics.java,
9607         gnu/java/awt/peer/gtk/GtkArg.java,
9608         gnu/java/awt/peer/gtk/GtkArgList.java,
9609         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9610         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9611         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9612         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9613         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9614         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9615         gnu/java/awt/peer/gtk/GtkClipboard.java,
9616         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9617         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9618         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9619         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9620         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9621         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9622         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9623         gnu/java/awt/peer/gtk/GtkImage.java,
9624         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9625         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9626         gnu/java/awt/peer/gtk/GtkListPeer.java,
9627         gnu/java/awt/peer/gtk/GtkMainThread.java,
9628         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9629         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9630         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9631         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9632         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9633         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9634         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9635         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9636         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9637         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9638         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9639         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9640         gnu/java/awt/peer/gtk/GtkToolkit.java,
9641         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9642         gnu/java/awt/peer/gtk/TestAWT.java,
9643         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9644         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9645         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9647         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9648         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9649         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9650         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9652         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9653         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9661         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9665         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9669         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9670         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9671         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9672         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9673         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9674         jni/classpath/native_state.c, jni/classpath/native_state.h,
9675         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9676
9677 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9678
9679         * java/util/Properties.java (load): Ignore backslash before EOF.
9680
9681 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9682
9683         * java/lang/natClass.cc (initializeClass): Check tables when
9684         (state == JV_STATE_IN_PROGRESS).
9685         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9686         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9687         interpreted classes.
9688         (linkClass0): Use _Jv_WaitForState.
9689
9690 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9691
9692         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9693         object when finished.
9694
9695 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9696
9697         * libjava/configure.host: Disable can_unwind_signal on darwin.
9698
9699 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9700
9701         Fixes PR java/9254:
9702         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9703         additionally containing id of the owner thread as well as
9704         the number of nested times the thread has acquired the mutex.
9705         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9706         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9707         (_Jv_MutexUnlock): Check if really the owner thread, reset
9708         owner thread id to 0 before leaving, if leaving for the last
9709         time.
9710         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9711         refcount.
9712         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9713         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9714         the passed mutex.
9715         Pass handle of the broadcast event, instead of a pointer to it
9716         in Win32 ResetEvent( ) call.
9717         Remove incorrect return values.
9718         (_Jv_CondDestroy): Close both event handles and delete
9719         critical section.
9720         (_Jv_CondNotify): Check if really the owner thread.
9721         (_Jv_CondNotifyAll): Check if really the owner thread.
9722         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9723         (really_start): Use SetEvent( ) to signal daemon_cond.
9724         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9725         WaitForSingleObject( ) instead to wait for daemon_cond to be
9726         signalled.
9727
9728 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
9729
9730         * configure.in: Specifically define HAVE_BACKTRACE if building
9731         for MinGW.
9732         * include/win32.h: Remove HAVE_BACKTRACE definition.
9733         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9734         * configure: Rebuilt.
9735
9736 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
9737
9738         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9739         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
9740         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9741         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9742         * Makefile.in, configure: Rebuilt.
9743
9744 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
9745
9746         Fixes PR java/9253:
9747         * java/io/natFileWin32.cc (performList): Append only "*.*"
9748         if the canonical file path already has a "\" at the end.
9749
9750 2003-01-24  Tom Tromey  <tromey@redhat.com>
9751
9752         * defineclass.cc (handleMethodsEnd): Precompute code for static
9753         method.
9754         (handleCodeAttribute): Likewise.
9755         * resolve.cc (ncode): Use run_class for unsynchronized static
9756         methods.
9757         * include/java-interp.h (class _Jv_InterpMethod): Declare
9758         run_class.
9759         * interpret.cc (run_synch_class): Initialize class.
9760         (run) [insn_invokestatic]: Don't initialize class.
9761         [insn_anewarray]: Likewise.
9762         [insn_multianewarray]: Likewise.
9763         (run_class): New function.
9764
9765 2003-01-24  Tom Tromey  <tromey@redhat.com>
9766
9767         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9768         comment.
9769
9770 2003-01-22  Andrew Haley  <aph@redhat.com>
9771
9772         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9773         * configure.host (CHECKREFSPEC): Define for x86_64.
9774
9775 2003-01-21  Tom Tromey  <tromey@redhat.com>
9776
9777         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9778         search at 2, not 3.
9779
9780 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
9781
9782         * java/io/natFileWin32.cc (isAbsolute): Check path length before
9783         looking at any characters.
9784         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9785         be used.
9786         (isAbsolute): Check path's length as well.
9787
9788 2003-01-17  Mark Wielaard  <mark@klomp.org>
9789
9790         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9791         (nat_source_files): Add natVMObjectStreamClass.cc.
9792         * Makefile.in: Regenerated.
9793         * gcj/javaprims.h (namespace java): Regenerated.
9794         * java/io/ObjectStreamClass.java (getClassUID): Call
9795         VMObjectStreamClass.hasClassInitializer().
9796         (hasClassInitializer): Removed.
9797         * java/io/VMObjectStreamClass.java: New class.
9798         * java/io/natVMObjectStreamClass.cc: New file.
9799         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9800
9801 2003-01-16  Mark Wielaard  <mark@klomp.org>
9802
9803         * java/net/SocketImpl.java (toString): Don't explicitly call
9804         toString() on possible null address.
9805
9806 2003-01-16  Michael Koch  <konqueror@gmx.de>
9807
9808         * java/net/MulticastSocket.java
9809         (setInterface): Reindented.
9810
9811 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9812
9813         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9814         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9815         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9816         translateY arguments.  Implement.
9817         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9818         down translation arguments.
9819         (drawPolyline, drawPolygon): Fix incorrect tests.
9820         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9821         translateX and translateY arguments.
9822
9823 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9824
9825         * Makefile.in: Rebuilt.
9826         * Makefile.am (xlib_includes): New macro.
9827         (INCLUDES): Use it.
9828
9829 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9830
9831         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9832         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9833         16-bit display mode.
9834
9835 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9836
9837         * java/awt/CardLayout.java (show): Rewrote.
9838         (gotoComponent): Removed `target' argument.  Simplified code.
9839         Don't pre-compute `choice' unless `what' is FIRST or LAST.
9840         Changed all callers.
9841         (NONE): Removed.
9842         
9843 2003-01-14  Michael Koch  <konqueror@gmx.de>
9844
9845         * java/net/InetSocketAddress.java
9846         (serialVersionUID): New member variable.
9847         * java/net/NetPermission.java
9848         (NetPermission): Dont implement java.io.Serialization directly.
9849         * java/net/SocketAddress.java:
9850         (serialVersionUID): Documentation added.
9851         
9852 2003-01-14  Michael Koch  <konqueror@gmx.de>
9853
9854         * java/awt/Label.java
9855         (Label): Implements javax.accessibility.Accessible;
9856         * java/awt/List.java
9857         (List): Implements javax.accessibility.Accessible;
9858         * java/awt/ScrollPane.java
9859         (ScrollPane): Implements javax.accessibility.Accessible;
9860         * java/awt/Scrollbar.java
9861         (Scrollbar): Implements javax.accessibility.Accessible;
9862         * java/awt/TextComponent.java
9863         (setCaretPosition): Throw exception, documentation added.
9864         * java/awt/Toolkit.java:
9865         Added some newlines in method documentations.
9866         (createButton): Exception documentation added.
9867         (createTextField): Exception documentation added.
9868         (createLabel): Exception documentation added.
9869         (createList): Exception documentation added.
9870         (createCheckbox): Exception documentation added.
9871         (createScrollbar): Exception documentation added.
9872         (createScrollPane): Exception documentation added.
9873         (createTextArea): Exception documentation added.
9874         (createChoice): Exception documentation added.
9875         (createFrame): Exception documentation added.
9876         (createWindow): Exception documentation added.
9877         (createDialog): Exception documentation added.
9878         (createMenuBar): Exception documentation added.
9879         (createMenu): Exception documentation added.
9880         (createMenuItem): Exception documentation added.
9881         (createFileDialog): Exception documentation added.
9882         (createCheckboxMenuItem): Exception documentation added.
9883         (loadSystemColors): Exception documentation added.
9884         (setDynamicLayout): Exception documentation added.
9885         (isDynamicLayoutSet): Exception documentation added.
9886         (isDynamicLayoutActive): Exception documentation added.
9887         (getScreenSize): Exception documentation added.
9888         (getScreenResolution): Exception documentation added.
9889         (getScreenInsets): Exception documentation added.
9890         (getColorModel): Exception documentation added.
9891         (getSystemClipboard): Exception documentation added.
9892         (getSystemSelection): Exception documentation added.
9893         (getMenuShortcutKeyMask): Exception documentation added.
9894         (getSystemEventQueue): Exception documentation added.
9895         * java/awt/Window.java:
9896         Reindented some code.
9897         (Window): Centralized implementation, documentation added.
9898         (finalize): Documentation added.
9899         (hide): Fixed typo in comment.
9900         (getWindowListeners): Documentation added.
9901         * java/awt/color/ColorSpace.java
9902         (toRGB): Documentation added.
9903         * java/awt/color/ICC_ColorSpace.java
9904         (ICC_ColorSpace): Documentation added.
9905         (toRGB): Throw exception, documentation added.
9906         (fromRGB): Throw exception, documentation added.
9907         (toCIEXYZ): Documentation added.
9908         (fromCIEXYZ): Documentation added.
9909         (getMinValue): Documentation added.
9910         (getMaxValue): Documentation added.
9911         * java/awt/geom/Dimension2D.java
9912         (clone): Documentation added.
9913         * java/awt/geom/GeneralPath.java
9914         (clone): Documentation added.
9915         * java/awt/geom/Line2D.java
9916         (clone): Documentation added.
9917         * java/awt/geom/QuadCurve2D.java
9918         (clone): Documentation added.
9919         * java/awt/image/ColorModel.java
9920         (ColorModel): Throw exception, documentation added.
9921         * java/awt/image/ImageFilter.java
9922         (clone): Doesnt throw CloneNotSupportedException.
9923
9924 2003-01-14  Andrew Haley  <aph@redhat.com>
9925
9926         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9927         in a try block.
9928
9929 2003-01-10  Andrew Haley  <aph@redhat.com>
9930
9931         * include/dwarf2-signal.h: Remove x86_64.
9932         * configure.host (x86_64 DIVIDESPEC): Remove.
9933         * include/x86_64-signal.h: New file.
9934         * configure.in: Regenerate.
9935
9936 2003-01-10  Michael Koch  <konqueror@gmx.de>
9937
9938         * java/net/DatagramSocket.java
9939         (ch): Description added.
9940         (remotePort): Initialize with -1.
9941         (connect): Doesnt throws SocketException.
9942         * java/net/MulticastSocket.java
9943         (setInterface): Merge with Classpath.
9944         * java/net/ServerSocket.java
9945         (closed): New member variable.
9946         (bind): Check if socket is closed.
9947         (close): Close an associated channel too, set new value to closed.
9948         (isBound): Reindented.
9949         (isClosed): Implemented.
9950         * java/net/Socket.java
9951         (closed): New member variable.
9952         (bind): Check if socket is closed.
9953         (connect): Check if socket is closed.
9954         (close): Close an associated channel too, set new value to closed.
9955         (isClosed): Implemented.
9956
9957 2003-01-10  Michael Koch  <konqueror@gmx.de>
9958
9959         * java/awt/DisplayMode.java
9960         (equals): Fixed argument type and implementation.
9961
9962 2003-01-07  Tom Tromey  <tromey@redhat.com>
9963
9964         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9965         JV_HASH_SYNCHRONIZATION.
9966         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9967         JV_HASH_SYNCHRONIZATION.
9968
9969 2003-01-07  Michael Koch  <konqueror@gmx.de>
9970  
9971         * java/net/DatagramSocket.java:
9972         Added classpath license info.
9973         (DatagramSocket): Merged description with classpath.
9974         (close): Merged description with classpath.
9975         (getChannel): Merged description with classpath.
9976         (getInetAddress): Merged description with classpath.
9977         (getPort): Merged description with classpath.
9978         (getLocalAddress): Merged description with classpath.
9979         (getLocalPort): Merged description with classpath.
9980         (getSoTimeout): Merged description with classpath.
9981         (setSoTimeout): Merged description with classpath.
9982         (getSendBufferSize): Merged description with classpath.
9983         (setSendBufferSize): Merged description with classpath.
9984         (getReceiveBufferSize): Merged description with classpath.
9985         (setReceiveBufferSize): Merged description with classpath.
9986         
9987 2003-01-04  Tom Tromey  <tromey@redhat.com>
9988
9989         * java/awt/List.java: Merged with Classpath.
9990
9991 2003-01-03  Mark Wielaard  <mark@klomp.org>
9992
9993         * java/io/FileDescriptor.java (position): New private field.
9994         * java/io/natFileDescriptorPosix.cc (write): Up position.
9995         (setLength): Use and set position.
9996         (seek): Set position.
9997         (getFilePointer): Return position.
9998         (read): Up position.
9999
10000 2003-01-03  Mark Wielaard  <mark@klomp.org>
10001
10002         Merge with Classpath:
10003         * java/io/ObjectStreamClass.java (lookup): Split method and call
10004         lookupForClassObject().
10005         (lookupForClassObject): New method.
10006         (isProxyClass): New field.
10007         (setClass): Set isProxyClass, add object to classLookupTable, set
10008         superClass and calculateOffsets.
10009         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10010         and not a proxy class.
10011         (setFields): Set accessible true for serialPersistentFields.
10012         (getClassUID): Same for suid. And check if suid is of type long.
10013         (hasClassInitializer): Don't throw NoSuchMethodError.
10014
10015 2003-01-03  Mark Wielaard  <mark@klomp.org>
10016
10017         * java/io/FileInputStream.java (finalize): Don't explicitly
10018         finalize FileDescriptor.
10019
10020 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10021
10022         * configure.host (sparc*-*): Enable bytecode interpreter.
10023
10024 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10025
10026         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10027         Don't throw RemoteException.
10028         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10029         throw RemoteException.
10030
10031 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10032
10033         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10034         proxyHost): New static fields.
10035         (<clinit>): Initialize new fields.
10036         (connect): Use proxy if necessary.
10037         (usingProxy): Implement.
10038
10039 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10040
10041         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10042         (TreeIterator.remove): Prefer IllegalStateException over
10043         ConcurrentModificationException, to match Sun.
10044
10045 2002-12-22  Anthony Green  <green@redhat.com>
10046
10047         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10048
10049 2003-01-02  Mark Wielaard  <mark@klomp.org>
10050
10051         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10052         public.
10053         (HTTP_USE_PROXY): Add field.
10054         (getResponseVals): Only set responseCode when not yet explicitly
10055         set by subclass.
10056
10057 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10058             Mark Wielaard  <mark@klomp.org>
10059
10060         * java/util/zip/ZipFile.java (entries): Now HashMap.
10061         (readLeShort(DataInput, byte[])): Read from given byte array.
10062         (readLeInt(DataInput, byte[]): Likewise.
10063         (readLeShort(byte[] b, int off)): New method.
10064         (readLeInt(byte[] b, int off)): Likewise.
10065         (readEntries): Use byte arrays to read info in bigger chunks.
10066         (getEntries): Return HashMap.
10067         (getEntry): Use HashMap.
10068         (locBuf): New private field.
10069         (checkLocalHeader): Use locBuf to read info in one chunk.
10070         (getInputStream): Use entries HashMap, wrap PartialInputStream
10071         in BufferedInputStream.
10072         (ZipEntryEnumeration): Use HashMap and Interator.
10073
10074 2003-01-02  Mark Wielaard  <mark@klomp.org>
10075             Jeroen Frijters  <jeroen@sumatra.nl>
10076
10077         * java/net/URLClassLoader.java (Resource.getCodeSource):
10078         Fix check certs == null.
10079         (getCanonicalFileURL): Removed method.
10080         (JarURLLoader): Don't call removed method.
10081         (FileURLLoader): Likewise.
10082         (FileURLLoader.getResource): Don't canonicalize file name.
10083
10084 2003-01-01  Tom Tromey  <tromey@redhat.com>
10085
10086         * Makefile.in: Rebuilt.
10087         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10088         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10089         java/awt/BufferCapabilities.java, java/awt/Button.java,
10090         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10091         java/awt/Container.java, java/awt/Cursor.java,
10092         java/awt/EventQueue.java, java/awt/FileDialog.java,
10093         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10094         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10095         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10096         java/awt/Scrollbar.java, java/awt/TextArea.java,
10097         java/awt/TextField.java, java/awt/color/CMMException.java,
10098         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10099         java/awt/color/ProfileDataException.java,
10100         java/awt/datatransfer/Clipboard.java,
10101         java/awt/datatransfer/DataFlavor.java,
10102         java/awt/datatransfer/FlavorMap.java,
10103         java/awt/datatransfer/SystemFlavorMap.java,
10104         java/awt/dnd/DragGestureEvent.java,
10105         java/awt/dnd/DragGestureRecognizer.java,
10106         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10107         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10108         java/awt/im/InputMethodHighlight.java,
10109         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10110         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10111
10112         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10113         `op' to BufferedImageOp.
10114
10115 2002-12-31  Tom Tromey  <tromey@redhat.com>
10116
10117         Fix for PR libgcj/7416:
10118         * javax/naming/InitialContext.java (init): Use
10119         gnu.classpath.home.url.
10120         * java/security/Security.java: Use new properties.
10121         (loadProviders): Accept base url; use it.
10122         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10123         gnu.classpath.home.url.
10124         (gnu.classpath.home.url): Define.
10125         (gnu.classpath.vm.shortname): Likewise.
10126
10127 2002-12-31  Tom Tromey  <tromey@redhat.com>
10128             Ranjit Mathew  <rmathew@hotmail.com>
10129
10130         Fix for PR libgcj/8997:
10131         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10132         Include platform.h.
10133         * include/posix.h (_Jv_platform_usleep): New function.
10134         * include/win32.h (_Jv_platform_usleep): New function.
10135
10136 2002-12-29  Tom Tromey  <tromey@redhat.com>
10137
10138         * gcj/javaprims.h: Updated.
10139         * scripts/classes.pl (scan): Removed stray semicolon.
10140
10141 2002-12-30  Mark Wielaard  <mark@klomp.org>
10142
10143         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10144         if zero or smaller.
10145
10146 2002-12-30  Mark Wielaard  <mark@klomp.org>
10147
10148         * java/util/Properties (formatForOutput): Don't fall through to
10149         default case after escaping character.
10150
10151 2002-12-30  Mark Wielaard  <mark@klomp.org>
10152
10153         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10154         against count.
10155
10156 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10157
10158         * boehm.cc: Remove stray semicolon.
10159         * interpret.cc: Likewise.
10160         * prims.cc: Likewise.
10161         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10162         earlier to ensure default arguments are processed.
10163         * gcj/array.h (JArray): Add forward declaration.
10164         (elements): Likewise.
10165         * gcj/javaprim.h: Remove stray semicolons.
10166         * include/bohm-gc.h: Likewise.
10167         * include/jni.h: Likewise.
10168         * include/jvm.h: Likewise.
10169         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10170         
10171 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10172
10173         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10174         of catch_type.
10175         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10176         idt tables after initializing superclass.
10177         * java/lang/natClassLoader.cc (uaddr): New typedef.
10178         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10179         if they are constant pool indicies.  Don't link vtable, otable yet.
10180
10181 2002-12-21  Anthony Green  <green@redhat.com>
10182
10183         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10184         libraries.
10185         * Makefile.in: Rebuilt.
10186
10187 2002-12-19  Anthony Green  <green@redhat.com>
10188
10189         * Makefile.am (ordinary_java_source_files): Add
10190         org/xml/sax/helpers/NewInstance.java.
10191         * Makefile.in: Rebuilt.
10192         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10193         org/xml/sax/helpers/package.html: New files.
10194         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10195         http://www.saxproject.org.
10196
10197 2002-12-19  Andrew Haley  <aph@redhat.com>
10198
10199         * java/util/natResourceBundle.cc: Include
10200         ArrayIndexOutOfBoundsException.h.
10201         (getCallingClassLoader): Don't put upper bound on stack search.
10202         Catch ArrayIndexOutOfBoundsException.
10203
10204 2002-12-19  Tom Tromey  <tromey@redhat.com>
10205
10206         * libtool-version: Increased `current'.
10207
10208 2002-12-19  Tom Tromey  <tromey@redhat.com>
10209
10210         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10211         comment.
10212         * java/lang/ClassLoader.java (defineClass): Use chained
10213         exception when rethrowing.
10214         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10215         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10216         constants.
10217         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10218         (_Jv_PrepareClass): Use it.
10219         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10220         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10221         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10222         (Class): _Jv_PrepareMissingMethods now friend.
10223         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10224         Record `NULL' for system class loader.
10225         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10226         system class loader.
10227         (_Jv_FindClassInCache): Likewise.
10228         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10229         (_Jv_FindClass): Special case system class loader.
10230         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10231         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10232         vtable slots.
10233         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10234         in a final class.
10235         (_getDeclaredMethod): Don't return synthetic methods.
10236         (getDeclaredMethods): Likewise.
10237         (_getMethod): Likewise.
10238         (_getMethods): Likewise.
10239
10240 2002-12-18  Raif Naffah  <raif@fl.net.au>
10241
10242         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10243         canonical form after divide().
10244         (modInverse): Likewise.
10245
10246 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10247             Mark Wielaard  <mark@klomp.org>
10248
10249         * java/security/SecurityRandom (digest): Removed field.
10250         (SecureRandom): Check all providers for case-insensitive SecureRandom
10251         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10252         if necessary.
10253         (getInstance(String,Provider,boolean): New method.
10254         (getInstance(String)): Use new method.
10255         (getInstance(String,String)): Likewise.
10256         (getInstance(String,Provider)): Likewise.
10257
10258 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10259
10260         * java/security/Security.java (loadProviders): Increment i only once.
10261
10262 2002-12-12  Mark Wielaard  <mark@klomp.org>
10263
10264         * java/lang/ClassLoader.java (resolveClass0): Transform
10265         ClassNotFoundException to NoClassDefFoundError. Transform all other
10266         throwables to LinkageError.
10267
10268 2002-12-11  Tom Tromey  <tromey@redhat.com>
10269
10270         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10271
10272         * java/lang/ClassLoader.java (loadedClasses): New field.
10273         (defineClass): Fixed indentation.  Put new class in
10274         loadedClasses.
10275         (findLoadedClass): Implement here.
10276         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10277
10278 2002-12-10  Tom Tromey  <tromey@redhat.com>
10279
10280         * Makefile.in: Rebuilt.
10281         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10282         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10283         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10284         * java/lang/natClassLoader.cc
10285         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10286
10287 2002-12-10  Mark Wielaard  <mark@klomp.org>
10288             Tom Tromey  <tromey@redhat.com>
10289
10290         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10291         (JarURLLoader): Use it.
10292         (FileURLLoader): Likewise.
10293         (JarURLResource.getURL): Use chained exception.
10294         (FileResource.getURL): Likewise.
10295         (FileURLLoader.getResource): Use canonical file name.
10296         (addURL): Indentation fix.
10297
10298 2002-12-10  Tom Tromey  <tromey@redhat.com>
10299
10300         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10301         From Laurent Bardet <l.bardet@magic.fr>.
10302
10303 2002-12-09  Tom Tromey  <tromey@redhat.com>
10304
10305         * include/win32.h (_Jv_platform_solib_prefix): New define.
10306         (_Jv_platform_solib_suffix): Likewise.
10307         * include/posix.h (_Jv_platform_solib_prefix): New define.
10308         (_Jv_platform_solib_suffix): Likewise.
10309         * java/lang/natRuntime.cc: Include StackTrace.h.
10310         (_load): Use findLibrary and new platform defines.
10311         (nativeGetLibname): Use new platform defines.
10312
10313         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10314         `t' won't be null.
10315
10316 2002-12-08  Mark Wielaard  <mark@klomp.org>
10317
10318         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10319         cache remote jar files.
10320         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10321         add File.separator to URL when it is a directory.
10322         * java/lang/ClassLoader.java: Add Classpath javadoc.
10323         (parent): final.
10324         (getParent): Add (disabled) security check.
10325         (findLibrary): New default method.
10326         * java/net/JarURLConnection.java (getManifest): Implement.
10327         (getInputStream): Only create InputStream when entry exists.
10328         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10329         when they exist.
10330         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10331
10332 2002-12-08  Mark Wielaard  <mark@klomp.org>
10333
10334         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10335         (lastDefaultLocale): New field.
10336         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10337         resourceBundleCache.
10338
10339 2002-12-06  Mark Wielaard  <mark@klomp.org>
10340
10341         * java/net/InetAddress.java (toString): Use hostname when not null,
10342         don't do an explicit reverse getHostName() lookup.
10343         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10344         NullPointerException.
10345
10346 2002-12-06  Tom Tromey  <tromey@redhat.com>
10347
10348         * include/java-interp.h (class _Jv_InterpMethod): Added
10349         JV_MARKOBJ_DECL.
10350         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10351         mark `prepared' field of interpreted method.
10352         * interpret.cc (compile): Use _Jv_AllocBytes.
10353
10354 2002-12-05  Andrew Haley  <aph@redhat.com>
10355
10356         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10357         #ifdef (HAVE_BACKTRACE) around the whole function body.
10358
10359 2002-12-05  Tom Tromey  <tromey@redhat.com>
10360
10361         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10362         * resolve.cc: Don't include AbstractMethodError.h.
10363         (_Jv_abstractMethodError): Removed.
10364         * defineclass.cc (handleMethodsBegin): Initialize method index to
10365         -1.
10366         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10367         method index for "new" final method.
10368         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10369         isVirtualMethod.  Added `flags' argument.
10370         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10371         class.
10372
10373 2002-12-04  Tom Tromey  <tromey@redhat.com>
10374
10375         * java/net/SocketPermission.java (hashCode): Rewrote.
10376
10377 2002-12-04  Tom Tromey  <tromey@redhat.com>
10378
10379         * Makefile.in: Rebuilt.
10380         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10381         natResourceBundle.
10382         * java/util/ResourceBundle.java (Security): Removed.
10383         (getCallingClassLoader): Now native.
10384         * java/util/natResourceBundle.cc: New file.
10385         * java/lang/natVMSecurityManager.cc: New file.
10386         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10387
10388 2002-12-03  Mark Wielaard  <mark@klomp.org>
10389
10390         * java/util/jar/JarFile.java (manifest): Not final.
10391         (manifestRead): New field.
10392         (JarFile): Don't read Manifest in constructor.
10393         (getManifest): New method.
10394         (JarEnumeration.nextElement): Use new method.
10395         (getEntry): Likewise.
10396         * java/util/zip/ZipFile.java (name): Final.
10397         (raf): Likewsie.
10398         (entries): Change type to Hashtable.
10399         (closed): New field.
10400         (ZipFile): Don't read enties in constructor.
10401         (readEntries): Use Hashtable.
10402         (close): Set new close flag and set entries to null inside
10403         synchronized block.
10404         (entries): Contruct enumeration using new getEntries() method and
10405         entries Hashtable.
10406         (getEntryIndex): Removed.
10407         (getEntries): New method.
10408         (getEntry): Use new getEntries() method and entries Hastable.
10409         (getInputStream): Likewise.
10410         (size): Return getEntries().size().
10411         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10412         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10413         (time): Removed
10414         (dostime): New field.
10415         (zipFileIndex): Removed.
10416         (ZipEntry(ZipEntry)): Copy dostime.
10417         (setDOSTime): Now final and doesn't convert dos time.
10418         (getDOSTime): Likewise.
10419         (setTime): Convert dos time.
10420         (getTime): Likewise.
10421         (getCalendar): New method.
10422         (setExtra): Use setTime().
10423         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10424
10425 2002-12-03  Tom Tromey  <tromey@redhat.com>
10426
10427         * java/lang/Character.java (forDigit): Formatting fix.
10428
10429 2002-12-03  Raif Naffah  <raif@fl.net.au>
10430
10431         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10432         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10433         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10434
10435 2002-12-03  Andrew Haley  <aph@redhat.com>
10436
10437         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10438         _Jv_PushClass.
10439         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10440         (_Jv_PopClass): New.
10441         (_Jv_PushClass): New.
10442         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10443         discover the ClassLoader of our caller.
10444         (_Jv_CheckArrayStore): Don't check that a class is assignment
10445         compatible with Object.
10446         * java/lang/natVMTHrowable.cc: Delete.
10447         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10448         java.lang.VMThrowable.
10449         (StackTrace(), StackTrace(int)): New constructors.
10450         (classAt, methodAt, update, methodAtAddress): New methods.
10451         (map): New field.
10452         * java/lang/VMThrowable.java: Use StackTrace instead of
10453         natVMTHrowable.
10454         * java/lang/Class.h (getClassLoaderInternal): New.
10455         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10456         Be friendly with gnu::gcj::runtime::StackTrace.
10457         (Object.chain): New field.
10458         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10459         gnu::gcj::runtime::StackTrace.
10460         * gnu/gcj/runtime/natStackTrace.cc: New file.
10461         * gnu/gcj/runtime/MethodRef.java: New file.
10462         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10463         instead of getClassLoader().
10464         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10465         java::lang::VMThrowable.
10466         * Makefile.am (core_java_source_files): Add MethodRef.java,
10467         StackTrace.java.
10468         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10469         * Makefile.in: Rebuild.
10470
10471 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10472
10473         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10474         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10475         yes also for sh-linux* and sh[34]*-linux*.
10476         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10477         set SIGNAL_HANDLER to use DWARF2 exception for them.
10478         * configure: Regenerate.
10479
10480 2002-12-02  Tom Tromey  <tromey@redhat.com>
10481
10482         * jni.cc: Added `name' argument.
10483         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10484         `const char *' argument.
10485         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10486
10487 2002-12-01  Tom Tromey  <tromey@redhat.com>
10488
10489         Bug compatibility, for PR libgcj/8738:
10490         * java/io/CharArrayWriter.java (close): Do nothing.
10491         (flush): Likewise.
10492         (reset): Don't touch `closed'.
10493         (write(int)): Don't throw IOException.
10494         (write(char[],int,int)): Likewise.
10495         (write(String,int,int)): Likewise.
10496         (closed): Removed.
10497
10498 2002-12-01  Mark Wielaard  <mark@klomp.org>
10499
10500         * java/lang/SecurityManager.java: Remerge comments, indenting and
10501         checkXXX methods with Classpath.
10502
10503 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10504
10505         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10506         getNormalizedComponents): Fix calculation which was using one too
10507         many bits in the unnormalized format.
10508
10509 2002-11-29  Gary Benson  <gbenson@redhat.com>
10510
10511         For PR libgcj/8759:
10512         * java/beans/Introspector.java (flushCaches): New method.
10513         (flushFromCaches): Likewise.
10514
10515 2002-11-29  Michael Koch <konqueror@gmx.de>
10516
10517         * java/nio/channels/DatagramChannel.java
10518         (open): Added exception documentation.
10519         (write): Added exception documentation.
10520         (connect): Added exception documentation.
10521         (disconnect): Added exception documentation.
10522         (isConnected): Added exception documentation.
10523         (read): Added exception documentation.
10524         (receive): Added exception documentation.
10525         (send): Added exception documentation.
10526         (validOps): Added exception documentation.
10527         * java/nio/channels/SocketChannel.java
10528         (open): Added exception documentation.
10529         (read): Added exception documentation.
10530         (write): Added exception documentation.
10531         (connect): Added exception documentation.
10532         (finishConnect): Added exception documentation.
10533
10534 2002-11-29  Michael Koch <konqueror@gmx.de>
10535
10536         * gnu/java/nio/DatagramChannelImpl:
10537         (fd): New member variable to store file descriptor of socket.
10538         * gnu/java/nio/SelectionKeyImpl.java:
10539         (ops): Removed.
10540         (readyOps): New member variable.
10541         (interestOps): New member variable.
10542         (readyOps): Implemented.
10543         (readyOps): New method to set member variable readyOps.
10544         (interestOps): Replaced ops by interestOps.
10545         * gnu/java/nio/SelectorImpl.java:
10546         (SelectorImpl): Initialize key sets.
10547         (select): Call select with -1 instead of Long.MAX_VALUE).
10548         (java_do_select): Make it a native method.
10549         (getFDsAsArray): New helper method.
10550         (select): Remove canceled keys, give only interested file discriptors
10551         to java_do_select, set ready ops.
10552         (add): No need to initialize keys set here.
10553         (add_selected): No need to initialize selected set here.
10554         (deregisterCanceledKeys): New helper method.
10555         (register): Set interest ops, set attachments, added handling of datagram
10556         channels.
10557         * gnu/java/nio/ServerSocketChannelImpl:
10558         (SocketAccept): Renamed from NioSocketAccept.
10559         (implConfigureBlocking): Implemented.
10560         (accept): Use SocketAccept instead of NioSocketAccept.
10561         * gnu/java/nio/SocketChannelImpl:
10562         Reactivate native methods.
10563
10564 2002-11-29  Michael Koch <konqueror@gmx.de>
10565
10566         * gnu/java/nio/natByteBufferImpl.cc,
10567         gnu/java/nio/natCharBufferImpl.cc,
10568         gnu/java/nio/natDoubleBufferImpl.cc,
10569         gnu/java/nio/natFloatBufferImpl.cc,
10570         gnu/java/nio/natIntBufferImpl.cc,
10571         gnu/java/nio/natLongBufferImpl.cc,
10572         gnu/java/nio/natSelectorImpl.cc,
10573         gnu/java/nio/natServerSocketChannelImpl.cc,
10574         gnu/java/nio/natShortBufferImpl.cc,
10575         gnu/java/nio/natSocketChannelImpl.cc:
10576         New files that implement native functionalities.
10577
10578 2002-11-29  Michael Koch <konqueror@gmx.de>
10579
10580         * gnu/java/nio/ByteBufferImpl.java
10581         (ByteBufferImpl): Moved position() after limit.
10582         (nio_*): Use native implementation.
10583         * gnu/java/nio/CharBufferImpl.java:
10584         Reformated.
10585         (endian): New member variable string endianess of buffer.
10586         (CharBufferImpl): Moved position() after limit.
10587         (nio_*): Use native implementation.
10588         (subSequence): Implemented.
10589         * gnu/java/nio/DoubleBufferImpl.java
10590         (DoubleBufferImpl): Moved position() after limit.
10591         (nio_*): Use native implementation.
10592         * gnu/java/nio/FloatBufferImpl.java
10593         Reformated.
10594         (FloatBufferImpl): Moved position() after limit.
10595         (nio_*): Use native implementation.
10596         * gnu/java/nio/IntBufferImpl.java
10597         Added needed imports, Reformated.
10598         (IntBufferImpl): Moved position() after limit.
10599         (nio_*): Use native implementation.
10600         * gnu/java/nio/LongBufferImpl.java
10601         Reformated.
10602         (LongBufferImpl): Moved position() after limit.
10603         (nio_*): Use native implementation.
10604         * gnu/java/nio/ShortBufferImpl.java
10605         Reformated.
10606         (ShortBufferImpl): Moved position() after limit.
10607         (nio_*): Use native implementation.
10608
10609 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10610
10611         * java/util/Locale.java (toString): Improve efficiency if country
10612         and variant are both empty.
10613
10614 2002-11-26  Tom Tromey  <tromey@redhat.com>
10615
10616         * verify.cc (pop_init_ref): New method.
10617         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10618         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10619         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10620         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10621         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10622         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10623         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10624         let `this' argument be uninitialized.  Don't let `null' be passed
10625         as `this' to construtor.
10626
10627 2002-11-26  Mark Wielaard  <mark@klomp.org>
10628
10629         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10630         * javax/transaction/HeuristicMixedException.java: Likewise.
10631         * javax/transaction/HeuristicRollbackException.java: Likewise.
10632         * javax/transaction/InvalidTransactionException.java: Likewise.
10633         * javax/transaction/NotSupportedException.java: Likewise.
10634         * javax/transaction/RollbackException.java: Likewise.
10635         * javax/transaction/Status.java: Likewise.
10636         * javax/transaction/Synchronization.java: Likewise.
10637         * javax/transaction/SystemException.java: Likewise.
10638         * javax/transaction/Transaction.java: Likewise.
10639         * javax/transaction/TransactionManager.java: Likewise.
10640         * javax/transaction/TransactionRequiredException.java: Likewise.
10641         * javax/transaction/TransactionRolledbackException.java: Likewise.
10642         * javax/transaction/UserTransaction.java: Likewise.
10643         * javax/transaction/xa/XAException.java: Likewise.
10644         * javax/transaction/xa/XAResource.java: Likewise.
10645         * javax/transaction/xa/Xid.java: Likewise.
10646
10647 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10648
10649         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10650         define.
10651         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10652         * include/posix.h (socklen_t): Define if not already defined.
10653
10654 2002-11-25  Tom Tromey  <tromey@redhat.com>
10655
10656         * verify.cc (type::compatible): Backed out broken change.
10657
10658         * verify.cc (type::compatible): Check initialization status
10659         first.
10660         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10661         Don't use NULLCHECK.
10662
10663 2002-11-23  H.J. Lu <hjl@gnu.org>
10664
10665         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10666         Include ../config/accross.m4.
10667         * aclocal.m4; Rebuild.
10668         * configure: Likewise.
10669
10670 2002-11-23  Mark Wielaard  <mark@klomp.org>
10671
10672         * javax/naming/AuthenticationException.java: Update copyright header.
10673         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10674         * javax/naming/Binding.java: Likewise.
10675         * javax/naming/CannotProceedException.java: Likewise.
10676         * javax/naming/CommunicationException.java: Likewise.
10677         * javax/naming/CompositeName.java: Likewise.
10678         * javax/naming/CompoundName.java: Likewise.
10679         * javax/naming/ConfigurationException.java: Likewise.
10680         * javax/naming/Context.java: Likewise.
10681         * javax/naming/ContextNotEmptyException.java: Likewise.
10682         * javax/naming/InitialContext.java: Likewise.
10683         * javax/naming/InsufficientResourcesException.java: Likewise.
10684         * javax/naming/InterruptedNamingException.java: Likewise.
10685         * javax/naming/LimitExceededException.java: Likewise.
10686         * javax/naming/LinkException.java: Likewise.
10687         * javax/naming/LinkLoopException.java: Likewise.
10688         * javax/naming/LinkRef.java: Likewise.
10689         * javax/naming/MalformedLinkException.java: Likewise.
10690         * javax/naming/NameAlreadyBoundException.java: Likewise.
10691         * javax/naming/NameClassPair.java: Likewise.
10692         * javax/naming/NameNotFoundException.java: Likewise.
10693         * javax/naming/NameParser.java: Likewise.
10694         * javax/naming/NamingEnumeration.java: Likewise.
10695         * javax/naming/NamingSecurityException.java: Likewise.
10696         * javax/naming/NoInitialContextException.java: Likewise.
10697         * javax/naming/NoPermissionException.java: Likewise.
10698         * javax/naming/NotContextException.java: Likewise.
10699         * javax/naming/OperationNotSupportedException.java: Likewise.
10700         * javax/naming/PartialResultException.java: Likewise.
10701         * javax/naming/Reference.java: Likewise.
10702         * javax/naming/Referenceable.java: Likewise.
10703         * javax/naming/ReferralException.java: Likewise.
10704         * javax/naming/ServiceUnavailableException.java: Likewise.
10705         * javax/naming/SizeLimitExceededException.java: Likewise.
10706         * javax/naming/TimeLimitExceededException.java: Likewise.
10707         * javax/naming/directory/Attribute.java: Likewise.
10708         * javax/naming/directory/AttributeInUseException.java: Likewise.
10709         * javax/naming/directory/AttributeModificationException.java: Likewise.
10710         * javax/naming/directory/Attributes.java: Likewise.
10711         * javax/naming/directory/BasicAttribute.java: Likewise.
10712         * javax/naming/directory/BasicAttributes.java: Likewise.
10713         * javax/naming/directory/DirContext.java: Likewise.
10714         * javax/naming/directory/InitialDirContext.java: Likewise.
10715         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10716         Likewise.
10717         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10718         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10719         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10720         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10721         * javax/naming/directory/ModificationItem.java: Likewise.
10722         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10723         * javax/naming/directory/SchemaViolationException.java: Likewise.
10724         * javax/naming/directory/SearchControls.java: Likewise.
10725         * javax/naming/directory/SearchResult.java: Likewise.
10726         * javax/naming/event/EventContext.java: Likewise.
10727         * javax/naming/event/EventDirContext.java: Likewise.
10728         * javax/naming/event/NamespaceChangeListener.java: Likewise.
10729         * javax/naming/event/NamingEvent.java: Likewise.
10730         * javax/naming/event/NamingExceptionEvent.java: Likewise.
10731         * javax/naming/event/NamingListener.java: Likewise.
10732         * javax/naming/event/ObjectChangeListener.java: Likewise.
10733         * javax/naming/ldap/Control.java: Likewise.
10734         * javax/naming/ldap/ControlFactory.java: Likewise.
10735         * javax/naming/ldap/ExtendedRequest.java: Likewise.
10736         * javax/naming/ldap/ExtendedResponse.java: Likewise.
10737         * javax/naming/ldap/HasControls.java: Likewise.
10738         * javax/naming/ldap/InitialLdapContext.java: Likewise.
10739         * javax/naming/ldap/LdapContext.java: Likewise.
10740         * javax/naming/ldap/LdapReferralException.java: Likewise.
10741         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10742         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10743         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10744         * javax/naming/spi/DirObjectFactory.java: Likewise.
10745         * javax/naming/spi/DirStateFactory.java: Likewise.
10746         * javax/naming/spi/DirectoryManager.java: Likewise.
10747         * javax/naming/spi/InitialContextFactory.java: Likewise.
10748         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10749         * javax/naming/spi/NamingManager.java: Likewise.
10750         * javax/naming/spi/ObjectFactory.java: Likewise.
10751         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10752         * javax/naming/spi/ResolveResult.java: Likewise.
10753         * javax/naming/spi/Resolver.java: Likewise.
10754         * javax/naming/spi/StateFactory.java: Likewise.
10755
10756         * javax/naming/spi/NamingManager.java (ofb): Package private.
10757
10758 2002-11-21  Mark Wielaard  <mark@klomp.org>
10759
10760         * java/net/URL.java: Merge with Classpath (partly).
10761         * java/net/URLStreamHandler: Merge with Classpath.
10762
10763 2002-11-22  Michael Koch <konqueror@gmx.de>
10764
10765         * include/posix.h:
10766         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10767         * include/win32.h:
10768         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10769         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10770
10771 2002-11-21  Michael Koch <konqueror@gmx.de>
10772
10773         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10774         Only the new network functions should be in it.
10775
10776 2002-11-21  Michael Koch <konqueror@gmx.de>
10777
10778         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10779         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10780
10781 2002-11-21  Michael Koch <konqueror@gmx.de>
10782
10783         * java/nio/channels/AsynchronousCloseException.java,
10784         java/nio/channels/CancelledKeyException.java,
10785         java/nio/channels/ClosedByInterruptException.java,
10786         java/nio/channels/ConnectionPendingException.java,
10787         java/nio/channels/FileLockInterruptionException.java,
10788         java/nio/channels/IllegalSelectorException.java,
10789         java/nio/channels/NoConnectionPendingException.java,
10790         java/nio/channels/NonReadableChannelException.java,
10791         java/nio/channels/NonWritableChannelException.java,
10792         java/nio/channels/NotYetBoundException.java,
10793         java/nio/channels/NotYetConnectedException.java,
10794         java/nio/channels/OverlappingFileLockException.java,
10795         java/nio/channels/UnresolvedAddressException.java,
10796         java/nio/channels/UnsupportedAddressTypeException.java:
10797         New files.
10798         * Makefile.am (ordinary_java_source_files): Added new files.
10799         * Makefile.in: Regenerated.
10800
10801 2002-11-21  Michael Koch <konqueror@gmx.de>
10802
10803         * include/posix.h
10804         (_Jv_socket): New method.
10805         (_Jv_connect): New method.
10806         (_Jv_close): New method.
10807         (_Jv_platform_close_on_exec): Prefixed system function with "::".
10808         (_Jv_bind): New method.
10809         (_Jv_listen): New method.
10810         (_Jv_write): New method.
10811         (_Jv_read): New method.
10812         * include/win32.h
10813         (_Jv_socket): New method.
10814         (_Jv_connect): New method.
10815         (_Jv_close): New method.
10816         (_Jv_bind): New method.
10817         (_Jv_listen): New method.
10818         (_Jv_write): New method.
10819         (_Jv_read): New method.
10820         * java/net/natNetworkInterface.cc:
10821         Include platform.h, removed inclusion of socket.h
10822         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10823         ::close() by _Jv_close().
10824         * java/net/natPlainDatagramSocketImpl.cc:
10825         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10826         added some new lines to make code more readable.
10827         (create): Replaced ::socket() by _Jv_socket().
10828         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10829         * java/net/natPlainSocketImpl.cc:
10830         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10831         removed include of socket.h, removed some windows defines
10832         (now in include/win32.h).
10833         (create): Replaced ::socket() by _Jv_socket().
10834         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10835         (write): Replaced ::read by _Jv_write().
10836         (read): Replaced ::read by _Jv_read().
10837
10838 2002-11-20  Michael Koch <konqueror@gmx.de>
10839
10840         * Makefile.am (ordinary_java_source_files):
10841         Added java/nio/channels/FileChannel.java.
10842         * Makefile.in: Regenerated.
10843
10844 2002-11-20  Michael Koch <konqueror@gmx.de>
10845
10846         * java/io/FileInputStream.java
10847         (getChannel): New method.
10848         * java/io/FileOutputStream.java
10849         (getChannel): New method.
10850         * java/net/ServerSocket.java
10851         (bind): Removed duplicate code and called another bind method instead.
10852         * java/nio/channels/SelectionKey.java
10853         (isValid): Removed wrong exception documentation.
10854         * java/nio/channels/ServerSocketChannel.java
10855         (accept): Added exception documentation.
10856         (open): Fixed typo, added exception documentation.
10857         * java/nio/channels/spi/AbstractSelectableChannel.java
10858         (implCloseChannel): Added exception documentation.
10859         (add): Reformated.
10860         (register): Added exception documentation.
10861
10862 2002-11-20  Andreas Jaeger  <aj@suse.de>
10863
10864         * configure: Regenerated with new libtool.m4.
10865
10866 2002-11-19  Tom Tromey  <tromey@redhat.com>
10867
10868         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10869         `referent'.
10870         (finalize_referred_to_object): Don't modify `referent' or `copy'
10871         fields.
10872         (add_to_hash): Correctly set `n->next' when updating list.
10873         * java/lang/ref/Reference.java (enqueue): Return false if already
10874         enqueued.
10875
10876 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
10877
10878         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10879         to function and function pointer declarations in accordance with
10880         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10881         based on whether __GCJ_JNI_IMPL__ has been defined or not.
10882         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10883         JNI function definitions.
10884
10885 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10886
10887         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10888         that was causing CoderResults to be cached, not WeakReferences
10889         to CoderResults.
10890
10891 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10892
10893         * java/security/KeyStore.java (getInstance): Fix
10894         comment and throw IllegalArgumentException if
10895         given provider is null.
10896         (getInstance): New method for jdk1.4 compatibility.
10897
10898 2002-11-18  Michael Koch <konqueror@gmx.de>
10899
10900         * java/net/PlainSocketImpl.java: Fix imports.
10901
10902 2002-11-18  Michael Koch <konqueror@gmx.de>
10903
10904         * java/nio/channels/SelectionKey.java
10905         (isValid): Added exception documentation.
10906         * java/nio/channels/Selector.java
10907         (open): Declare "throws IOException".
10908
10909 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10910
10911         * java/nio/charset/Charset.java
10912         (<clinit>): New method.
10913         (encode): Synchronize use of cached encoder object.
10914         (decode): Synchronize use of cached encoder object.
10915
10916 2002-11-18  Michael Koch <konqueror@gmx.de>
10917
10918         * gnu/java/nio/ByteBufferImpl.java,
10919         gnu/java/nio/CharBufferImpl.java,
10920         gnu/java/nio/DatagramChannelImpl.java,
10921         gnu/java/nio/DoubleBufferImpl.java,
10922         gnu/java/nio/FileChannelImpl.java,
10923         gnu/java/nio/FloatBufferImpl.java,
10924         gnu/java/nio/IntBufferImpl.java,
10925         gnu/java/nio/LongBufferImpl.java,
10926         gnu/java/nio/PipeImpl.java,
10927         gnu/java/nio/SelectionKeyImpl.java,
10928         gnu/java/nio/SelectorImpl.java,
10929         gnu/java/nio/SelectorProviderImpl.java,
10930         gnu/java/nio/ServerSocketChannelImpl.java,
10931         gnu/java/nio/ShortBufferImpl.java,
10932         gnu/java/nio/SocketChannelImpl.java,
10933         java/nio/DoubleBuffer.java,
10934         java/nio/FloatBuffer.java,
10935         java/nio/IntBuffer.java,
10936         java/nio/LongBuffer.java,
10937         java/nio/ShortBuffer.java,
10938         java/nio/channels/FileChannel.java: New files.
10939
10940 2002-11-18  Michael Koch <konqueror@gmx.de>
10941
10942         * Makefile.am (ordinary_java_source_files):
10943         Added java/nio/ReadOnlyBufferException.java and
10944         java/nio/channels/ClosedSelectorException.java.
10945         * Makefile.in: Regenerated.
10946
10947 2002-11-18  Michael Koch <konqueror@gmx.de>
10948
10949         * java/net/PlainSocketImpl.java: Reworked imports.
10950         * java/net/ServerSocket.java
10951         (ServerSocket): Create socket.
10952         * java/net/SocketAddress.java: Documentation added.
10953         * java/net/natPlainSocketImpl.cc: Reindented.
10954         * java/nio/ReadOnlyBufferException.java: New file
10955         * java/nio/channels/ClosedChannelException.java: Documentation added.
10956         * java/nio/channels/ClosedSelectorException.java: New file.
10957
10958 2002-11-17  Mark Wielaard  <mark@klomp.org>
10959
10960         * java/net/HttpURLConnection.java ((getPermission): Take port
10961         into consideration.
10962         (getErrorStream): Implement.
10963
10964 2002-11-17  Mark Wielaard  <mark@klomp.org>
10965
10966         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10967
10968 2002-11-16  Mark Wielaard  <mark@klomp.org>
10969
10970         Integrate work by Raif S. Naffah (raif@fl.net.au)
10971         * java/security/DummyKeyPairGenerator.java (clone): New method.
10972         * java/security/DummyMessageDigest.java (clone): New method.
10973         (engineUpdate): Now public.
10974         (engineReset): Likewise.
10975         (engineDigest): Likewise.
10976         (engineGetDigestLength): New method.
10977         * java/security/DummySignature.java (clone): New method.
10978         * java/security/KeyPairGenerator.java (provider): Now package private.
10979         (getInstance(String)): Use getInstance(String,Provider).
10980         (getInstance(String,String): Use getInstance(String,Provider)
10981         (getInstance(String,Provider): New method.
10982         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
10983         * java/security/KeyPairGeneratorSpi.java (clone): New method.
10984         * java/security/MessageDigest.java (provider): Now package private.
10985         (getInstance(String): Use getInstance(String,Provider).
10986         (getInstance(String,String): Use getInstance(String,Provider)
10987         (getInstance(String,Provider): New method.
10988         * java/security/Provider.java (toCanonicalKey): New method.
10989         (get): New method that uses toCanonicalKey().
10990         (put): Use toCanonicalKey().
10991         (remove): Likewise.
10992         * java/security/Security.java (insertProviderAt): Provider index is one
10993         based, not zero based.
10994         (addProvider): Likewise.
10995         (removeProvider): Likewise.
10996         * java/security/Signature.java (provider): Now package private.
10997         (getInstance(String)): Use getInstance(String,Provider).
10998         (getInstance(String,String): Use getInstance(String,Provider)
10999         (getInstance(String,Provider): New method.
11000         (getInstance(String,String,Provider): Don't cast DummySignature.
11001
11002 2002-11-15  Tom Tromey  <tromey@redhat.com>
11003
11004         For PR libgcj/8593:
11005         * java/util/zip/GZIPInputStream.java (read): Check file size.
11006         Look in inflater for remaining input bytes.
11007         (read4): Added buf and offset arguments.
11008
11009 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11010
11011         * java/applet/AppletContext.java: Fix typo and remove redundant
11012         modifiers.
11013
11014 2002-11-14  Tom Tromey  <tromey@redhat.com>
11015
11016         * java/lang/natRuntime.cc (insertSystemProperties): Set
11017         gnu.classpath.home.
11018
11019 2002-11-13  Michael Koch <konqueror@gmx.de>
11020
11021         * java/nio/ByteBuffer.java
11022         (allocate): New method.
11023         (wrap): New method.
11024         (put): New method.
11025         (get): New method.
11026
11027 2002-11-13  Michael Koch <konqueror@gmx.de>
11028
11029         * java/nio/channels/AlreadyConnectedException.java:
11030         Removed unneeded import.
11031         (AlreadyConnectedException): Documentation added.
11032         * java/nio/channels/Pipe.java
11033         (SinkChannel.SinkChannel): Documentation added.
11034         (SinkChannel.validOps): New method.
11035         (SourceChannel.SourceChannel): Documentation added.
11036         (SourceChannel.validOps): New method.
11037         (Pipe): Documentation added.
11038         (open): Documentation added.
11039         (SinkChannel.channel): Documentation added.
11040         (SourceChannel.channel): Documentation added.
11041         * java/nio/channel/SelectableChannel.java
11042         (SelectableChannel): Documentation added.
11043         (blockingLock): Documentation added.
11044         (configureBlocking):Documentation added.
11045         (isBlocking):Documentation added.
11046         (isRegistered):Documentation added.
11047         (keyFor):Documentation added.
11048         (provider):Documentation added.
11049         (register): Documentation added.
11050         (validOps): Documentation added.
11051         * jaba/nio/channels/SelectionKey.java
11052         (SelectionKey): Documentation added.
11053         (attach): Documentation added.
11054         (attachment): Documentation added.
11055         (isAcceptable): Documentation added.
11056         (isConnetable): Documentation added.
11057         (isReadable): Documentation added.
11058         (isWritable): Documentation added.
11059         (cancel): Documentation added.
11060         (channel): Documentation added.
11061         (interestOps): Documentation added.
11062         (isValid): Documentation added.
11063         (readyOps): Documentation added.
11064         (selector): Documentation added.
11065         * jaba/nio/channels/Selector.java
11066         (Selector): Documentation added.
11067         (open): Documentation added.
11068         (close): Documentation added.
11069         (isOpen): Documentation added.
11070         (keys): Documentation added.
11071         (provider): Documentation added.
11072         (select): Documentation added.
11073         (selectedKeys): Documentation added.
11074         (selectNow): Documentation added.
11075         (wakeup): Documentation added.
11076         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11077         (AbstractInterruptibleChannel): Documentation added.
11078         (opened): Default to true;
11079         (begin): Documentation added.
11080         (close): Set opened to false, documentation added.
11081         (isOpen): Documentation added.
11082         * java/nio/channels/spi/AbstractSelectionKey.java
11083         (AbstractSelectionKey): Documentation added.
11084         (cancel): Documentation added.
11085         (isValid): Documentation added.
11086         * java/nio/channels/spi/AbstractSelector.java
11087         (AbstractSelector): Documentation added.
11088         (begin): Documentation added.
11089         (close): Documentation added.
11090         (isOpen): Documentation added.
11091         (deregister): Documentation added.
11092         (end): Documentation added.
11093         (provider): Documentation added.
11094         (implCloseSelector): Documentation added.
11095         (register): Documentation added.
11096         * java/nio/channels/spi/SelectorProvider.java
11097         (SelectorProvider): Documentation added.
11098         (openDatagramChannel): Documentation added.
11099         (openPipe): Documentation added.
11100         (openSelector): Documentation added.
11101         (openServerSocketChannel): Documentation added.
11102         (openSocketChannel): Documentation added.
11103         (provider): Documentation added.
11104
11105 2002-11-12  Michael Koch <konqueror@gmx.de>
11106
11107         * java/nio/Buffer.java: Implemented.
11108         * java/nio/CharBuffer.java: New file.
11109         * java/nio/InvalidMarkException.java: New file.
11110         * java/nio/channels/DatagramChannel.java: Implemented.
11111         * java/nio/channels/ServerSocketChannel.java: Implemented.
11112         * java/nio/channels/SocketChannel.java: Implemented.
11113         * java/nio/channels/spi/AbstractChannel.java: Removed.
11114         * java/nio/channels/spi/AbstractSelectableChannel.java:
11115         Implemented.
11116         * java/nio/charset/Charset.java:
11117         Merge from Classpath.
11118         * java/nio/charset/CharsetDecoder.java: New file.
11119         * java/nio/charset/CharsetEncoder.java: New file.
11120         * java/nio/charset/CoderResult.java: New file.
11121         * Makefile.am (ordinary_java_source_files): Added new files.
11122         * Makefile.in: Regenerated.
11123
11124 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11125
11126         * gnu/java/nio/charset/ISO_8859_1.java,
11127         gnu/java/nio/charset/Provider.java,
11128         gnu/java/nio/charset/US_ASCII.java,
11129         gnu/java/nio/charset/UTF_16.java,
11130         gnu/java/nio/charset/UTF_16BE.java,
11131         gnu/java/nio/charset/UTF_16Decoder.java,
11132         gnu/java/nio/charset/UTF_16Encoder.java,
11133         gnu/java/nio/charset/UTF_16LE.java,
11134         gnu/java/nio/charset/UTF_8.java: New files.
11135
11136 2002-11-11  Michael Koch <konqueror@gmx.de>
11137
11138         * java/nio/charset/CharacterCodingException.java:
11139         This class must be public.
11140         * java/nio/charset/CoderMalfunctionError.java:
11141         This class must be public.
11142         * java/nio/charset/CodingErrorAction.java:
11143         This class must be public.
11144         * java/nio/charset/IllegalCharsetNameException.java:
11145         This class must be public, better implementation.
11146         * java/nio/charset/MalformedInputException.java:
11147         This class must be public, better implementation.
11148         * java/nio/charset/UnmappableCharacterException.java:
11149         This class must be public, better implementation.
11150         * java/nio/charset/UnsupportedCharsetException.java:
11151         This class must be public, better implementation.
11152
11153 2002-11-11  Michael Koch <konqueror@gmx.de>
11154
11155         * java/nio/BufferOverflowException.java,
11156         java/nio/BufferUnderflowException.java: New file.
11157         * Makefile.am (ordinary_java_source_files):
11158         Added new files.
11159         * Makefile.in: Regenerated.
11160
11161 2002-11-10  Tom Tromey  <tromey@redhat.com>
11162
11163         * java/awt/Container.java (validate): Use tree lock.
11164         (getComponent): Likewise.
11165         (getComponents): Likewise.
11166         (addImpl): Likewise.
11167         (remove): Likewise.
11168         (removeAll): Likewise.
11169         (processEvent): Fixed indentation.
11170         (getComponentAt): Use tree lock.
11171         (findComponentAt): Likewise.
11172         (removeNotify): Likewise.
11173         (isAncestorOf): Likewise.
11174         (list): Likewise.
11175         (visitChildren): Likewise.
11176         (findNextFocusComponent): Likewise.
11177         (addNotifyContainerChildren): Likewise.
11178         (getAccessibleChildrenCount): Likewise.
11179         (getAccessibleChild): Likewise.
11180
11181         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11182         (getSize): Likewise.
11183         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11184         (getSize): Likewise.
11185         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11186         (calcSize): Likewise.
11187         * java/awt/CardLayout.java (getSize): Use tree lock.
11188         (gotoComponent): Likewise.
11189         (layoutContainer): Likewise.
11190
11191         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11192         count is 0.
11193         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11194         count is 0.
11195
11196         * java/io/Externalizable.java, java/io/FilePermission.java,
11197         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11198         java/io/SerializablePermission.java, java/text/Format.java,
11199         java/util/AbstractMap.java, java/util/HashMap.java,
11200         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11201         versions from Classpath.
11202
11203 2002-11-10  Anthony Green  <green@redhat.com>
11204
11205         * java/util/jar/Attributes.java (Name): Fix name check.
11206
11207 2002-11-10  Mark Wielaard  <mark@klomp.org>
11208
11209         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11210         with getName() as message.
11211         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11212         type as message.
11213
11214         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11215         unused.
11216
11217 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11218
11219         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11220         for Win32. JNICALL has been defined to __stdcall to be compatible
11221         with Sun's JDKs.
11222
11223 2002-11-10  Tom Tromey  <tromey@redhat.com>
11224
11225         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11226         (setRows): Check newRows, not rows.
11227
11228         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11229
11230 2002-11-09  Tom Tromey  <tromey@redhat.com>
11231
11232         * java/applet/Applet.java, java/applet/AppletContext.java,
11233         java/applet/AppletStub.java, java/applet/AudioClip.java,
11234         java/awt/CardLayout.java,
11235         java/awt/ContainerOrderFocusTraversalPolicy.java,
11236         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11237         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11238         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11239         java/awt/color/ICC_ColorSpace.java,
11240         java/awt/color/ICC_Profile.java,
11241         java/awt/color/ICC_ProfileGray.java,
11242         java/awt/color/ICC_ProfileRGB.java,
11243         java/awt/datatransfer/DataFlavor.java,
11244         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11245         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11246         New versions from Classpath.
11247         * Makefile.in: Rebuilt.
11248         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11249         ICC_ProfileRGB.
11250
11251         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11252         display policy.
11253
11254         * java/awt/List.java (processEvent): Added missing `else's.
11255
11256         * java/awt/Window.java (show): validate() before showing.  Make
11257         parent displayable.
11258         (isDisplayable): New method.
11259
11260 2002-11-07  Mark Wielaard  <mark@klomp.org>
11261
11262         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11263         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11264
11265         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11266         annotation.
11267         (loadClass): Take String as codebases.
11268         (getClassAnnotation): Use MyClassLoader annotations.
11269         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11270         call exportObject(this).
11271
11272         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11273         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11274         (setAnnotation): Don't set locBytesStream and locStream.
11275         (replaceObject): Removed.
11276         (flush): Don't test locStream.
11277         (getLocBytes): LikeWise.
11278         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11279         (leaseCache): New field.
11280         (dirty): Use leaseCache.
11281         (LeaseRecord): New inner class.
11282         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11283         explicitly call exportObject().
11284         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11285         false to communicate with Sun JDK130.
11286         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11287         * gnu/java/rmi/server/RMIObjectInputStream.java
11288         (UnicastConnectionManager): Removed field.
11289         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11290         Use UnicastServer.getExportedRef().
11291         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11292         (expireTime): Likewise.
11293         (CONNECTION_TIMEOUT): Likewise.
11294         (disconnect): Call sock.close().
11295         (isExpired): New method.
11296         (resetTime): Likewise.
11297         (run): Use do while loop and catch Exception for discardConnection().
11298         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11299         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11300         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11301         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11302         (exportObject): Use refcache.
11303         (unexportObject): Likewise.
11304         (getExportedRef): New method.
11305         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11306         constructor.
11307         (exportObject): Save manager.serverobj.
11308         (getStub): New method.
11309
11310 2002-11-07  Mark Wielaard  <mark@klomp.org>
11311
11312         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11313         (getByte): Likewise.
11314         (getShort): Likewise.
11315         (getInt): Likewise.
11316         (getLong): Likewise.
11317         (getFloat): Likewise.
11318         (getDouble): Likewise.
11319         (get): Likewise.
11320         (setChar): Likewise.
11321         (setByte): Likewise.
11322         (setShort): Likewise.
11323         (setInt): Likewise.
11324         (setLong): Likewise.
11325         (setFloat): Likewise.
11326         (setDouble): Likewise.
11327
11328 2002-11-07  Michael Koch <konqueror@gmx.de>
11329
11330         * java/awt/Choice.java,
11331         java/awt/Container.java,
11332         java/awt/GridBagLayout.java:
11333         Fixed documentation.
11334         * java/awt/peer/ContainerPeer.java:
11335         Reindented.
11336
11337 2002-11-07  Michael Koch <konqueror@gmx.de>
11338
11339         * java/awt/color/ICC_Profile.java:
11340         Added missing constants.
11341         * java/awt/color/ICC_ColorSpace.java
11342         (getMinValue): Added dummy implementation.
11343         (getMaxValue): Added dummy implementation.
11344         * java/awt/datatransfer/DataFlavor.java
11345         (imageFlavor): Added.
11346         (isMimeTypeEqual): Must be final.
11347         (getDefaultRepresentationClass): Must be non-static.
11348         (getDefaultRepresentationClassAsString): Must be non-static.
11349         * java/awt/dnd/DragSourceContext.java
11350         (dragExit): Corrected argument.
11351         (dragDropEnd): Corrected argument.
11352         * java/awt/dnd/DragSourceListener.java.java
11353         (dragExit): Corrected argument.
11354         (dragDropEnd): Corrected argument.
11355         * java/awt/font/TextHitInfo.java
11356         (toString): Added stubbed implementation.
11357         * java/awt/geom/PathIterator.java:
11358         The constants must be static.
11359         * java/awt/image/VolatileImage.java
11360         (IMAGE_INCOMPATIBLE): Fixed typo.
11361         * java/awt/image/renderable/RenderableImage.java
11362         (HINTS_OBSERVED): Must be static.
11363         * java/beans/BeanInfo.java:
11364         Constants must be final.
11365
11366 2002-11-06  Tom Tromey  <tromey@redhat.com>
11367
11368         From svens@it.uu.se.  For PR libgcj/8481.
11369         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11370
11371 2002-11-06  Tom Tromey  <tromey@redhat.com>
11372
11373         * jni.cc (array_from_valist): Assume that jlong won't be
11374         promoted.
11375
11376 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11377
11378         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11379         Return 20.
11380         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11381         Return 16.
11382
11383 2002-11-03  Tom Tromey  <tromey@redhat.com>
11384
11385         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11386         VMClassLoader, not findClass.
11387
11388 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11389
11390         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11391         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11392         _Jv_DetermineVTableIndex, to determine vtable offset.
11393         (_Jv_DetermineVTableIndex): Remove.
11394         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11395
11396         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11397
11398 2002-11-03  Tom Tromey  <tromey@redhat.com>
11399
11400         * java/nio/channels/AlreadyConnectedException.java: Extend
11401         IllegalStateException, per spec.
11402
11403 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11404
11405         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11406
11407 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11408
11409         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11410         size items.
11411
11412 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11413
11414         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11415         initial estimated size to avoid enlarge buffer frequently.
11416
11417 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11418
11419         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11420         ClassLoader when null.
11421         (ProxyType.hashCode): Loader null check no longer needed.
11422         (ProxyType.sameTypes): New method.
11423         (ProxyType.equals): Use new method.
11424
11425 2002-10-31  Mark Wielaard  <mark@klomp.org>
11426
11427         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11428         length of String.
11429         * java/net/URLEncoder.java (encode): Likewise.
11430
11431 2002-10-31  Mark Wielaard  <mark@klomp.org>
11432
11433         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11434         when stream is closed.
11435         (closeEntry): Likewise.
11436         (read): Likewise.
11437         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11438         ZipException when no entry active.
11439         (closeEntry): Likewise.
11440         (write): Likewise.
11441
11442 2002-11-02  Tom Tromey  <tromey@redhat.com>
11443
11444         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11445         * java/lang/natClass.cc (initializeClass): Don't return just
11446         because self==thread.
11447
11448         For PR java/8415:
11449         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11450         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11451
11452 2002-11-02  Andreas Schwab  <schwab@suse.de>
11453
11454         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11455         pass GCJFLAGS.
11456         (FLAGS_TO_PASS): Define.
11457         * Makefile.in: Regenerated.
11458
11459 2002-11-01  Michael Koch  <konqueror@gmx.de>
11460
11461         * java/nio/ByteOrder.java: New file.
11462         * java/nio/channels/DatagramChannel.java:
11463         (DatagramChannel): New constructor.
11464         * java/nio/channels/Pipe.java: New file.
11465         * java/nio/channels/SelectableChannel.java: New file.
11466         * java/nio/channels/SelectionKey.java: New file.
11467         * java/nio/channels/Selector.java: New file.
11468         * java/nio/channels/ServerSocketChannel.java
11469         (ServerSocketChannel): New constructor.
11470         * java/nio/channels/SocketChannel.java
11471         (SocketChannel): New constructor.
11472         * java/nio/channels/Pipe.java: New file.
11473         * java/nio/channels/spi/AbstractChannel.java: New file.
11474         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11475         * java/nio/channels/spi/AbstractSelectableChannel.java:
11476         License added
11477         (AbstractSelectableChannel): New stubbed method.
11478         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11479         * java/nio/channels/spi/AbstractSelector.java: New file.
11480         * java/nio/channels/spi/SelectorProvider.java: New file.
11481         * java/nio/charset/Charset.java: New file.
11482         * java/nio/charset/CoderMalfunctionError.java: New file.
11483         * java/nio/charset/CodingErrorAction.java: New file.
11484         * java/nio/charset/spi/CharsetProvider.java
11485         (charsetForName): Uncommented.
11486         * Makefile.am (java_native_source_files): Added new files.
11487         * Makefile.in: Regenerated.
11488
11489 2002-11-01  Michael Koch  <konqueror@gmx.de>
11490
11491         * java/net/InetAddress.java:
11492         (isAnyLocalAddress): Implemented.
11493         (isLoopbackAddress): Implemented, comment added.
11494         (isLinkLocalAddress): Implemented, documentation added.
11495         (isSiteLocalAddress): Implemented, documentation added.
11496         (isMCGlobal): Implemented, documentation added.
11497         (isMCNodeLocal): Implemented, documentation added.
11498         (isMCLinkLocal): Implemented, documentation added.
11499         (isMCSiteLocal): Implemented, documentation added.
11500         (isMCOrgLocal): Implemented, documentation added.
11501         (getHostName): Documentation added.
11502         (getCanonicalHostName): Implemented, documentation added.
11503         (getAddress): Documentation added.
11504         (hashCode): Documentation added.
11505         (equals): Documentation added.
11506         (toString): Fixed implementation.
11507         (getByAddress): Use Inet4Address and Inet6Address.
11508         (lookup): New linewrap.
11509         (getByName): SecurityManager check added, support Inet4Address and
11510         Inet6address, comments added.
11511         (getAllByName): SecurityManager check added, comments added.
11512         * java/net/Inet6Address.java:
11513         (Inet6Address): Initialize parent class with addr instead of null.
11514         * java/net/URL.java
11515         (equals): Documentation added.
11516         (getFile): Documentation added.
11517         (hashCode): Documentation added.
11518         * java/net/natInetAddress.cc:
11519         (aton): Fix IPv6 support.
11520         * java/net/natPlainDatagramSocketImpl.cc:
11521         (peek): Throw PortUnreachableException when suitable.
11522         (peekData): Throw PortUnreachableException when suitable.
11523         (send): Throw PortUnreachableException when suitable.
11524         (receive): Throw PortUnreachableException when suitable.
11525
11526 2002-10-27  Mark Wielaard  <mark@klomp.org>
11527
11528         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11529         argument.
11530         (readLeShort): Likewise and use byte[].
11531         (readLeInt): Likewise.
11532         (readEntries): Use new versions of methods and use byte[] for reading
11533         a complete zip entry. Add ZipFile name to exceptions.
11534         (entries): Add ZipFile name to exceptions.
11535         (getEntry): Likewise.
11536         (checkLocalHeader): Use new versions of methods and add ZipFile name
11537         to exceptions.
11538
11539 2002-10-31  Mark Anderson  <mark@panonet.net>
11540
11541         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11542         added
11543
11544 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11545
11546         * configure.in: Disable hash sync when not using threads.
11547         * configure: Regenerated.
11548
11549 2002-10-24  Tom Tromey  <tromey@redhat.com>
11550
11551         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11552         (_Jv_FindSymbolInExecutable): Removed argument name.
11553         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11554         java.library.path is set.
11555
11556         * gij.cc (help): Document --showversion.
11557         (version): Don't exit.
11558         (main): Handle --showversion.  Exit if --version given.
11559
11560 2002-10-23  Tom Tromey  <tromey@redhat.com>
11561
11562         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11563         (array_from_valist): Correctly handle promotion for jint, jlong,
11564         jfloat, and jdouble.
11565
11566 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11567
11568         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11569         GetFileAttributesEx( ) to find file length and modification times,
11570         as the latter is not present on Windows 95.
11571
11572 2002-10-21  Michael Koch  <konqueror@gmx.de>
11573
11574         * java/net/URL.java
11575         (URL): Activate SecurityManager checks.
11576         (equals): Use URLStreamHandler implementation instead of doing it
11577         alone. This allows special protocol stream handlers to change default
11578         behaviour.
11579         (hashCode): Use URLStreamHandler implementation instead of doing it
11580         alone. This allows special protocol stream handlers to change default
11581         behaviour.
11582         * java/net/URLStreamHandler.java
11583         (equals): Implemented default URL equality check.
11584         (hostsEqual): Implemented default URL equality check.
11585         (hashCode): Implemented default URL hashCode algorithm.
11586         * java/net/natPlainDatagramSocketImpl.cc:
11587         No lines longer then 80 characters.
11588
11589 2002-10-20  Adam Megacz <adam@xwt.org>
11590
11591         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11592         * configure.in: enabled hash sync on Win32
11593         * include/win32-threads.h (_Jv_ThreadId_t): added.
11594         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11595         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11596         removed some posix-isms, use Thread::sleep() instead of usleep,
11597         added code to clear bottom three bits if platform has a broken
11598         linker.
11599         * include/win32-threads.h (_Jv_ThreadId_t): added.
11600
11601 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11602
11603         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11604         runtime property "gnu.gcj.progname" containing the name used to
11605         invoke the current Java program (similar to argv[0] for C
11606         programs).
11607
11608 2002-10-15  Tom Tromey  <tromey@redhat.com>
11609
11610         Fix for PR libgcj/8234:
11611         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11612         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11613
11614 2002-10-13  Mark Wielaard  <mark@klomp.org>
11615
11616         * mauve-libgcj: Enable Mauve tests that compile now.
11617
11618 2002-10-11  Mark Wielaard  <mark@klomp.org>
11619
11620         Fix for PR libgcj/8142
11621         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11622         loading native modules.
11623
11624 2002-10-10  Michael Koch  <konqueror@gmx.de>
11625
11626         * javax/swing/AbstractListModel.java
11627         (getListDataListeners): New stubbed method.
11628         javax/swing/DefaultBoundedRangeModel.java
11629         (getChangeListeners): New stubbed method.
11630         javax/swing/DefaultSingleSelectionModel.java
11631         (getChangeListeners): New stubbed method.
11632
11633 2002-10-10  Michael Koch  <konqueror@gmx.de>
11634
11635         * gcj/.cvsignore: New file to ignore files generated during build.
11636         * include/.cvsignore: New file to ignore files generated during build.
11637
11638 2002-10-10  Michael Koch  <konqueror@gmx.de>
11639
11640         * java/net/HttpURLConnection.java
11641         (getPermission): New method.
11642         (getErrorStream): New stub method.
11643         (getHeaderFieldDate): New stub method.
11644         * java/net/Inet4Address.java:
11645         (isLinkLocalAddress): Typo fixed.
11646         * java/net/InetAddress.java:
11647         (readResolve): New stubbed method (for serialization).
11648         (isAnyLocalAddress): New stubbed method.
11649         (isLoopbackAddress): New stubbed method.
11650         (isLinkLocalAddress): New stubbed method.
11651         (isSiteLocalAddress): New stubbed method.
11652         (isMCGlobal): New stubbed method.
11653         (isMCNodeGlobal): New stubbed method.
11654         (isMCLinkLocal): New stubbed method.
11655         (isMCSiteLocal): New stubbed method.
11656         (isMCOrgLocal): New stubbed method.
11657         (getCanonicalHostName): New stubbed method.
11658         (getByAddress): Create instances of Inet4Address/Inet6Address,
11659         instead of InetAddress, documentation added.
11660         * java/net/MulticastSocket.java
11661         (getInterface): Removed FIXME.
11662         (getNetworkInterface): New method.
11663         (setNetworkInterface): New method.
11664         * java/net/NetworkInterface.java:
11665         (toString): Use property "line.separator" instead of "\n".
11666         * java/net/URLConnection.java
11667         (getContent): New stubbed method.
11668         * java/net/URLStreamHandler.java:
11669         (equals): New stubbed method.
11670         (hostsEqual): New stubbed method.
11671         (hashCode): New stubbed method.
11672         * java/net/natNetworkInterface.cc:
11673         (getRealNetworkInterfaces): Create Inet4Address object
11674         instead of InetAddress.
11675
11676 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11677
11678         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11679         unsigned long temporary to implement insn_iushr shifts.
11680
11681 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11682
11683         * configure.host [s390*-*]: Enable Java interpreter.
11684         Enable hash synchronization.  Add sysdeps dir.
11685         * sysdep/s390/locks.h: New file.
11686
11687 2002-10-06  Mark Wielaard  <mark@klomp.org>
11688
11689         * java/lang/Thread.java (setDaemon): Check startable_flag,
11690         not isAlive().
11691
11692 2002-10-07  Michael Koch  <konqueror@gmx.de>
11693
11694         * java/nio/Buffer.java: New stub file.
11695         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11696         of class Charset.
11697         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11698         * Makefile.in: Regenerated.
11699
11700 2002-10-07  Michael Koch  <konqueror@gmx.de>
11701
11702         * java/nio/ByteBuffer.java:
11703         removed import of not commited class.
11704
11705 2002-10-07  Michael Koch  <konqueror@gmx.de>
11706
11707         * java/nio/ByteBuffer.java,
11708         java/nio/MappedByteBuffer.java:
11709         New files, forgot to add these dummies.
11710         * Makefile.am (java_native_source_files): Added new files.
11711         * Makefile.in: Regenerated.
11712
11713 2002-10-07  Michael Koch  <konqueror@gmx.de>
11714
11715         * java/nio/channels/AlreadyConnectedException.java,
11716         java/nio/channels/ClosedChannelException.java,
11717         java/nio/channels/ReadableByteChannel.java,
11718         java/nio/channels/InterruptibleChannel.java,
11719         java/nio/channels/Channel.java,
11720         java/nio/channels/ByteChannel.java,
11721         java/nio/channels/GatheringByteChannel.java,
11722         java/nio/channels/ScatteringByteChannel.java,
11723         java/nio/channels/WritableByteChannel.java,
11724         java/nio/charset/CharacterCodingException.java,
11725         java/nio/charset/IllegalCharsetNameException.java,
11726         java/nio/charset/MalformedInputException.java,
11727         java/nio/charset/UnmappableCharacterException.java,
11728         java/nio/charset/UnsupportedCharsetException.java,
11729         java/nio/charset/spi/CharsetProvider.java: New file.
11730         These files are exceptions or interfaces,
11731         no real or abstract classes.
11732         * Makefile.am (java_native_source_files): Added new files.
11733         * Makefile.in: Regenerated.
11734
11735 2002-10-05  Michael Koch  <konqueror@gmx.de>
11736
11737         * java/net/InetAddress.java
11738         (getByAddress): Fixed documentation.
11739         (getByAddress): New method.
11740         * java/net/Inet4Address.java: New file.
11741         * java/net/URL.java
11742         (URL): Documentation added.
11743         (getContent): Documentation added.
11744         (getContent): New stubbed method.
11745         (getQuery): New method.
11746         (openConnection): Documentation added.
11747         (openStream): Documentation added.
11748         (setURLStreamHandlerFactory): Documentation added.
11749         * java/net/URI.java: New stub file.
11750         * Makefile.am
11751         (java_native_source_files): Added java/net/Inet4Address.java,
11752         java/net/Inet6Address.java and java/net/URI.java.
11753         * Makefile.in: Regenerated.
11754
11755 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11756
11757         * java/lang/ProtectionDomain.java (linesep): Remove field.
11758         (toString): Use System.getProperty("line.separator").
11759
11760 2002-10-04  Michael Koch  <konqueror@gmx.de>
11761
11762         * java/security/Identity.java: Added serialVersionUID.
11763         * java/security/KeyPair.java: Added serialVersionUID.
11764         * java/security/Provider.java: Added serialVersionUID.
11765         * java/security/SecureRandom.java: Added serialVersionUID.
11766         * java/security/SecureRandomSpi.java: Added serialVersionUID.
11767         * java/security/SignedObject.java: Added serialVersionUID.
11768         * java/security/cert/Certificate.java: Added serialVersionUID.
11769
11770 2002-10-04  Mark Wielaard <mark@klomp.org>
11771
11772         * java/security/Security.java: Use java.home or gnu.classpath.home
11773         to load providers.
11774         (loadProviders): Extra dir argument.
11775         (getProvider): Return null when not found.
11776
11777 2002-10-04  Mark Wielaard  <mark@klomp.org>
11778
11779         * java/lang/Throwable.java: Remerge with Classpath.
11780
11781 2002-10-04  Michael Koch  <konqueror@gmx.de>
11782
11783         * java/net/InetAddress.java:
11784         (isMulticastAddress): Added documentation.
11785         (getHostAddress): Added documentation.
11786         (toString): Added documentation.
11787         (getByAddress): Fixed documentation.
11788         (getByName): Added documentation.
11789         (getAllByName): Added documentation.
11790         (getLocalHost): Added documentation.
11791
11792 2002-10-04  Michael Koch  <konqueror@gmx.de>
11793
11794         * java/beans/beancontext/BeanContextChildSupport.java:
11795         Added serialVersionUID.
11796         * java/text/Collator.java: (compare): Made documentation HTML-aware.
11797         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11798         * javax/naming/Name.java: Added serialVersionUID.
11799
11800 2002-10-03  Adam Megacz <adam@xwt.org>
11801
11802         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11803         some functionality that isn't supported yet on WIN32.
11804
11805 2002-10-03  Tom Tromey  <tromey@redhat.com>
11806
11807         * Makefile.in: Rebuilt.
11808         * Makefile.am (awt_java_source_files): Added new files.
11809
11810 2002-10-03  Michael Koch  <konqueror@gmx.de>
11811
11812         * java/net/InetAddress.java
11813         (class InetAddress): Removed final keyword.
11814         (equals): Fixed typo.
11815         (getByAddress): New method.
11816
11817 2002-10-03  Michael Koch  <konqueror@gmx.de>
11818
11819         * java/awt/dnd/Autoscroll.java:
11820         New file, merge from Classpath.
11821         * java/awt/dnd/DragSourceAdapter.java:
11822         (dragExit): Fixed typos in argument type.
11823         (dragDropEnd): Fixed typos in argument type.
11824         * java/awt/dnd/DragSourceDropEvent.java:
11825         New file, merge from Classpath.
11826         * java/awt/dnd/DropTarget.java:
11827         Added stubs, merge from Classpath.
11828         * java/awt/dnd/DropTargetAdapter.java:
11829         New file, merge from Classpath.
11830         * java/awt/dnd/DropTargetContext.java:
11831         New file, merge from Classpath.
11832         * java/awt/dnd/DropTargetDragEvent.java:
11833         New file, merge from Classpath.
11834         * java/awt/dnd/DropTargetDropEvent.java:
11835         New file, merge from Classpath.
11836         * java/awt/dnd/DropTargetEvent.java:
11837         New file, merge from Classpath.
11838         * java/awt/dnd/DropTargetListener.java:
11839         New file, merge from Classpath.
11840         * java/awt/dnd/MouseDragGestureRecognizer.java:
11841         New file, merge from Classpath.
11842         * java/awt/dnd/peer/DropTargetContextPeer.java:
11843         New file, merge from Classpath.
11844
11845 2002-10-03  Michael Koch  <konqueror@gmx.de>
11846
11847         * java/net/DatagramPacket.java
11848         (setLength): Fixed typo and be HTML-aware.
11849         * java/net/InetSocketAddress.java
11850         (InetSocketAddress): Correct initialization of hostname, fixed typo.
11851         (equals): Added comment about equality of InetSocketAddress objects.
11852         * java/net/ServerSocket.java
11853         (accept): Added checks.
11854         (isClosed): New stubbed method.
11855         * java/net/SocketOptions.java: Reindention.
11856         * java/net/SocketPermission
11857         (SocketPermission): Documentation fixed.
11858
11859 2002-10-03  Michael Koch  <konqueror@gmx.de>
11860
11861         * java/net/DatagramSocket.java
11862         (receive): Check with SecurityManager AFTER the packet is received,
11863         check if connected to multicast address, documentation added.
11864         (send): Only check SecurityManager if connected, check address of
11865         packet to send.
11866         (connect): Implemented, documentation added.
11867         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11868         * java/net/InetSocketAddress.java
11869         (whole file): Reindented.
11870         (hostname): New attribute.
11871         (InetSocketAddress): Initialize new attribute.
11872         (getAddress): Documentation added.
11873         (getHostName): Documentation added.
11874         (getPort): Documentation added.
11875         (hashCode): Documentation added.
11876         (isUnresolved): Documentation added.
11877         (toString): Conform to output of JDK 1.4.1, documentation added.
11878         * java/net/MulticastSocket.java
11879         (joinGroup): Removed FIXME, documentation added.
11880         (leaveGroup): Removed FIXME, documentation added.
11881         (send): Documentation added.
11882         * java/net/Socket.java
11883         (inputShutdown): New variable.
11884         (outputShutdown): New variable.
11885         (Socket): Initialize new variables.
11886         (getRemoteSocketAddress): Check if connected.
11887         (shutdownInput): Set new variable.
11888         (shutdownOutput): Set new variable.
11889         (isConnected): New method.
11890         (isClosed): New method.
11891         (isInputShutdown): New method.
11892         (isOutputShutdown): New method.
11893         * java/net/URLStreamHandler.java
11894         (URLStreamHandler): New method.
11895         (openConnection): Added documentation.
11896         (parseURL): Added documentation.
11897         (getHostAddress): New method.
11898         (getDefaultPort): New method.
11899
11900 2002-10-02  Tom Tromey  <tromey@redhat.com>
11901
11902         * java/rmi/activation/ActivationDesc.java,
11903         java/rmi/activation/ActivationGroupDesc.java,
11904         java/rmi/activation/ActivationGroupID.java,
11905         java/rmi/activation/ActivationID.java: New versions from
11906         Classpath.
11907
11908 2002-09-30  Bo Thorsen  <bo@suse.de>
11909
11910         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11911
11912 2002-09-30  Tom Tromey  <tromey@redhat.com>
11913
11914         * java/io/ObjectInputStream.java (resolveProxyClass): New method
11915         from Classpath.
11916         * Makefile.in: Rebuilt.
11917         * Makefile.am (rmi_java_source_files): Added new files.
11918         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11919         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11920         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11921         Classpath.
11922         * gnu/java/rmi/dgc/DGCImpl.java,
11923         gnu/java/rmi/dgc/DGCImpl_Skel.java,
11924         gnu/java/rmi/dgc/DGCImpl_Stub.java,
11925         gnu/java/rmi/registry/RegistryImpl_Skel.java,
11926         gnu/java/rmi/registry/RegistryImpl_Stub.java,
11927         gnu/java/rmi/server/RMIHashes.java,
11928         gnu/java/rmi/server/RMIObjectInputStream.java,
11929         gnu/java/rmi/server/RMIObjectOutputStream.java,
11930         gnu/java/rmi/server/UnicastConnection.java,
11931         gnu/java/rmi/server/UnicastConnectionManager.java,
11932         gnu/java/rmi/server/UnicastRef.java,
11933         gnu/java/rmi/server/UnicastServer.java,
11934         gnu/java/rmi/server/UnicastServerRef.java,
11935         java/rmi/MarshalledObject.java,
11936         java/rmi/server/RMIClassLoader.java,
11937         java/rmi/server/RemoteObject.java,
11938         java/rmi/server/UnicastRemoteObject.java,
11939         java/security/SecureClassLoader.java: Merged from Classpath.
11940
11941 2002-09-29  Anthony Green  <green@redhat.com>
11942
11943         * java/lang/reflect/UndeclaredThrowableException.java: New file.
11944         Imported from GNU Classpath.
11945         * java/lang/reflect/natProxy.cc: New file.
11946         * java/lang/reflect/InvocationHandler.java: New file.  Imported
11947         from GNU Classpath.
11948         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
11949         Classpath.
11950         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11951         Classpath.
11952         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11953         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11954         New statics.
11955         * gcj/javaprims.h ("Java"): Add new classes.
11956         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11957         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11958         java/lang/reflect/Proxy$$ProxyType.h): And this.
11959         (inner_nat_headers): Add these new headers.
11960         (ordinary_java_source_files): Add new files.
11961         (nat_source_files): Add new file.
11962         * Makefile.in: Rebuilt.
11963
11964 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
11965
11966         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11967         a single configuration.
11968
11969 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11970
11971         * java/util/TimeZone.java (getDSTSavings): New method.
11972         Fixes PR libgcj/7786.
11973
11974 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11975
11976         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
11977         to see if `the_method == 0' before looking up vtable index.
11978         Fixes PR libgcj/7709.
11979
11980 2002-09-25  Tom Tromey  <tromey@redhat.com>
11981
11982         * java/lang/natClassLoader.cc:
11983         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
11984         * resolve.cc: Include NoClassDefFoundError.h, not
11985         ClassNotFoundException.h.
11986         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11987
11988         * defineclass.cc: Don't include ClassNotFoundException.h.
11989
11990         * resolve.cc: Include StringBuffer.
11991         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11992
11993         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11994         allocated but not initialized.
11995
11996 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11997
11998         Fix for PR libgcj/7766:
11999         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12000         (getNextEntry): Set it.
12001         (closeEntry): Likewise.
12002         (read): Likewise.
12003         (close): Likewise.
12004         (available): Use it.
12005
12006 2002-09-25  Michael Koch  <konqueror@gmx.de>
12007
12008         * java/net/DatagramSocket.java
12009         (DatagramSocket): Initialize new instance variables.
12010         (close): Reset new instance variables.
12011         (getLocalAddress): Remove unneeded SecurityManager usage.
12012         (getLocalPort): Check if socket is already bound.
12013         (isConnected): New method.
12014         (getInetAddress): Implemented.
12015         (getPort): Better Implementation, documentation fixed.
12016         (getRemoteSocketAddress): New method.
12017         * java/net/JarURLConnection.java
12018         (element): Typo fixed.
12019         (getMainAttributes): New method.
12020         (getAttributes): New method (stub only).
12021         (getManifest): New method (stub only).
12022         * java/net/NetPermission.java: Added serialVersionsUID.
12023         * java/net/Socket.java
12024         (connect): Check blocking mode of associated channel,
12025         documentation added.
12026         (getLocalSocketAddress): Better implementation.
12027         (getRemoteSocketAddress): Implemented.
12028         (isBound): New method.
12029         (setSendBufferSize): Documentation added.
12030         * java/net/SocketAddress.java: Added serialVersionsUID.
12031         * java/net/SocketPermission.java: Added serialVersionsUID.
12032         * java/net/URL.java
12033         (URL): Wrap for shorter lines, initialize new instance variables,
12034         documentation added.
12035         (equals): Check new instance variables too.
12036         (getContent): Documentation added.
12037         (getPath): Documentation added.
12038         (getAuthority): New method.
12039         (getHost): Documentation added.
12040         (getPort): Documentation added.
12041         (getDefaultPort): New method.
12042         (getProtocol): Documentation added.
12043         (getUserInfo): Documentation added.
12044         (set): Initialize new instance variables, documentation added.
12045         * java/net/URLStreamHandler.java
12046         (setURL): New method.
12047         * java/net/natPlainDatagramSocketImpl.cc
12048         (connect): Fix exception name.
12049         (disconnect): Fix exception name.
12050
12051 2002-09-25  Michael Koch  <konqueror@gmx.de>
12052
12053         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12054         * java/nio/channels/DatagramChannel.java:
12055         extends AbstractSelectableChannel
12056         * java/nio/channels/ServerSocketChannel.java:
12057         extends AbstractSelectableChannel
12058         * java/nio/channels/SocketChannel.java:
12059         extends AbstractSelectableChannel
12060         * Makefile.am (ordinary_java_source_files):
12061         java/nio/channels/spi/AbstractSelectableChannel.java added.
12062         * Makefile.in: Regenerated.
12063
12064 2002-09-25  Michael Koch  <konqueror@gmx.de>
12065
12066         * java/net/DatagramSocket.java
12067         (DatagramSocket): Exception documentation added.
12068         (bind): Exception documentation added, addded SecurityManager check,
12069         added SocketAddress type check.
12070         (getSoTimeout): Check impl.
12071         (receive): Fix SecurityManager check, check impl, documentation added.
12072         (send): Check channel mode, documentation added.
12073         (connect): New method.
12074         (disconnect): Implemented.
12075         (getLocalSocketAddress): New method.
12076         (getReceiveBufferSize): Check impl.
12077         (setReuseAddress): Check impl.
12078         (getReuseAddress): Check impl.
12079         (setBroadcast): Check impl.
12080         (getBroadcast): Check impl.
12081         (setTrafficClass): Check impl, Documentation cleared.
12082         (getTrafficClass): Check impl.
12083         (getSendBufferSize): Check impl.
12084         (setReceiveBufferSize): Check impl, documentation added.
12085         (setSendBufferSize): Documentation added.
12086         (setDatagramSocketImplFactory): New method.
12087         * java/net/HttpURLConnection.java
12088         (HTTP_INTERNAL_ERROR): The correct code is 500.
12089         (HTTP_NOT_IMPLEMENTED): Added new constant.
12090         (setFollowRedirects): Documentation added.
12091         (getInstanceFollowRedirects): New method.
12092         (setInstanceFollowRedirects): New method.
12093         (setRequestMethod): Documentation added.
12094         (getResponseCode): Documentation added.
12095         (getResponseMessage): Documentation added.
12096         * java/net/JarURLConnection.java
12097         (JarURLConnection): protected since JDK 1.4.
12098         (getJarEntry): java.io.IOException to IOException, documentation added.
12099         (getJarFile): Documentation added.
12100         * java/net/ServerSocket.java
12101         (ServerSocket): Private to public, exception added.
12102         (ServerSocket): java.io.IOException to IOException, documentation added.
12103         (bind): Check socket address type, documentation added.
12104         (bind): java.io.IOException to IOException, documentation added.
12105         (accept): Documentation added.
12106         (implAccept): Check ch is not non-blocking, documentation added.
12107         (setSoTimeout): Documentation fixed.
12108         (setReceiveBufferSize): Documentation added.
12109         * java/net/Socket.java
12110         (Socket): Documentation added.
12111         (bind): Documentation added.
12112         (connect): Check socket address type, documentation added.
12113         (getRemoteSocketAddress): New method.
12114         (getLocalSocketAddress): New method.
12115         (setSoLinger): Documentation added.
12116         (getReuseAddress): New method.
12117         (setReuseAddress): New method.
12118         (getTrafficClass): New method.
12119         (setTrafficClass): New method.
12120         * java/net/URLStreamHandler.java
12121         (openConnection): java.io.IOException to IOException.
12122         (parseURL): Documentation added.
12123         (sameFile): public to protected, documentation added.
12124         (setURL): Documentation added.
12125         * java/nio/IllegalBlockingModeException.java: New file.
12126         * Makefile.am (ordinary_java_source_files):
12127         added java/nio/IllegalBlockingModeException.java
12128         * Makefile.in: Regenerated.
12129
12130 2002-09-25  Michael Koch  <konqueror@gmx.de>
12131
12132         * java/net/DatagramPacket
12133         (DatagramPacket): Exception documentation added.
12134         (setData): Likewise.
12135         (setSocketAddress): Likewise.
12136         * java/net/DatagramSocketImpl.java
12137         (peek): Documentation addded.
12138         (peekData): Documentation addded.
12139         (send): Documentation addded.
12140         (receive): Documentation addded.
12141         (connect): New method.
12142         (disconnect): New method.
12143         (joinGroup): New abstract method.
12144         (leaveGroup): New abstract method.
12145         * java/net/InetSocketAddress.java
12146         (InetSocketAddress): Documentation added.
12147         (equals): final keyword added.
12148         (getAddress): final keyword added.
12149         (getHostName): final keyword added.
12150         (getPort): final keyword added.
12151         (hashCode): final keyword added.
12152         (isUnresolved): final keyword added.
12153         * java/net/MulticastSocket.java
12154         (MulticastSocket): Documentation added.
12155         (MulticastSocket): New method.
12156         (joinGroup): Documentation added.
12157         (joinGroup): New method.
12158         (leaveGroup): Documentation added.
12159         (leaveGroup): New method.
12160         (send): Documentation added.
12161         * java/net/NetworkInterface.java
12162         (getByName): Documentation added.
12163         (getByInetAddress): Documentation added.
12164         (getNetworkInterfaces): Documentation added.
12165         * java/net/PlainDatagramSocketImpl.java
12166         (connect): New method.
12167         (disconnect): New method.
12168         * java/net/SocketImpl.java
12169         (create): Documentation added.
12170         (shutdownInput): Convert public to protected, as it always was.
12171         (shutdownOutput): Convert public to protected, as it always was.
12172         * java/net/SocketOptions.java
12173         (whole file): Reintented.
12174         * java/net/URLClassLoader.java
12175         (URLClassLoader): SecurityManager check added, documentation added.
12176         (findResources): Documentation added.
12177         (findClass): Documentation added.
12178         (newInstance): More correct method arguments.
12179         * java/net/URLConnection.java
12180         (connect): Documentation added.
12181         (getContent): Documentation added.
12182         (getPermission): Documentation added.
12183         (getInputStream): Documentation added.
12184         (getOutputStream): Documentation added.
12185         (setDoInput): Throw correct exception, documentation added.
12186         (setDoOutput): Throw correct exception, documentation added.
12187         (setAllowUserInteraction): Throw correct exception, documentation added.
12188         (setUseCaches): Throw correct exception, documentation added.
12189         (setIfModifiedSince): Throw correct exception, documentation added.
12190         (setRequestProperty): Throw exception, documentation added.
12191         (addRequestProperty): Throw exception, documentation added.
12192         (getRequestProperty): Throw exception, documentation added.
12193         (getRequestProperties): Documentation added.
12194         (setContentHandlerFactory): Documentation added.
12195         (guessContentTypeFromName): protected to public.
12196         (setFileNameMap): Documentation added.
12197         * java/net/URLDecoder.java
12198         (URLDecoder): New method.
12199         (decode): Documentation added.
12200         (whole file): Reindented.
12201         * java/net/URLEncoder.java
12202         (encode): Documentation added.
12203         * java/net/natPlainDatagramSocketImpl.cc
12204         (connect): New method.
12205         (disconnect): New method.
12206         * javax/naming/RefAddr:
12207         (addrType): addrType was never final.
12208         (equals): Fix typo in method name.
12209         * javax/naming/BinaryRefAddr:
12210         (equals): Fix typo in method name.
12211
12212 2002-09-22  Tom Tromey  <tromey@redhat.com>
12213
12214         Fix for PR libgcj/6576:
12215         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12216         didn't find a given bundle.
12217         (getBundle): Don't require base bundle.
12218         (setParent): Removed old comment.
12219         (tryLocalBundle): Try components even if preceding components were
12220         empty.
12221
12222 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12223
12224         * Makefile.am (all-multi): Fix multilib parallel build.
12225
12226 2002-09-21  Michael Koch  <konqueror@gmx.de>
12227
12228         * java/net/Socket.java
12229         (sendUrgentData): New method.
12230         (getChannel): New method.
12231         * java/net/ServerSocket.java
12232         (getChannel): New method.
12233         (isBound): New method.
12234         * java/net/DatagramSocket.java
12235         (DatagramSocket): Two new methods.
12236         (bind): New method.
12237         (getChannel): New method.
12238         (isBound): New method.
12239         (send): Added newline to to make shorter lines.
12240         * java/net/PlainDatagramSocketImpl.java
12241         (mcastGrp): Added argument.
12242         (join): Use new mcastGrp.
12243         (leave): Use new mcastGrp.
12244         (joinGroup): New method.
12245         (leaveGroup): New method.
12246         * java/net/natPlainDatagramSocketImpl.cc
12247         (mcastGrp): Added argument, no yet really implemented.
12248         (getOption): Added newline for shorter lines.
12249         * java/net/natPlainSocketImpl.cc
12250         (read, setOption, getOption): Added newline for shorter lines.
12251
12252 2002-09-19  Tom Tromey  <tromey@redhat.com>
12253
12254        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12255        newly-created exception.
12256
12257 2002-09-18  Michael Koch  <konqueror@gmx.de>
12258
12259         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12260         java/util/regex/PatternSyntaxException.java:
12261         Merge with classpath, new files.
12262         * Makefile.am (core_java_source_files):
12263         Added java/util/regex/Matcher.java,
12264         java/util/regex/Pattern.java,
12265         java/util/regex/PatternSyntaxException.java
12266         * Makefile.in: Regenerated.
12267         * include/config.h.in: Added HAVE_NET_IF_H.
12268         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12269         Removed #if 0 ... #endif.
12270
12271 2002-09-17  Michael Koch  <konqueror@gmx.de>
12272
12273         * java/net/natNetworkInterface.cc:
12274         Removed unneed and yet wrong includes.
12275
12276 2002-09-17  Michael Koch  <konqueror@gmx.de>
12277
12278         * java/net/NetworkInterface.java: New file.
12279         * java/net/natNetworkInterface.java: New file.
12280         * configure.in: Added check for net/if.h.
12281         * configure: Regenerated.
12282         * Makefile.am
12283         (ordinary_java_source_files): Added NetworkInterface.java.
12284         (nat_source_files): Added natNetworkInterface.cc.
12285         * Makefile.in: Regenerated.
12286
12287 2002-09-16  Tom Tromey  <tromey@redhat.com>
12288
12289         * java/net/URLClassLoader.java (findClass): Code source for a
12290         class from a jar is not necessarily a jar: URL.
12291
12292 2002-09-16  Michael Koch  <konqueror@gmx.de>
12293
12294         * java/lang/AssertionError.java:
12295         Merge with classpath, fixes HTML.
12296         * java/rmi/server/LogStream.java:
12297         Merge with classpath, fixes some constants.
12298         * java/net/server/RemoteServer.java:
12299         Merge with classpath, adds serialVersionUID.
12300         * javax/naming/BinaryRefAddr.java:
12301         Merge with classpath, s/equal/equals/.
12302         * javax/naming/NamingException.java:
12303         Merge with classpath, fixed typo.
12304         * javax/naming/RefAddr.java:
12305         Merge with classpath, s/equal/equals/.
12306         * java/awt/Toolkit.java:
12307         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12308         and typo fixed.
12309
12310 2002-09-15  Adam Megacz <adam@xwt.org>
12311
12312         * java/net/natPlainSocketImpl.cc: fixed typo.
12313
12314 2002-09-15  Adam Megacz <adam@xwt.org>
12315
12316         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12317         which don't work on Win32 (yet).
12318
12319 2002-09-14  Adam Megacz <adam@xwt.org>
12320
12321         * java/net/natPlainDatagramSocket.cc: removed #include
12322         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12323         * include/win32.h: included definition for IP_TOS to satisfy
12324         natPlainDatagramSocket.cc
12325
12326 2002-09-13  Michael Koch  <konqueror@gmx.de>
12327
12328         * java/net/DatagramPacket.java (DatagramPacket):
12329         Added linebreak for 80 chars per line.
12330         * java/net/JarURLConection.java
12331         (getInputStreami, getJarEntry): Likewise.
12332         * java/net/SocketPErmission.java
12333         (SocketPermission class docu, implies): Likewise.
12334         * java/net/URLClassLoader.java (findResources): Likewise.
12335         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12336
12337 2002-09-13  Michael Koch  <konqueror@gmx.de>
12338
12339         * java/nio/channels/DatagramChannel.java,
12340         java/nio/channels/ServerSocketChannel.java
12341         java/nio/channels/SocketChannel.java:
12342         New dummy files to make java.net fully JDK 1.4 compatible
12343         * Makefile.am (ordinary_java_source_files): Added
12344         java/net/DatagramSocketImplFactory.java (long forgotten),
12345         java/nio/SocketChannel.java,
12346         java/nio/ServerSocketChannel.java,
12347         java/nio/DatagramChannel.java
12348         * Makefile.in: Regenrated.
12349
12350 2002-09-12  Michael Koch  <konqueror@gmx.de>
12351
12352         * java/net/DatagramSocketImpl.java
12353         (peekData): New method.
12354         * java/net/PlainDatagramSocketImpl.java
12355         (peekData): New method.
12356         * java/net/natPlainDatagramSocketImpl.cc
12357         (peekData): New method.
12358         * java/net/URLConnection
12359         (getPermission): New method.
12360         (addRequestProperty): New method.
12361         (getRequestProperties): New method.
12362         (guessContentTypeFromStream): New method, not really implemented.
12363         (URLConnection): Added/updated documentation.
12364         (connect): Added/updated documentation.
12365         (getURL): Added/updated documentation.
12366         (getContentLength): Added/updated documentation.
12367         (getContentType: Added/updated documentation.
12368         (getContentEncoding): Added/updated documentation.
12369         (getExpiration): Added/updated documentation.
12370         (getDate): Added/updated documentation.
12371         (getLastModified): Added/updated documentation.
12372         (getHeaderField): Added/updated documentation.
12373         (getHeaderFields): Added/updated documentation.
12374         (getHeaderFieldInt): Added/updated documentation.
12375         (getHeaderFieldDate): Added/updated documentation.
12376         (getHeaderFieldKey): Added/updated documentation.
12377         (getContent): Added/updated documentation.
12378         (getInputStream): Added/updated documentation.
12379         (getOutputStream): Added/updated documentation.
12380         (toString): Added/updated documentation.
12381         (setDoInput): Added/updated documentation.
12382         (getDoInput): Added/updated documentation.
12383         (setDoOutput): Added/updated documentation.
12384         (getDoOutput): Added/updated documentation.
12385         (setAllowUserInteraction): Added/updated documentation.
12386         (getAllowUserInteraction): Added/updated documentation.
12387         (setDefaultAllowUserInteraction): Added/updated documentation.
12388         (getDefaultAllowUserInteraction): Added/updated documentation.
12389         (setUseCaches): Added/updated documentation.
12390         (getUseCaches): Added/updated documentation.
12391         (setIfModifiedSince): Added/updated documentation.
12392         (getIfModifiedSince): Added/updated documentation.
12393         (getDefaultUseCaches): Added/updated documentation.
12394         (setDefaultUseCaches): Added/updated documentation.
12395         (setRequestProperty): Added/updated documentation.
12396         (getRequestProperty): Added/updated documentation.
12397         (setDefaultRequestProperty): Added/updated documentation.
12398         (getDefaultRequestProperty): Added/updated documentation.
12399         (setContentHandlerFactory): Added/updated documentation.
12400         (guessContentTypeFromName): Added/updated documentation.
12401         (getFileNameMap): Added/updated documentation.
12402         (setFileNameMap): Added/updated documentation.
12403
12404 2002-09-11  Michael Koch  <konqueror@gmx.de>
12405
12406         * java/net/Socket.java
12407         (Socket): protected to public (since JDK 1.4). Added @specnote.
12408         (bind): New method.
12409         (connect): Two new methods.
12410         (getKeepalive): Get correct socket option.
12411         (setKeepalive): Set correct socket option.
12412         (getOOBInline): New method.
12413         (setOOBInline): New method.
12414         * java/net/ServerSocket.java
12415         (bind): Two new methods.
12416         (getInetAddress): Reimplemented, catch exception.
12417         (getLocalSocketAddress): New method.
12418         (setReuseAddress): New method.
12419         (getReuseAdress): New method.
12420         (setReceiveBufferSize): New method.
12421         (getReceiveBufferSize): New method.
12422         (toString): Made string JDK 1.4 compliant.
12423
12424 2002-09-10  Michael Koch  <konqueror@gmx.de>
12425
12426         * java/net/SocketImpl.java
12427         (connect): New method.
12428         (supportsUrgentData): New method.
12429         (sendUrgentData): New method.
12430         * java/net/PlainSocketImpl.java
12431         (connect): One new method and two new implementation.
12432         (sendUrgentData): New method.
12433         * java/natPlainSocketImpl.cc
12434         (connect): Arguments changed, added support for timeouts.
12435         (getOption): Another __java_boolean to jboolean.
12436
12437 2002-09-07  Adam Megacz <adam@xwt.org>
12438
12439         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12440         definition of IP_TOS.
12441
12442 2002-09-04  Michael Koch  <konqueror@gmx.de>
12443
12444         * java/net/DatagramSocket.java
12445         (DatagramSocket): Added documentation.
12446         (close): Likewise.
12447         (getLocalAddress): Likewise.
12448         (getLocalPort): Likewise.
12449         (receive): Likewise.
12450         (send): Likewise.
12451         (setSoTimeout): Likewise.
12452         (connect): New method.
12453         (disconnect): New method.
12454         (getInetAddress): New method (FIXME)
12455         (getPort): New method.
12456         (setReuseAddress): New method.
12457         (getReuseAddress): New method.
12458         (setBroadcast): New method.
12459         (getBroadcast): New method.
12460         (setTrafficClass): New method.
12461         (getTrafficClass): New method.
12462         * java/net/MulticastSocket.java):
12463         (getTTL): Added @see in documentation.
12464         (setTTL): Added @see in documentation.
12465         (setLoopbackMode): New method.
12466         (getLoopbackMode): New method.
12467         * java/net/PlainSocketImpl.java:
12468         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12469         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12470         * java/net/PlainDatagramSocketImpl.java
12471         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12472         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12473         * java/net/natPlainSocketImpl.cc
12474         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12475         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12476         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12477         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12478         This should also fix SO_KEEPALIVE
12479         * java/net/natPlainDatagramSocketImpl.cc
12480         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12481         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12482         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12483         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12484
12485 2002-09-04  Michael Koch  <konqueror@gmx.de>
12486
12487         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12488         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12489         IP_MULTICAST_LOOP, IP_TOS
12490
12491 2002-09-03  Tom Tromey  <tromey@redhat.com>
12492
12493         * java/lang/Class.h (_getDeclaredMethod): Declare.
12494         (_getMethod): Now private.
12495         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12496         getDeclaredMethod.  Now returns NULL on failure.
12497         * java/lang/Class.java (_getDeclaredMethod): Declare.
12498         (getDeclaredMethod): No longer native; implements access checks.
12499
12500 2002-09-01  Mark Wielaard  <mark@klomp.org>
12501
12502         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12503         (sanitizeStack): Correctly reset unknown and interpreter counters,
12504         detect interpreter runtime frames.
12505         (demangleInterpreterMethod): New method.
12506         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12507         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12508         filling in addrs[].
12509
12510 2002-09-02  Michael Koch  <konqueror@gmx.de>
12511
12512         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12513         re-indented documentation.
12514
12515 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12516
12517         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12518         public, per 1.4 spec.  Fixes PR libgcj/7785.
12519
12520 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12521
12522         * Makefile.in: Rebuilt.
12523         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12524
12525 2002-08-29  Tom Tromey  <tromey@redhat.com>
12526
12527         * java/net/JarURLConnection.java (getCertificates): New method
12528         from Classpath.
12529         * java/net/URLClassLoader.java (URLClassLoader): Extends
12530         SecureClassLoader.
12531         (definePackage): New method from Classpath.
12532         (getPermissions): Likewise.
12533         (newInstance): Likewise.
12534         (findClass): Construct CodeSource for new class (from Classpath).
12535         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12536         methods.
12537         * java/net/URL.java (getUserInfo): New method.
12538         (set(String,String,int,String,String,String,String,String)): New
12539         method.
12540         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12541         (shutdownInput, shutdownOutput): Declare.
12542         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12543         Define.
12544         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12545         (getOption): Likewise.
12546         (shutdownInput): New method.
12547         (shutdownOutput): Likewise.
12548         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12549         keepalive.
12550         (getOption): Likewise.
12551         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12552         * java/net/Socket.java (setKeepAlive): New method.
12553         (getKeepAlive): Likewise.
12554         (shutdownInput, shutdownOutput): New methods.
12555
12556 2002-08-29  Michael Koch  <konqueror@gmx.de>
12557
12558         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12559         new methods are:
12560         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12561           address),
12562         DatagramPacket(byte[] buf, int length, SocketAddress address),
12563         void setSocketAddress(SocketAddress address)
12564         public SocketAddress getSocketAddress()
12565
12566 2002-08-29  Tom Tromey  <tromey@redhat.com>
12567
12568         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12569         ftruncate is missing.
12570         * configure, include/config.h.in: Rebuilt.
12571         * acconfig.h (HAVE_FTRUNCATE): Mention.
12572         * configure.in: Check for ftruncate.
12573
12574 2002-08-29  Tom Tromey  <tromey@redhat.com>
12575
12576         * include/jvm.h (struct _Jv_frame_info): New structure.
12577         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12578         java-interp.h.
12579         (lookupInterp): New method.
12580         (getAddrAsString): Use _Jv_frame_info.
12581         (dladdrLookup): Likewise.
12582         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12583         interpreted frame.
12584         (lookupInterp): Declare.
12585         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12586         (fillInStackTrace): Collect information on interpreted frames.
12587         Use _Jv_frame_info.
12588         * interpret.cc: Include Thread.h.
12589         (run): Create and push _Jv_MethodChain object.
12590         (_Jv_EndOfInterpreter): New global.
12591         * java/lang/Thread.java (interp_frame): New field.
12592         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12593         Include NameFinder.h.
12594
12595 2002-08-28  Tom Tromey  <tromey@redhat.com>
12596
12597         * java/lang/Class.h: Include Package.h.
12598         (Class::getProtectionDomain): Declare.
12599         (Class::getPackage): Declare.
12600
12601 2002-08-28  Michael Koch <konqueror@gmx.de>
12602
12603         * java/net/InetSocketAddress.java: Added some documentation and argument
12604         checks for the port numbers.
12605         * java/net/DatagramSocketImplFactory.java: New file.
12606
12607 2002-08-28  Michael Koch <konqueror@gmx.de>
12608
12609         * java/net/Authenticator.java: added some documentation.
12610
12611 2002-08-27  Tom Tromey  <tromey@redhat.com>
12612
12613         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12614         class.
12615         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12616
12617 2002-08-27  Michael Koch <konqueror@gmx.de>
12618
12619         * java/net/BindException.java,
12620         java/net/JarURLConnection.java,
12621         java/net/FileNameMap.java,
12622         java/net/HttpURLConnection.java,
12623         java/net/InetSocketAddress.java,
12624         java/net/DatagramPacket.java,
12625         java/net/DatagramSocket.java,
12626         java/net/DatagramSocketImpl.java,
12627         java/net/MulticastSocket.java,
12628         java/net/PasswordAuthentication.java,
12629         java/net/ServerSocket.java,
12630         java/net/Socket.java,
12631         java/net/URLClassLoader.java,
12632         java/net/URLConnection.java: add/update of some @since/@deprecated
12633
12634 2002-08-27  Tony Kimball <alk@pobox.com>
12635             Tom Tromey  <tromey@redhat.com>
12636
12637         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12638         define.
12639         (::close): Removed.
12640         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12641         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12642         (::close): Removed.
12643         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12644         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12645
12646 2002-08-25  Adam Megacz <adam@xwt.org>
12647
12648         * include/win32.h (getcwd): copied function declaration as
12649         temporary fix for header confusion.
12650
12651 2002-08-24  Mark Wielaard <mark@klomp.org>
12652
12653         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12654         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12655         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12656         and natNameFinder.cc.
12657         * Makefile.in: Regenerate.
12658         * prims.cc: Use trace_enabled from VMThrowable.
12659         * name-finder.cc: Removed.
12660         * gcj/javaprims.h: Add class VMThrowable.
12661         * gnu/gcj/runtime/NameFinder.java: New file.
12662         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12663         * include/name-finder.h: Removed.
12664         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12665         method stackTraceString().
12666         (printStackTrace (PrintWriter)): Likewise.
12667         (stackTraceString): Complete rewrite of old printStackTrace using
12668         StringBuffer.
12669         (stackTraceStringBuffer): New helper method for stackTraceString().
12670         (fillInStackTrace): Delegate to VMTrowable.
12671         (getStackTrace): Likewise.
12672         (getStackTrace0): Removed.
12673         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12674         (setStackTrace): Copy given array.
12675         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12676         * java/lang/VMThrowable.java: New class.
12677         * java/lang/natVMThrowable.cc: New file.
12678
12679 2003-08-23  Michael Koch  <konqueror@gmx.de>
12680
12681         * java/net/URLConnection.java,
12682         java/netJarURLConnection.java,
12683         gnu/gcj/protocol/core/Connection.java,
12684         gnu/gcj/protocol/file/Connection.java,
12685         gnu/gcj/protocol/http/Connection.java: Added implementation of
12686         getHeaderFields().
12687
12688 2002-08-22  Tom Tromey  <tromey@redhat.com>
12689
12690         * gij.cc (help): Document -cp and -classpath.
12691         (main): Handle -classpath.
12692
12693 2002-08-21  Tom Tromey  <tromey@redhat.com>
12694
12695         * Makefile.in: Rebuilt.
12696         * Makefile.am (ordinary_java_source_files): Added
12697         SocketAddress.java, InetSocketAddress.java.
12698         * java/net/PortUnreachableException.java: Merged with Classpath.
12699         * java/net/SocketTimeoutException.java: Likewise.
12700         * java/net/URISyntaxException.java: Likewise.
12701         * java/net/SocketAddress.java: New class from Classpath.
12702         * java/net/InetSocketAddress.java: Likewise.
12703
12704 2003-08-21  Michael Koch  <konqueror@gmx.de>
12705
12706         * java/net/Authenticator.java: updated JDK 1.4
12707         * java/net/ContentHandler.java: updated JDK 1.4
12708
12709 2002-08-20  Michael Koch  <konqueror@gmx.de>
12710
12711         * java/net/URISyntaxException.java: New file.
12712         * java/net/SocketTimeoutException.java: New file.
12713         * java/net/PortUnreachableException.java: New file.
12714         * Makefile.am: Updated.
12715         * Makefile.in: Rebuilt.
12716
12717 2002-08-18  Mark Wielaard  <mark@klomp.org>
12718
12719         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12720         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12721         MessageDigestSpi (fixes Classpath bug #783).
12722
12723 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12724
12725         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12726         (startProcess): Allocate path for chdir in async-signal-safe way.
12727
12728 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12729
12730         Fix for PR libgcj/7570 and PR libgcj/7578:
12731         * java/lang/natPosixProcess.cc: Include java/io/File.h.
12732         (startProcess): Handle new `dir' argument.
12733         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12734         argument.
12735         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12736         argument.
12737         (startProcess): Likewise.
12738         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12739         argument.
12740         * java/lang/Runtime.java (execInternal): Added `dir' argument.
12741         (exec): Don't create new environment if ENV==null.  Pass DIR to
12742         execInternal.
12743         * java/lang/natRuntime.cc: Include java/io/File.h.
12744         (execInternal): Added `dir' argument.
12745
12746 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
12747
12748         * java/io/RandomAccessFile.java (skipBytes): Return number of
12749         bytes skipped.
12750
12751 2002-08-01  Mark Wielaard  <mark@klomp.org>
12752
12753         Reenable patch since shared library troubles on powerpc are solved:
12754         * gnu/java/security/provider/Gnu.java: Reference all implementation
12755         classes by using Class.getName().
12756         * gnu/java/security/der/DEREncodingException.java,
12757         gnu/java/security/provider/DERReader.java,
12758         gnu/java/security/provider/DERWriter.java,
12759         gnu/java/security/provider/DSAKeyPairGenerator.java,
12760         gnu/java/security/provider/DSAParameterGenerator.java,
12761         gnu/java/security/provider/DSAParameters.java,
12762         gnu/java/security/provider/DSASignature.java,
12763         gnu/java/security/provider/GnuDSAPrivateKey.java,
12764         gnu/java/security/provider/GnuDSAPublicKey.java,
12765         gnu/java/security/provider/MD5.java,
12766         gnu/java/security/util/Prime.java: New classes
12767         * Makefile.am (ordinary_java_source_files): Add above files.
12768         * Makefile.in: Regenerate.
12769         * gnu/java/security/provider/DefaultPolicy.java
12770         (getPermissions): Don't maintain static class variable of Permissions.
12771         * gnu/java/security/provider/SHA.java
12772         (engineUpdate): algorithm change.
12773         (engineDigest): algorithm change.
12774
12775 2002-08-09  Mark Wielaard  <mark@klomp.org>
12776
12777         * java/awt/image/MemoryImageSource.java: Change constructor to take
12778         int[] not byte[].
12779         * java/awt/Graphics2D.java: Uncomment methods that can now be
12780         compiled.
12781         * java/awt/GridBagLayout.java: New stub implementation.
12782         * javax/swing/text/html/HTML.java: Stub implementation.
12783         * javax/swing/text/html/parser/ParserDelegator.java: New stub
12784         implementation.
12785
12786         * Makefile.am: Add new files.
12787         * Makefile.in: Rebuilt.
12788
12789 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12790
12791         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12792         methods in Graphics2D.
12793
12794 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12795
12796         AWT/Swing merge from GNU Classpath.
12797
12798         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12799         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12800         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12801         java/awt/color/ProfileDataException.java,
12802         java/awt/CompositeContext.java, java/awt/Composite.java,
12803         java/awt/ContainerOrderFocusTraversalPolicy.java,
12804         java/awt/datatransfer/FlavorTable.java,
12805         java/awt/DefaultFocusTraversalPolicy.java,
12806         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12807         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12808         java/awt/dnd/DragGestureListener.java,
12809         java/awt/dnd/DragGestureRecognizer.java,
12810         java/awt/dnd/DragSourceAdapter.java,
12811         java/awt/dnd/DragSourceContext.java,
12812         java/awt/dnd/DragSourceDragEvent.java,
12813         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12814         java/awt/dnd/DragSourceListener.java,
12815         java/awt/dnd/DragSourceMotionListener.java,
12816         java/awt/dnd/DropTarget.java,
12817         java/awt/dnd/InvalidDnDOperationException.java,
12818         java/awt/dnd/peer/DragSourceContextPeer.java,
12819         java/awt/event/AWTEventListenerProxy.java,
12820         java/awt/event/MouseWheelEvent.java,
12821         java/awt/event/MouseWheelListener.java,
12822         java/awt/event/WindowFocusListener.java,
12823         java/awt/event/WindowStateListener.java,
12824         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12825         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12826         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12827         java/awt/geom/FlatteningPathIterator.java,
12828         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12829         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12830         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12831         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12832         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12833         java/awt/image/ImagingOpException.java,
12834         java/awt/image/RasterFormatException.java,
12835         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12836         java/awt/image/VolatileImage.java,
12837         java/awt/image/WritableRenderedImage.java,
12838         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12839         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12840         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12841         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12842         java/awt/PageAttributes.java, java/awt/print/Book.java,
12843         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12844         java/awt/print/Paper.java, java/awt/print/Printable.java,
12845         java/awt/print/PrinterAbortException.java,
12846         java/awt/print/PrinterException.java,
12847         java/awt/print/PrinterGraphics.java,
12848         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12849         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12850         java/awt/Stroke.java, java/awt/TexturePaint.java,
12851         javax/accessibility/AccessibleAction.java,
12852         javax/accessibility/AccessibleBundle.java,
12853         javax/accessibility/AccessibleComponent.java,
12854         javax/accessibility/AccessibleContext.java,
12855         javax/accessibility/AccessibleEditableText.java,
12856         javax/accessibility/AccessibleExtendedComponent.java,
12857         javax/accessibility/AccessibleExtendedTable.java,
12858         javax/accessibility/AccessibleHyperlink.java,
12859         javax/accessibility/AccessibleHypertext.java,
12860         javax/accessibility/AccessibleIcon.java,
12861         javax/accessibility/Accessible.java,
12862         javax/accessibility/AccessibleKeyBinding.java,
12863         javax/accessibility/AccessibleRelation.java,
12864         javax/accessibility/AccessibleRelationSet.java,
12865         javax/accessibility/AccessibleResourceBundle.java,
12866         javax/accessibility/AccessibleRole.java,
12867         javax/accessibility/AccessibleSelection.java,
12868         javax/accessibility/AccessibleState.java,
12869         javax/accessibility/AccessibleStateSet.java,
12870         javax/accessibility/AccessibleTable.java,
12871         javax/accessibility/AccessibleTableModelChange.java,
12872         javax/accessibility/AccessibleText.java,
12873         javax/accessibility/AccessibleValue.java,
12874         javax/swing/AbstractAction.java,
12875         javax/swing/AbstractButton.java,
12876         javax/swing/AbstractCellEditor.java,
12877         javax/swing/AbstractListModel.java,
12878         javax/swing/AbstractSet.java, javax/swing/Action.java,
12879         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12880         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12881         javax/swing/border/CompoundBorder.java,
12882         javax/swing/border/EmptyBorder.java,
12883         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12884         javax/swing/border/LineBorder.java,
12885         javax/swing/border/MatteBorder.java,
12886         javax/swing/border/TitledBorder.java,
12887         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12888         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12889         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12890         javax/swing/CellRendererPane.java,
12891         javax/swing/colorchooser/AbstractColorChooserPanel.java,
12892         javax/swing/colorchooser/ColorChooserComponentFactory.java,
12893         javax/swing/colorchooser/ColorSelectionModel.java,
12894         javax/swing/colorchooser/DefaultColorSelectionModel.java,
12895         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12896         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12897         javax/swing/DefaultBoundedRangeModel.java,
12898         javax/swing/DefaultButtonModel.java,
12899         javax/swing/DefaultCellEditor.java,
12900         javax/swing/DefaultCellRenderer.java,
12901         javax/swing/DefaultComboBoxModel.java,
12902         javax/swing/DefaultDesktopManager.java,
12903         javax/swing/DefaultFocusManager.java,
12904         javax/swing/DefaultListCellRenderer.java,
12905         javax/swing/DefaultListModel.java,
12906         javax/swing/DefaultListSelectionModel.java,
12907         javax/swing/DefaultSingleSelectionModel.java,
12908         javax/swing/DesktopManager.java,
12909         javax/swing/event/AncestorEvent.java,
12910         javax/swing/event/AncestorListener.java,
12911         javax/swing/event/CaretEvent.java,
12912         javax/swing/event/CaretListener.java,
12913         javax/swing/event/CellEditorListener.java,
12914         javax/swing/event/ChangeEvent.java,
12915         javax/swing/event/ChangeListener.java,
12916         javax/swing/event/DocumentEvent.java,
12917         javax/swing/event/DocumentListener.java,
12918         javax/swing/event/EventListenerList.java,
12919         javax/swing/event/HyperlinkEvent.java,
12920         javax/swing/event/HyperlinkListener.java,
12921         javax/swing/event/InternalFrameAdapter.java,
12922         javax/swing/event/InternalFrameEvent.java,
12923         javax/swing/event/InternalFrameListener.java,
12924         javax/swing/event/ListDataEvent.java,
12925         javax/swing/event/ListDataListener.java,
12926         javax/swing/event/ListSelectionEvent.java,
12927         javax/swing/event/ListSelectionListener.java,
12928         javax/swing/event/MenuDragMouseEvent.java,
12929         javax/swing/event/MenuDragMouseListener.java,
12930         javax/swing/event/MenuEvent.java,
12931         javax/swing/event/MenuKeyEvent.java,
12932         javax/swing/event/MenuKeyListener.java,
12933         javax/swing/event/MenuListener.java,
12934         javax/swing/event/MouseInputAdapter.java,
12935         javax/swing/event/MouseInputListener.java,
12936         javax/swing/event/PopupMenuEvent.java,
12937         javax/swing/event/PopupMenuListener.java,
12938         javax/swing/event/SwingPropertyChangeSupport.java,
12939         javax/swing/event/TableColumnModelEvent.java,
12940         javax/swing/event/TableColumnModelListener.java,
12941         javax/swing/event/TableModelEvent.java,
12942         javax/swing/event/TableModelListener.java,
12943         javax/swing/event/TreeExpansionEvent.java,
12944         javax/swing/event/TreeExpansionListener.java,
12945         javax/swing/event/TreeModelEvent.java,
12946         javax/swing/event/TreeModelListener.java,
12947         javax/swing/event/TreeSelectionEvent.java,
12948         javax/swing/event/TreeSelectionListener.java,
12949         javax/swing/event/TreeWillExpandListener.java,
12950         javax/swing/event/UndoableEditEvent.java,
12951         javax/swing/event/UndoableEditListener.java,
12952         javax/swing/filechooser/FileFilter.java,
12953         javax/swing/filechooser/FileSystemView.java,
12954         javax/swing/filechooser/FileView.java,
12955         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12956         javax/swing/Icon.java, javax/swing/ImageIcon.java,
12957         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12958         javax/swing/JApplet.java, javax/swing/JButton.java,
12959         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12960         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12961         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12962         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12963         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12964         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12965         javax/swing/JLayeredPane.java, javax/swing/JList.java,
12966         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12967         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12968         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12969         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12970         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12971         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12972         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
12973         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
12974         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
12975         javax/swing/JTextField.java, javax/swing/JTextPane.java,
12976         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
12977         javax/swing/JToolTip.java, javax/swing/JTree.java,
12978         javax/swing/JViewport.java, javax/swing/JWindow.java,
12979         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
12980         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
12981         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
12982         javax/swing/MenuSelectionManager.java,
12983         javax/swing/MutableComboBoxModel.java,
12984         javax/swing/OverlayLayout.java,
12985         javax/swing/plaf/ActionMapUIResource.java,
12986         javax/swing/plaf/basic/BasicBorders.java,
12987         javax/swing/plaf/basic/BasicButtonUI.java,
12988         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12989         javax/swing/plaf/basic/BasicDefaults.java,
12990         javax/swing/plaf/basic/BasicGraphicsUtils.java,
12991         javax/swing/plaf/basic/BasicIconFactory.java,
12992         javax/swing/plaf/basic/BasicLabelUI.java,
12993         javax/swing/plaf/basic/BasicListUI.java,
12994         javax/swing/plaf/basic/BasicLookAndFeel.java,
12995         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12996         javax/swing/plaf/basic/BasicPanelUI.java,
12997         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12998         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12999         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13000         javax/swing/plaf/basic/BasicTextUI.java,
13001         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13002         javax/swing/plaf/basic/BasicTreeUI.java,
13003         javax/swing/plaf/basic/BasicViewportUI.java,
13004         javax/swing/plaf/BorderUIResource.java,
13005         javax/swing/plaf/ButtonUI.java,
13006         javax/swing/plaf/ColorChooserUI.java,
13007         javax/swing/plaf/ColorUIResource.java,
13008         javax/swing/plaf/ComboBoxUI.java,
13009         javax/swing/plaf/ComponentInputMapUIResource.java,
13010         javax/swing/plaf/ComponentUI.java,
13011         javax/swing/plaf/DesktopIconUI.java,
13012         javax/swing/plaf/DesktopPaneUI.java,
13013         javax/swing/plaf/DimensionUIResource.java,
13014         javax/swing/plaf/FileChooserUI.java,
13015         javax/swing/plaf/FontUIResource.java,
13016         javax/swing/plaf/IconUIResource.java,
13017         javax/swing/plaf/InputMapUIResource.java,
13018         javax/swing/plaf/InsetsUIResource.java,
13019         javax/swing/plaf/InternalFrameUI.java,
13020         javax/swing/plaf/LabelUI.java,
13021         javax/swing/plaf/ListUI.java,
13022         javax/swing/plaf/MenuBarUI.java,
13023         javax/swing/plaf/MenuItemUI.java,
13024         javax/swing/plaf/OptionPaneUI.java,
13025         javax/swing/plaf/PanelUI.java,
13026         javax/swing/plaf/PopupMenuUI.java,
13027         javax/swing/plaf/ProgressBarUI.java,
13028         javax/swing/plaf/RootPaneUI.java,
13029         javax/swing/plaf/ScrollBarUI.java,
13030         javax/swing/plaf/ScrollPaneUI.java,
13031         javax/swing/plaf/SeparatorUI.java,
13032         javax/swing/plaf/SliderUI.java,
13033         javax/swing/plaf/SplitPaneUI.java,
13034         javax/swing/plaf/TabbedPaneUI.java,
13035         javax/swing/plaf/TableHeaderUI.java,
13036         javax/swing/plaf/TableUI.java,
13037         javax/swing/plaf/TextUI.java,
13038         javax/swing/plaf/ToolBarUI.java,
13039         javax/swing/plaf/ToolTipUI.java,
13040         javax/swing/plaf/TreeUI.java,
13041         javax/swing/plaf/UIResource.java,
13042         javax/swing/plaf/ViewportUI.java,
13043         javax/swing/ProgressMonitorInputStream.java,
13044         javax/swing/ProgressMonitor.java,
13045         javax/swing/Renderer.java,
13046         javax/swing/RepaintManager.java,
13047         javax/swing/RootPaneContainer.java,
13048         javax/swing/Scrollable.java,
13049         javax/swing/ScrollPaneConstants.java,
13050         javax/swing/ScrollPaneLayout.java,
13051         javax/swing/SingleSelectionModel.java,
13052         javax/swing/SizeRequirements.java,
13053         javax/swing/SizeSequence.java,
13054         javax/swing/SwingConstants.java,
13055         javax/swing/SwingUtilities.java,
13056         javax/swing/table/AbstractTableModel.java,
13057         javax/swing/table/DefaultTableCellRenderer.java,
13058         javax/swing/table/DefaultTableColumnModel.java,
13059         javax/swing/table/DefaultTableModel.java,
13060         javax/swing/table/TableCellEditor.java,
13061         javax/swing/table/TableCellRenderer.java,
13062         javax/swing/table/TableColumn.java,
13063         javax/swing/table/TableColumnModel.java,
13064         javax/swing/table/TableModel.java,
13065         javax/swing/text/AbstractDocument.java,
13066         javax/swing/text/AttributeSet.java,
13067         javax/swing/text/BadLocationException.java,
13068         javax/swing/text/Caret.java,
13069         javax/swing/text/CharacterIterator.java,
13070         javax/swing/text/ComponentView.java,
13071         javax/swing/text/DefaultCaret.java,
13072         javax/swing/text/DefaultEditorKit.java,
13073         javax/swing/text/Document.java,
13074         javax/swing/text/EditorKit.java,
13075         javax/swing/text/Element.java,
13076         javax/swing/text/GapContent.java,
13077         javax/swing/text/JTextComponent.java,
13078         javax/swing/text/Keymap.java,
13079         javax/swing/text/MutableAttributeSet.java,
13080         javax/swing/text/PlainDocument.java,
13081         javax/swing/text/PlainEditorKit.java,
13082         javax/swing/text/Position.java,
13083         javax/swing/text/Segment.java,
13084         javax/swing/text/StyledDocument.java,
13085         javax/swing/text/StyledEditorKit.java,
13086         javax/swing/text/Style.java,
13087         javax/swing/text/TextAction.java,
13088         javax/swing/text/ViewFactory.java,
13089         javax/swing/text/View.java,
13090         javax/swing/Timer.java,
13091         javax/swing/ToggleButtonModel.java,
13092         javax/swing/ToolTipManager.java,
13093         javax/swing/tree/AbstractLayoutCache.java,
13094         javax/swing/tree/DefaultMutableTreeNode.java,
13095         javax/swing/tree/DefaultTreeCellEditor.java,
13096         javax/swing/tree/DefaultTreeCellRenderer.java,
13097         javax/swing/tree/DefaultTreeModel.java,
13098         javax/swing/tree/DefaultTreeSelectionModel.java,
13099         javax/swing/tree/ExpandVetoException.java,
13100         javax/swing/tree/FixedHeightLayoutCache.java,
13101         javax/swing/tree/MutableTreeNode.java,
13102         javax/swing/tree/RowMapper.java,
13103         javax/swing/tree/TreeCellEditor.java,
13104         javax/swing/tree/TreeCellRenderer.java,
13105         javax/swing/tree/TreeModel.java,
13106         javax/swing/tree/TreeNode.java,
13107         javax/swing/tree/TreePath.java,
13108         javax/swing/tree/TreeSelectionModel.java,
13109         javax/swing/tree/VariableHeightLayoutCache.java,
13110         javax/swing/UIDefaults.java,
13111         javax/swing/UIManager.java,
13112         javax/swing/undo/AbstractUndoableEdit.java,
13113         javax/swing/undo/CannotRedoException.java,
13114         javax/swing/undo/CannotUndoException.java,
13115         javax/swing/undo/CompoundEdit.java,
13116         javax/swing/undo/StateEditable.java,
13117         javax/swing/undo/StateEdit.java,
13118         javax/swing/undo/UndoableEdit.java,
13119         javax/swing/undo/UndoableEditSupport.java,
13120         javax/swing/undo/UndoManager.java,
13121         javax/swing/UnsupportedLookAndFeelException.java,
13122         javax/swing/ViewportLayout.java,
13123         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13124
13125         * java/awt/ActiveEvent.java,
13126         java/awt/Adjustable.java, java/awt/AWTError.java,
13127         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13128         java/awt/AWTException.java, java/awt/AWTPermission.java,
13129         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13130         java/awt/Color.java, java/awt/Component.java,
13131         java/awt/ComponentOrientation.java, java/awt/Container.java,
13132         java/awt/datatransfer/MimeTypeParseException.java,
13133         java/awt/datatransfer/Transferable.java,
13134         java/awt/datatransfer/UnsupportedFlavorException.java,
13135         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13136         java/awt/event/ActionListener.java,
13137         java/awt/event/AdjustmentEvent.java,
13138         java/awt/event/AdjustmentListener.java,
13139         java/awt/event/AWTEventListener.java,
13140         java/awt/event/ComponentAdapter.java,
13141         java/awt/event/ComponentEvent.java,
13142         java/awt/event/ComponentListener.java,
13143         java/awt/event/ContainerAdapter.java,
13144         java/awt/event/ContainerEvent.java,
13145         java/awt/event/ContainerListener.java,
13146         java/awt/event/FocusAdapter.java,
13147         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13148         java/awt/event/HierarchyBoundsAdapter.java,
13149         java/awt/event/HierarchyBoundsListener.java,
13150         java/awt/event/HierarchyEvent.java,
13151         java/awt/event/HierarchyListener.java,
13152         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13153         java/awt/event/InputMethodListener.java,
13154         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13155         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13156         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13157         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13158         java/awt/event/MouseListener.java,
13159         java/awt/event/MouseMotionAdapter.java,
13160         java/awt/event/MouseMotionListener.java,
13161         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13162         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13163         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13164         java/awt/event/WindowListener.java, java/awt/Font.java,
13165         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13166         java/awt/geom/Ellipse2D.java,
13167         java/awt/geom/IllegalPathStateException.java,
13168         java/awt/geom/Line2D.java,
13169         java/awt/geom/NoninvertibleTransformException.java,
13170         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13171         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13172         java/awt/geom/RoundRectangle2D.java,
13173         java/awt/GraphicsConfiguration.java,
13174         java/awt/IllegalComponentStateException.java,
13175         java/awt/image/IndexColorModel.java,
13176         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13177         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13178         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13179         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13180         java/awt/MenuItem.java, java/awt/PaintContext.java,
13181         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13182         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13183         java/awt/PrintJob.java, java/awt/Rectangle.java,
13184         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13185         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13186         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13187
13188         * java/awt/im/spi/InputMethod.java,
13189         java/awt/im/spi/InputMethodContext.java,
13190         java/awt/im/spi/InputMethodDescriptor.java,
13191         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13192         java/awt/image/renderable/ParameterBlock.java,
13193         java/awt/image/renderable/RenderContext.java,
13194         java/awt/image/renderable/RenderableImage.java,
13195         java/awt/image/renderable/RenderableImageOp.java,
13196         java/awt/image/renderable/RenderableImageProducer.java,
13197         java/awt/image/renderable/RenderedImageFactory.java: New files from
13198         classpath.
13199
13200         * gnu/java/awt/EventModifier.java,
13201         gnu/java/awt/image/ImageDecoder.java,
13202         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13203
13204         * gnu/awt/xlib/XGraphicsConfiguration.java,
13205         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13206         API.
13207
13208         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13209         GNU Classpath.
13210
13211         * Makefile.am: Add new files.
13212         * Makefile.in: Rebuilt.
13213
13214 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13215
13216         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13217         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13218         findResource, getResources, findResources): Add javadoc from classpath.
13219         (getSystemResources): Implemented.
13220
13221 2002-08-01  Mark Wielaard  <mark@klomp.org>
13222
13223         Revert patch that breaks libgcj shared library on powerpc:
13224         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13225         implementation classes by using Class.getName(). Uses Strings again.
13226         * gnu/java/security/der/DEREncodingException.java,
13227         gnu/java/security/provider/DERReader.java,
13228         gnu/java/security/provider/DERWriter.java,
13229         gnu/java/security/provider/DSAKeyPairGenerator.java,
13230         gnu/java/security/provider/DSAParameterGenerator.java,
13231         gnu/java/security/provider/DSAParameters.java,
13232         gnu/java/security/provider/DSASignature.java,
13233         gnu/java/security/provider/GnuDSAPrivateKey.java,
13234         gnu/java/security/provider/GnuDSAPublicKey.java,
13235         gnu/java/security/provider/MD5.java,
13236         gnu/java/security/util/Prime.java: Removed.
13237         * Makefile.am (ordinary_java_source_files): Remove above files.
13238         * Makefile.in: Regenerate.
13239         * gnu/java/security/provider/DefaultPolicy.java
13240         (getPermissions): Revert to maintaining static class variable of
13241         Permissions.
13242         * gnu/java/security/provider/SHA.java
13243         (engineUpdate): Revert algorithm change.
13244         (engineDigest): Revert algorithm change.
13245
13246 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13247
13248         * configure.host: Add SH support.
13249         * sysdep/sh/locks.h: New file.
13250
13251 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13252
13253         * java/awt/Frame.java (Frame): Remove println calls.
13254
13255 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13256
13257         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13258         * configure: Rebuilt.
13259
13260 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13261
13262         * sysdep/powerpc/locks.h: Formatting.
13263         (_LARX): Define.
13264         (_STCX): Define.
13265         (compare_and_swap): Use _LARX and _STCX.
13266         (compare_and_swap_release): Likewise.
13267
13268 2002-07-26  Tom Tromey  <tromey@redhat.com>
13269
13270         * java/net/Authenticator.java: New version from Classpath.
13271         * java/net/DatagramSocketImpl.java: New version from Classpath.
13272
13273 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13274
13275         * configure.host: Add powerpc64*-* entry.
13276
13277 2002-07-26  Tom Tromey  <tromey@redhat.com>
13278
13279         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13280         fcntl.h.
13281
13282 2002-07-24  Tom Tromey  <tromey@redhat.com>
13283
13284         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13285         argument to _load.
13286
13287 2002-07-24  Tom Tromey  <tromey@redhat.com>
13288             Tony Kimball <alk@pobox.com>
13289
13290         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13291         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13292         * java/io/RandomAccessFile.java (setLength): New method.
13293         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13294         * java/io/FileDescriptor.java (setLength): New method.
13295
13296 2002-07-24  Mark Wielaard  <mark@klomp.org>
13297
13298         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13299         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13300         field call setAccessible(true).
13301         (setByteField): Likewise.
13302         (setCharField): Likewise.
13303         (setDoubleField): Likewise.
13304         (setFloatField): Likewise.
13305         (setIntField): Likewise.
13306         (setLongField): Likewise.
13307         (setShortField): Likewise.
13308         (setObjectField): Likewise.
13309
13310 2002-07-24  Tom Tromey  <tromey@redhat.com>
13311
13312         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13313         use toString() to format array element.
13314
13315 2002-07-23  Mark Wielaard  <mark@klomp.org>
13316
13317         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13318         MessageDigestSpi (fixes Classpath bug #783).
13319
13320 2002-07-21  Mark Wielaard  <mark@klomp.org>
13321
13322         * gnu/java/security/provider/Gnu.java: Reference all implementation
13323         classes by using Class.getName().
13324
13325 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13326
13327         * java/lang/ieeefp.h: Add x86-64 support.
13328         * configure.in: Likewise.
13329         * configure.host: Likewise.
13330         * configure: Regenerated.
13331         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13332
13333 2002-07-16  Mark Wielaard  <mark@klomp.org>
13334
13335         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13336         (whitespaceChars): call resetChar().
13337
13338 2002-07-15  Tom Tromey  <tromey@redhat.com>
13339
13340         * Makefile.in: Rebuilt.
13341         * Makefile.am (awt_java_source_files): Added new files.
13342         * java/beans/ExceptionListener.java: Merged with Classpath.
13343         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13344         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13345         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13346         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13347         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13348         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13349         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13350
13351 2002-07-14  Mark Wielaard  <mark@klomp.org>
13352
13353         * gnu/java/security/der/DEREncodingException.java,
13354         gnu/java/security/provider/DERReader.java,
13355         gnu/java/security/provider/DERWriter.java,
13356         gnu/java/security/provider/DSAKeyPairGenerator.java,
13357         gnu/java/security/provider/DSAParameterGenerator.java,
13358         gnu/java/security/provider/DSAParameters.java,
13359         gnu/java/security/provider/DSASignature.java,
13360         gnu/java/security/provider/GnuDSAPrivateKey.java,
13361         gnu/java/security/provider/GnuDSAPublicKey.java,
13362         gnu/java/security/provider/MD5.java,
13363         gnu/java/security/util/Prime.java: New files from Classpath.
13364         * Makefile.am (ordinary_java_source_files): Add new files.
13365         * Makefile.in: Regenerate.
13366
13367 2002-07-14  C. Brian Jones <cbj@gnu.org>
13368
13369         * gnu/java/security/provider/DefaultPolicy.java
13370         (getPermissions): do not maintain static class variable of
13371         Permissions
13372         * gnu/java/security/provider/SHA.java
13373         (engineUpdate): algorithm change
13374         (engineDigest): algorithm change
13375
13376 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13377
13378         For PR libgcj/7292:
13379         * java/lang/Character.java (toString(char)): Now static.
13380
13381 2002-07-12  Mark Wielaard  <mark@klomp.org>
13382
13383         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13384         (getStackTrace0): new method.
13385         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13386         (printStackTrace(PrintWriter)): replace with pure java implementation.
13387         (printRawStackTrace): removed.
13388         (getStackTrace0): new method.
13389         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13390         * gcj/javaprims.h: regenerate class list.
13391         * include/name-finder.h (lookup): new returns StackTraceElement*.
13392         (method_name, file_name): fields removed.
13393         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13394         (~_Jv_name_finder): close new descriptors.
13395         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13396         (createStackTraceElement): new method.
13397         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13398
13399 2002-07-10  Tom Tromey  <tromey@redhat.com>
13400
13401         * configure: Rebuilt.
13402         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13403
13404 2002-07-08  Mark Wielaard  <mark@klomp.org>
13405
13406         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13407         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13408         java.sql.DatabaseMetaData.TestJdbc20
13409
13410 2002-07-05  Tony Kimball  <alk@pobox.com>
13411
13412         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13413
13414 2002-07-04  Tom Tromey  <tromey@redhat.com>
13415             Jeff Sturm  <jsturm@one-point.com>
13416
13417         Fix for PR libgcj/7060:
13418         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13419         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13420         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13421         * java/lang/Class.java (getMethod): New Java implementation;
13422         complies with spec.
13423         (_getMethod): New native method.
13424
13425 2002-07-02  Tom Tromey  <tromey@redhat.com>
13426             David Hovemeyer  <daveho@cs.umd.edu>
13427
13428         * java/text/ChoiceFormat.java
13429         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13430         in check loop.
13431         * java/text/MessageFormat.java
13432         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13433         to MessageFormat.
13434
13435 2002-07-01  Tom Tromey  <tromey@redhat.com>
13436
13437         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13438         StringTokenizer on null string.  For PR libgcj/7180.
13439         From daveho@cs.umd.edu.
13440
13441 2002-06-24  Tom Tromey  <tromey@redhat.com>
13442
13443         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13444         (IntegerClass): Likewise.
13445         * java/lang/natClass.cc (CloneableClass): Removed.
13446         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13447         ConstructorClass): Likewise.
13448         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13449         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13450         SerializableClass): Likewise.
13451         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13452         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13453         LongClass, FloatClass, DoubleClass): Likewise.
13454
13455         * verify.cc (branch_prepass): Updated for change to exception
13456         handler type.
13457         (verify_instructions_0): Likewise.
13458         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13459         (handleExceptionTableEntry): Updated for change to exception
13460         handler type.
13461         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13462         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13463         (union _Jv_InterpPC): New.
13464         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13465         (class _Jv_InterpMethod): Added new `prepared' field.
13466         (class _Jv_InterpMethod): Added `compile' method.  Removed
13467         `continue1' and `find_exception'.  Changed arguments to `run'.
13468         * interpret.cc (union insn_slot): New.
13469         (find_exception): Removed.
13470         (run_normal): Removed most logic.
13471         (run_synch_object): Likewise; also, use JvSynchronize.
13472         (run_synch_class): Likewise.
13473         (run): Removed.
13474         (continue1): Renamed as `run'.  Compile bytecode if required.
13475         Add new code to allow refinement of direct-threaded code at
13476         runtime.  Handle exceptions.
13477         (SAVE_PC): Removed.
13478         (compile): New method.
13479         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13480         (NULLARRAYCHECK): Don't use SAVE_PC.
13481         (pc_t): New typedef.
13482         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13483         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13484
13485 2002-06-23  Tom Tromey  <tromey@redhat.com>
13486
13487         * configure: Rebuilt.
13488         * configure.in (INTERPRETER): New subst.
13489         (AM_RUNTESTFLAGS): Don't subst.
13490
13491         * Makefile.in: Rebuilt.
13492         * Makefile.am ($(srcdir)/java/lang/Object.h,
13493         $(srcdir)/java/lang/Class.h): Added dummy targets.
13494
13495 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13496
13497         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13498
13499         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13500         java/sql/Savepoint.java: New files.
13501         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13502         java/sql/Blob.java, java/sql/CallableStatement.java,
13503         java/sql/Clob.java, java/sql/Connection.java,
13504         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13505         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13506         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13507         java/sql/Ref.java, java/sql/ResultSet.java,
13508         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13509         java/sql/SQLException.java, java/sql/SQLInput.java,
13510         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13511         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13512         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13513         (JDK 1.4) specification.
13514         * javax/sql/ConnectionEvent.java,
13515         javax/sql/ConnectionEventListener.java,
13516         javax/sql/ConnectionPoolDataSource.java,
13517         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13518         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13519         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13520         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13521         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13522         javax/sql/XADataSource.java: New files.
13523         * Makefile.am: Add new files.
13524         * Makefile.in: Rebuilt.
13525
13526 2002-06-20  Tom Tromey  <tromey@redhat.com>
13527
13528         For PR libgcj/7073:
13529         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13530         exists.
13531         * defineclass.cc (handleClassBegin): Superclass for interface is
13532         `null'.
13533
13534 2002-06-18  Tom Tromey  <tromey@redhat.com>
13535
13536         * gcj/javaprims.h: Updated class declaration list.
13537         * Makefile.in: Rebuilt.
13538         * Makefile.am (core_java_source_files): Removed
13539         BasicMapEntry.java.
13540         * java/util/BasicMapEntry.java: Removed.
13541
13542 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13543
13544         * java/net/natPlainDatagramSocketImpl.cc (receive):
13545         Check bounds of argument to FD_SET.
13546         (setOption): Throw exception if socket is closed.
13547
13548         * java/net/natPlainSocketImpl.cc (accept, read):
13549         Check bounds of argument to FD_SET.
13550         (setOption): Throw exception if socket is closed.
13551
13552 2002-06-18  Tom Tromey  <tromey@redhat.com>
13553
13554         * gcj/javaprims.h: Updated class declaration list.
13555         * Makefile.in: Rebuilt.
13556         * Makefile.am (core_java_source_files): Added
13557         PropertyPermissionCollection.java.
13558         * java/lang/Thread.java (group, name): Now package-private.
13559         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13560         * java/util/AbstractList.java: Likewise.
13561         * java/util/AbstractMap.java: Likewise.
13562         * java/util/Calendar.java: Likewise.
13563         * java/util/Collections.java: Likewise.
13564         * java/util/HashMap.java: Likewise.
13565         * java/util/Hashtable.java: Likewise.
13566         * java/util/LinkedHashMap.java: Likewise.
13567         * java/util/LinkedList.java: Likewise.
13568         * java/util/List.java: Likewise.
13569         * java/util/ListResourceBundle.java: Likewise.
13570         * java/util/Map.java: Likewise.
13571         * java/util/Observable.java: Likewise.
13572         * java/util/Properties.java: Likewise.
13573         * java/util/PropertyPermission.java: Likewise.
13574         * java/util/PropertyPermissionCollection.java: Likewise.
13575         * java/util/PropertyResourceBundle.java: Likewise.
13576         * java/util/Random.java: Likewise.
13577         * java/util/SimpleTimeZone.java: Likewise.
13578         * java/util/StringTokenizer.java: Likewise.
13579         * java/util/TimerTask.java: Likewise.
13580         * java/util/TreeMap.java: Likewise.
13581         * java/util/WeakHashMap.java: Likewise.
13582         * java/util/jar/Attributes.java: Likewise.
13583         * java/util/jar/JarException.java: Likewise.
13584         * java/util/jar/Manifest.java: Likewise.
13585
13586 2002-06-17  Tom Tromey  <tromey@redhat.com>
13587
13588         * gcj/javaprims.h: Updated class declaration list.
13589         * Makefile.in: Rebuilt.
13590         * Makefile.am (core_java_source_files): Added new file.
13591         * java/util/EventListenerProxy.java: New file.
13592         * java/util/EventListener.java: Re-merge with Classpath.
13593         * java/util/EventObject.java: Re-merge with Classpath.
13594
13595 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13596
13597         * java/lang/ClassNotFoundException.java: New Classpath version.
13598
13599 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13600
13601         * java/rmi/activation/ActivateFailedException.java: Remerge from
13602         Classpath version.
13603         * java/rmi/activation/ActivationException.java: Ditto.
13604         * java/rmi/activation/UnknownGroupException.java: Ditto.
13605         * java/rmi/activation/UnknownObjectException.java: Ditto.
13606         * java/rmi/server/ExportException: Ditto.
13607         * java/rmi/server/ServerCloneException: Ditto.
13608         * java/rmi/server/ServerNotActiveException: Ditto.
13609         * java/rmi/server/SkeletonMismatchException: Ditto.
13610         * java/rmi/server/SkeletonNotFoundException: Ditto.
13611         * java/rmi/server/SocketSecurityException: Ditto.
13612
13613 2002-06-16  Tom Tromey  <tromey@redhat.com>
13614
13615         * gcj/javaprims.h: Updated class declaration list.
13616
13617         * java/io/LineNumberInputStream.java: Merged with Classpath.
13618
13619         * java/lang/RuntimeException.java: Re-merge with Classpath.
13620         * java/util/ArrayList.java: Likewise.
13621         * java/util/Arrays.java: Likewise.
13622         * java/util/BitSet.java: Likewise.
13623         * java/util/Dictionary.java: Likewise.
13624         * java/util/IdentityHashMap.java: Likewise.
13625         * java/util/MissingResourceException.java: Likewise.
13626         * java/util/Observer.java: Likewise.
13627         * java/util/TooManyListenersException.java: Likewise.
13628         * java/util/zip/DataFormatException.java: Likewise.
13629         * java/util/zip/ZipException.java: Likewise.
13630
13631 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13632
13633         * java/rmi/AccessException.java: Remerge from Classpath.
13634         * java/rmi/AlreadyBoundException.java: Ditto.
13635         * java/rmi/ConnectException.java: Ditto.
13636         * java/rmi/ConnectIOException.java: Ditto.
13637         * java/rmi/MarshalException.java: Ditto.
13638         * java/rmi/NoSuchObjectException.java: Ditto.
13639         * java/rmi/NotBoundException.java: Ditto.
13640         * java/rmi/RemoteException.java: Ditto.
13641         * java/rmi/RMISecurityException.java: Ditto.
13642         * java/rmi/ServerError.java: Ditto.
13643         * java/rmi/ServerException.java: Ditto.
13644         * java/rmi/ServerRuntimeException.java: Ditto.
13645         * java/rmi/StubNotFoundException.java: Ditto.
13646         * java/rmi/UnexpectedExcpetion.java: Ditto.
13647         * java/rmi/UnknownHostException.java: Ditto.
13648         * java/rmi/UnmarshalException.java: Ditto.
13649
13650 2002-06-15  Tom Tromey  <tromey@redhat.com>
13651
13652         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13653         * java/lang/ArithmeticException.java: Likewise.
13654         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13655         * java/lang/ArrayStoreException.java: Likewise.
13656         * java/lang/Byte.java: Likewise.
13657         * java/lang/CharSequence.java: Likewise.
13658         * java/lang/ClassCastException.java: Likewise.
13659         * java/lang/ClassCircularityError.java: Likewise.
13660         * java/lang/ClassFormatError.java: Likewise.
13661         * java/lang/CloneNotSupportedException.java: Likewise.
13662         * java/lang/Cloneable.java: Likewise.
13663         * java/lang/Comparable.java: Likewise.
13664         * java/lang/Compiler.java: Likewise.
13665         * java/lang/Error.java: Likewise.
13666         * java/lang/ExceptionInInitializerError.java: Likewise.
13667         * java/lang/IllegalAccessError.java: Likewise.
13668         * java/lang/IllegalAccessException.java: Likewise.
13669         * java/lang/IllegalArgumentException.java: Likewise.
13670         * java/lang/IllegalMonitorStateException.java: Likewise.
13671         * java/lang/IllegalStateException.java: Likewise.
13672         * java/lang/IllegalThreadStateException.java: Likewise.
13673         * java/lang/IncompatibleClassChangeError.java: Likewise.
13674         * java/lang/IndexOutOfBoundsException.java: Likewise.
13675         * java/lang/InheritableThreadLocal.java: Likewise.
13676         * java/lang/InstantiationError.java: Likewise.
13677         * java/lang/InstantiationException.java: Likewise.
13678         * java/lang/InternalError.java: Likewise.
13679         * java/lang/InterruptedException.java: Likewise.
13680         * java/lang/LinkageError.java: Likewise.
13681         * java/lang/NegativeArraySizeException.java: Likewise.
13682         * java/lang/NoClassDefFoundError.java: Likewise.
13683         * java/lang/NoSuchFieldError.java: Likewise.
13684         * java/lang/NoSuchFieldException.java: Likewise.
13685         * java/lang/NoSuchMethodError.java: Likewise.
13686         * java/lang/NoSuchMethodException.java: Likewise.
13687         * java/lang/NullPointerException.java: Likewise.
13688         * java/lang/NumberFormatException.java: Likewise.
13689         * java/lang/OutOfMemoryError.java: Likewise.
13690         * java/lang/Process.java: Likewise.
13691         * java/lang/Runnable.java: Likewise.
13692         * java/lang/RuntimePermission.java: Likewise.
13693         * java/lang/SecurityException.java: Likewise.
13694         * java/lang/Short.java: Likewise.
13695         * java/lang/StackOverflowError.java: Likewise.
13696         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13697         * java/lang/ThreadDeath.java: Likewise.
13698         * java/lang/ThreadLocal.java: Likewise.
13699         * java/lang/UnknownError.java: Likewise.
13700         * java/lang/UnsatisfiedLinkError.java: Likewise.
13701         * java/lang/UnsupportedClassVersionError.java: Likewise.
13702         * java/lang/UnsupportedOperationException.java: Likewise.
13703         * java/lang/VerifyError.java: Likewise.
13704         * java/lang/VirtualMachineError.java: Likewise.
13705         * java/lang/reflect/InvocationTargetException.java: Likewise.
13706         * java/net/BindException.java: Likewise.
13707         * java/net/ConnectException.java: Likewise.
13708         * java/net/MalformedURLException.java: Likewise.
13709         * java/net/NoRouteToHostException.java: Likewise.
13710         * java/net/ProtocolException.java: Likewise.
13711         * java/net/SocketException.java: Likewise.
13712         * java/net/UnknownHostException.java: Likewise.
13713         * java/net/UnknownServiceException.java: Likewise.
13714
13715         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13716         * java/io/CharConversionException.java: Likewise.
13717         * java/io/EOFException.java: Likewise.
13718         * java/io/FileNotFoundException.java: Likewise.
13719         * java/io/IOException.java: Likewise.
13720         * java/io/InterruptedIOException.java: Likewise.
13721         * java/io/InvalidClassException.java: Likewise.
13722         * java/io/InvalidObjectException.java: Likewise.
13723         * java/io/NotActiveException.java: Likewise.
13724         * java/io/NotSerializableException.java: Likewise.
13725         * java/io/ObjectStreamException.java: Likewise.
13726         * java/io/ObjectStreamConstants.java: Likewise.
13727         * java/io/OptionalDataException.java: Likewise.
13728         * java/io/PipedInputStream.java: Likewise.
13729         * java/io/PushbackInputStream.java: Likewise.
13730         * java/io/StreamCorruptedException.java: Likewise.
13731         * java/io/SyncFailedException.java: Likewise.
13732         * java/io/UTFDataFormatException.java: Likewise.
13733         * java/io/UnsupportedEncodingException.java: Likewise.
13734         * java/io/WriteAbortedException.java: Likewise.
13735
13736 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
13737
13738         * java/text/ChoiceFormat.java: Update comments from Classpath.
13739         * java/text/ParseException.java (serialVersionUID): New
13740         field from Classpath.
13741         * java/text/ParseException.java: Update formatting & comments
13742         from Classpath.
13743
13744 2002-06-15  Tom Tromey  <tromey@redhat.com>
13745
13746         * java/util/zip/InflaterInputStream.java (read): Loop if data has
13747         been read but none output by inflater.
13748         * java/util/zip/natDeflater.cc (reset): Set is_finished.
13749         * java/util/zip/natInflater.cc (reset): Set dist_needed and
13750         is_finished.
13751         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13752         version.
13753         * java/util/zip/ZipFile.java: Replaced with Classpath version.
13754         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13755         * java/util/zip/ZipInputStream.java: Replaced with Classpath
13756         version.
13757         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13758
13759 2002-06-13  Tom Tromey  <tromey@redhat.com>
13760
13761         * java/lang/natString.cc (init): Handle case where DONT_COPY is
13762         true and OFFSET!=0.
13763         * java/lang/String.java (String(char[],int,int,boolean): New
13764         constructor.
13765         * java/lang/Long.java: Imported new version from Classpath.
13766         * java/lang/Number.java: Likewise.
13767         * java/lang/Integer.java: Likewise.
13768         * java/lang/Long.java: Likewise.
13769         * java/lang/Float.java: Likewise.
13770         * java/lang/Boolean.java: Likewise.
13771         * java/lang/Double.java: Likewise.
13772         * java/lang/Void.java: Likewise.
13773
13774 2002-06-12  Tom Tromey  <tromey@redhat.com>
13775
13776         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13777         Fixes PR libgcj/6652.
13778
13779 2002-06-10  Tom Tromey  <tromey@redhat.com>
13780
13781         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13782         (Class::getPackagePortion): Likewise.
13783         * java/lang/Class.java (desiredAssertionStatus): New method from
13784         Classpath.
13785         (getPackagePortion): Likewise.
13786         * java/lang/VMClassLoader.java (defaultAssertionStatus,
13787         packageAssertionStatus, classAssertionStatus): New methods from
13788         Classpath.
13789         * java/lang/ClassLoader.java (defaultAssertionStatus,
13790         systemPackageAssertionStatus, packageAssertionStatus,
13791         systemClassAssertionStatus, classAssertionStatus): New fields from
13792         Classpath.
13793         (setDefaultAssertionStatus, setPackageAssertionStatus,
13794         setClassAssertionStatus, clearAssertionStatus): New methods from
13795         Classpath.
13796         * Makefile.in: Rebuilt.
13797         * Makefile.am (core_java_source_files): Added AssertionError.java.
13798         * java/lang/AssertionError.java: New from Classpath.
13799
13800 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13801
13802         * configure.host: Disable hash synchronization and slow_pthread_self
13803         for cygwin.
13804
13805 2002-06-06  Adam Megacz <adam@xwt.org>
13806
13807         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13808         locking, just like the Sun JVM does.
13809
13810 2002-06-05  H.J. Lu  (hjl@gnu.org)
13811
13812         * Makefile.am (libgcj_convenience.la): Revert the last change.
13813         (libgcj.la): Likewise.
13814         * Makefile.in: Regenerated.
13815
13816 2002-06-04  H.J. Lu  (hjl@gnu.org)
13817
13818         * Makefile.am (libgcj_convenience.la): New target.
13819         (libgcj.la): Depend on libgcj_convenience.la.
13820         * Makefile.in: Regenerated.
13821
13822 2002-06-04  H.J. Lu  (hjl@gnu.org)
13823
13824         * configure.in (--with-newlib): New option:
13825         Check ${with_newlib} instead of ${with_cross_host} for newlib.
13826         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13827         Linux.
13828         * configure: Regenerated.
13829
13830 2002-06-04  Tom Tromey  <tromey@redhat.com>
13831
13832         * java/util/natTimeZone.cc: Include <stdio.h>.
13833
13834 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
13835
13836         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13837         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13838         Set SIGNAL_HANDLER=include/s390-linux.h.
13839         * configure: Regenerate.
13840         * include/s390-linux.h: New file.
13841
13842 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13843
13844         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13845         not "stackTrace".
13846
13847 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13848
13849         Merge JDK 1.4 java.security changes from classpath.
13850
13851         * java/security/AccessControlException.java: Merge from Classpath.
13852         * java/security/AccessController.java: Likewise.
13853         * java/security/AllPermission.java: Likewise.
13854         * java/security/BasicPermission.java: Likewise.
13855         * java/security/Certificate.java: Likewise.
13856         * java/security/CodeSource.java: Likewise.
13857         * java/security/DigestException.java: Likewise.
13858         * java/security/DigestOutputStream.java: Likewise.
13859         * java/security/DomainCombiner.java: Likewise.
13860         * java/security/GeneralSecurityException.java: Likewise.
13861         * java/security/Guard.java: Likewise.
13862         * java/security/GuardedObject.java: Likewise.
13863         * java/security/InvalidAlgorithmParameterException.java: Likewise.
13864         * java/security/InvalidKeyException.java: Likewise.
13865         * java/security/InvalidParameterException.java: Likewise.
13866         * java/security/Key.java: Likewise.
13867         * java/security/KeyException.java: Likewise.
13868         * java/security/KeyManagementException.java: Likewise.
13869         * java/security/KeyStoreException.java: Likewise.
13870         * java/security/MessageDigest.java: Likewise.
13871         * java/security/NoSuchAlgorithmException.java: Likewise.
13872         * java/security/NoSuchProviderException.java: Likewise.
13873         * java/security/Permission.java: Likewise.
13874         * java/security/PermissionCollection.java: Likewise.
13875         * java/security/Permissions.java: Likewise.
13876         * java/security/Policy.java: Likewise.
13877         * java/security/Principal.java: Likewise.
13878         * java/security/PrivateKey.java: Likewise.
13879         * java/security/PrivilegedAction.java: Likewise.
13880         * java/security/PrivilegedActionException.java: Likewise.
13881         * java/security/PrivilegedExceptionAction.java: Likewise.
13882         * java/security/ProtectionDomain.java: Likewise.
13883         * java/security/ProviderException.java: Likewise.
13884         * java/security/PublicKey.java: Likewise.
13885         * java/security/SecureClassLoader.java: Likewise.
13886         * java/security/SecurityPermission.java: Likewise.
13887         * java/security/SignatureException.java: Likewise.
13888         * java/security/UnrecoverableKeyException.java: Likewise.
13889         * java/security/UnresolvedPermission.java: Likewise.
13890         * java/security/acl/AclNotFoundException.java: Likewise.
13891         * java/security/acl/LastOwnerException.java: Likewise.
13892         * java/security/acl/NotOwnerException.java: Likewise.
13893         * java/security/cert/CRLException.java: Likewise.
13894         * java/security/cert/CertificateEncodingException.java: Likewise.
13895         * java/security/cert/CertificateException.java: Likewise.
13896         * java/security/cert/CertificateExpiredException.java: Likewise.
13897         * java/security/cert/CertificateFactory.java: Likewise.
13898         * java/security/cert/CertificateNotYetValidException.java: Likewise.
13899         * java/security/cert/CertificateParsingException.java: Likewise.
13900         * java/security/spec/InvalidKeySpecException.java: Likewise.
13901         * java/security/spec/InvalidParameterSpecException.java: Likewise.
13902
13903         * java/security/cert/CertPath.java: New file.
13904         * java/security/cert/CertPathBuilderException.java: New file.
13905         * java/security/cert/CertPathValidatorException.java: New file.
13906         * java/security/cert/CertStoreException.java: New file.
13907
13908         * Makefile.am: Add new CertPath classes.
13909         * Makefile.in: Rebuilt.
13910
13911         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13912
13913 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13914
13915         Merge JDK 1.4 exception chaining support from classpath.
13916
13917         * java/lang/Throwable.java: Merge 1.4 support from classpath.
13918         (stackTraceBytes): Rename from stackTrace.
13919         * java/lang/Exception.java: Merge from classpath.
13920         * java/lang/StackTraceElement: New file from classpath.
13921         * gcj/javaprims.h: Rebuild CNI namespace declarations.
13922         * Makefile.am: Add StackTraceElement.
13923         * Makefile.in: Rebuilt.
13924
13925 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13926
13927         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13928         they build first.
13929         * Makefile.in: Rebuilt.
13930
13931 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13932
13933         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13934         * configure.in: Likewise.
13935         * aclocal.m4: Regenerate.
13936         * configure: Regenerate.
13937
13938 2002-05-13  Tom Tromey  <tromey@redhat.com>
13939
13940         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13941         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13942         Include platform.h.
13943
13944         Fixes PR libgcj/6389:
13945         * Makefile.in: Rebuilt.
13946         * Makefile.am (nat_source_files): Added natTimeZone.cc.
13947         * java/util/natTimeZone.cc: New file.
13948         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13949         * java/lang/System.java: Merged with Classpath.
13950         * java/lang/Runtime.java: Merged with Classpath.
13951         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13952         security check.
13953         (setIn0): Renamed from setIn; don't run security check.
13954         (setOut0): Renamed from setOut; don't run security check.
13955         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13956         init_properties): Moved to natRuntime.cc.
13957         Moved many includes to natRuntime.cc.
13958         (isWordsBigEndian): New method.
13959         * java/lang/natRuntime.cc: Include Long.h, also other includes
13960         previously in natSystem.cc.
13961         (maxMemory): New function.
13962         (exitInternal): Renamed from `_exit'.
13963         (exit): Removed.
13964         (init): Don't set finalize_on_exit.
13965         (exitInternal): Use `finalizeOnExit'.
13966         (file_encoding, getpwuid_adaptor): New functions from
13967         natSystem.cc.
13968         (insertSystemProperties): New method, renamed from
13969         System::init_properties.  Don't set user.timezone.
13970         (_load): Don't call checkLink.
13971         (execInternal): New method.
13972         (availableProcessors): Likewise.
13973         (nativeGetLibname): Likewise.
13974
13975 2002-05-11  Mark Wielaard  <mark@klomp.org>
13976
13977         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
13978         space characters.
13979         (previous_internal): Likewise.
13980
13981 2002-05-09  Tom Tromey  <tromey@redhat.com>
13982
13983         * jni.cc (_Jv_JNIFunctions): Fixed typo.
13984
13985         * java/util/ResourceBundle.java: New version from Classpath.
13986         * java/util/Locale.java: Likewise.
13987
13988 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
13989
13990         * testsuite/lib/libjava.exp (libjava_arguments): Append all
13991         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13992         LD_LIBRARY_PATH.
13993
13994 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
13995
13996         * libjava/Makefile.am (all_java_source_files): New variable.
13997         (all_java_class_files): Likewise.
13998         .java.class: New rule.
13999         (CLEANFILES): Remove tmp-list.
14000         * libjava/Makefile.in: Regenerated.
14001
14002 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14003
14004         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14005         Append .exe to executable names.  Fix for cygwin.
14006
14007 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14008
14009         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14010         script entry, and set LD to it when configuring multilibs.
14011         * configure: Rebuilt.
14012
14013 2002-05-07  Tom Tromey  <tromey@redhat.com>
14014
14015         * java/lang/natString.cc (unintern): Fixed typo.
14016
14017 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14018
14019         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14020         with -no-install on *-*-cygwin*.
14021
14022 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14023
14024         * testsuite/lib/libjava.exp (test_libjava_from_source):
14025         Add comment explaining last patch
14026
14027 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14028
14029         * testsuite/lib/libjava.exp (test_libjava_from_source):
14030         Append .exe to executable names.  If no suffix is present,
14031         then ".exe" is added by default on win32.  Harmless
14032         elsewhere so always do it.
14033
14034 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14035             Tom Tromey  <tromey@redhat.com>
14036
14037         * java/lang/natSystem.cc (getSystemTimeZone): Use
14038         HAVE_UNDERSCORE_TIMEZONE.
14039         * include/config.h.in: Rebuilt.
14040         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14041         * aclocal.m4, configure: Rebuilt.
14042         * acinclude.m4: Run AC_EXEEXT.
14043         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14044         Add test for `_timezone'.
14045
14046 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14047
14048         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14049         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14050         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14051         * Makefile.in: Rebuilt.
14052
14053 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14054
14055         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14056         use sigaction instead of __libc_sigaction.
14057
14058 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14059
14060         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14061         (libjava_init): Use it to find libgcj.spec.
14062         (libjava_arguments): Likewise.
14063
14064 2002-05-02  David S. Miller  <davem@redhat.com>
14065
14066         PR bootstrap/6525
14067         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14068         __libc_sigaction on Sparc.
14069
14070 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14071
14072         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14073         sys/filio.h, if present.
14074
14075 2002-04-30  Tom Tromey  <tromey@redhat.com>
14076
14077         * java/io/BufferedReader.java (fill): Handle case where markPos
14078         point to ignored \n.  Fixes PR libgcj/6301.
14079
14080 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14081
14082         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14083
14084 2002-04-29  Adam King <aking@dreammechanics.com>
14085
14086         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14087         of file in APPEND mode.
14088
14089 2002-04-25  David S. Miller  <davem@redhat.com>
14090
14091         PR target/6422
14092         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14093         program counter to next program counter minus 8.  Update
14094         comments in this macro to explain why.
14095
14096 2002-04-26  Tom Tromey  <tromey@redhat.com>
14097
14098         * verify.cc (construct_primitive_array_type) [void_type]: New
14099         case.
14100         (branch_prepass): Added dummy entries for unused instruction
14101         values.
14102         (verify_instructions_0): Likewise.
14103         * interpret.cc (continue1): Comment fix.
14104         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14105         * Makefile.in: Rebuilt.
14106         * Makefile.am: Added -Wswitch-enum.
14107
14108 2002-04-24  Tom Tromey  <tromey@redhat.com>
14109
14110         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14111         correct length of UTF-8 encoded name.  Strip leading `/'.
14112         (_Jv_RegisterResource): Use _Jv_Malloc.
14113
14114 2002-04-23  Adam Megacz <adam@xwt.org>
14115
14116         * win32.cc, include/win32.cc (backtrace): Added this function
14117         because Win32 does not supply it.
14118
14119 2002-04-21  David S. Miller  <davem@redhat.com>
14120
14121         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14122         magic instruction reading sequence.
14123
14124 2002-04-21  Mark Wielaard  <mark@klomp.org>
14125
14126         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14127
14128 2002-04-19  David S. Miller  <davem@redhat.com>
14129
14130         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14131         arg.
14132         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14133         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14134         on Sparc too.
14135         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14136         for 64-bit sparc.
14137         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14138         * sysdeps/sparc/locks.h: New file.
14139         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14140         on all sparc Solaris configurations.  Set to
14141         include/dwarf2-signal.h on sparc Linux.
14142         * configure: Regenerate
14143         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14144
14145 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14146
14147         * configure: Rebuilt.
14148         * configure.in (backtrace): Function doesn't work on IA-64.
14149
14150 2002-04-17  Adam King <aking@dreammechanics.com>
14151
14152         * java/io/File.java (normalizePath): Add Win32 support for auto
14153         conversion of a '/' path separator to Win32's '\' separator.
14154
14155 2002-04-16  Tom Tromey  <tromey@redhat.com>
14156
14157         Fix for PR libgcj/6081:
14158         * Makefile.in: Rebuilt.
14159         * Makefile.am (install-data-local): Use GNU make trick to avoid
14160         shell limit.
14161
14162 2002-04-16  Adam King <aking@dreammechanics.com>
14163             Tom Tromey  <tromey@redhat.com>
14164
14165         * java/io/natFileWin32.cc (performList): Return the correct array
14166         type.  Don't duplicate the creation of a File since it's already
14167         done earlier in the method and the existing code would cause a
14168         ArrayStoreException.  Don't use fixed-size array.
14169         (_access, _stat, attr, getCanonicalPath, performMkdir,
14170         performRenameTo): Don't use fixed-size array.
14171         (getCanonicalPath): Use throw, not _Jv_Throw.
14172
14173 2002-04-15  DJ Delorie  <dj@redhat.com>
14174
14175         * configure.in: Allow building in $srcdir.
14176         * configure: Regenerated.
14177
14178 2002-04-14  Mark Wielaard <mark@klomp.org>
14179
14180         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14181         * java/net/natSocketImpl.cc (close): Likewise.
14182
14183 2002-04-14  Mark Wielaard <mark@klomp.org>
14184
14185         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14186
14187 2002-04-13  Adam King <aking@dreammechanics.com>
14188
14189         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14190         the f/F/d/D modifiers.
14191
14192 2002-04-12  Anthony Green  <green@redhat.com>
14193
14194         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14195         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14196         * Makefile.in: Rebuilt.
14197         * configure.in: Substitute gcc_version.
14198         * configure: Rebuilt.
14199
14200 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14201
14202         * configure.host: Set can_unwind_signal on hosts which support it.
14203         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14204         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14205         exceptions and can_unwind_signal isn't set.
14206         * configure: Rebuilt.
14207
14208 2002-04-11  Tom Tromey  <tromey@redhat.com>
14209
14210         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14211
14212 2002-04-11  Adam King <aking@dreammechanics.com>
14213             Tom Tromey  <tromey@redhat.com>
14214
14215         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14216         _Jv_ThrowNullPointerException): Mark as noreturn.
14217         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14218         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14219         fixes.
14220
14221 2002-04-10  Tom Tromey  <tromey@redhat.com>
14222
14223         * Makefile.in: Rebuilt.
14224         * Makefile.am (java/lang/Thread.h): Mark
14225         _Jv_AttachCurrentThreadAsDaemon as friend.
14226         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14227         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14228         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14229         function.
14230         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14231         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14232         (_Jv_JNI_InvokeFunctions): Added
14233         _Jv_JNI_AttachCurrentThreadAsDaemon.
14234         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14235         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14236         (JNI_CreateJavaVM): Likewise.
14237         (_Jv_JNI_AttachCurrentThread): Likewise.
14238         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14239         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14240         (_Jv_JNIFunctions): Initialize new fields.
14241         (_Jv_JNI_NewDirectByteBuffer): New function.
14242         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14243         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14244         * include/jni.h (JNI_VERSION_1_4): New macro.
14245         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14246         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14247         (JNINativeInterface::NewDirectByteBuffer): New field.
14248         (JNINativeInterface::GetDirectBufferAddress): New field.
14249         (JNINativeInterface::GetDirectBufferCapacity): New field.
14250         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14251         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14252         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14253
14254 2002-04-09  Tom Tromey  <tromey@redhat.com>
14255
14256         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14257
14258 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14259
14260         Fix for PR libgcj/6187:
14261         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14262         distance.
14263
14264 2002-04-07  Mark Wielaard <mark@klomp.org>
14265
14266         * java/util/AbstractMap.java (putAll): Use entrySet size.
14267         (toString): Explicitly use getKey() and getValue().
14268
14269 2002-04-07  Mark Wielaard <mark@klomp.org>
14270
14271         * java/util/Hashtable.java (contains): Remove NullPointer check.
14272         (containsValue): Add NullPointer check.
14273         (remove): Always throw NullPointerException when key
14274         is null.
14275
14276 2002-04-07  Adam King <aking@dreammechanics.com>
14277
14278         * java/lang/natSystem.cc (init_properties): Call new function
14279         _Jv_platform_initProperties.
14280         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14281         support for the System properties os.name, os.arch, os.version,
14282         user.name, user.home, and user.dir.
14283         * include/posix.h, include/win32.h, posix.cc: New function
14284         _Jv_platform_initProperties.
14285
14286 2002-04-06  Mark Wielaard <mark@klomp.org>
14287
14288         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14289
14290 2002-04-06  Mark Wielaard <mark@klomp.org>
14291
14292         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14293         all of the remaining elements.
14294         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14295         (removeRange): If toIndex == fromIndex do
14296         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14297         (removeAll): Always throw NullPointerException when collection is
14298         null.
14299         (retrainAll): Likewise.
14300
14301 2002-04-05  Mark Wielaard <mark@klomp.org>
14302
14303         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14304         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14305
14306 2002-04-05  Adam Megacz <adam@xwt.org>
14307
14308         * exception.cc (abort): added static modifier
14309
14310 2002-04-04  Adam Megacz <adam@xwt.org>
14311
14312         * include/win32.h (_Jv_platform_close_on_exec): added inline
14313         modifier.
14314
14315 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14316
14317         * configure.host: Add case statement to support generic port
14318         properties.  Add *-*-freebsd* section.
14319
14320 2002-04-04  Mark Wielaard  <mark@klomp.org>
14321
14322         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14323         test.
14324         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14325         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14326         that depend on awt code and BufferedByteOutputStream.interrupt.
14327
14328 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14329
14330         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14331         incorrect "hi" value when count > 40.
14332
14333 2002-04-03  Mark Wielaard  <mark@klomp.org>
14334
14335         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14336         ordering.
14337
14338 2002-04-02  Tom Tromey  <tromey@redhat.com>
14339
14340         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14341         not `0'.
14342
14343 2002-04-02  Mark Wielaard  <mark@klomp.org>
14344
14345         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14346         list of testsuite crashers.
14347
14348 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14349
14350         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14351         when resizing table.
14352
14353 2002-04-01  Mark Wielaard  <mark@klomp.org>
14354
14355         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14356         NegativeArraySizeException
14357         (clear(int)): Use sign extended shift.
14358         (flip(int)): Likewise.
14359         (get(int)): Likewise.
14360         (nextClearBit(int)): Likewise.
14361         (nextSetBit(int)): Likewise.
14362         (set(int)): Likewise.
14363
14364 2002-04-01  Mark Wielaard  <mark@klomp.org>
14365
14366         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14367         that can be compiled now and add testsuite crashers to ignore list.
14368
14369 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14370
14371         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14372
14373         * libgcj.spec.in: Override libgcc, not lib.
14374         * libgcj-test.spec.in: Likewise.
14375
14376 2002-03-29  Tom Tromey  <tromey@redhat.com>
14377
14378         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14379         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14380
14381 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14382
14383         * java/net/PlainDatagramSocketImpl.java
14384         (close): Use native implementation.
14385         (finalize): New method.
14386
14387         * java/net/PlainSocketImpl.java (finalize): New method.
14388
14389         * java/net/natPlainDatagramSocketImpl.cc
14390         (java/io/FileDescriptor.h): Don't include.
14391         (close): Implement method here.
14392         (create): Don't assign fd.
14393
14394         * java/net/natPlainSocketImpl.cc
14395         (java/io/FileDescriptor.h): Don't include.
14396         (create): Don't assign fd.
14397         (accept): Likewise.
14398         (close): Synchronize.
14399
14400 2002-03-27  Richard Henderson  <rth@redhat.com>
14401
14402         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14403
14404 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14405
14406         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14407         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14408         instead of syscall on IA-64.
14409         Add FIXME comment.
14410
14411 2002-03-27  Anthony Green  <green@redhat.com>
14412
14413         * libgcj.spec.in: Add CHECKREFSPEC.
14414         * configure.in: Ditto.
14415         * configure.host: Ditto.  Check references for xscale-elf.
14416         * configure: Rebuilt.
14417
14418 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14419
14420         * include/dwarf2-signal.h: Temporarily back out last change.
14421
14422 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14423
14424         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14425
14426 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14427
14428         * configure.in, configure: enable dwarf2-exception-style
14429         exception handling on IA-64.
14430         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14431         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14432         Add FIXME comment.
14433
14434 2002-03-25  Tom Tromey  <tromey@redhat.com>
14435
14436         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14437         (jv_convert_LDFLAGS): Likewise.
14438         (gij_LDFLAGS): Likewise.
14439         (rmic_LDFLAGS): Likewise.
14440         (rmiregistry_LDFLAGS): Likewise.
14441         * configure.in (THREADLDFLAGS): New subst; set correctly for
14442         *BSD.
14443
14444 2002-03-25  Tom Tromey  <tromey@redhat.com>
14445
14446         For PR libgcj/5303:
14447         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14448         and --version.
14449         (help): New method.
14450         (version): Likewise.
14451         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14452         "GNU".
14453         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14454         "GNU".
14455
14456 2002-03-25  Tom Tromey  <tromey@redhat.com>
14457
14458         * java/awt/Component.java (processEvent): Check ComponentEvent
14459         after KeyEvent.
14460
14461 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14462
14463         * java/io/PushbackReader.java: Reformat.
14464
14465         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14466         calculate correct number of bytes skipped.
14467
14468         Based on patch from Intel's ORP team:
14469         * java/io/PushbackInputStream.java (available): Calculate correct
14470         number of bytes in buffer.
14471         (read): Remove redundant bound check. Return bytes from both the
14472         buffer and the stream.
14473
14474 2002-03-24  Tom Tromey  <tromey@redhat.com>
14475
14476         * java/awt/TextComponent.java (TextComponent): Editable by
14477         default.
14478
14479         * java/awt/MenuItem.java (eventMask): No longer private.
14480         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14481         superclass if we didn't handle event.
14482         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14483         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14484         * java/awt/Choice.java (dispatchEventImpl): New method.
14485         * java/awt/List.java (dispatchEventImpl): New method.
14486         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14487         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14488         * java/awt/TextField.java (dispatchEventImpl): New method.
14489
14490 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14491
14492         * java/beans/IntrospectionException.java: Update to 1.4.
14493         * java/beans/PropertyVetoException.java: Ditto.
14494
14495 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14496
14497         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14498         Arrays.equals instead of ArrayHelper.equalsArray.
14499
14500 2002-03-24  C. Brian Jones <cbj@gnu.org>
14501
14502         * java/beans/Introspector.java: added new static final fields
14503         introduced in 1.2, lots of other updates remain to be done
14504
14505 2002-03-24  C. Brian Jones <cbj@gnu.org>
14506
14507         * java/beans/Introspector.java: reformatting
14508
14509 2002-03-24  C. Brian Jones <cbj@gnu.org>
14510
14511         * java/beans/Introspector.java: default beanInfoSearchPath will
14512         not include sun.beans.infos given we provide no such package and
14513         the API doesn't really require it; gnu.java.beans.info is the
14514         default.
14515
14516 2002-03-24  Mark Wielaard  <mark@klomp.org>
14517
14518         Thanks to Orp developers
14519         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14520         switch TRUE and FALSE return values.
14521
14522 2002-03-23  Tom Tromey  <tromey@redhat.com>
14523
14524         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14525         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14526
14527 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14528
14529         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14530         MONTH entry.  Fixes PR libgcj/6045.
14531
14532 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14533
14534         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14535
14536 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14537
14538         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14539         not release_set.
14540         * sysdep/powerpc/locks.h (write_barrier): New function.
14541         * sysdep/i386/locks.h (write_barrier): New function.
14542
14543 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14544
14545         * include/jni.h Use correct C comments.
14546
14547 2002-03-18  Tom Tromey  <tromey@redhat.com>
14548
14549         * include/jni.h (JNIIMPORT): New macro.
14550         (JNIEXPORT): Likewise.
14551         (JNICALL): Likewise.
14552
14553 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14554
14555         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14556         systems.
14557
14558 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14559
14560         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14561         INIT_SEGV: Use old_i386_kernel_sigaction.
14562         INIT_FP: Likewise.
14563
14564 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14565
14566         * java/lang/natSystem.cc (init_properties): Update VM version
14567         properties.
14568         * configure.in: Set GCJVERSION.
14569         * acconfig.h: Add GCJVERSION.
14570         * configure: Rebuilt.
14571         * include/config.h.in: Rebuilt.
14572
14573 2002-03-17  Anthony Green  <green@redhat.com>
14574
14575         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14576
14577 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14578
14579         Build a single libgcj.so, without separate gc and zlib libraries.
14580         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14581         SYS_ZLIBS if system zlib is used.
14582         * configure: Rebuilt.
14583         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14584         * Makefile.in: Rebuilt.
14585         * libtool-version: Increment .so version number.
14586
14587         * Makefile.am: Escape quotes in echo.
14588         * Makefile.in: Rebuilt.
14589
14590 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14591
14592         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14593         * Makefile.in: Rebuilt.
14594
14595 2002-03-15  Anthony Green  <green@redhat.com>
14596
14597         * configure.host (FILE): New macro for specifing File
14598         implementation.
14599         * configure: Rebuilt.
14600         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14601
14602 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14603
14604         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14605         already implicitly brought in from libgcj.la.
14606         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14607         * Makefile.in: Rebuilt.
14608
14609 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14610
14611         * THANKS: Fix punctuation, alphabetization.
14612
14613 2002-03-15  Tom Tromey  <tromey@redhat.com>
14614             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14615
14616         Fix for PR libgcj/5944.
14617         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14618
14619 2002-03-15  Anthony Green  <green@redhat.com>
14620
14621         * configure.in (tool_include_dir): Define.
14622         * configure: Rebuilt.
14623         * gcj/Makefile.am: Install libgcj-config.h relative to
14624         tool_include_dir.
14625         * gcj/Makefile: Rebuilt.
14626         * gcj/libgcj-config.h: Add warning comment.
14627
14628 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14629
14630         * configure.host (powerpc*-darwin*): Enable interpreter.
14631
14632 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14633
14634         * include/posix.h: Add multiple include header protection.
14635         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14636
14637 2002-03-10  Adam Megacz <adam@xwt.org>
14638
14639         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14640
14641 2002-03-10  Tom Tromey  <tromey@redhat.com>
14642
14643         * java/awt/GridLayout.java (layoutContainer): Handle case where
14644         there are no items in container.
14645
14646         * java/lang/Win32Process.java: Added comment.
14647         * include/posix.h (_Jv_platform_close_on_exec): New function.
14648         Include fcntl.h.
14649         * include/win32.h (_Jv_platform_close_on_exec): New function.
14650         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14651         flag.
14652         (accept): Likewise.
14653         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14654         close-on-exec flag.
14655         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14656         flag.
14657
14658 2002-03-09  Tom Tromey  <tromey@redhat.com>
14659
14660         * verify.cc (state::NO_STACK): New constant.
14661         (state::is_unmerged_ret_state): Handle case where stacktop is
14662         NO_STACK.
14663         (state::merge): Handle NO_STACK merges.
14664         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14665         for instruction following jsr.
14666         (stacktop, stackdepth): Removed unused variables.
14667         (pop_jump): Ignore case where all remaining states are skipped.
14668
14669 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14670
14671         * java/awt/ImageMediaEntry: Removed.
14672         * java/awt/MediaEntry: Removed.
14673
14674 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14675
14676         Hashtable synchronization for PowerPC.
14677         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14678         slow_pthread_self. Set up symlink for sysdeps directory.
14679         * configure: Rebuild.
14680         * configure.host: Document more shell variables. Set sysdeps_dir
14681         for most platforms. Set slow_pthread_self for i686. Set
14682         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14683         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14684         that memory barrier is emitted where required.
14685         * prims.cc: 64-bit align static primitive class instances.
14686         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14687         read_barrier() to enforce ordering of reads.
14688         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14689         primitives for PowerPC.
14690         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14691         moved from natObject.cc.
14692         * sysdep/alpha/locks.h: Likewise.
14693         * sysdep/ia64/locks.h: Likewise.
14694         * sysdep/generic/locks.h: Likewise.
14695         * java/lang/natObject.cc: Move thread synchronization primitives to
14696         system-dependent headers.
14697
14698 2002-03-09  Adam Megacz  <adam@xwt.org>
14699
14700         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14701         bytes read and no failure code returned.
14702
14703 2002-03-09  Adam Megacz  <adam@xwt.org>
14704
14705         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14706         definitions to simulate -mthreads.
14707
14708 2002-03-09  Adam Megacz  <adam@xwt.org>
14709
14710         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14711         avoid precision loss.
14712
14713 2002-03-09  Per Bothner  <per@bothner.com>
14714
14715         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14716         * gnu/gcj/xlib/XImage.java:  Likewise.
14717         * gnu/gcj/xlib/XColor.java:  Likewise.
14718
14719 2002-03-09  Adam Megacz  <adam@xwt.org>
14720
14721         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14722         IOException so that Throwable.printStackTrace fails correctly.
14723
14724 2002-03-08  Adam Megacz  <adam@xwt.org>
14725
14726         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14727         fixed.
14728
14729 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14730
14731         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14732         truncated to int.
14733
14734 2002-03-08  Tom Tromey  <tromey@redhat.com>
14735
14736         * include/jni.h: Include stdio.h.
14737
14738 2002-03-08  Tom Tromey  <tromey@redhat.com>
14739
14740         * posix.cc (internal_gettimeofday): New function.
14741         (_Jv_select): Use it.
14742
14743 2002-03-07  Adam Megacz  <adam@xwt.org>
14744
14745         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14746         WIN32, and added thunks for read(), write(), and close().
14747         * java/net/natPlainSocketImpl.cc (accept, read, read):
14748         Disabled timeouts on WIN32 pending discussion.
14749
14750 2002-03-07  Adam Megacz  <adam@xwt.org>
14751
14752         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14753         returns jlong. Added implementation
14754         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14755         returns jlong.
14756         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14757         returns jlong.
14758         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14759         returns jlong.
14760         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14761         _Jv_platform_gettimeofday signature.
14762
14763 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14764
14765         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14766         (read): Call recv() directly, not _Jv_recv().
14767
14768 2002-03-06  Tom Tromey  <tromey@redhat.com>
14769
14770         * java/io/natFileDescriptorEcos.cc (init): Don't use
14771         GetStdHandle.
14772         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14773         is negative.
14774         (init): Don't use GetStdHandle.
14775
14776         * include/config.h.in: Rebuilt.
14777         * configure: Rebuilt.
14778         * Makefile.in: Rebuilt.
14779
14780 2002-03-06  Adam Megacz  <adam@xwt.org>
14781
14782         * java/io/FileDescriptor.java: Initialize in/out/err in init().
14783         * java/io/natFileDescriptorWin32.cc (init()): Added function.
14784         * java/io/natFileDescriptorPosix.cc (init()): Added function.
14785         * java/io/natFileDescriptorEcos.cc (init()): Added function.
14786
14787 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
14788
14789         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14790         the code for generating include/java-chartables.h.
14791         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14792         merge with Classpath.
14793         * scripts/unicode-muncher.pl: Copy from Classpath.
14794         * scritps/MakeCharTables.java: New file.
14795         * gnu/gcj/convert/Blocks-3.txt: New file.
14796         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14797         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14798         * gnu/java/lang/CharData.java: Copy from Classpath.
14799         * Makefile.am (ordinary_java_source_files): Add
14800         gnu/java/lang/CharData.java.
14801         * configure.in: Remove --enable-fast-character option.
14802         * java/lang/Character.java: Merge algorithms and Javadoc with
14803         Classpath.
14804         * java/lang/natCharacter.cc: Implement Unicode lookup table more
14805         efficiently.
14806         * include/java-chardecomp.h: Regenerate.
14807         * include/java-chartables.h: Regenerate.
14808
14809 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14810
14811         * java/awt/MediaTracker.java: Implemented.
14812         * Makefile.am: Add MediaTracker.
14813         * Makefile.in: Rebuilt.
14814
14815 2002-03-05  Tom Tromey  <tromey@redhat.com>
14816
14817         * java/lang/natPosixProcess.cc (fail): Removed.
14818         (startProcess): Simplified error-handling.  Preserve
14819         LD_LIBRARY_PATH across exec.
14820
14821         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14822         AbstractMethodError.
14823
14824 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14825
14826         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14827         * Makefile.in: Rebuilt.
14828
14829 2002-03-03 Mark Wielaard <mark@klomp.org>
14830
14831         * java/util/Timer (TaskQueue.stop): set elements to zero.
14832
14833 2002-02-28  Anthony Green  <green@redhat.com>
14834
14835         * java/lang/reflect/natMethod.cc (result): Add void* element.
14836         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
14837         constructor test.
14838
14839 2002-02-27  Adam Megacz <adam@xwt.org>
14840
14841         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14842         '#undef STRICT'.
14843
14844 2002-02-26  Tom Tromey  <tromey@redhat.com>
14845
14846         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14847         * gij.cc (version): Use __VERSION__.
14848         * include/config.h.in: Rebuilt.
14849         * acconfig.h (GCJVERSION): Removed.
14850         * configure: Rebuilt.
14851         * configure.in (GCJVERSION): Removed.
14852
14853 2002-02-26  Andreas Schwab  <schwab@suse.de>
14854
14855         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14856         glibcpp_CXX, since libjava uses even another CXX.
14857         * aclocal.m4, configure: Regenerated.
14858
14859 2002-02-26  Tom Tromey  <tromey@redhat.com>
14860
14861         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14862         `1'.
14863
14864 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14865
14866         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14867         dependency tracking for .java files.
14868         * Makefile.in: Rebuilt.
14869
14870 2002-02-24  Adam Megacz  <adam@xwt.org>
14871
14872         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14873         typo. Sorry.
14874
14875 2002-02-24  Adam Megacz  <adam@xwt.org>
14876
14877         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14878         for Win32, changed #ifdefs to check WIN32 instead of the
14879         (now-obsolete) USE_WINSOCK, and removed support for socket
14880         timeouts on Win32 pending further discussion.
14881
14882 2002-02-24  Adam Megacz  <adam@xwt.org>
14883
14884         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14885         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14886         delete
14887
14888 2002-02-24  Adam Megacz  <adam@xwt.org>
14889
14890         * java/lang/Win32Process.java: Created a dummy class to allow
14891         build process to run to completion.
14892
14893 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
14894
14895         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14896         Define ffi_result union for ffi_call result.  Cast
14897         ffi_result members to jvalue.
14898
14899 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
14900
14901         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14902         * testsuite/Makefile.in: Likewise.
14903
14904 2002-02-20  Per Bothner  <per@bothner.com>
14905
14906         * java/net/URL.java (getPath):  New JDK 1.3 method.
14907
14908         * java/net/URLStreamHandler.java (parseURL):
14909         It is wrong to prepend '/' to the file part of a relative url.
14910
14911         * java/net/URLStreamHandler.java (parseURL):
14912         Minor optizations - append '/' rather than "/".
14913
14914         * java/net/URLStreamHandler.java (parseURL):
14915         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14916         We probably should canonicalize for a context-relative url, though.
14917         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
14918         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
14919         (sameFile):  New method.  Uses canonicalizeFilename.
14920
14921 2002-02-22  Tom Tromey  <tromey@redhat.com>
14922
14923         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14924         java.vendor and java.vm.vendor.
14925         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14926         recent copyright date.
14927         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14928         * gij.cc (version): Print `Inc'.
14929
14930 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14931
14932         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14933         * aclocal.m4, configure: Rebuilt.
14934
14935 2002-02-20  Per Bothner  <per@bothner.com>
14936
14937         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
14938         and/or output streams immediately here, instead of using File.exists.
14939         (inputStream, outputStream):  New fields to save open streams.
14940         (getInputStream, getOutputStream):  Use already-opened streams.
14941
14942 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14943
14944         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14945         Use it.
14946         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14947         * aclocal.m4, configure, Makefile.in: Rebuilt.
14948
14949 2002-02-19  Tom Tromey  <tromey@redhat.com>
14950
14951         Fix for PR libgcj/5696:
14952         * verify.cc (is_assignable_from_slow): Never call
14953         _Jv_IsAssignableFrom.
14954         (verify_instructions_0): Added new debug statement.
14955         (state::print): Print information about whether local has
14956         changed.
14957         (state::merge): Don't call note_variable when merging locals.
14958         (state::set_exception): Removed old FIXME comment.
14959
14960 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14961
14962         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14963         enable SO_BROADCAST.
14964
14965 2002-02-18  Jason Merrill  <jason@redhat.com>
14966
14967         * name-finder.cc (toHex): Use word mode, not long long.
14968
14969         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14970
14971 2002-02-15  Tom Tromey  <tromey@redhat.com>
14972
14973         Fix for PR libgcj/5695:
14974         * verify.cc (is_assignable_from_slow): Check to see if target is
14975         an Object before checking to see if source is an interface.
14976         (verify_instructions_0) [op_invokeinterface]: Handle case where
14977         we're making an interface call on Object.
14978
14979 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14980
14981         * Makefile.in: Rebuilt with Eric's change below.
14982
14983         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
14984         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
14985         Removed functions which are now implemented in Math.java.
14986
14987 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14988
14989         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14990         * Makefile.am (core_java_source_files): Add
14991         java/lang/StrictMath.java.
14992         * java/lang/Math.java: Merge with Classpath.
14993         * java/lang/StrictMath.java: New file - merge with Classpath.
14994
14995 2002-02-14  Mark Wielaard  <mark@klomp.org>
14996
14997         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14998         package as a workaround for gcj 3.0.x
14999
15000 2002-02-14  Mark Wielaard <mark@klomp.org>
15001
15002         * java/security/BasicPermission.java: extends with fully qualified
15003         classname as workaround for gcj 3.0.4.
15004
15005 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15006
15007         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15008         around gcj bug of wrong emitted qualifier for inherited method.
15009         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15010         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15011         constructor to reduce amount of emitted bytecode. While this
15012         happens to work around a jikes 1.15 bug, it is still a useful
15013         patch even for correct compilers.
15014         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15015         * gnu/java/rmi/server/UnicastRemoteCall.java
15016         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15017
15018 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15019
15020         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15021         * java/net/SocketImpl.java: Ditto.
15022         * java/rmi/server/RMIClassLoader.java: Ditto.
15023         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15024
15025 2002-02-14  Mark Wielaard <mark@klomp.org>
15026
15027         Thanks to Takashi Okamoto
15028         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15029         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15030         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15031
15032 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15033
15034         Fix for PR libgcj/5670:
15035         * verify.cc (is_assignable_from_slow): If `source' is interface,
15036         recursively look for merge with `target'.
15037
15038 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15039
15040         * include/jni.h: Fix typo.
15041
15042 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15043
15044         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15045         correctly.
15046
15047 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15048
15049         Fix for PR libgcj/5671:
15050         * verify.cc (state::merge): Handle case where we're merging
15051         against an interface.
15052
15053 2002-02-12  Tom Tromey  <tromey@redhat.com>
15054
15055         * exception.cc (std::abort): Mark as noreturn.
15056
15057 2002-02-12  Adam Megacz <adam@xwt.org>
15058
15059         * java/lang/Win32Process.java: Filled in a placeholder
15060         implementation so Win32 will build.
15061
15062 2002-02-12  Adam Megacz <adam@xwt.org>
15063
15064         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15065         * java/io/natFile.cc: Removed from repository.
15066         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15067
15068 2002-02-12  Adam Megacz <adam@xwt.org>
15069
15070         * win32.cc: Added two #includes to make win32.cc compile.
15071
15072 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15073
15074         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15075         declarations.
15076         (_Jv_InitGC): Don't bother locking, as this is always called from a
15077         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15078
15079 2002-02-11  Adam Megacz <adam@xwt.org>
15080
15081         * include/win32.h: Added _Jv_platform_gettimeofday.
15082         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15083
15084 2002-02-11  Adam Megacz <adam@xwt.org>
15085
15086         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15087         Added #undef STRICT to make windows.h and
15088         java/lang/reflect/Modifier.h cooperate.
15089
15090 2002-02-11  Adam Megacz <adam@xwt.org>
15091
15092         * java/io/natFileWin32.cc: Created a placeholder class with lots
15093         of FIXMEs.
15094
15095 2002-02-11  Adam Megacz <adam@xwt.org>
15096
15097         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15098         std::abort() to simply abort(). Also added "fake" std::abort() so
15099         we can #include unwind-pe.h without having to link against
15100         libstdc++-v3.
15101
15102 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15103
15104         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15105
15106 2002-02-08  Tom Tromey  <tromey@redhat.com>
15107
15108         * interpret.cc (convert): New function.
15109         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15110         convert.
15111         Include Long.h.
15112
15113 2002-02-08  Anthony Green  <green@redhat.com>
15114
15115         * configure.host: Add support for xscale-elf embedded target.
15116
15117 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15118
15119         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15120         dereferenced.
15121         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15122         frame.
15123
15124 2002-02-07  Tom Tromey  <tromey@redhat.com>
15125
15126         * java/io/natFile.cc (_access): Use __builtin_alloca.
15127         (_stat): Likewise.
15128         (attr): Likewise.
15129         (getCanonicalPath): Likewise.
15130         (performList): Likewise.
15131         (performMkdir): Likewise.
15132         (performSetReadOnly): Likewise.
15133         (performRenameTo): Likewise.
15134         (performSetLastModified): Likewise.
15135         (performCreate): Likewise.
15136         (performDelete): Likewise.
15137
15138 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15139
15140         * HACKING: Fix URL for the automake-gcj.
15141
15142 2002-02-07  Tom Tromey  <tromey@redhat.com>
15143
15144         * java/lang/natThrowable.cc: Updated copyright.
15145         * java/io/natFileWin32.cc: Updated copyright.
15146         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15147         * win32-threads.cc: Updated copyright.
15148         * name-finder.cc: Updated copyright.
15149         * include/name-finder.h: Updated copyright.
15150
15151         * include/name-finder.h: Conditionally include sys/wait.h.
15152         * include/config.h.in: Rebuilt.
15153
15154         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15155         Size buffer based on real size of string.
15156         (_stat): Likewise.
15157         (attr): Likewise.
15158         (getCanonicalPath): Likewise.
15159         (performList): Likewise.
15160         (performMkdir): Likewise.
15161         (performSetReadOnly): Likewise.
15162         (unixroot): Removed.
15163         (performRenameTo): Likewise.
15164         (performSetLastModified): Likewise.
15165         (performCreate): Likewise.
15166         (performDelete): Likewise.
15167         (performListRoots): Always return new array.
15168
15169         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15170         * win32.cc (win32_exception_handler): Now static.
15171         * include/win32.h (_Jv_platform_initialize): Declare.
15172         (win32_exception_handler): Don't declare.
15173         * java/lang/natSystem.cc (currentTimeMillis): Use
15174         _Jv_platform_gettimeofday.
15175         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15176         (_Jv_select): Use new name.
15177         (_Jv_platform_initialize): New function.
15178         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15179         _Jv_gettimeofday.
15180         (_Jv_platform_initialize): Declare.
15181
15182         * configure: Rebuilt.
15183         * configure.in: Removed unnecessary parens.
15184
15185 2002-02-06  Adam Megacz <adam@xwt.org>
15186
15187        * configure.in: Changed mingw) to *mingw*).
15188        * win32.cc: Created this file.
15189        * win32.h: Created this file.
15190        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15191        win32_exception_handler from prims.cc to win32.cc, added
15192        header in win32.h.
15193        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15194        longer needed now that we have platform.h
15195
15196 2002-02-06  Adam Megacz <adam@xwt.org>
15197
15198         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15199         use uint<n>_t instead of LONG and BYTE
15200
15201 2002-02-06  Adam Megacz <adam@xwt.org>
15202
15203         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15204
15205 2002-02-06  Anthony Green  <green@redhat.com>
15206
15207         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15208         Implement missing method stubs.
15209         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15210         targets.
15211         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15212         concept of timezones.
15213         (init_properties): Don't refer to _Jv_Environment_Properties
15214         when this feature is not available.
15215         * include/config.h.in: Rebuilt.
15216         * acconfig.h: Add DISABLE_MAIN_ARGS.
15217         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15218         * configure: Rebuilt.
15219         * configure.in: Add --disable-main-args option.  Test for
15220           opendir function.  Replace AC_CHECK_SIZEOF with
15221           AC_COMPILE_CHECK_SIZEOF.
15222         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15223         * aclocal.m4: Rebuilt.
15224         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15225
15226 2002-02-06  Tom Tromey  <tromey@redhat.com>
15227
15228         * verify.cc (require_array_type): If argument is a null array of
15229         references, return null as the element type.
15230
15231 2002-02-06  Mark Wielaard  <mark@klomp.org>
15232
15233         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15234         duplicate of a wide type.
15235
15236 2002-02-06  Tom Tromey  <tromey@redhat.com>
15237
15238         * verify.cc (type::isnull): New method.
15239         (require_array_type): Handle case where array is null.
15240         (verify_instructions_0) [op_arraylength]: Likewise.
15241
15242 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15243
15244         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15245         Symlink PLATFORMH to platform.h.
15246         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15247         PLATFORMOBJS.
15248         * java/lang/natSystem.cc: #include platform.h not posix.h.
15249         * Makefile.in: Rebuilt with libgcj automake.
15250         * configure: Rebuilt.
15251
15252 2002-02-05  Richard Henderson  <rth@redhat.com>
15253
15254         * Makefile.in: Undo munging last change.
15255
15256 2002-02-04  Adam Megacz <adam@xwt.org>
15257
15258         * win32.cc: Created it.
15259         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15260         which is set to posix.cc or win32.cc.
15261         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15262
15263 2002-02-04  Adam Megacz <adam@xwt.org>
15264
15265         * configure.in: Corrected mingw case branches; added * before
15266         and after.
15267
15268 2002-02-04  Adam Megacz <adam@xwt.org>
15269
15270         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15271         if compiling for win32
15272
15273 2002-02-04  Adam Megacz <adam@xwt.org>
15274
15275         * win32-threads.cc: #undef STRICT after gc.h inclusion
15276
15277 2002-02-02  Tom Tromey  <tromey@redhat.com>
15278
15279         * Makefile.in: Rebuilt.
15280
15281 2002-02-02  Jason Merrill  <jason@redhat.com>
15282
15283         * Makefile.am (clean-nat): New target.
15284
15285 2002-02-02  Tom Tromey  <tromey@redhat.com>
15286
15287         * java/io/natFile.cc: Removed old "FIXME" comments.
15288
15289 2002-02-01  Tom Tromey  <tromey@redhat.com>
15290
15291         * java/lang/natPosixProcess.cc (myclose): New function.
15292         (fail): Use it.
15293         (startProcess): Likewise.
15294
15295 2002-02-01  Adam Megacz <adam@xwt.org>
15296
15297         * prims.cc: Added #undef STRICT after #include<windows.h>.
15298
15299 2002-02-01  Adam Megacz <adam@xwt.org>
15300
15301         * prims.cc
15302         (_Jv_CreateJavaVM): We now use WIN32 instead of
15303         USE_WIN32_SIGNALLING and USE_WINSOCK.
15304         (win32_exception_handler): Now throws an exception out of
15305         the signal handler; assumes SJLJ.
15306
15307 2002-02-01  Adam Megacz <adam@xwt.org>
15308
15309         * win32-threads.cc:
15310         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15311         wait() algorithm to make it safe.
15312         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15313         Added lazy creation of Win32 Events for better performance
15314         (really_start): This now uses GC_CreateThread so boehm-gc
15315         knows about new threads even when statically linked.
15316
15317 2002-02-01  Adam Megacz <adam@xwt.org>
15318
15319         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15320         enable safer wait() algorithm.
15321         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15322         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15323         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15324         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15325         instead of mutex.
15326         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15327
15328 2002-02-01  Adam Megacz <adam@xwt.org>
15329
15330         * configure.in: Added support for mingw.
15331         * java/lang/Win32Process.java: Created as empty file.
15332         * java/lang/natWin32Process.cc: Created as empty file.
15333
15334 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15335
15336         PR java/4972
15337         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15338         for libiconv in LIBICONV variable.
15339         * configure: Regenerated.
15340
15341 2002-01-31  Tom Tromey  <tromey@redhat.com>
15342
15343         * verify.cc (state::enter_subroutine): New method.
15344         (handle_jsr_insn): Use it.
15345         (state::merge): When processing a `ret', correctly use
15346         subroutine's state to determine which local variables have
15347         changed.
15348         (push_exception_jump): Don't let stack overflow.
15349
15350 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15351
15352         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15353         --version output.
15354
15355 2002-01-30  Tom Tromey  <tromey@redhat.com>
15356
15357         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15358         parameter for `recv' return type.
15359
15360         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15361         (state::merge): ... not here.
15362         (subr_entry_info): New structure.
15363         (entry_points): New field.
15364         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15365         entry_points.
15366
15367 2002-01-29  Tom Tromey  <tromey@redhat.com>
15368
15369         * java/awt/List.java (addNotify): Correctly check to see if peer
15370         does not exist.
15371
15372         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15373         to compute height of each cell, and number of columns to compute
15374         width of each cell.
15375         * java/awt/Window.java (getOwnedWindows): Don't return null.
15376         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15377         of component.  Increment x using horizontal gap, not vertical
15378         gap.
15379
15380 2002-01-28  Tom Tromey  <tromey@redhat.com>
15381
15382         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15383         `nargs' byte is number of words, not number of arguments.
15384
15385 2002-01-27  Tom Tromey  <tromey@redhat.com>
15386
15387         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15388         (when): Likewise.
15389         * java/awt/event/InputEvent.java (modifiers, when): Now
15390         package-private.
15391
15392         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15393         and to-do list.
15394         (state::merge): Use current class' class loader.
15395         (state::print): Print subroutine.
15396         (state::merge): Don't look at subroutine of unmerged `ret'.
15397
15398 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15399
15400         * nogc.cc: Remove warnings.
15401         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15402         New functions.
15403
15404 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15405
15406         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15407         int, int):  Remove empty "if" statement to work around compiler bug.
15408         (newPixels(int[], ColorModel, int, int): Likewise.
15409
15410 2002-01-25  Per Bothner  <per@bothner.com>
15411
15412         * verify.cc (verify_fail):  Change from being a top-level function
15413         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15414         Pass the current verifier to type: and state: methods as needed,
15415         for better error messages, and for resolve.
15416         (resolve):  Pass current class's loader for Class.forName and
15417         _Jv_FindClassFromSignature, rather than using the default loader.
15418         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15419         (get_type_val_for_signature):  Make non-static.
15420         (various methods):  Pass start_PC implicitly, not explicitly.
15421
15422 2002-01-25  Tom Tromey  <tromey@redhat.com>
15423
15424         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15425         loop termination condition.
15426         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15427         width.
15428
15429 2002-01-24  Tom Tromey  <tromey@redhat.com>
15430
15431         * java/awt/Shape.java: Merged with Classpath.
15432         * java/awt/Scrollbar.java: Merged with Classpath.
15433
15434         * java/awt/Container.java (addNotify): Unconditionally call
15435         addNotifyContainerChildren and superclass addNotify.
15436
15437         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15438         getAlpha, not getBlue.
15439
15440 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15441
15442         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15443
15444         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15445         (grabPixels(long)): Wait to be notified that the ImageProducer has
15446         completed.
15447
15448 2002-01-24  Per Bothner  <per@bothner.com>
15449
15450         * verify.cc (is_assignable_from_slow): If target is an interface,
15451         we must still check the source's superclass before giving up.
15452
15453 2002-01-24  Tom Tromey  <tromey@redhat.com>
15454
15455         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15456
15457 2002-01-23  Tom Tromey  <tromey@redhat.com>
15458
15459         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15460         `else'.
15461
15462         * Makefile.in: Rebuilt.
15463         * Makefile.am (awt_java_source_files): Added new files.
15464         * java/awt/Toolkit.java: Merged with Classpath.
15465         * java/awt/PrintGraphics.java: New file from Classpath.
15466         * java/awt/PrintJob.java: New file from Classpath.
15467         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15468         * java/awt/datatransfer/ClipboardOwner.java: New file from
15469         Classpath.
15470         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15471         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15472         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15473         Classpath.
15474         * java/awt/datatransfer/StringSelection.java: New file from
15475         Classpath.
15476         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15477         Classpath.
15478         * java/awt/datatransfer/Transferable.java: New file from
15479         Classpath.
15480         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15481         from Classpath.
15482
15483         * Makefile.in: Rebuilt.
15484         * Makefile.am (awt_java_source_files): Added new files.
15485         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15486         Classpath.
15487         * java/awt/image/CropImageFilter.java: New file from Classpath.
15488         * java/awt/image/FilteredImageSource.java: New file from
15489         Classpath.
15490         * java/awt/image/ImageFilter.java: New file from Classpath.
15491         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15492         * java/awt/image/PixelGrabber.java: New file from Classpath.
15493         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15494         * java/awt/image/ReplicateScaleFilter.java: New file from
15495         Classpath.
15496         * java/awt/image/ImageProducer.java: Replaced with Classpath
15497         version.
15498         * java/awt/image/ImageObserver.java: Replaced with Classpath
15499         version.
15500         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15501         version.
15502         * java/awt/GridBagConstraints.java (clone): Catch
15503         CloneNotSupportedException.
15504
15505 2002-01-23  Per Bothner  <per@bothner.com>
15506
15507         * java/lang/reflect/natField.cc (setAddr):  New function.
15508         Calls getAddr and then checks that the field isn't final.
15509         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15510         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15511         (set):  Call setAddr before check that new value has right type,
15512         to better match specified semantics.
15513
15514 2002-01-22  Tom Tromey  <tromey@redhat.com>
15515
15516         * java/awt/TextField.java: Replaced with Classpath version.
15517         * java/awt/TextArea.java: Replaced with Classpath version.
15518         * java/awt/TextComponent.java: Replaced with Classpath version.
15519
15520         * java/awt/GridBagConstraints.java: Updated copyright.
15521
15522 2002-01-22  Mark Wielaard <mark@klomp.org>
15523
15524         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15525         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15526         java/awt/Dialog.java java/awt/FileDialog.java
15527         java/awt/Font.java java/awt/FontMetrics.java
15528         java/awt/Image.java java/awt/ImageMediaEntry.java
15529         java/awt/Insets.java java/awt/List.java
15530         java/awt/MediaEntry.java java/awt/MediaTracker.java
15531         java/awt/Menu.java java/awt/MenuBar.java
15532         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15533         java/awt/PaintContext.java java/awt/Panel.java
15534         java/awt/PopupMenu.java java/awt/SystemColor.java
15535         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15536         java/awt/peer/CheckboxMenuItemPeer.java
15537         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15538         java/awt/peer/ComponentPeer.java
15539         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15540         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15541         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15542         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15543         java/awt/peer/MenuBarPeer.java
15544         java/awt/peer/MenuComponentPeer.java
15545         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15546         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15547         java/awt/peer/ScrollPanePeer.java
15548         java/awt/peer/ScrollbarPeer.java
15549         java/awt/peer/TextAreaPeer.java
15550         java/awt/peer/TextComponentPeer.java
15551         java/awt/peer/TextFieldPeer.java
15552         java/awt/peer/WindowPeer.java: Add license clarification.
15553
15554 2002-01-22  Mark Wielaard <mark@klomp.org>
15555
15556         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15557         gnu/gcj/runtime/StringBuffer.java
15558         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15559         gnu/java/awt/ComponentDataBlitOp.java
15560         gnu/java/awt/GLightweightPeer.java
15561         gnu/java/beans/BeanInfoEmbryo.java
15562         gnu/java/beans/EmptyBeanInfo.java
15563         gnu/java/beans/ExplicitBeanInfo.java
15564         gnu/java/beans/IntrospectionIncubator.java
15565         gnu/java/beans/editors/ColorEditor.java
15566         gnu/java/beans/editors/FontEditor.java
15567         gnu/java/beans/editors/NativeBooleanEditor.java
15568         gnu/java/beans/editors/NativeByteEditor.java
15569         gnu/java/beans/editors/NativeDoubleEditor.java
15570         gnu/java/beans/editors/NativeFloatEditor.java
15571         gnu/java/beans/editors/NativeIntEditor.java
15572         gnu/java/beans/editors/NativeLongEditor.java
15573         gnu/java/beans/editors/NativeShortEditor.java
15574         gnu/java/beans/editors/StringEditor.java
15575         gnu/java/beans/info/ComponentBeanInfo.java
15576         gnu/java/io/ClassLoaderObjectInputStream.java
15577         gnu/java/io/NullOutputStream.java
15578         gnu/java/io/ObjectIdentityWrapper.java
15579         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15580         gnu/java/lang/reflect/TypeSignature.java
15581         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15582         gnu/java/locale/Calendar_en.java
15583         gnu/java/locale/Calendar_nl.java
15584         gnu/java/locale/LocaleInformation.java
15585         gnu/java/locale/LocaleInformation_de.java
15586         gnu/java/locale/LocaleInformation_en.java
15587         gnu/java/locale/LocaleInformation_nl.java
15588         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15589         gnu/java/rmi/registry/RegistryImpl.java
15590         gnu/java/rmi/rmic/Compile_gcj.java
15591         gnu/java/rmi/rmic/Compiler.java
15592         gnu/java/rmi/rmic/CompilerProcess.java
15593         gnu/java/rmi/rmic/RMIC.java
15594         gnu/java/rmi/rmic/TabbedWriter.java
15595         gnu/java/rmi/server/ProtocolConstants.java
15596         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15597         gnu/java/rmi/server/RMIHashes.java
15598         gnu/java/rmi/server/RMIObjectInputStream.java
15599         gnu/java/rmi/server/RMIObjectOutputStream.java
15600         gnu/java/rmi/server/UnicastConnection.java
15601         gnu/java/rmi/server/UnicastConnectionManager.java
15602         gnu/java/rmi/server/UnicastRef.java
15603         gnu/java/rmi/server/UnicastRemoteCall.java
15604         gnu/java/rmi/server/UnicastRemoteStub.java
15605         gnu/java/rmi/server/UnicastServer.java
15606         gnu/java/rmi/server/UnicastServerRef.java
15607         gnu/java/security/provider/DefaultPolicy.java
15608         gnu/java/security/provider/Gnu.java
15609         gnu/java/security/provider/SHA.java
15610         gnu/java/security/provider/SHA1PRNG.java
15611         gnu/java/text/BaseBreakIterator.java
15612         gnu/java/text/CharacterBreakIterator.java
15613         gnu/java/text/LineBreakIterator.java
15614         gnu/java/text/SentenceBreakIterator.java
15615         gnu/java/text/WordBreakIterator.java
15616         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15617         java/applet/AppletContext.java java/applet/AppletStub.java
15618         java/applet/AudioClip.java java/awt/AWTError.java
15619         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15620         java/awt/AWTException.java java/awt/AWTPermission.java
15621         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15622         java/awt/Button.java java/awt/Canvas.java
15623         java/awt/CardLayout.java java/awt/Checkbox.java
15624         java/awt/CheckboxGroup.java java/awt/Component.java
15625         java/awt/ComponentOrientation.java java/awt/Container.java
15626         java/awt/Dimension.java java/awt/Event.java
15627         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15628         java/awt/FlowLayout.java java/awt/Frame.java
15629         java/awt/Graphics.java java/awt/Graphics2D.java
15630         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15631         java/awt/IllegalComponentStateException.java
15632         java/awt/ItemSelectable.java java/awt/Label.java
15633         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15634         java/awt/MenuComponent.java java/awt/MenuItem.java
15635         java/awt/Paint.java java/awt/Point.java
15636         java/awt/Rectangle.java java/awt/RenderingHints.java
15637         java/awt/Transparency.java java/awt/Window.java
15638         java/awt/color/ColorSpace.java
15639         java/awt/color/ICC_ColorSpace.java
15640         java/awt/color/ICC_Profile.java
15641         java/awt/event/HierarchyBoundsAdapter.java
15642         java/awt/event/HierarchyBoundsListener.java
15643         java/awt/event/HierarchyEvent.java
15644         java/awt/event/HierarchyListener.java
15645         java/awt/geom/AffineTransform.java
15646         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15647         java/awt/geom/IllegalPathStateException.java
15648         java/awt/geom/Line2D.java
15649         java/awt/geom/NoninvertibleTransformException.java
15650         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15651         java/awt/geom/Rectangle2D.java
15652         java/awt/geom/RectangularShape.java
15653         java/awt/geom/RoundRectangle2D.java
15654         java/awt/image/BufferedImage.java
15655         java/awt/image/ColorModel.java
15656         java/awt/image/ComponentColorModel.java
15657         java/awt/image/ComponentSampleModel.java
15658         java/awt/image/DataBuffer.java
15659         java/awt/image/DataBufferByte.java
15660         java/awt/image/DataBufferInt.java
15661         java/awt/image/DataBufferUShort.java
15662         java/awt/image/DirectColorModel.java
15663         java/awt/image/PackedColorModel.java
15664         java/awt/image/Raster.java java/awt/image/RasterOp.java
15665         java/awt/image/SampleModel.java
15666         java/awt/image/SinglePixelPackedSampleModel.java
15667         java/awt/image/WritableRaster.java
15668         java/beans/AppletInitializer.java
15669         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15670         java/beans/Beans.java java/beans/Customizer.java
15671         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15672         java/beans/FeatureDescriptor.java
15673         java/beans/IndexedPropertyDescriptor.java
15674         java/beans/IntrospectionException.java
15675         java/beans/Introspector.java java/beans/MethodDescriptor.java
15676         java/beans/ParameterDescriptor.java
15677         java/beans/PropertyChangeEvent.java
15678         java/beans/PropertyChangeListener.java
15679         java/beans/PropertyChangeSupport.java
15680         java/beans/PropertyDescriptor.java
15681         java/beans/PropertyEditor.java
15682         java/beans/PropertyEditorManager.java
15683         java/beans/PropertyEditorSupport.java
15684         java/beans/PropertyVetoException.java
15685         java/beans/SimpleBeanInfo.java
15686         java/beans/VetoableChangeListener.java
15687         java/beans/VetoableChangeSupport.java
15688         java/beans/Visibility.java
15689         java/beans/beancontext/BeanContext.java
15690         java/beans/beancontext/BeanContextChild.java
15691         java/beans/beancontext/BeanContextChildComponentProxy.java
15692         java/beans/beancontext/BeanContextChildSupport.java
15693         java/beans/beancontext/BeanContextContainerProxy.java
15694         java/beans/beancontext/BeanContextEvent.java
15695         java/beans/beancontext/BeanContextMembershipEvent.java
15696         java/beans/beancontext/BeanContextMembershipListener.java
15697         java/beans/beancontext/BeanContextProxy.java
15698         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15699         java/beans/beancontext/BeanContextServiceProvider.java
15700         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15701         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15702         java/beans/beancontext/BeanContextServiceRevokedListener.java
15703         java/beans/beancontext/BeanContextServices.java
15704         java/beans/beancontext/BeanContextServicesListener.java
15705         java/io/BufferedInputStream.java
15706         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15707         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15708         java/io/ByteArrayOutputStream.java
15709         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15710         java/io/CharConversionException.java java/io/DataInput.java
15711         java/io/DataInputStream.java java/io/DataOutput.java
15712         java/io/EOFException.java java/io/Externalizable.java
15713         java/io/FileFilter.java java/io/FileNotFoundException.java
15714         java/io/FilePermission.java java/io/FileReader.java
15715         java/io/FileWriter.java java/io/FilenameFilter.java
15716         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15717         java/io/FilterReader.java java/io/FilterWriter.java
15718         java/io/IOException.java java/io/InputStream.java
15719         java/io/InterruptedIOException.java
15720         java/io/InvalidClassException.java
15721         java/io/InvalidObjectException.java
15722         java/io/NotActiveException.java
15723         java/io/NotSerializableException.java java/io/ObjectInput.java
15724         java/io/ObjectInputStream.java
15725         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15726         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15727         java/io/ObjectStreamConstants.java
15728         java/io/ObjectStreamException.java
15729         java/io/ObjectStreamField.java
15730         java/io/OptionalDataException.java java/io/OutputStream.java
15731         java/io/PipedInputStream.java java/io/PipedOutputStream.java
15732         java/io/PipedReader.java java/io/PipedWriter.java
15733         java/io/PrintWriter.java java/io/PushbackInputStream.java
15734         java/io/PushbackReader.java java/io/Reader.java
15735         java/io/SequenceInputStream.java java/io/Serializable.java
15736         java/io/SerializablePermission.java
15737         java/io/StreamCorruptedException.java
15738         java/io/StreamTokenizer.java
15739         java/io/StringBufferInputStream.java java/io/StringReader.java
15740         java/io/StringWriter.java java/io/SyncFailedException.java
15741         java/io/UTFDataFormatException.java
15742         java/io/UnsupportedEncodingException.java
15743         java/io/WriteAbortedException.java java/io/Writer.java
15744         java/lang/AbstractMethodError.java
15745         java/lang/ArithmeticException.java
15746         java/lang/ArrayIndexOutOfBoundsException.java
15747         java/lang/ArrayStoreException.java java/lang/Boolean.java
15748         java/lang/Byte.java java/lang/CharSequence.java
15749         java/lang/ClassCastException.java
15750         java/lang/ClassCircularityError.java
15751         java/lang/ClassFormatError.java
15752         java/lang/ClassNotFoundException.java
15753         java/lang/CloneNotSupportedException.java
15754         java/lang/Cloneable.java java/lang/Comparable.java
15755         java/lang/Compiler.java java/lang/Double.java
15756         java/lang/Error.java java/lang/Exception.java
15757         java/lang/ExceptionInInitializerError.java
15758         java/lang/Float.java java/lang/IllegalAccessError.java
15759         java/lang/IllegalAccessException.java
15760         java/lang/IllegalArgumentException.java
15761         java/lang/IllegalMonitorStateException.java
15762         java/lang/IllegalStateException.java
15763         java/lang/IllegalThreadStateException.java
15764         java/lang/IncompatibleClassChangeError.java
15765         java/lang/IndexOutOfBoundsException.java
15766         java/lang/InheritableThreadLocal.java
15767         java/lang/InstantiationError.java
15768         java/lang/InstantiationException.java java/lang/Integer.java
15769         java/lang/InternalError.java
15770         java/lang/InterruptedException.java
15771         java/lang/LinkageError.java java/lang/Long.java
15772         java/lang/NegativeArraySizeException.java
15773         java/lang/NoClassDefFoundError.java
15774         java/lang/NoSuchFieldError.java
15775         java/lang/NoSuchFieldException.java
15776         java/lang/NoSuchMethodError.java
15777         java/lang/NoSuchMethodException.java
15778         java/lang/NullPointerException.java java/lang/Number.java
15779         java/lang/NumberFormatException.java
15780         java/lang/OutOfMemoryError.java java/lang/Package.java
15781         java/lang/Process.java java/lang/Runnable.java
15782         java/lang/RuntimeException.java
15783         java/lang/RuntimePermission.java
15784         java/lang/SecurityException.java
15785         java/lang/SecurityManager.java java/lang/Short.java
15786         java/lang/StackOverflowError.java java/lang/StringBuffer.java
15787         java/lang/StringIndexOutOfBoundsException.java
15788         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15789         java/lang/ThreadLocal.java java/lang/UnknownError.java
15790         java/lang/UnsatisfiedLinkError.java
15791         java/lang/UnsupportedClassVersionError.java
15792         java/lang/UnsupportedOperationException.java
15793         java/lang/VerifyError.java java/lang/VirtualMachineError.java
15794         java/lang/Void.java java/lang/ref/PhantomReference.java
15795         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15796         java/lang/ref/SoftReference.java
15797         java/lang/ref/WeakReference.java
15798         java/lang/reflect/AccessibleObject.java
15799         java/lang/reflect/InvocationTargetException.java
15800         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15801         java/lang/reflect/ReflectPermission.java
15802         java/math/BigDecimal.java java/math/BigInteger.java
15803         java/net/Authenticator.java java/net/BindException.java
15804         java/net/ConnectException.java java/net/ContentHandler.java
15805         java/net/ContentHandlerFactory.java
15806         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15807         java/net/FileNameMap.java java/net/MalformedURLException.java
15808         java/net/MulticastSocket.java java/net/NetPermission.java
15809         java/net/NoRouteToHostException.java
15810         java/net/PasswordAuthentication.java
15811         java/net/ProtocolException.java java/net/ServerSocket.java
15812         java/net/Socket.java java/net/SocketException.java
15813         java/net/SocketImpl.java java/net/SocketImplFactory.java
15814         java/net/SocketOptions.java java/net/SocketPermission.java
15815         java/net/URLDecoder.java java/net/URLEncoder.java
15816         java/net/URLStreamHandlerFactory.java
15817         java/net/UnknownHostException.java
15818         java/net/UnknownServiceException.java
15819         java/rmi/AccessException.java
15820         java/rmi/AlreadyBoundException.java
15821         java/rmi/ConnectException.java
15822         java/rmi/ConnectIOException.java
15823         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15824         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15825         java/rmi/NotBoundException.java
15826         java/rmi/RMISecurityException.java
15827         java/rmi/RMISecurityManager.java java/rmi/Remote.java
15828         java/rmi/RemoteException.java java/rmi/ServerError.java
15829         java/rmi/ServerException.java
15830         java/rmi/ServerRuntimeException.java
15831         java/rmi/StubNotFoundException.java
15832         java/rmi/UnexpectedException.java
15833         java/rmi/UnknownHostException.java
15834         java/rmi/UnmarshalException.java
15835         java/rmi/activation/Activatable.java
15836         java/rmi/activation/ActivateFailedException.java
15837         java/rmi/activation/ActivationDesc.java
15838         java/rmi/activation/ActivationException.java
15839         java/rmi/activation/ActivationGroup.java
15840         java/rmi/activation/ActivationGroupDesc.java
15841         java/rmi/activation/ActivationGroupID.java
15842         java/rmi/activation/ActivationID.java
15843         java/rmi/activation/ActivationInstantiator.java
15844         java/rmi/activation/ActivationMonitor.java
15845         java/rmi/activation/ActivationSystem.java
15846         java/rmi/activation/Activator.java
15847         java/rmi/activation/UnknownGroupException.java
15848         java/rmi/activation/UnknownObjectException.java
15849         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15850         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15851         java/rmi/registry/Registry.java
15852         java/rmi/registry/RegistryHandler.java
15853         java/rmi/server/ExportException.java
15854         java/rmi/server/LoaderHandler.java
15855         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15856         java/rmi/server/Operation.java
15857         java/rmi/server/RMIClassLoader.java
15858         java/rmi/server/RMIClientSocketFactory.java
15859         java/rmi/server/RMIFailureHandler.java
15860         java/rmi/server/RMIServerSocketFactory.java
15861         java/rmi/server/RMISocketFactory.java
15862         java/rmi/server/RemoteCall.java
15863         java/rmi/server/RemoteObject.java
15864         java/rmi/server/RemoteRef.java
15865         java/rmi/server/RemoteServer.java
15866         java/rmi/server/RemoteStub.java
15867         java/rmi/server/ServerCloneException.java
15868         java/rmi/server/ServerNotActiveException.java
15869         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15870         java/rmi/server/SkeletonMismatchException.java
15871         java/rmi/server/SkeletonNotFoundException.java
15872         java/rmi/server/SocketSecurityException.java
15873         java/rmi/server/UID.java
15874         java/rmi/server/UnicastRemoteObject.java
15875         java/rmi/server/Unreferenced.java
15876         java/security/AccessControlContext.java
15877         java/security/AccessControlException.java
15878         java/security/AccessController.java
15879         java/security/AlgorithmParameterGenerator.java
15880         java/security/AlgorithmParameterGeneratorSpi.java
15881         java/security/AlgorithmParameters.java
15882         java/security/AlgorithmParametersSpi.java
15883         java/security/AllPermission.java
15884         java/security/BasicPermission.java
15885         java/security/Certificate.java java/security/CodeSource.java
15886         java/security/DigestException.java
15887         java/security/DigestInputStream.java
15888         java/security/DigestOutputStream.java
15889         java/security/DomainCombiner.java
15890         java/security/DummyKeyPairGenerator.java
15891         java/security/DummyMessageDigest.java
15892         java/security/DummySignature.java
15893         java/security/GeneralSecurityException.java
15894         java/security/Guard.java java/security/GuardedObject.java
15895         java/security/Identity.java java/security/IdentityScope.java
15896         java/security/InvalidAlgorithmParameterException.java
15897         java/security/InvalidKeyException.java
15898         java/security/InvalidParameterException.java
15899         java/security/Key.java java/security/KeyException.java
15900         java/security/KeyFactory.java java/security/KeyFactorySpi.java
15901         java/security/KeyManagementException.java
15902         java/security/KeyPair.java java/security/KeyPairGenerator.java
15903         java/security/KeyPairGeneratorSpi.java
15904         java/security/KeyStore.java
15905         java/security/KeyStoreException.java
15906         java/security/KeyStoreSpi.java
15907         java/security/MessageDigest.java
15908         java/security/MessageDigestSpi.java
15909         java/security/NoSuchAlgorithmException.java
15910         java/security/NoSuchProviderException.java
15911         java/security/Permission.java
15912         java/security/PermissionCollection.java
15913         java/security/Permissions.java java/security/Policy.java
15914         java/security/Principal.java java/security/PrivateKey.java
15915         java/security/PrivilegedAction.java
15916         java/security/PrivilegedActionException.java
15917         java/security/PrivilegedExceptionAction.java
15918         java/security/ProtectionDomain.java
15919         java/security/Provider.java
15920         java/security/ProviderException.java
15921         java/security/PublicKey.java
15922         java/security/SecureClassLoader.java
15923         java/security/SecureRandom.java
15924         java/security/SecureRandomSpi.java java/security/Security.java
15925         java/security/SecurityPermission.java
15926         java/security/Signature.java
15927         java/security/SignatureException.java
15928         java/security/SignatureSpi.java
15929         java/security/SignedObject.java java/security/Signer.java
15930         java/security/UnrecoverableKeyException.java
15931         java/security/UnresolvedPermission.java
15932         java/security/acl/Acl.java java/security/acl/AclEntry.java
15933         java/security/acl/AclNotFoundException.java
15934         java/security/acl/Group.java
15935         java/security/acl/LastOwnerException.java
15936         java/security/acl/NotOwnerException.java
15937         java/security/acl/Owner.java java/security/acl/Permission.java
15938         java/security/cert/CRL.java
15939         java/security/cert/CRLException.java
15940         java/security/cert/Certificate.java
15941         java/security/cert/CertificateEncodingException.java
15942         java/security/cert/CertificateException.java
15943         java/security/cert/CertificateExpiredException.java
15944         java/security/cert/CertificateFactory.java
15945         java/security/cert/CertificateFactorySpi.java
15946         java/security/cert/CertificateNotYetValidException.java
15947         java/security/cert/CertificateParsingException.java
15948         java/security/cert/X509CRL.java
15949         java/security/cert/X509CRLEntry.java
15950         java/security/cert/X509Certificate.java
15951         java/security/cert/X509Extension.java
15952         java/security/interfaces/DSAKey.java
15953         java/security/interfaces/DSAKeyPairGenerator.java
15954         java/security/interfaces/DSAParams.java
15955         java/security/interfaces/DSAPrivateKey.java
15956         java/security/interfaces/DSAPublicKey.java
15957         java/security/interfaces/RSAKey.java
15958         java/security/interfaces/RSAPrivateCrtKey.java
15959         java/security/interfaces/RSAPrivateKey.java
15960         java/security/interfaces/RSAPublicKey.java
15961         java/security/spec/AlgorithmParameterSpec.java
15962         java/security/spec/DSAParameterSpec.java
15963         java/security/spec/DSAPrivateKeySpec.java
15964         java/security/spec/DSAPublicKeySpec.java
15965         java/security/spec/EncodedKeySpec.java
15966         java/security/spec/InvalidKeySpecException.java
15967         java/security/spec/InvalidParameterSpecException.java
15968         java/security/spec/KeySpec.java
15969         java/security/spec/PKCS8EncodedKeySpec.java
15970         java/security/spec/RSAKeyGenParameterSpec.java
15971         java/security/spec/RSAPrivateCrtKeySpec.java
15972         java/security/spec/RSAPrivateKeySpec.java
15973         java/security/spec/RSAPublicKeySpec.java
15974         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
15975         java/sql/BatchUpdateException.java java/sql/Blob.java
15976         java/sql/CallableStatement.java java/sql/Clob.java
15977         java/sql/Connection.java java/sql/DataTruncation.java
15978         java/sql/DatabaseMetaData.java java/sql/Date.java
15979         java/sql/Driver.java java/sql/DriverManager.java
15980         java/sql/DriverPropertyInfo.java
15981         java/sql/PreparedStatement.java java/sql/Ref.java
15982         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
15983         java/sql/SQLData.java java/sql/SQLException.java
15984         java/sql/SQLInput.java java/sql/SQLOutput.java
15985         java/sql/SQLWarning.java java/sql/Statement.java
15986         java/sql/Struct.java java/sql/Time.java
15987         java/sql/Timestamp.java java/sql/Types.java
15988         java/text/Annotation.java
15989         java/text/AttributedCharacterIterator.java
15990         java/text/AttributedString.java
15991         java/text/AttributedStringIterator.java
15992         java/text/BreakIterator.java java/text/CharacterIterator.java
15993         java/text/ChoiceFormat.java java/text/Collator.java
15994         java/text/DateFormat.java java/text/DateFormatSymbols.java
15995         java/text/DecimalFormat.java
15996         java/text/DecimalFormatSymbols.java
15997         java/text/FieldPosition.java java/text/Format.java
15998         java/text/MessageFormat.java java/text/NumberFormat.java
15999         java/text/ParseException.java java/text/ParsePosition.java
16000         java/text/SimpleDateFormat.java
16001         java/text/StringCharacterIterator.java
16002         java/util/AbstractCollection.java java/util/AbstractList.java
16003         java/util/AbstractMap.java
16004         java/util/AbstractSequentialList.java
16005         java/util/AbstractSet.java java/util/ArrayList.java
16006         java/util/Arrays.java java/util/BasicMapEntry.java
16007         java/util/BitSet.java java/util/Calendar.java
16008         java/util/Collection.java java/util/Collections.java
16009         java/util/Comparator.java
16010         java/util/ConcurrentModificationException.java
16011         java/util/Date.java java/util/Dictionary.java
16012         java/util/EmptyStackException.java java/util/Enumeration.java
16013         java/util/EventListener.java java/util/EventObject.java
16014         java/util/GregorianCalendar.java java/util/HashMap.java
16015         java/util/HashSet.java java/util/Hashtable.java
16016         java/util/IdentityHashMap.java java/util/Iterator.java
16017         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16018         java/util/LinkedList.java java/util/List.java
16019         java/util/ListIterator.java java/util/ListResourceBundle.java
16020         java/util/Locale.java java/util/Map.java
16021         java/util/MissingResourceException.java
16022         java/util/NoSuchElementException.java
16023         java/util/Observable.java java/util/Observer.java
16024         java/util/Properties.java java/util/PropertyPermission.java
16025         java/util/PropertyResourceBundle.java java/util/Random.java
16026         java/util/RandomAccess.java java/util/ResourceBundle.java
16027         java/util/Set.java java/util/SimpleTimeZone.java
16028         java/util/SortedMap.java java/util/SortedSet.java
16029         java/util/Stack.java java/util/StringTokenizer.java
16030         java/util/TimeZone.java java/util/Timer.java
16031         java/util/TimerTask.java
16032         java/util/TooManyListenersException.java
16033         java/util/TreeMap.java java/util/TreeSet.java
16034         java/util/Vector.java java/util/WeakHashMap.java
16035         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16036         java/util/jar/JarException.java java/util/jar/JarFile.java
16037         java/util/jar/JarInputStream.java
16038         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16039         java/util/zip/Adler32.java java/util/zip/CRC32.java
16040         java/util/zip/CheckedInputStream.java
16041         java/util/zip/CheckedOutputStream.java
16042         java/util/zip/Checksum.java
16043         java/util/zip/DataFormatException.java
16044         java/util/zip/Deflater.java
16045         java/util/zip/DeflaterOutputStream.java
16046         java/util/zip/GZIPInputStream.java
16047         java/util/zip/GZIPOutputStream.java
16048         java/util/zip/Inflater.java
16049         java/util/zip/InflaterInputStream.java
16050         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16051         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16052         java/util/zip/ZipInputStream.java
16053         java/util/zip/ZipOutputStream.java
16054         javax/naming/BinaryRefAddr.java
16055         javax/naming/InvalidNameException.java javax/naming/Name.java
16056         javax/naming/NamingException.java javax/naming/RefAddr.java
16057         javax/naming/StringRefAddr.java: Add license clarification.
16058
16059 2002-01-22  Tom Tromey  <tromey@redhat.com>
16060
16061         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16062         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16063         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16064         version.
16065         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16066         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16067         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16068         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16069         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16070         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16071         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16072         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16073         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16074         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16075         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16076         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16077         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16078         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16079         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16080         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16081         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16082         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16083         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16084         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16085         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16086         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16087         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16088         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16089         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16090         (minimumSize, preferredSize, reshape): Likewise.
16091         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16092         getColorModel): New methods.
16093         * java/awt/PopupMenu.java: Merged with Classpath.
16094         * java/awt/MenuBar.java: Merged with Classpath.
16095         * java/awt/SystemColor.java: Replace with Classpath version.
16096         * java/awt/Panel.java: Merged with Classpath.
16097         * java/awt/PaintContext.java: Updated copyright.
16098         * java/awt/MenuShortcut.java: Merged with Classpath.
16099         * java/awt/MenuContainer.java: Merged with Classpath.
16100         * java/awt/Menu.java: Merged with Classpath.
16101         * java/awt/MediaEntry.java: New file from Classpath.
16102         * java/awt/MediaTracker.java: New file from Classpath.
16103         * java/awt/List.java: Merged with Classpath version.
16104         * java/awt/Insets.java: Merged with Classpath version.
16105         * java/awt/ImageMediaEntry.java: New file from Classpath.
16106         * java/awt/Image.java: Replaced with Classpath version.
16107         * java/awt/FontMetrics.java: Merged with Classpath version.
16108         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16109         constant.
16110         * java/awt/Font.java: Merged with Classpath version.
16111         * java/awt/Dialog.java: Merged with Classpath version.
16112         * java/awt/Color.java: Merged with Classpath version.
16113         * java/awt/Choice.java: Merged with Classpath version.
16114         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16115         * java/awt/Adjustable.java: Replace with Classpath version.
16116         * java/awt/MenuItem.java (paramString): Don't include class name
16117         or brackets.  Call superclass paramString.
16118         * java/awt/MenuComponent.java (toString): Call paramString.
16119         (paramString): Compute string; don't call toString.
16120         * java/awt/Label.java (paramString): Don't include class name
16121         or brackets.  Call superclass paramString.
16122         * java/awt/Checkbox.java (paramString): Don't include class name
16123         or brackets.  Call superclass paramString.
16124         * java/awt/Button.java (paramString): Don't include class name or
16125         brackets.  Call superclass paramString.
16126         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16127
16128 2002-01-20  Andreas Schwab  <schwab@suse.de>
16129
16130         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16131         function and of parameter recv_func to ssize_t, as specified by
16132         POSIX.
16133
16134 2002-01-19  Per Bothner  <per@bothner.com>
16135
16136         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16137         uncompressed_size in readiness for next entry.
16138
16139 2002-01-18  Tom Tromey  <tromey@redhat.com>
16140
16141         * java/net/natPlainSocketImpl.cc: Include
16142         IllegalArgumentException.h.
16143         (_Jv_recv): New template function.
16144         (BooleanClass): Removed.
16145         (read): Use _Jv_recv.
16146         (setOption): Use Boolean::class$.  Throw exception if object is
16147         not Boolean or Integer.
16148
16149 2002-01-17  Tom Tromey  <tromey@redhat.com>
16150
16151         * java/awt/MenuComponent.java: Merged with Classpath.
16152         * java/awt/MenuItem.java: Merged with Classpath.
16153         * java/awt/Button.java: Merged with Classpath.
16154
16155         * java/awt/ActiveEvent.java: Updated copyright.
16156
16157         * java/awt/AWTError.java: Replaced with Classpath version.
16158         * java/awt/AWTException.java: Replaced with Classpath version.
16159         * java/awt/IllegalComponentStateException.java: Replaced with
16160         Classpath version.
16161
16162 2002-01-16  Tom Tromey  <tromey@redhat.com>
16163
16164         * java/awt/Canvas.java (serialVersionUID): New constant.
16165         Updated copyright.  Added javadoc from Classpath.
16166         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16167
16168         * java/awt/CheckboxGroup.java: Merged with Classpath.
16169         * java/awt/Checkbox.java: Merged with Classpath.
16170
16171         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16172         Classpath.
16173         * java/awt/Point.java: Updated copyright.
16174
16175         * java/awt/Point.java (toString): Use getClass().getName().
16176         Added javadoc.
16177
16178         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16179         commented code.
16180         (hash): Correctly compute initial value for `h'.
16181
16182         * java/awt/Label.java: Merged with Classpath.
16183
16184 2002-01-15  Tom Tromey  <tromey@redhat.com>
16185
16186         * java/awt/AWTPermission.java: Updated copyright.
16187
16188         * java/awt/LayoutManager2.java: Merged with Classpath.
16189         * java/awt/LayoutManager.java: Merged with Classpath.
16190         * java/awt/GridLayout.java: Updated copyright and javadoc.
16191         (getSize): Use `parent.ncomponents'.  Handle insets.
16192         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16193         there are fewer children than columns.  Correctly compute size of
16194         each cell in the grid.  Handle case where there isn't enough
16195         space.
16196         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16197         all users.
16198         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16199         before calling setVisible() on it.  Last item is `num - 1', not
16200         `num'.
16201         (layoutContainer): Hoist invariants out of loop.
16202
16203         Start of AWT merge with Classpath:
16204         * Makefile.in: Rebuilt.
16205         * Makefile.am (awt_java_source_files): Reference files in
16206         gnu/java/awt, not gnu/gcj/awt.
16207         * java/awt/image/BufferedImage.java: Updated copyright.
16208         * java/awt/image/ComponentColorModel.java: Updated copyright.
16209         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16210         * java/awt/image/DataBuffer.java: Updated copyright.
16211         * java/awt/image/DataBufferByte.java: Updated copyright.
16212         * java/awt/image/DataBufferInt.java: Updated copyright.
16213         * java/awt/image/DataBufferUShort.java: Updated copyright.
16214         * java/awt/image/IndexColorModel.java: Updated copyright.
16215         * java/awt/image/PackedColorModel.java: Updated copyright.
16216         * java/awt/image/Raster.java: Updated copyright.
16217         * java/awt/image/RasterOp.java: Updated copyright.
16218         * java/awt/image/SampleModel.java: Updated copyright.
16219         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16220         * java/awt/image/WritableRaster.java: Updated copyright.
16221         * java/awt/color/ColorSpace.java: Updated copyright.
16222         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16223         * java/awt/color/ICC_Profile.java: Updated copyright.
16224         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16225         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16226         * java/awt/event/HierarchyEvent.java: Updated copyright.
16227         * java/awt/event/HierarchyListener.java: Updated copyright.
16228         * java/awt/geom/AffineTransform.java: Updated copyright.
16229         * java/awt/geom/Dimension2D.java: Updated copyright.
16230         * java/awt/geom/Ellipse2D.java: Updated copyright.
16231         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16232         * java/awt/geom/Line2D.java: Updated copyright.
16233         * java/awt/geom/NoninvertibleTransformException.java: Updated
16234         copyright.
16235         * java/awt/geom/PathIterator.java: Updated copyright.
16236         * java/awt/geom/Point2D.java: Updated copyright.
16237         * java/awt/geom/Rectangle2D.java: Updated copyright.
16238         * java/awt/geom/RectangularShape.java: Updated copyright.
16239         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16240         * java/awt/Toolkit.java: Updated import for file moves.
16241         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16242         Classpath.
16243         (hashCode): New method from Classpath.
16244         * java/awt/Graphics2D.java: Updated copyright.
16245         * java/awt/Transparency.java: Updated copyright.
16246         * java/awt/Paint.java: Updated copyright.
16247         * java/awt/Graphics.java: New version from Classpath.
16248         * java/awt/EventDispatchThread.java: Updated copyright.
16249         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16250         children.
16251         (gotoComponent): Wrap around on next/previous.
16252         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16253         * gnu/gcj/awt/Buffers.java: Removed.
16254         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16255         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16256         * gnu/java/awt/BitMaskExtent.java: Added.
16257         * gnu/java/awt/Buffers.java: Added.
16258         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16259         * gnu/java/awt/GLightweightPeer.java: Added.
16260         * java/awt/geom/Line2D.java (clone): Ignore
16261         CloneNotSupportedException.
16262         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16263         * java/awt/Frame.java: Merged with Classpath.
16264         * java/awt/RenderingHints.java: Copyright update.
16265         * java/awt/Paint.java: Copyright update.
16266         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16267         * java/awt/image/ColorModel.java: Merged with Classpath.
16268         * java/awt/Window.java (show): New Implementation from Classpath.
16269         (isShowing): Use super.isShowing().
16270         * java/awt/EventQueue.java: Merged with Classpath.
16271         * java/awt/AWTEventMulticaster.java (save): Throw
16272         RuntimeException.
16273         (saveInternal): Likewise.
16274         * java/awt/AWTEvent.java: Now implements Serializable.
16275         * java/awt/Event.java: Copyright update.
16276         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16277         * java/awt/image/BufferedImage.java: Copyright update.
16278         * java/awt/GraphicsConfiguration.java: Copyright update.
16279         * java/awt/Component.java: (addNotify): Don't call
16280         addNotifyContainerChildren().
16281         (addNotifyContainerChildren): Removed.
16282         (setPeer): New method from Classpath.
16283         (setTreeLock): Likewise.
16284         (setVisible): Rewrote.
16285         (show): Use it.
16286         (hide): Likewise.
16287         (validate): Set `valid'.
16288         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16289         (createImage(ImageProducer)): Likewise.
16290         (prepareImage): Likewise.
16291         * java/awt/Container.java (addImpl): Handle case where constraint
16292         is not a String.  Post event via system event queue.
16293         (remove): Post event via system event queue.
16294         (validateTree): Only validate child if it is invalid.
16295         (getAlignmentX): Call super method as default.
16296         (getAlignmentY): Likewise.
16297         (addContainerListener): Now synchronized.
16298         (removeContainerListener): Likewise.
16299         (addNotifyContainerChildren): Now private.
16300         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16301         @author.
16302         * java/awt/FlowLayout.java (serialVersionUID): New field.
16303         (setAlignment): Better exception message.
16304         (layoutContainer): Don't compute component's preferred size unless
16305         we're going to use it.
16306         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16307         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16308         (firstLine, lastLine, firstItem, lastItem): New fields.
16309         (addLayoutComponent): Handle case where constraints is null.
16310         Also, handle relative locations.
16311         (removeLayoutComponent): Handle relative locations.
16312         (MIN, MAX, PREF): New constants.
16313         (calcCompSize): New method.
16314         (calcSize): New method.
16315         (minimumLayoutSize): Use it.
16316         (preferredLayoutSize): Likewise.
16317         (maximumLayoutSize): Likewise.
16318         (toString): Include more information.
16319         (setBounds): New method.
16320         (layoutContainer): Use libgcj implementation; extended to handle
16321         relative locations.
16322
16323 2002-01-15  Tom Tromey  <tromey@redhat.com>
16324
16325         * java/lang/Float.java (equals): Preserve old code.
16326         * java/lang/Double.java (equals): Preserve old code.
16327
16328 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16329
16330         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16331         * java/lang/Float.java (equals, compare): Ditto.
16332
16333 2002-01-13  Mark Wielaard  <mark@klomp.org>
16334
16335         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16336         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16337         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16338         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16339
16340 2002-01-11  Mark Wielaard  <mark@klomp.org>
16341
16342         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16343         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16344         InetAddress.
16345         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16346         * java/net/Socket.java: Merge with Classpath.
16347         * java/net/ServerSocket.java: Likewise.
16348
16349 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16350
16351         * interpret.cc (NULLARRAYCHECK): New macro.
16352         (SAVE_PC): Just store `pc'.
16353         (find_exception): Subtract one from `pc' here.
16354         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16355         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16356         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16357         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16358         don't call SAVE_PC.
16359         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16360         call SAVE_PC.
16361
16362 2002-01-11  Tom Tromey  <tromey@redhat.com>
16363
16364         * java/lang/natSystem.cc (init_properties): Only look for default
16365         locale if LC_MESSAGES is defined.
16366         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16367         * configure.in: Call AM_LC_MESSAGES.
16368         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16369
16370 2002-01-10  Tom Tromey  <tromey@redhat.com>
16371
16372         For PR libgcj/5303:
16373         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16374         --version.  Recognize GNU-style long options.  Print GNU-style
16375         error messages.
16376         (usage): Print GNU-style help.  Exit with status 0.
16377         (error): New method.
16378         (run): Print error message if no class names found.
16379         (main): Don't print usage on error.
16380
16381 2002-01-09  Tom Tromey  <tromey@redhat.com>
16382
16383         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16384         property.
16385         (help, version): Use println(), not println("").
16386
16387         For PR libgcj/5303:
16388         * gnu/gcj/convert/Convert.java (error): Program is called
16389         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16390         -1.
16391         (main): Handle --help and --version.
16392         (help): New method.
16393         (version): Likewise.
16394
16395 2002-01-08  Tom Tromey  <tromey@redhat.com>
16396
16397         * Makefile.in: Rebuilt.
16398         * Makefile.am (ordinary_java_source_files): Added new files.
16399         * gnu/java/locale/LocaleInformation.java: Extend
16400         LocaleInformation_en.
16401         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16402         and time/date formats.
16403         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16404         generated.
16405         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16406         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16407         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16408         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16409         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16410         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16411         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16412         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16413         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16414         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16415         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16416         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16417         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16418         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16419         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16420         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16421         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16422         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16423         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16424         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16425         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16426         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16427         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16428         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16429         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16430         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16431         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16432         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16433         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16434         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16435         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16436         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16437         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16438         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16439         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16440         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16441         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16442         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16443         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16444         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16445         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16446         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16447         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16448         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16449         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16450         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16451         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16452         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16453         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16454         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16455         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16456         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16457         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16458         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16459         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16460         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16461         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16462         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16463         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16464         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16465         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16466         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16467         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16468         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16469         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16470         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16471         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16472         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16473         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16474         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16475         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16476         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16477         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16478         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16479         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16480         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16481         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16482         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16483         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16484         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16485         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16486         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16487         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16488         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16489         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16490         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16491         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16492         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16493         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16494         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16495         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16496         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16497         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16498         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16499         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16500         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16501         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16502         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16503         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16504         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16505         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16506         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16507         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16508         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16509         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16510         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16511         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16512         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16513         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16514         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16515         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16516         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16517         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16518         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16519         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16520         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16521         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16522         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16523         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16524         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16525         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16526         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16527         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16528         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16529         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16530         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16531         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16532         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16533         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16534         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16535
16536         For PR libgcj/5031:
16537         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16538         choose default locale.
16539
16540         * Makefile.in: Rebuilt.
16541         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16542
16543 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16544
16545         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16546         sockets.
16547         (close): New function closes the socket.
16548         (write): New functions for output to socket.
16549         (read): New functions for reading from socket.
16550         * java/net/PlainSocketImpl.java: Glue for new timeout
16551         implementation.
16552         (write): Call the native impl.
16553         (read): Likewise.
16554         (getInputStream): Get a stream to read from the socket.
16555         (getOutputStream): Get a stream to write to the socket.
16556
16557 2002-01-08  Tom Tromey  <tromey@redhat.com>
16558
16559         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16560
16561 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16562
16563         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16564         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16565
16566 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16567
16568         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16569         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16570         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16571         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16572         insn_bastore, insn_castore, insn_sastore]: Use it.
16573         (continue1) [insn_arraylength]: Check for null array.
16574
16575 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16576
16577         * configure, include/config.h.in: Rebuilt.
16578         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16579         * configure.in: Call AC_STRUCT_TIMEZONE.
16580
16581 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16582
16583         * configure.host: Disable the interpreter for Darwin.
16584
16585 2002-01-04  Tom Tromey  <tromey@redhat.com>
16586
16587         * java/lang/Thread.java (stop): No longer synchronized.
16588         (start): Likewise.
16589
16590 2002-01-02  Tom Tromey  <tromey@redhat.com>
16591
16592         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16593         patch.
16594
16595 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16596
16597         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16598         PPC Darwin, not for all of Darwin.