OSDN Git Service

2003-12-01 Olga Rodimina <rodimina@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-01  Olga Rodimina <rodimina@redhat.com>
2
3         * java/awt/TextComponent.java:
4         (getSelectionStart): Updated javadocs.
5         (getSelectionEnd): Ditto.
6         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
7         (getSelectionStart): Changed to return caret position if no
8         text is selected
9         (getSelectionEnd): Ditto.
10
11 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
12
13         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
14         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
15         gnu/awt/gtk/GtkContainerPeer.java,
16         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
17         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
18         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
19         gnu/awt/gtk/natGtkComponentPeer.cc,
20         gnu/awt/gtk/natGtkContainerPeer.cc,
21         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
22         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
23         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
24
25         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26         (closed): Mark loader parameter as unused.
27
28 2003-12-01  Michael Koch  <konqueror@gmx.de>
29
30         * gnu/java/net/protocol/http/Connection.java
31         (Connection): Merged class documentation.
32         (socket): Renamed from sock.
33         (Connection): Made protected, documentation added.
34         (connect): Give URL'S host instead of InetAddress to Socket
35         constructor.
36         (disconnect): Documentation added.
37         (getOutputStream): Rewrapped.
38
39 2003-12-01  Michael Koch  <konqueror@gmx.de>
40
41         * gnu/java/net/protocol/file/Connection.java
42         (fileIn): Documentation added.
43         (inputStream): Likewise.
44         (outputStream): Likewise.
45         (Connection): Likewise.
46         (connect): Simplified.
47
48 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
49
50         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
51         setProperties): Check that io is not null before calling
52         io.imageUpdate.
53         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
54         Update javadocs.
55         * java/awt/image/PixelGrabber.java: Fix implementation and
56         update javadocs.
57
58 2003-12-01  Michael Koch  <konqueror@gmx.de>
59
60         * gnu/java/net/natPlainSocketImplPosix.cc
61         bind(): Dont set SockedImpl.address field on succesful bind.
62         * gnu/java/net/natPlainSocketImplWin32.cc
63         bind(): Likewise.
64
65 2003-11-30  Jeff Sturm <jsturm@one-point.com>
66
67         * java/net/InetAddress.java:
68         (static): Don'f force DNS request for ANY_IF address.
69
70 2003-11-30  Michael Koch  <konqueror@gmx.de>
71
72         * java/net/InetAddress.java,
73         java/net/natInetAddressNoNet.cc,
74         java/net/natInetAddressPosix.cc,
75         java/net/natInetAddressWin32.cc:
76         Reverted my last patch.
77
78 2003-11-28  Michael Koch  <konqueror@gmx.de>
79
80         * java/net/InetAddress.java
81         (lookup): New method that doesnt lookup "0.0.0.0".
82         (ImplLookup): Renamed from lookup.
83         * java/net/natInetAddressNoNet.cc
84         (ImplLookup): Renamed from lookup.
85         * java/net/natInetAddressPosix.cc
86         (ImplLookup): Renamed from lookup.
87         * java/net/natInetAddressWin32.cc
88         (ImplLookup): Renamed from lookup.
89
90 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
91
92         * configure: Rebuilt.
93         * configure.in: Require gtk and glib 2.2.0.
94
95 2003-11-27  Dalibor Topic <robilad@kaffe.org>
96
97         * java/text/FieldPosition.java (equals): Adapted to handle
98         field_attribute. Added fast-circuit check for comparison to self.
99         Replaced use of instanceof by getClass to fix symmetry for derived
100         types.
101         (toString): Adapted to handle field_attribute. Improved readability.
102         (hashCode): New method.
103
104 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
105
106         * java/text/FieldPosition.java (field_attribute): New field.
107         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
108         getFieldAttribute): New methods.
109
110 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
111
112         * java/text/DecimalFormatSymbols.java (locale): New field.
113         (DecimalFormatSymbols (Locale)): Set locale.
114         (serialVersionOnStream): Upgraded to number 2.
115         (readObject): Assign locale if it wasn't by the serializer.
116
117 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
118
119         * java/text/FormatCharacterIterator.java: Documented the class and
120
121 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
122
123         * java/text/FormatCharacterIterator.java: Fixed some typos.
124
125 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
126
127         * java/text/NumberFormat.java:
128         (getIntegerInstance) Added the java version in the comments.
129
130 2003-11-27  Mark Wielaard  <mark@klomp.org>
131
132         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
133         (readResolve): Reformat.
134
135 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
136
137         * java/text/NumberFormat.java
138         (NumberFormat.Field): New implemented class to match Java 1.4. 
139         (getIntegerInstance): Two new Java 1.4 methods.o
140
141 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
142
143         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
144         the leap day of the leap year twice.
145         (computeFields): First week of month is 1 not 0.
146
147 2003-11-27  Mark Wielaard  <mark@klomp.org>
148
149         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
150         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
151
152 2003-11-27  Michael Koch  <konqueror@gmx.de>
153
154         * javax/swing/UIDefaults.java:
155         Reformated to match classpath's version.
156
157 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
158
159         * javax/swing/UIManager.java (getDefaults, getDimension,
160         getIcon, getInsets, getInstalledLookAndFeels, getInt,
161         getLookAndFeel, getString, getSystemLookAndFeelClassName):
162         Declare as public.
163
164 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
165
166         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
167         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
168         isSignificant): Likewise.
169
170 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
171
172         * javax/swing/undo/CompoundEdit.java: Re-format, document.
173         (inProgress): Set initial value to true.
174         (undo, redo, die, canUndo, canRedo): Also call inherited
175         implementation; simplify code structure.
176         (getPresentationName, getUndoPresentationName,
177         getRedoPresentationName): Make behavior dependent on lastEdit.
178         (addEdit, isSignificant): Completely re-written.
179
180 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
181
182         * javax/swing/undo/StateEdit.java: Re-format, document.
183         (undo, redo): Also call inherited implementation.
184
185 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
186
187         * javax/swing/undo/StateEditable.java: Re-format, document.
188
189 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
190
191         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
192         (AbstractUndoableEdit): Initialize hasBeenDone to true.
193         (canUndo, canRedo): Simplify.
194         (getUndoPresentationName, getRedoPresentationName): Support
195         localized message; call getPresentationName() only once.
196
197 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
198
199         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
200         (ZipFile(File,int)): Likewise.
201
202 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
203
204         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
205         (putAllInternal): Likewise.
206         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
207         (putAllInternal): Likewise.
208
209 2003-11-26  Michael Koch  <konqueror@gmx.de>
210
211         * java/net/URLStreamHandler.java
212         (parseURL): Added comment in catch statement.
213         (canonicalizeFilename): Add documentation.
214         (sameURL): Completed documentation.
215         (equals): Likewise.
216         (hostsEqual): Likewise.
217         (getDefaulPort): Likewise.
218         (hashCode): Likewise.
219         (toExternalForm): Likewise.
220         (getHostName): Fix empty hostname check, completed documentation.
221
222 2003-11-26  Tom Tromey  <tromey@redhat.com>
223
224         * java/lang/natDouble.cc (parseDouble): Reverted patch of
225         2003-11-13.
226
227 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
228             Mark Wielaard  <mark@klomp.org>
229
230         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
231         ('@' should be checked to distinguish port from userinfo).
232         (toExternalForm): Add @ userInfo if necessary.
233
234
235 2003-11-26  Michael Koch  <konqueror@gmx.de>
236
237         * java/net/DatagramSocket.java
238         (DategramSocket, bind): Moved binding code from DatagramSocket
239         constructor to bind method.
240
241 2003-11-26  Michael Koch  <konqueror@gmx.de>
242
243         * java/net/DatagramSocket.java
244         (impl): Made private.
245         (bound): New private member variable.
246         (DatagramSocket): Fixed documentation, use getImpl().
247         (getImpl): New package-private method.
248         (isClosed): Use getImpl().
249         (getLocalAddress): Completed documentation, use getImpl().
250         (getLocalPort): Use getImpl().
251         (getSoTimeout): Likewise.
252         (setSoTimeout): Likewise.
253         (getSendBufferSize): Likewise.
254         (setSendBufferSize): Likewise.
255         (getReceiveBufferSize): Likewise.
256         (setReceiveBufferSize): Likewise.
257         (connect): Likewise.
258         (disconnect): Likewise.
259         (receive): Likewise.
260         (send): Likewise.
261         (setReuseAddress): Likewise.
262         (setTrafficClass): Likewise.
263         (bind): Added message to exception.
264         (isClosed): Completed documentation.
265         (getChannel): Likewise.
266         (connect): Added missing exception, refined exception message.
267         (isBound): Completed documentation, just return bound.
268         (isConnected): Completed documentation.
269         (getRemoteSocketAddress): Likewise.
270         (getReuseAddress): Completed documentation, use getImpl().
271         (setSoBroadcast): Likewise.
272         (getSoBroadcast): Likewise.
273         (getTrafficClass): Likewise.
274         (getLocalSocketAddress): Simplified.
275         * java/net/MulticastSocket.java
276         (MulticastSocket): Removed comment not applying anymore.
277         (getInterface): Use getImpl().
278         (getTTL): Likewise.
279         (getTimeToLive): Likewise.
280         (setInterface): Likewise.
281         (setNetworkInterface): Likewise.
282         (getNetworkInterface): Likewise.
283         (setLoopback): Likewise.
284         (getLoopback): Likewise.
285         (setTTL): Likewise.
286         (setTimeToLive): Likewise.
287         (joinGroup): Likewise.
288         (leaveGroup): Likewise.
289         (send): Likewise.
290
291 2003-11-26  Michael Koch  <konqueror@gmx.de>
292
293         * java/net/Socket.java
294         (implCreated): Dont set default value explicitely, added
295         documentation.
296         (inputShutdown): Likewise.
297         (outputShutdown): Likewise.
298         (bound): New private member variable.
299         (bind): Set bound to true.
300         (close): Set bound to false.
301         (isBound): Return bound.
302         * java/net/ServerSocket.java
303         (bound): New private member variable.
304         (bind): Set bound to true.
305         (close): Set bound to false.
306         (isBound): Return bound.
307
308 2003-11-26  Michael Koch  <konqueror@gmx.de>
309
310         * java/net/URL.java
311         (URL): Fixed documentation to be HTML compliant.
312         (getContent): Completed documentation.
313         (getFile): Likewise.
314         (getPath): Likewise.
315         (getAuthority): Likewise.
316         (getHost): Likewise.
317         (getDefaultPort): Likewise.
318         (getProtocol): Likewise.
319         (hashCode): Likewise.
320         (openConnection): Likewise.
321         (openStream): Likewise.
322         (set): Likewise.
323         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
324
325 2003-11-26  Michael Koch  <konqueror@gmx.de>
326
327         * java/net/InetSocketAddress.java
328         (hostname): Made private, added documentation.
329         (addr): Likewise.
330         (port): Likewise.
331         (equals): Completed documentation.
332         (getAddress): Likewise.
333         (getHostName): Likewise.
334         (getPort): Likewise.
335         (hashCode): Likewise.
336         (isUnresolved): Likewise.
337         (toString): Likewise.
338
339 2003-11-26  Michael Koch  <konqueror@gmx.de>
340
341         * gnu/java/net/protocol/file/Handler.java
342         (Handler): New explicit constructor.
343         (openConnection): Added documentation.
344         * gnu/java/net/protocol/jar/Handler.java
345         (Handler): New explicit constructor.
346         (openConnection): Added documentation.
347
348 2003-11-26  Michael Koch  <konqueror@gmx.de>
349
350         * java/net/DatagramPacket.java
351         (DatagramPacket): Fixed documentation to become legal HTML.
352
353 2003-11-25  Michael Koch  <konqueror@gmx.de>
354
355         * gcj/javaprims.h: Added missing java.util.Currency.
356
357 2003-11-25  Michael Koch  <konqueror@gmx.de>
358
359         * testsuite/libjava.mauve/xfails:
360         Removed these two tests, they mystically pass now:
361         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
362         test_params failed - 5getInetAddress did not return proper values
363         (number 1)
364         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
365         test_BasicServer failed - 11 exception was thrown :Illegal seek
366         (number 1)
367
368 2003-11-25  Michael Koch  <konqueror@gmx.de>
369
370         * java/net/DatagramSocket.java
371         (factory): Made private.
372         (closed): Removed.
373         (DatagramSocket): Check impl argument, use constructor with
374         SocketAddress argument.
375         (close): Set impl to null, use isClosed().
376         (isClosed): Check for impl == null.
377         (getLocalAddress): Use isClosed().
378         (getLocalPort): Check if socket is closed.
379         (getSoTimeout): Likewise.
380         (setSoTimeout): Likewise.
381         (getSendBufferSize): Likewise.
382         (setSendBufferSize): Likewise.
383         (getReceiveBufferSize): Likewise.
384         (setReceiveBufferSize): Likewise.
385         (receive): Likewise.
386         (send): Likewise.
387         (bind): Likewise.
388         (connect): Likewise.
389         (setReuseAddress): Likewise.
390         (getReuseAddress): Likewise.
391         (setBroadcast): Likewise.
392         (getBroadcast): Likewise.
393         (setTrafficClass): Likewise.
394         (getTrafficClass): Likewise.
395         * java/net/MulticastSocket.java
396         (getInterface): Check if socket is closed.
397         (getTTL): Likewise.
398         (getTimeToLive): Likewise.
399         (setInterface): Likewise.
400         (setNetworkInterface): Likewise.
401         (getNetworkInterface): Likewise.
402         (setLoopbackMode): Likewise.
403         (setTTL): Likewise.
404         (setTimeToLive): Likewise.
405         (joinGroup): Likewise.
406         (leaveGroup): Likewise.
407         (send): Likewise.
408         * java/net/ServerSocket.java
409         (closed): Removed.
410         (close): Check if socket is closed, set impl to null.
411         (isClosed): Check impl == null;
412         (ServerSocket): Check impl argument.
413         (getInetAddress): Check if socket is bound.
414         (getLocalPort): Likewise.
415         (getLocalSocketAddress): Likewise.
416         (bind): Check if socket is closed.
417         (implAccept): Likewise.
418         (setSoTimeout): Likewise.
419         (getSoTimeout): Likewise.
420         (setReuseAddress): Likewise.
421         (getReuseAddress): Likewise.
422         (setReceiveBufferSize): Likewise.
423         (getReceiveBufferSize): Likewise.
424         (toString): Make output compliant to JDK 1.4.2.
425         * java/net/Socket.java
426         (closed): Removed.
427         (Socket): Fixed documentation.
428         (connect): Check if socket is closed, changed exception text,
429         fixed documentation.
430         (getInputStream): Check of socket is closed  and connected.
431         (getOutputStream): Likewise.
432         (bind): Check if socket is closed.
433         (setTcpNoDelay): Likewise.
434         (getTcpNoDelay): Likewise.
435         (setSoLinger): Likewise.
436         (getSoLinger): Likewise.
437         (sendUrgentData): Likewise.
438         (setOOBInline): Likewise.
439         (getOOBInline): Likewise.
440         (setSoTimeout): Likewise.
441         (getSoTimeout): Likewise.
442         (setSendBufferSize): Likewise.
443         (getSendBufferSize): Likewise.
444         (setReceiveBufferSize): Likewise.
445         (getReceiveBufferSize): Likewise.
446         (setKeepAlive): Likewise.
447         (getKeepAlive): Likewise.
448         (close): Likewise.
449         (shutdownInput): Likewise.
450         (shutdownOutput): Likewise.
451         (getReuseAddress): Likewise.
452         (getTrafficClass): Likewise.
453         (setTrafficClass): Likewise.
454         (isClosed): Check impl == null.
455         (toString): Added missing ']'.
456
457 2003-11-24  Tom Tromey  <tromey@redhat.com>
458
459         * Makefile.in: Rebuilt.
460         * Makefile.am (propdir): New macro.
461         (install-data-local): Install logging.properties.
462         (core_java_source_files): Added java.util.logging.*.
463         * java/util/logging/logging.properties: New file.
464
465 2003-11-25  Michael Koch  <konqueror@gmx.de>
466
467         * java/net/DatagramSocket.java
468         (DatagramSocket): Move binding code to bind(), simplify constructors.
469         * java/net/MulticastSocket.java
470         (MulticastSocket): Call parent constructor with null argument,
471         bind socket after setReuseAddress is called, simplify constructors.
472
473 2003-11-24  Michael Koch  <konqueror@gmx.de>
474
475         * javax/swing/BoxLayout.java
476         (serialVersionUIR): New member variable.
477         (X_AXIS, Y_AXIS): Documentation added.
478         (LINE_AXIS, PAGE_AXIS): New constants.
479         (grid): Renamed from gridbag.
480         (BoxLayout): Use new constants, throw exception if invalid value for
481         way, added documentation.
482         (BoxLayout): Removed.
483         (addLayoutComponent): Use new constants, added documentation.
484         (removeLayoutComponent): Likewise.
485         (addLayoutContainer): Added documentation.
486         (preferredLayoutSize): Added documentation, check given argument.
487         (minimumLayoutSize): Likewise.
488         (layoutContainer): Likewise.
489         (getLayoutAlignmentX): Likewise.
490         (getLayoutAlignmentY): Likewise.
491         (invalidateLayout): Likewise.
492         (maximumLayoutSize): Likewise.
493
494 2003-11-22  Michael Koch  <konqueror@gmx.de>
495
496         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
497         (peekData): Use offset and maximal free space in datagram packet.
498         (receive): Likewise.
499         (send): Use offset in datagram packet.
500
501 2003-11-22  Michael Koch  <konqueror@gmx.de>
502
503         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
504         (peekData): Use offset and maximal free space in datagram packet.
505         (receive): Likewise.
506         (send): Use offset in datagram packet.
507
508 2003-11-22  Michael Koch  <konqueror@gmx.de>
509
510         * gnu/java/nio/DatagramChannelImpl.java
511         (getNativeFD): Use getPlainDatagramSocketImpl().
512         * gnu/java/nio/NIODatagramSocket.java
513         (getPlainDatagramSocketImpl): Renamed from getImpl().
514         * gnu/java/nio/NIOSocket.java
515         (getPlainSocketImpl): Renamed from getImpl().
516         (setChannel): Use getPlainSocketImpl().
517         * gnu/java/nio/SocketChannelImpl.java
518         (SocketChannelImpl): Use getPlainSocketImpl().
519         (getPlainSocketImpl): Renamed from getImpl().
520         (getNativeFD): Use getPlainSocketImpl().
521
522 2003-11-18  Graydon Hoare  <graydon@redhat.com>
523
524         * javax/swing/JLayeredPane.java: Implement.
525         * javax/swing/JFrame.java (getContentPane): Make public
526         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
527         Use JLayeredPane.FRAME_CONTENT_LAYER.
528
529 2003-11-21  Mark Wielaard  <mark@klomp.org>
530
531         * java/lang/Float.java (static): Removed.
532
533 2003-11-18  Graydon Hoare  <graydon@redhat.com>
534
535         * java/awt/font/TextLayout.java: Implement simple layouts
536         using attributed strings and glyph vectors.
537
538 2003-11-17  Graydon Hoare  <graydon@redhat.com>
539
540         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
541         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
542         (GdkFontLineMetrics): New inner class.
543         (getLineMetrics): Return new GdkFontLineMetrics.
544         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
545         (layoutGlyphVector): Create GdkGlyphVector.
546         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
547         (GdkGraphics2D): Initialize state via mathod calls.
548         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
549         (cairoTranslate, cairoScale, cairoRotate): Remove.
550         (various methods): use setTransform for special transform cases.
551         (DrawState): New inner class.
552         (stateSave): New method.
553         (stateRestore): New method.
554         (various methods): use stateSave, stateRestore.
555         (getClipInDevSpace): New method.
556         (clip, clipRect, setClip, getClip, getClipBounds): 
557         Follow spec more closely.
558         (getTransform): Return clone of transform.
559         (setStroke): Set linewidth to passed width / 2.0.
560         (setPaintMode): Set SrcOver rather than Xor.
561         (setColor): Set paint to passed color.
562         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
563         transform from image to user space.
564         (drawRenderedImage, drawRenderableImage): Implement.
565         (getFontRenderContext, getFontMetrics, drawString, getFont): 
566         Implement
567         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
568         Implement.
569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
570         Match changes to java side.
571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
572         Release resources.
573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
574         Don't use pango for metrics.
575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
576         New file.
577
578 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
579             Jim Pick  <jim@kaffe.org>
580
581         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
582         methods.
583
584 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
585
586         * java/text/DecimalFormatSymbols.java (getCurrency,
587         setCurrency): New methods.
588
589 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
590
591         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
592         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
593         Describe how the implementation works.
594
595 2003-11-19  Michael Koch  <konqueror@gmx.de>
596
597         * java/net/Socket.java
598         (implCreated): New variable that indicates created impl.
599         (getImpl): New method.
600         (toString): Return more SUN compliant string representation.
601         (various): Use getImpl() instead of impl.
602
603 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
604
605         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
606         the right libgcc. Add -multiply_defined suppress and -bind_at_load
607         flags.
608
609 2003-11-18  Tom Tromey  <tromey@redhat.com>
610
611         PR libgcj/13026:
612         * verify.cc (state::copy): Only set local_changed if we're in a
613         subroutine.  Correctly copy local variables which were modified
614         by the subroutine.
615         (push_jump_merge): Added more debugging output.
616
617         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
618         is null.
619
620 2003-11-17  Graydon Hoare  <graydon@redhat.com>
621
622         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
623         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
624
625 2003-11-16  Tom Tromey  <tromey@redhat.com>
626
627         PR libgcj/13062:
628         * java/io/StreamTokenizer.java (commentChar): Clear other
629         attributes for character.
630         (quoteChar): Likewise.
631
632 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
633
634         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
635         zero-length int arrays when layoutInfo is null.
636         (getLayoutWeights): Return array of two zero-length double arrays when
637         layoutInfo is null.
638
639 2003-11-13  Tom Tromey  <tromey@redhat.com>
640
641         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
642         JvGetStringUTFRegion.
643         * java/lang/natPosixProcess.cc (new_string): Pass length of string
644         to JvGetStringUTFRegion.
645         * java/lang/natDouble.cc (parseDouble): Pass length of string to
646         JvGetStringUTFRegion.
647         * java/lang/natWin32Process.cc (startProcess): Pass length of
648         string to JvGetStringUTFRegion.
649         * java/lang/natClass.cc (forName): Pass length of string to
650         JvGetStringUTFRegion.
651         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
652         of string to JvGetStringUTFRegion.
653         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
654         JvGetStringUTFRegion.
655         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
656         to JvGetStringUTFRegion.
657         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
658         string to JvGetStringUTFRegion.
659
660 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
661
662         * gnu/java/nio/natSelectorImplPosix.cc
663         (helper_put_filedescriptors): Change to static linkage.
664         (helper_get_filedescriptors): Likewise.
665
666 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
667
668         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
669         null check.
670         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
671         * java/awt/Component.java (prepareImage): Likewise.
672
673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
674         Rename to nativeSetAlignment.
675
676 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
677
678         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
679         (JNI_GetCreatedJavaVMs): Likewise.
680         (JNI_GetDefaultJavaVMInitArgs): Likewise.
681         * include/jni.h (JNIIMPEXP): Remove definition
682         and replace with...
683         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
684         symbols,
685         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
686
687 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
688
689         * Makefile.am: Add GdkPixbufDecoder.java and
690         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
691         * Makefile.in: Regenerate.
692         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
693         New constructor.
694         (startProduction): Create ByteArrayInputStream when url and filename are
695         null.
696         (produce): Declare stream parameter as InputStream.
697         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
698         as InputStream.
699         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
700         (GdkPixbufDecoder(byte[],int,int)): New constructor.
701         (produce): Declare stream parameter as InputStream.
702         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
703         if image is null.  Set image's observer before running PrepareImage
704         thread.  Pass image to startProduction.
705         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
706         source's member functions.
707         (observer): New field.
708         (setObserver): New method.
709         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
710         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
711         new GtkImage.
712         (prepareImage): Implement.
713         * java/awt/Component.java: Add static fields incrementalDraw and
714         redrawRate.
715         (imageUpdate): Implement.
716         (createImage): Call Toolkit's createImage if peer is null.
717         (prepareImage): Throw NPE if image is null.
718         * java/awt/MediaTracker.java: Fix return value.
719
720 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
721
722         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
723         (create(String, float)): New method.
724         (setText): Make native.
725         (nativeSetAlignment): New method.
726         (setAlignment): Call nativeSetAlignment.
727         (getArgs): Remove method.
728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
729         (find_fg_color_widget, find_bg_color_widget): New functions.
730         (gtkWidgetSetForeground): Call find_fg_color_widget.
731         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
732         prelight colors.
733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
734         widget in event box.
735         (setText, setAlignment): Implement new native methods.
736
737 2003-11-11  Michael Koch  <konqueror@gmx.de>
738
739         * java/awt/Font.java,
740         java/awt/datatransfer/DataFlavor.java,
741         java/math/BigInteger.java,
742         java/net/Inet4Address.java,
743         java/net/Inet6Address.java,
744         java/rmi/MarshalledObject.java,
745         java/rmi/server/RMIClassLoader.java,
746         java/security/cert/CertStore.java,
747         java/sql/Timestamp.java,
748         java/text/SimpleDateFormat.java,
749         javax/naming/CompoundName.java:
750         Removed some redundant obj == null checks.
751
752 2003-11-11  Michael Koch  <konqueror@gmx.de>
753
754         * java/nio/ByteBuffer.java
755         (equals): Remove redundant obj == null check.
756
757 2003-11-11  Michael Koch  <konqueror@gmx.de>
758
759         * gnu/java/nio/natPipeImpl.cc,
760         gnu/java/nio/natSelectorImpl.cc: Removed
761         * gnu/java/nio/natPipeImplEcos.cc,
762         gnu/java/nio/natPipeImplPosix.cc,
763         gnu/java/nio/natPipeImplWin32.cc,
764         gnu/java/nio/natSelectorImplEcos.cc,
765         gnu/java/nio/natSelectorImplPosix.cc,
766         gnu/java/nio/natSelectorImplWin32.cc: New files
767         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
768         gnu/java/nio/natSelectorImpl.cc
769         * configure: Regenerated.
770
771 2003-11-11  Micheal Koch  <konqueror@gmx.de>
772
773         * java/net/URLStreamHandler.java (toExternalForm): Print port only
774         if host is printed too and port was really given to URL.
775
776 2003-11-10  Gary Benson  <gbenson@redhat.com>
777
778         * java/sql/Timestamp.java (valueOf): Correctly handle
779         nanoseconds.
780
781 2003-11-09  Tom Tromey  <tromey@redhat.com>
782
783         * java/net/Inet4Address.java (serialVersionUID): Updated.
784
785 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
786
787         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
788         New fields.
789
790 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
791
792         * java/io/ByteArrayOutputStream.java (resize):
793         Fix off-by-one error.
794
795 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
796
797         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
798         public.
799
800 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
801
802         PR libgcj/12231
803         * java/lang/Win32Process.java (hasExited) Changed from
804         public to private.
805         (startProcess): Likewise.
806         (cleanup): Likewise.
807         * java/lang/natWin32Process.cc (cleanup) Don't close
808         input, output and error streams.
809         (ChildProcessPipe): New helper class.
810         (startProcess): Refactored to use ChildProcessPipe.
811         Use CREATE_NO_WINDOW when launching child process.
812
813 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
814
815         * include/win32.h (_Jv_platform_close_on_exec): Changed
816         signature and declared extern.
817         * win32.cc (_Jv_platform_close_on_exec): Implemented.
818         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
819         (create): Use new signature of _Jv_platform_close_on_exec.
820         * gnu/java/net/natPlainSocketImplWin32.cc 
821         (create): Eliminated a few typecasts
822         Use new signature of _Jv_platform_close_on_exec.
823         (accept): Eliminated a few typecasts
824         Use new signature of _Jv_platform_close_on_exec.
825         * java/io/natFileDescriptorWin32.cc (open): Use
826         _Jv_platform_close_on_exec.
827
828 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
829
830         * java/lang/natClass.cc (newInstance): Throw InstantiationException
831         if class has no null-argument constructor.
832
833 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
834
835         PR libgcj/12647:
836         * win32-threads.cc (_Jv_CondWait): Respect mutex's
837         refcount when releasing and reacquiring it.
838
839 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
840
841         * win32.cc: (dirExists) Internal helper function to
842         test for directory existence.
843         (getUserHome) New helper function refactored out
844         of _Jv_platform_initProperties. Uses USERPROFILE
845         instead of HOMEDIR and attempts to support Win9X and NT.
846         (_Jv_platform_initProperties) Use getUserHome.
847
848 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
849
850         PR libgcj/11521:
851         * gnu/java/net/natPlainSocketImplWin32.cc
852         (bind): Don't use SO_REUSEADDR
853
854 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
855
856         PR libgcj/6652:
857         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
858
859 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
860
861         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
862         dispatch for final methods.
863
864 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
865
866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
867         word wrapping.
868
869 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
870
871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
872         scrolled window's size request.
873
874 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
875
876         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
877         * java/awt/geom/QuadCurve2D.java: Likewise.
878
879 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
880
881         * java/awt/geom/CubicCurve2D.java: Added documentation.
882         * java/awt/geom/QuadCurve2D.java: Likewise.
883
884         * java/awt/geom/doc-files/QuadCurve2D-4.png,
885         java/awt/geom/doc-files/QuadCurve2D-5.png,
886         java/awt/geom/doc-files/CubicCurve2D-4.png,
887         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
888
889 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
890
891         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
892         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
893         (subdivide(double[],int,double[],int,double[],int)): Implement.
894
895 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
896
897         * java/awt/geom/doc-files/CubicCurve2D-1.png,
898         java/awt/geom/doc-files/CubicCurve2D-2.png,
899         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
900
901 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
902
903         * java/text/DecimalFormat.java
904         (scanFormat) corrected so that '%' may appear in a pattern.
905
906 2003-10-29  Mark Wielaard  <mark@klomp.org>
907
908         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
909         * java/text/DateFormat.java (Field): New public static inner class.
910         * java/text/Format.java (Field): Likewise.
911         (formatToCharacterIterator): New method.
912         * java/text/FormatCharacterIterator.java: New file.
913
914 2003-10-29  Mark Wielaard  <mark@klomp.org>
915
916         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
917         * java/util/Currency.java: New file.
918
919 2003-10-29  Michael Koch  <konqueror@gmx.de>
920
921         * Makefile.am (ordinary_java_source_files): Added
922         java/text/FormatCharacterIterator.java and java/util/Currency.java.
923         * Makefile.in: Regenerated.
924
925 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
926
927         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
928         static methods.
929
930 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
931
932         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
933         getObjectInstance() with Object, Name, Context and environment
934         Hashtable from exception. Call fillInStackTrace() on exception when
935         rethrown.
936         * javax/naming/InitialContext.java (lookup(Name)): When a
937         CannotProceedException is thrown use the ContinuationContext.
938         (lookup(String)): Likewise.
939         (close): Clear myProps and defaultInitCtx.
940
941 2003-10-29  Michael Koch  <konqueror@gmx.de>
942
943         * java/net/InetAddress.java
944         (equals): Remove redundant obj == null check.
945         * java/net/SocketPermission.java
946         (equals): Likewise.
947         * java/net/URL.java
948         (equals): Likewise.
949         (getURLStreamHandler): Likewise.
950
951 2003-10-29  Michael Koch  <konqueror@gmx.de>
952
953         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
954         (setOption): Directly return if no error occured.
955         * gnu/java/net/natPlainSocketImplPosix.cc
956         (setOption): Likewise.
957
958 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
959
960         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
961         vtable slot for final methods. Add FIXME comment.
962
963 2003-10-28  David S. Miller  <davem@redhat.com>
964
965         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
966
967 2003-10-26  Mark Wielaard  <mark@klomp.org>
968
969         Reported by Helmer Kraemer <hkraemer@freenet.de>
970         * java/util/jar/JarInputStream.java (readManifest): Don't call
971         closeEntry().
972
973         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
974         (finish): Use inbufWrite().
975         (write(int)): Likewise.
976         (write(byte[],int,int)): Likewise.
977
978 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
979
980         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
981         Don't check for AccessibleObject. Update javadocs.
982         
983         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
984
985 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
986
987         * java/lang/reflect/Constructor.java (toString): Avoid extra 
988         whitespace on constructor with no modifiers.
989         * java/lang/reflect/natConstructor.java (newInstance): Look up
990         caller and perform accessibility check only if constructor is
991         non-public and accessible flag is not set.
992
993 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
994
995         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
996         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
997         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
998         is_virtual_call argument.
999         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1000         natClass.cc.
1001         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1002         _Jv_isVirtualMethod.
1003         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1004         _Jv_LookupDeclaredMethod.
1005         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1006         look up method in target object's vtable.
1007
1008 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1009
1010         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1011         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1012         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1013         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1014         New concrete implementation of ClasspathFontPeer, with native part.
1015         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1016         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1017         New class, with native part.
1018         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1019         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1020         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1021
1022 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1023
1024         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1025         on method with no modifiers.
1026
1027 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1028
1029         PR libgcj/11780:
1030         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1031         accessibility check only if target is non-public and accessible flag
1032         is not set.
1033         * java/lang/reflect/natField.cc (getAddr): Likewise.
1034
1035 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1036
1037         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1038         Remove method.
1039         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1040         New method.
1041         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1042         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1043         (dispose): Post WINDOW_CLOSED event.
1044         (addWindowFocusListener, addWindowStateListener): Assign result
1045         of multicaster add back to window listener.
1046         (removeWindowFocusListener, removeWindowStateListener): Assign
1047         result of multicaster remove back to window listener.
1048         (dispatchEventImpl): Add null checks for focus and state
1049         listeners.
1050         (processWindowEvent): Handle case where windowListener is null
1051         but state or focus listeners exist.
1052         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1053         glue for postWindowEvent.
1054         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1055         (window_delete_cb, window_destroy_cb, window_show_cb,
1056         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1057         window_get_new_state): New functions.
1058         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1059         macros.  Declare postWindowEventID.
1060
1061 2003-10-24  Anthony Green  <green@redhat.com>
1062
1063         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1064         we have no interpreter.
1065
1066 2003-10-22  Andrew Haley  <aph@redhat.com>
1067
1068         * java/lang/natClass.cc (initializeClass): Call
1069         _Jv_linkExceptionClassTable.
1070         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1071         _Jv_Defer_Resolution on a method whose ncode is NULL.
1072         (_Jv_linkExceptionClassTable): New function.
1073         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1074         entry, look it up.
1075         * java/lang/Class.h (struct _Jv_CatchClass): New.
1076         (_Jv_linkExceptionClassTable): New friend.
1077         (_Jv_Defer_Resolution): New friend.
1078         (class Class.catch_classes): New field.
1079         * include/java-interp.h (Jv_Defer_Resolution): New method.
1080         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1081         (_Jv_MethodBase.deferred): New field.
1082         (_Jv_Defer_Resolution): New function.
1083         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1084         * exception.cc (get_ttype_entry): Change return type to void**.
1085         (PERSONALITY_FUNCTION): Remove all code related to using a
1086         Utf8Const* for a match type.  Change match type to be a pointer to
1087         a pointer, rather than a pointer to a Class.
1088         * defineclass.cc (handleCodeAttribute): Initialize
1089         method->deferred.
1090         (handleMethodsEnd): Likewise.
1091
1092 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1093
1094         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1095         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1096
1097 2003-10-22  Tom Tromey  <tromey@redhat.com>
1098
1099         PR libgcj/12416:
1100         * java/lang/Class.h: Updated.
1101         * java/lang/natClass.cc (_getFields): Removed.
1102         (getFields): Likewise.
1103         (getDeclaredFields): Added `public_only' parameter.
1104         * java/lang/Class.java (getFields): Now implemented in java; from
1105         Classpath.
1106         (getDeclaredFields): Likewise.
1107         (getDeclaredFields(boolean)): Declare.
1108         (_getFields): Removed.
1109         (internalGetFields): New method, from Classpath.
1110
1111         PR libgcj/12656:
1112         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1113         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1114
1115 2003-10-22  David Daney  <ddaney@avtrex.com)
1116
1117         * include/mips-signal.h: New file.
1118         * sysdep/dwarf2-backtrace.cc: New file.
1119         * sysdep/mips: New directory.
1120         * sysdep/mips/locks.h: New file.
1121         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1122         added to libgcj.
1123         (extra_cc_source_files): Ditto.
1124         * configure.host(disable_dladdr):  New shell variable passed to
1125         configure.
1126         (mips*-*-linux*): sysdeps_dir=mips,
1127         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1128         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1129         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1130         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1131         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1132         (EXTRA_CC_FILES): New, to support conditional addition of
1133         sysdep/dwarf2-backtrace.cc.
1134         * configure: Regenerated.
1135         * Makefile.in: Regenerated.
1136         * gcj/Makefile.in: Regenerated.
1137         * include/config.h.in: Regenerated.
1138         * include/Makefile.in: Regenerated.
1139         * testsuite/Makefile.in: Regenerated.
1140         
1141 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1142
1143         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1144         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1145
1146 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1147
1148         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1149         * java/awt/geom/doc-files: New directory.
1150         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1151         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1152         
1153 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1154
1155         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1156
1157 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1158
1159         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1160
1161 2003-10-22  Michael Koch  <konqueror@gmx.de>
1162
1163         * java/io/File.java
1164         (equals): Removed redundant obj == null check.
1165         (createTempFile): Merged comments from classpath.
1166
1167 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1168
1169         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1170         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1171         (error): Synchronize on instance, not class.
1172
1173 2003-10-21  Mark Wielaard  <mark@klomp.org>
1174
1175         Reported by M.Negovanovic
1176         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1177         method.
1178         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1179
1180 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1181
1182         Fix for Classpath bug #6076.
1183         * java/awt/geom/GeneralPath.java (append): Re-written.
1184
1185 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1186
1187         Fix for Classpath bug #6089.
1188         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1189         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1190
1191 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1192
1193         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1194         point, not start of subpath.  Fixes Classpath bug #6075.
1195
1196 2003-10-21  Michael Koch  <konqueror@gmx.de>
1197
1198         * java/nio/ByteOrder.java,
1199         java/nio/DirectByteBufferImpl.java,
1200         java/nio/channels/FileChannelImpl.java:
1201         Add code to load library with code for native methods if needed.
1202
1203 2003-10-21  Michael Koch  <konqueror@gmx.de>
1204
1205         * gnu/java/net/PlainDatagramSocketImpl.java,
1206         gnu/java/net/PlainSocketImpl.java,
1207         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1208         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1209         gnu/java/net/natPlainSocketImplPosix.cc,
1210         gnu/java/net/natPlainSocketImplWin32.cc:
1211         Renamed fnum to native_fd to match classpath more.
1212
1213 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1214
1215         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1216         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1217         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1218         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1219         _Jv_PthreadCheckMonitor.  Simplify code.
1220         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1221         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1222         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1223         * java/lang/Thread.java (holdsLock): New.
1224         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1225         without JV_HASH_SYNCHRONIZATION.
1226         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1227
1228 2003-10-20  Michael Koch  <konqueror@gmx.de>
1229
1230         * java/text/RuleBasedCollator.java
1231         (RuleBasedCollator): Check rules not empty, fixed search in already
1232         existing collation elements.
1233         (is_special): Removed common whitespace characters.
1234         (text_argument): Dont return on whitespaces, add characters between
1235         two ' to string buffer.
1236
1237 2003-10-18  Michael Koch  <konqueror@gmx.de>
1238
1239         * gnu/java/net/protocol/file/Connection.java,
1240         gnu/java/net/protocol/file/Handler.java,
1241         gnu/java/net/protocol/http/Connection.java,
1242         gnu/java/net/protocol/http/Handler.java,
1243         gnu/java/net/protocol/jar/Connection.java,
1244         gnu/java/net/protocol/jar/Handler.java:
1245         Merged copyright text from classpath to make
1246         it possible to merge the classes.
1247
1248 2003-10-18  Mark Wielaard  <mark@klomp.org>
1249
1250         Reported by M.Negovanovic
1251         * java/beans/IndexedPropertyDescriptor.java
1252         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1253
1254 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1255
1256         * win32.cc (_Jv_pipe): Implemented.
1257         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1258         _Jv_pipe instead of ::pipe.
1259         * include/posix.h (_Jv_pipe): New inline.
1260         * include/win32.h (_Jv_pipe): New declaration.
1261         
1262 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1263
1264         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1265         (append, substring, insert): Likewise.
1266         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1267         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1268         
1269 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1270
1271         * java/lang/natString.cc (getChars):
1272         Fix validation of array indexes.
1273         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1274         * testsuite/libjava.lang/String_overflow.java: New file.
1275         * testsuite/libjava.lang/String_overflow.out: New file.
1276
1277 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1278
1279         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1280         overflow a jint.
1281         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1282         check for overflowing size_t, since the lower level functions
1283         take a jint.
1284         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1285         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1286         
1287 2003-10-15  Michael Koch  <konqueror@gmx.de>
1288
1289         * java/text/RuleBasedCollator.java
1290         (RuleBasedCollator): Moved around, documentation added.
1291         (compare): Documentation added.
1292         (equals): Likewise.
1293         (getCollationElementIterator): Likewise.
1294         (getCollationKey): Likewise.
1295         (getRules): Likewise.
1296         (hashCode): Likewise.
1297
1298 2003-10-15  Michael Koch  <konqueror@gmx.de>
1299
1300         * java/text/RuleBasedCollator.java
1301         (CollationElement): Renamed from RBCElement and moved into
1302         RuledBasedCollator as inner class.
1303
1304 2003-10-15  Michael Koch  <konqueror@gmx.de>
1305
1306         * java/text/CollationElementIterator.java
1307         (CollationElementIterator): Moved, documenatation added, call setText.
1308         (next): Reformated.
1309         (reset): Reformated.
1310         (setText): New method.
1311         (getOffset): New method.
1312         * java/text/CollationKey.java
1313         (getSourceString): Reformated.
1314         (hashCode): Reformated.
1315         (toByteArray): Reformated.
1316
1317 2003-10-15  Michael Koch  <konqueror@gmx.de>
1318
1319         * java/util/zip/InflaterInputStream.java
1320         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1321         added description to exception, check for inf == null and size < 0.
1322
1323 2003-10-15  Michael Koch  <konqueror@gmx.de>
1324
1325         * java/text/AttributedCharacterIterator.java,
1326         java/text/CharacterIterator.java: Reformated.
1327
1328 2003-10-15  Michael Koch  <konqueror@gmx.de>
1329
1330         * javax/swing/UIDefaults.java (putDefaults):
1331         Readded accidently removed "public" modifier.
1332
1333 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1334
1335         * interpret.cc (_Jv_InterpMethod::run): Don't
1336         use libffi types, they were meant to be internal.
1337         * gcj/javaprims.h (_Jv_ulong): New typedef.
1338
1339 2003-10-13  Tom Tromey  <tromey@redhat.com>
1340
1341         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1342         (defineClass): Updated.
1343         (_Jv_NewClass): Likewise.
1344         * prims.cc (_Jv_InitPrimClass): Don't call
1345         _Jv_InitNewClassFields.
1346
1347 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1348
1349         PR libgcj/12592
1350         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1351         not just \n.
1352
1353 2003-10-13  Michael Koch  <konqueror@gmx.de>
1354
1355         * java/io/File.java: Reformated.
1356         (equals): Check for obj == null.
1357
1358 2003-10-13  Michael Koch  <konqueror@gmx.de>
1359
1360         * java/net/JarURLConnection.java
1361         (jarFileURL): Added dcoumentation.
1362         (jarFileURLConnection): Reformated documentation.
1363         (entryName): Renamed from "element", documentation rewritten.
1364         (connectionCache): Renamed from "conn_cache", documentation
1365         reformated.
1366         (JarURLConnection): Check URL protocol.
1367         (getEntryName): Use entryName.
1368         (connect): Use connectionCache.
1369         (getInputStream): Use entryName, fixed comment.
1370         (getJarEntry): Use entryName.
1371         (getHeaders): Use entryName.
1372         * java/net/URLConnection.java
1373         (addRequestProperty): Fixed documentation.
1374         (setDefaultRequestProptery): Added comment that it does nothing since
1375         JDK 1.3.
1376         (getDefaultRequestProperty): Likewise.
1377
1378 2003-10-13  Michael Koch  <konqueror@gmx.de>
1379
1380         * java/net/java/net/URLStreamHandlerFactory.java
1381         (createURLStreamHandler): Removed redundant "public" modifier.
1382         * java/sql/DatabaseMetaData.java:
1383         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1384         * java/sql/ParameterMetaData.java:
1385         (ParameterMetaData): Readded accidently removed "public" modifier.
1386         * java/sql/PreparedStatement.java:
1387         (PreparedStatement): Readded accidently removed "public" modifier.
1388         * java/sql/Ref.java:
1389         (Ref): Readded accidently removed "public" modifier.
1390
1391 2003-10-13  Michael Koch  <konqueror@gmx.de>
1392
1393         * java/nio/Buffer.java
1394         (hasRemaining): Made implementation more clear.
1395         * java/nio/MappedByteBuffer.java
1396         (loaded): New member variable.
1397         (force): Added comment.
1398         (isLoaded): Return value of loaded.
1399         (load): Set loaded to true, added comment.
1400
1401 2003-10-12  Michael Koch  <konqueror@gmx.de>
1402
1403         * gnu/java/nio/PipeImpl.java
1404         (SourceChannelImpl): New inner class.
1405         (SinkChannelImpl): New inner class.
1406         (sink): New member variable.
1407         (source): New member variable.
1408         (PipeImpl): Add SelectorProvider argument, implemented.
1409         (nativeInit): New method.
1410         (sink): Return sink channel.
1411         (source): Return source channel.
1412         * gnu/java/nio/SelectorProviderImpl.java
1413         (openPipe): Give provider as argument to PipeImpl constructor.
1414         * java/nio/channels/spi/SelectorProvider.java
1415         (pr): Removed.
1416         (systemDefaultProvider): New member variable.
1417         (provider): Made it synchronized, use property
1418         java.nio.channels.spi.SelectorProvider.
1419         * gnu/java/nio/natPipeImpl.cc: New file.
1420         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1421         * Makefile.in: Regenerated.
1422
1423 2003-10-12  Michael Koch  <konqueror@gmx.de>
1424
1425         * javax/swing/table/DefaultTableModel.java,
1426         javax/swing/table/TableCellEditor.java,
1427         javax/swing/table/TableCellRenderer.java,
1428         javax/swing/table/TableColumnModel.java,
1429         javax/swing/table/TableModel.java,
1430         javax/swing/text/AbstractDocument.java,
1431         javax/swing/text/Document.java,
1432         javax/swing/text/MutableAttributeSet.java,
1433         javax/swing/text/StyledDocument.java,
1434         javax/swing/text/ViewFactory.java,
1435         javax/swing/tree/DefaultMutableTreeNode.java,
1436         javax/swing/tree/MutableTreeNode.java,
1437         javax/swing/tree/RowMapper.java,
1438         javax/swing/tree/TreeCellEditor.java,
1439         javax/swing/tree/TreeCellRenderer.java,
1440         javax/swing/tree/TreeModel.java,
1441         javax/swing/tree/TreeNode.java,
1442         javax/swing/tree/TreeSelectionModel.java,
1443         javax/swing/undo/StateEditable.java,
1444         javax/swing/undo/UndoableEdit.java:
1445         Removed redundant modifiers.
1446
1447 2003-10-12  Michael Koch  <konqueror@gmx.de>
1448
1449         * javax/swing/event/AncestorListener.java,
1450         javax/swing/event/CaretListener.java,
1451         javax/swing/event/CellEditorListener.java,
1452         javax/swing/event/ChangeListener.java,
1453         javax/swing/event/DocumentEvent.java,
1454         javax/swing/event/DocumentListener.java,
1455         javax/swing/event/HyperlinkListener.java,
1456         javax/swing/event/InternalFrameListener.java,
1457         javax/swing/event/ListDataListener.java,
1458         javax/swing/event/ListSelectionListener.java,
1459         javax/swing/event/MenuDragMouseListener.java,
1460         javax/swing/event/MenuKeyListener.java,
1461         javax/swing/event/MenuListener.java,
1462         javax/swing/event/MouseInputListener.java,
1463         javax/swing/event/PopupMenuListener.java,
1464         javax/swing/event/TableColumnModelListener.java,
1465         javax/swing/event/TableModelListener.java,
1466         javax/swing/event/TreeExpansionListener.java,
1467         javax/swing/event/TreeModelListener.java,
1468         javax/swing/event/TreeSelectionListener.java,
1469         javax/swing/event/TreeWillExpandListener.java,
1470         javax/swing/event/UndoableEditListener.java,
1471         javax/swing/plaf/UIResource.java,
1472         javax/swing/plaf/metal/MetalLookAndFeel.java:
1473         Removed redundant modifiers.
1474
1475 2003-10-12  Michael Koch  <konqueror@gmx.de>
1476
1477         * javax/swing/Action.java,
1478         javax/swing/BoundedRangeModel.java,
1479         javax/swing/CellEditor.java,
1480         javax/swing/ComboBoxEditor.java,
1481         javax/swing/ComboBoxModel.java,
1482         javax/swing/DesktopManager.java,
1483         javax/swing/JComboBox.java,
1484         javax/swing/ListCellRenderer.java,
1485         javax/swing/ListSelectionModel.java,
1486         javax/swing/MenuElement.java,
1487         javax/swing/MutableComboBoxModel.java,
1488         javax/swing/Renderer.java,
1489         javax/swing/RootPaneContainer.java,
1490         javax/swing/ScrollPaneConstants.java,
1491         javax/swing/SingleSelectionModel.java,
1492         javax/swing/SpinnerModel.java,
1493         javax/swing/SwingConstants.java,
1494         javax/swing/UIDefaults.java,
1495         javax/swing/WindowConstants.java,
1496         javax/swing/border/Border.java,
1497         javax/swing/colorchooser/ColorSelectionModel.java:
1498         Removed redundant modifiers.
1499
1500 2003-10-11  Michael Koch  <konqueror@gmx.de>
1501
1502         * javax/transaction/Status.java,
1503         javax/transaction/Synchronization.java,
1504         javax/transaction/Transaction.java,
1505         javax/transaction/TransactionManager.java,
1506         javax/transaction/UserTransaction.java,
1507         javax/transaction/xa/XAResource.java,
1508         javax/transaction/xa/Xid.java:
1509         Removing redundant modifiers.
1510
1511 2003-10-11  Michael Koch  <konqueror@gmx.de>
1512
1513         * javax/print/attribute/Attribute.java,
1514         javax/print/attribute/AttributeSet.java,
1515         javax/print/attribute/PrintRequestAttributeSet.java:
1516         Removing redundant modifiers.
1517
1518 2003-10-11  Michael Koch  <konqueror@gmx.de>
1519
1520         * javax/sql/ConnectionEventListener.java,
1521         javax/sql/ConnectionPoolDataSource.java,
1522         javax/sql/DataSource.java,
1523         javax/sql/PooledConnection.java,
1524         javax/sql/RowSet.java,
1525         javax/sql/RowSetInternal.java,
1526         javax/sql/RowSetListener.java,
1527         javax/sql/RowSetMetaData.java,
1528         javax/sql/RowSetReader.java,
1529         javax/sql/RowSetWriter.java,
1530         javax/sql/XAConnection.java,
1531         javax/sql/XADataSource.java:
1532         Removing redundant modifiers.
1533
1534 2003-10-11  Michael Koch  <konqueror@gmx.de>
1535
1536         * javax/naming/Context.java,
1537         javax/naming/Name.java,
1538         javax/naming/NameParser.java,
1539         javax/naming/NamingEnumeration.java,
1540         javax/naming/Referenceable.java,
1541         javax/naming/directory/Attribute.java,
1542         javax/naming/directory/Attributes.java,
1543         javax/naming/directory/DirContext.java,
1544         javax/naming/event/EventContext.java,
1545         javax/naming/event/EventDirContext.java,
1546         javax/naming/event/NamespaceChangeListener.java,
1547         javax/naming/event/NamingListener.java,
1548         javax/naming/event/ObjectChangeListener.java,
1549         javax/naming/ldap/Control.java,
1550         javax/naming/ldap/ExtendedRequest.java,
1551         javax/naming/ldap/ExtendedResponse.java,
1552         javax/naming/ldap/HasControls.java,
1553         javax/naming/ldap/LdapContext.java,
1554         javax/naming/ldap/UnsolicitedNotification.java,
1555         javax/naming/ldap/UnsolicitedNotificationListener.java,
1556         javax/naming/spi/DirObjectFactory.java,
1557         javax/naming/spi/DirStateFactory.java,
1558         javax/naming/spi/InitialContextFactory.java,
1559         javax/naming/spi/InitialContextFactoryBuilder.java,
1560         javax/naming/spi/ObjectFactory.java,
1561         javax/naming/spi/ObjectFactoryBuilder.java,
1562         javax/naming/spi/Resolver.java,
1563         javax/naming/spi/StateFactory.java:
1564         Removing redundant modifiers.
1565
1566 2003-10-11  Michael Koch  <konqueror@gmx.de>
1567
1568         * java/security/Key.java,
1569         * java/security/PrivateKey.java,
1570         * java/security/PublicKey.java,
1571         * java/security/acl/Acl.java,
1572         * java/security/acl/AclEntry.java,
1573         * java/security/acl/Group.java,
1574         * java/security/acl/Owner.java,
1575         * java/security/acl/Permission.java,
1576         * java/security/cert/X509Extension.java,
1577         * java/security/interfaces/DSAKey.java,
1578         * java/security/interfaces/DSAKeyPairGenerator.java,
1579         * java/security/interfaces/DSAParams.java,
1580         * java/security/interfaces/DSAPrivateKey.java,
1581         * java/security/interfaces/DSAPublicKey.java,
1582         * java/security/interfaces/RSAKey.java,
1583         * java/security/interfaces/RSAPrivateCrtKey.java,
1584         * java/security/interfaces/RSAPrivateKey.java,
1585         * java/security/interfaces/RSAPublicKey.java:
1586         Removed redundant modifiers.
1587
1588 2003-10-11  Michael Koch  <konqueror@gmx.de>
1589
1590         * gnu/java/rmi/server/ProtocolConstants.java,
1591         gnu/java/security/der/DER.java:
1592         Removing redundant modifiers.
1593
1594 2003-10-11  Michael Koch  <konqueror@gmx.de>
1595
1596         * java/util/Map.java,
1597         java/util/Observer.java,
1598         java/util/zip/Checksum.java,
1599         java/util/zip/ZipConstants.java:
1600         Removed redundant modifiers.
1601
1602 2003-10-11  Michael Koch  <konqueror@gmx.de>
1603
1604         * java/text/AttributedCharacterIterator.java,
1605         java/text/CharacterIterator.java:
1606         Removed redundant modifiers.
1607
1608 2003-10-11  Michael Koch  <konqueror@gmx.de>
1609
1610         * java/sql/Array.java,
1611         java/sql/Blob.java,
1612         java/sql/CallableStatement.java,
1613         java/sql/Clob.java,
1614         java/sql/Connection.java,
1615         java/sql/DatabaseMetaData.java,
1616         java/sql/Driver.java,
1617         java/sql/ParameterMetaData.java,
1618         java/sql/PreparedStatement.java,
1619         java/sql/Ref.java,
1620         java/sql/ResultSet.java,
1621         java/sql/ResultSetMetaData.java,
1622         java/sql/SQLData.java,
1623         java/sql/SQLInput.java,
1624         java/sql/SQLOutput.java,
1625         java/sql/Savepoint.java,
1626         java/sql/Statement.java,
1627         java/sql/Struct.java:
1628         Removed redundant modifiers.
1629
1630 2003-10-11  Michael Koch  <konqueror@gmx.de>
1631
1632         * java/nio/channels/Channel.java,
1633         java/nio/channels/GatheringByteChannel.java,
1634         java/nio/channels/ReadableByteChannel.java,
1635         java/nio/channels/ScatteringByteChannel.java,
1636         java/nio/channels/WritableByteChannel.java:
1637         Removed redundant modifiers.
1638
1639 2003-10-11  Michael Koch  <konqueror@gmx.de>
1640
1641         * java/rmi/activation/ActivationInstantiator.java,
1642         java/rmi/activation/ActivationMonitor.java,
1643         java/rmi/activation/ActivationSystem.java,
1644         java/rmi/activation/Activator.java,
1645         java/rmi/dgc/DGC.java,
1646         java/rmi/registry/Registry.java,
1647         java/rmi/registry/RegistryHandler.java,
1648         java/rmi/server/LoaderHandler.java,
1649         java/rmi/server/RMIClientSocketFactory.java,
1650         java/rmi/server/RMIFailureHandler.java,
1651         java/rmi/server/RMIServerSocketFactory.java,
1652         java/rmi/server/RemoteCall.java,
1653         java/rmi/server/RemoteRef.java,
1654         java/rmi/server/ServerRef.java,
1655         java/rmi/server/Skeleton.java,
1656         java/rmi/server/Unreferenced.java:
1657         Removed redundant modifiers.
1658
1659 2003-10-11  Michael Koch  <konqueror@gmx.de>
1660
1661         * java/net/ContentHandlerFactory.java,
1662         java/net/DatagramSocketImplFactory.java,
1663         java/net/FileNameMap.java,
1664         java/net/SocketImplFactory.java,
1665         java/net/SocketOptions.java,
1666         java/net/URLStreamHandlerFactory.java:
1667         Removed redundant modifiers.
1668
1669 2003-10-11  Michael Koch  <konqueror@gmx.de>
1670
1671         * java/io/Externalizable.java,
1672         java/io/FileFilter.java,
1673         java/io/FilePermission.java,
1674         java/io/ObjectInput.java,
1675         java/io/ObjectInputValidation.java,
1676         java/io/ObjectOutput.java,
1677         java/io/ObjectStreamClass.java,
1678         java/io/ObjectStreamConstants.java,
1679         java/io/Serializable.java:
1680         Removed redundant modifiers.
1681
1682 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1683
1684         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1685         codebase and context classloader.
1686
1687 2003-10-11  Michael Koch  <konqueror@gmx.de>
1688
1689         * java/beans/beancontext/BeanContext.java,
1690         java/beans/beancontext/BeanContextChild.java,
1691         java/beans/beancontext/BeanContextChildComponentProxy.java,
1692         java/beans/beancontext/BeanContextChildSupport.java,
1693         java/beans/beancontext/BeanContextContainerProxy.java,
1694         java/beans/beancontext/BeanContextMembershipListener.java,
1695         java/beans/beancontext/BeanContextProxy.java,
1696         java/beans/beancontext/BeanContextServiceProvider.java,
1697         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1698         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1699         java/beans/beancontext/BeanContextServices.java,
1700         java/beans/beancontext/BeanContextServicesListener.java:
1701         Removed redundant modifiers.
1702
1703 2003-10-11  Michael Koch  <konqueror@gmx.de>
1704
1705         * java/beans/AppletInitializer.java,
1706         java/beans/BeanInfo.java,
1707         java/beans/Customizer.java,
1708         java/beans/DesignMode.java,
1709         java/beans/PropertyEditor.java,
1710         java/beans/Visibility.java:
1711         Removed redundant modifiers.
1712
1713 2003-10-11  Michael Koch  <konqueror@gmx.de>
1714
1715         * java/awt/print/Pageable.java,
1716         * java/awt/print/Printable.java,
1717         java/awt/print/PrinterGraphics.java:
1718         Removed redundant modifiers.
1719
1720 2003-10-11  Michael Koch  <konqueror@gmx.de>
1721
1722         * java/awt/peer/ButtonPeer.java,
1723         java/awt/peer/CheckboxMenuItemPeer.java,
1724         java/awt/peer/CheckboxPeer.java,
1725         java/awt/peer/ChoicePeer.java,
1726         java/awt/peer/ComponentPeer.java,
1727         java/awt/peer/ContainerPeer.java,
1728         java/awt/peer/DialogPeer.java,
1729         java/awt/peer/FileDialogPeer.java,
1730         java/awt/peer/FramePeer.java,
1731         java/awt/peer/LabelPeer.java,
1732         java/awt/peer/ListPeer.java,
1733         java/awt/peer/MenuBarPeer.java,
1734         java/awt/peer/MenuComponentPeer.java,
1735         java/awt/peer/MenuItemPeer.java,
1736         java/awt/peer/MenuPeer.java,
1737         java/awt/peer/PopupMenuPeer.java,
1738         java/awt/peer/RobotPeer.java,
1739         java/awt/peer/ScrollPanePeer.java,
1740         java/awt/peer/ScrollbarPeer.java,
1741         java/awt/peer/TextAreaPeer.java,
1742         java/awt/peer/TextComponentPeer.java,
1743         java/awt/peer/TextFieldPeer.java,
1744         java/awt/peer/WindowPeer.java:
1745         Removed redundant modifiers.
1746
1747 2003-10-11  Michael Koch  <konqueror@gmx.de>
1748
1749         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1750         * gnu/java/nio/ServerSocketChannelImpl.java
1751         (serverSocket): Made it a NIOServerSocket.
1752         (impl): Removed.
1753         (ServerSocketChannelImpl): Initialize only serverSocket.
1754         (initServerSocket): Removed.
1755         (getNativeFD): Rewritten.
1756         (implConfigureBlocking): Set socket timeout and removed comment.
1757         (accept): Rewritten.
1758         * gnu/java/nio/SocketChannelImpl.java
1759         (impl): New variable.
1760         (connected): Removed.
1761         (SocketChannelImpl): Initialize impl too.
1762         (getImpl): New method.
1763         (isConnected): Rewritten.
1764         (read): Rewritten, set position in buffer correctly.
1765         (write): Set position in buffer correctly.
1766         * java/net/ServerSocket.java (getImpl): New method.
1767         * gnu/java/nio/NIOServerSocket.java,
1768         gnu/java/nio/natNIOServerSocket.cc: New files.
1769         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1770         * Makefile.am
1771         (ordinary_java_source_files):
1772         Added gnu/java/nio/NIOServerSocket.java.
1773         (nat_source_files):
1774         Removed gnu/java/nio/natServerSocketChannelImpl.cc
1775         and added gnu/java/nio/natNIOServerSocket.cc.
1776         * Makefile.in: Regenerated.
1777
1778 2003-10-11  Michael Koch  <konqueror@gmx.de>
1779
1780         * java/awt/ActiveEvent.java,
1781         java/awt/datatransfer/ClipboardOwner.java,
1782         java/awt/datatransfer/FlavorMap.java,
1783         java/awt/datatransfer/Transferable.java,
1784         java/awt/dnd/Autoscroll.java,
1785         java/awt/dnd/peer/DragSourceContextPeer.java,
1786         java/awt/dnd/peer/DropTargetContextPeer.java,
1787         java/awt/dnd/peer/DropTargetPeer.java,
1788         java/awt/font/MultipleMaster.java,
1789         java/awt/font/OpenType.java,
1790         java/awt/im/spi/InputMethodDescriptor.java,
1791         java/awt/image/ImageObserver.java,
1792         java/awt/image/ImageConsumer.java,
1793         java/awt/image/ImageProducer.java,
1794         java/awt/image/RGBImageFilter.java,
1795         java/awt/image/RasterOp.java,
1796         java/awt/image/renderable/RenderableImage.java:
1797         Removed redundant modifiers.
1798
1799 2003-10-11  Michael Koch  <konqueror@gmx.de>
1800
1801         * gnu/awt/j2d/DirectRasterGraphics.java,
1802         gnu/java/awt/EmbeddedWindowSupport.java:
1803         Removed redundant modifiers.
1804
1805 2003-10-09  Michael Koch  <konqueror@gmx.de>
1806
1807         * gnu/java/nio/SelectorImpl.java (register):
1808         Use ServerSocketChannelSelectionKey for server socket channels,
1809         removed unneeded comments.
1810         * gnu/java/nio/ServerSocketChannelImpl.java
1811         (ServerSocketChannelImpl): Made class public final.
1812         (impl): New member variable.
1813         (ServerSocketChannelImpl): Initialize member variables correctly.
1814         (initServerSocket): New method.
1815         (getNativeFD): Likewise.
1816         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1817         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1818         * Makefile.am (ordinary_java_source_files):
1819         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1820         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1821         * Makefile.in: Regenrated.
1822
1823 2003-10-09  Michael Koch  <konqueror@gmx.de>
1824
1825         * java/nio/channels/spi/AbstractSelectableChannel.java
1826         (registered): Made private.
1827         (blocking): Likewise.
1828         (LOCK): Likewise.
1829         (provider): Likewise.
1830         (keys): Made it a private LinkedList.
1831         (AbstractSelectableChannel): Initialize keys.
1832         (isRegistered): New implementation.
1833         (locate): Rewritten.
1834         (register): Rewritten.
1835         * java/nio/channels/spi/AbstractSelectionKey.java
1836         (ok): Removed.
1837         (cancelled): New member variable.
1838         (cancel): Rewritten.
1839         (isValid): Rewritten.
1840         * java/nio/channels/spi/AbstractSelector.java:
1841         Some methods moved.
1842         (closed): Make private.
1843         (provider): Likewise.
1844         (cancelledKeys): New member variable.
1845         (AbstractSelector): Initialize cancelledKeys.
1846         (cancelKey): New method.
1847
1848 2003-10-09  Tom Tromey  <tromey@redhat.com>
1849
1850         * java/lang/ClassLoader.java (setSigners): Implemented.
1851         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1852         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1853         Initialize new fields.
1854         * java/lang/Class.java (getSigners): Now native.
1855         (setSigners): Declare.
1856         * java/lang/natClass.cc (getSigners): New method.
1857         (getSigners): Likewise.
1858         * java/lang/Class.h (Class::signers): New field.
1859         (Class::setSigners): New method.
1860
1861 2003-10-09  Michael Koch  <konqueror@gmx.de>
1862
1863         * java/rmi/server/RMIClassLoader.java:
1864         Removed unused imports, little reformatings.
1865         (getClassLoader): New method, implementation was part of old loadCLass
1866         method.
1867         (loadClass): Simplified by moving functionality to new method and
1868         reworking the code a bit.
1869         (getClassAnnotation): Merged documentation from classpath.
1870
1871 2003-10-09  Michael Koch  <konqueror@gmx.de>
1872
1873         * java/math/BigInteger.java
1874         (add): Removed unused local variable len.
1875
1876 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1877
1878         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1879         modality check.
1880         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1881         Initialize insets to use latest insets.
1882         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1883         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1884         field.
1885         (postConfigureEvent): Update latestInsets field when insets
1886         change.  Remove call to setSize.  Move validate call outside of
1887         if blocks.
1888         (setVisible): Call setBounds before showing window.
1889         (nativeSetVisible): New native method.
1890         * java/awt/Window.java (show): Show visible owned windows.
1891         (hide): Hide visible owned windows.
1892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1893         (awt_event_handler): Implement modality using GTK grabs.
1894         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1895         (global_gtk_window_group): New global variable.
1896         (gtkInit): Initialize global_gtk_window_group.
1897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1898         Clamp width and height values to at least 1.  Add this window to
1899         the global GTK window group.
1900         (setVisible): Rename to nativeSetVisible.
1901         (setup_window): Remove function.
1902         (setSize): Clamp width and height values to at least 1.
1903         (nativeSetBounds): Likewise.
1904         (gdk_window_get_root_geometry): Remove function.
1905         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1906         and setup_window declarations.  Declare global_gtk_window_group.
1907
1908         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1909         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1910         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1911         (gtkWidgetSetForeground): New method.
1912         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1913         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1914         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1915         (setBackground, setForeground): Implement.
1916         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1917         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1918         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1919         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1920         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1922         Position PangoLayout relative to text's baseline.
1923         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1924
1925         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1926         for CENTER and RIGHT alignments.
1927
1928 2003-10-08  Michael Koch  <konqueror@gmx.de>
1929
1930         * java/security/Security.java: Reformated.
1931
1932 2003-10-08  Michael Koch  <konqueror@gmx.de>
1933
1934         * java/text/SimpleDateFormat.java
1935         (compileFormat): Replace Character.isLetter() test with
1936         Character.isLowerCase() || Character.isUpperCase().
1937
1938 2003-10-08  Tom Tromey  <tromey@redhat.com>
1939
1940         * java/lang/StrictMath.java (toDegrees): Multiply before
1941         dividing.
1942         (toRadians): Likewise.
1943
1944 2003-10-08  C. Brian Jones  <cbj@gnu.org>
1945
1946         * java/lang/Math.java
1947         (toRadians): multiply before dividing to reduce decimal error
1948         (toDegrees): ditto
1949
1950 2003-10-08  Michael Koch  <konqueror@gmx.de>
1951
1952         * gnu/gcj/protocol/core/Connection.java,
1953         gnu/gcj/protocol/core/CoreInputStream.java,
1954         gnu/gcj/protocol/core/Handler.java,
1955         gnu/gcj/protocol/core/natCoreInputStream.cc,
1956         gnu/gcj/protocol/file/Connection.java,
1957         gnu/gcj/protocol/file/Handler.java,
1958         gnu/gcj/protocol/gcjlib/Connection.java,
1959         gnu/gcj/protocol/gcjlib/Handler.java,
1960         gnu/gcj/protocol/http/Connection.java,
1961         gnu/gcj/protocol/http/Handler.java,
1962         gnu/gcj/protocol/jar/Connection.java,
1963         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
1964         * gnu/java/net/protocol/core/Connection.java,
1965         gnu/java/net/protocol/core/CoreInputStream.java,
1966         gnu/java/net/protocol/core/Handler.java,
1967         gnu/java/net/protocol/core/natCoreInputStream.cc,
1968         gnu/java/net/protocol/file/Connection.java,
1969         gnu/java/net/protocol/file/Handler.java,
1970         gnu/java/net/protocol/gcjlib/Connection.java,
1971         gnu/java/net/protocol/gcjlib/Handler.java,
1972         gnu/java/net/protocol/http/Connection.java,
1973         gnu/java/net/protocol/http/Handler.java,
1974         gnu/java/net/protocol/jar/Connection.java,
1975         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
1976         * gnu/gcj/runtime/FirstThread.java,
1977         java/net/URL.java: Use moved protocol handlers.
1978         * Makefile.am
1979         (ordinary_java_source_files): Moved files.
1980         (nat_source_files): Likewise.
1981         * Makefile.in: Regenerated.
1982
1983 2003-10-08  Michael Koch  <konqueror@gmx.de>
1984
1985         * gnu/java/nio/SocketChannelImpl.java
1986         (read): Write only read data to buffer.
1987
1988 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1989
1990         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
1991         out.
1992         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
1993         (JCL_free): Attach "unused" attribute to env parameter.
1994         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1995         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1996         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1997         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1999         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2000         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2001         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2002         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2004         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2005         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2006         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2007         parameters.
2008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2009         (initNativeState): Pass 0 as info argument to
2010         gtk_selection_add_target.
2011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2012         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2013         unused method implementations.
2014         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2015         (awt_event_handler): Add break statement after default label.
2016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2017         (drawPixels): Remove unused variable i.
2018         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2019         (setEnabled): Remove method implementation.
2020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2021         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2022         argument.
2023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2024         unused function.
2025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2026         (menu_pos): Assign TRUE to push_in.
2027         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2028         argument.
2029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2030         (create): Remove unused variable layout.
2031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2032         Pass window_widget, rather than window, to
2033         gtk_widget_set_size_request.
2034         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2035         structure initialization with NULL values.
2036         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2037
2038 2003-10-08  Michael Koch  <konqueror@gmx.de>
2039
2040         * java/util/LinkedList.java:
2041         Removed whitespace to match classpath's version again.
2042
2043 2003-10-08  Michael Koch  <konqueror@gmx.de>
2044
2045         * java/util/prefs/Preferences.java
2046         (defaultFactoryClass): Fixed class name.
2047         (getFactory): Create instance of class returned by Class.forName(),
2048         reformated code.
2049
2050 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2051
2052         * javax/swing/table/AbstractTableModel.java
2053         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2054         helped stop pulling my hair on this +1 then -1 tricky thing!
2055
2056 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2057
2058         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2059         Remove unused parameters.
2060         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2061         Likewise.
2062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2063         (keyevent_state_to_awt_mods): Export function.
2064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2065         (getCaretPosition): Fix TextArea case.
2066         (textcomponent_commit_cb): Get exact event time and modifier
2067         state.
2068         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2069
2070 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2071
2072         * java/net/InetSocketAddress.java
2073         (InetSocketAddress): Made exception more clear.
2074         (equals): Handle case when addr is null.
2075         (toString): Likewise.
2076         * java/net/NetworkInterface.java
2077         (static): Load native library.
2078         (getNetworkInterfaces): Rewritten.
2079
2080 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2081
2082         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2083         field.
2084         (initializeInsets): New method.
2085         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2086         setBounds unconditionally.
2087         (setBounds): Convert coordinates if parent is a Window.
2088         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2089         field to GtkComponentPeer.
2090         (GtkContainerPeer): Don't initialize insets.
2091         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2092         New method.
2093         (create): Call new GtkWindowPeer create method.
2094         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2095         New method.
2096         (create): Call new GtkWindowPeer create method.
2097         (setBounds): Remove method.
2098         (postConfigureEvent): Likewise.
2099         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2100         type constants with GDK window type constants.
2101         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2102         (create(int,boolean)): Likewise.
2103         (create()): Call create(int,boolean).
2104         (nativeSetBounds): New native method declaration.
2105         (setBounds): Call native method declaration.
2106         (setSize): New native method declaration.
2107         (setBoundsCallback): Likewise.
2108         (postConfigureEvent): Handle change in insets.  Call setSize and
2109         setBoundsCallback methods.
2110         * java/awt/Window.java (Window): Set visible to false.
2111         (setBoundsCallback): New method.
2112         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2113         (gtkWidgetGetLocationOnScreen): If this component is not a
2114         container, adjust the location returned based on the peer's
2115         allocation.
2116         (set(String,boolean)): Revert change from 2003-09-19.
2117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2118         (awt_event_handler): Fix inset calculation.
2119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2120         glue for Window.setBoundsCallback.
2121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2122         Set up stacking order, window decorations and window manager
2123         hints.
2124         (setBoundsCallback): New method.
2125         (setSize): New method.
2126         (nativeSetBounds): New method.
2127         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2128
2129 2003-10-02  Tom Tromey  <tromey@redhat.com>
2130
2131         * java/lang/VMClassLoader.java (loadClass): Now native.
2132         * java/lang/natClassLoader.cc (loadClass): Implement.
2133         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2134
2135 2003-10-02  Michael Koch  <konqueror@gmx.de>
2136
2137         * java/net/InetAddress.java
2138         (zeros): Removed.
2139         (ANY_IF): Initalizie in static block.
2140         (static): Load library with native methods here and initialize ANY_IF.
2141         (isAnyLocalAddress): Check if equal to ANY_IF.
2142         (equals): Use addr directly instead of addr1. Simplify for loop.
2143         (toString): Rename "result" to "host" and add IP address allways.
2144         (getLocalHost): Merged documentation from classpath.
2145         * java/net/ServerSocket.java
2146         (ServerSocket): New package-private constructor used by java.nio.
2147         * java/net/URLConnection.java
2148         (getRequestProperties): Check if already connected.
2149
2150 2003-10-02  Michael Koch  <konqueror@gmx.de>
2151
2152         * java/nio/ByteBufferHelper.java:
2153         Rewrote all methods by suggestions from Eric Blake.
2154
2155 2003-10-02  Michael Koch  <konqueror@gmx.de>
2156
2157         * java/net/URL.java
2158         (DEFAULT_SEARCH_PATH): New static variable.
2159         (ph_cache): Made it a HashMap.
2160         (getURLStreamHandler): Rename propVal to ph_search_path and use
2161         DEFAULT_SEARCH_PATH.
2162
2163 2003-10-02  Michael Koch  <konqueror@gmx.de>
2164
2165         * javax/swing/table/AbstractTableModel.java
2166         (findColumnName): Prevent from NullPointerException if argument
2167         columnName is null.
2168
2169 2003-10-02  Michael Koch  <konqueror@gmx.de>
2170
2171         * javax/swing/table/AbstractTableModel.java:
2172         This patch is based on a patch done by Arnaud Vandyck
2173         <arnaud.vandyck@ulg.ac.be>.
2174         (getColumnName): Fixed method documentation.
2175         (findColumn): Likewise.
2176         (getColumnClass): Likewise.
2177         (isCellEditable): Likewise.
2178         (setValueAt): Likewise.
2179         (addTableModelListener): Likewise.
2180         (removeTableModelListener): Likewise.
2181         (getTableModelListeners): New method.
2182
2183 2003-10-02  Michael Koch  <konqueror@gmx.de>
2184
2185         * javax/swing/table/AbstractTableModel.java:
2186         Reformated.
2187
2188 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2189
2190         Fix PR libgcj/12475
2191         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2192         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2193
2194 2003-10-01  Tom Tromey  <tromey@redhat.com>
2195
2196         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2197
2198 2003-10-01  Andrew Haley  <aph@redhat.com>
2199
2200         * java/lang/natClass.cc (initializeClass): Check for otable and
2201         atable.
2202         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2203         loops using for().  Search superinterfaces.  Check for fields as
2204         well as methods.  Initialize atable as well as otable: check for
2205         static methods as well as virtual methods.
2206         * java/lang/Class.h (struct _Jv_AddressTable): New.
2207         (atable): New.
2208         (atable_syms): New.
2209         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2210         * prims.cc (_Jv_equalUtf8Consts): constify.
2211
2212 2003-09-29  Tom Tromey  <tromey@redhat.com>
2213
2214         PR libgcj/10596:
2215         * include/jvm.h (_Jv_FinalizeString,
2216         _Jv_RegisterStringFinalizer): Declare.
2217         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2218         unintern.
2219         (intern): Updated.
2220         (_Jv_NewStringUtf8Const): Likewise.
2221         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2222         Add special case when finalizing a String.
2223         (in_hash): New function.
2224         (_Jv_RegisterStringFinalizer): Likewise.
2225         (maybe_add_finalize): Likewise.
2226
2227 2003-09-29  Michael Koch  <konqueror@gmx.de>
2228
2229         * java/net/InetAddress.java:
2230         (isMulticastAddress): Dont use local variable to store address length.
2231         Let the compiler optimize this.
2232         (getHostName): Merged dcoumentation from classpath.
2233         (getAddress): Likewise.
2234         (getHostAddress): Likewise.
2235         (hashCode): Likewise.
2236         (equals): Likewise.
2237         (toString): Likewise.
2238         (getByName): Likewise.
2239         (getAllByName): Likewise.
2240
2241 2003-09-29  Michael Koch  <konqueror@gmx.de>
2242
2243         * java/awt/image/IndexColorModel.java: Reformated.
2244
2245 2003-09-29  Michael Koch  <konqueror@gmx.de>
2246
2247         * java/net/InetAddress.java,
2248         java/net/URL.java: Reformated.
2249
2250 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2251
2252         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2253         significant bit of descriptor. Include the vtable and sync_info 
2254         fields.
2255
2256 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2257
2258         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2259         if `obj' is not a Number or Date instance.
2260         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2261         instead of Vector.
2262
2263 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2264
2265         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2266         Don't call setTimeZone on calendar.
2267
2268 2003-09-27  Michael Koch  <konqueror@gmx.de>
2269
2270         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2271
2272 2003-09-27  Michael Koch  <konqueror@gmx.de>
2273
2274         * java/net/URL.java (getURLStreamHandler):
2275         Check if we have to use cache before trying to retrieve handler from
2276         cache. Rename facName to clsName to match classpath more. Reformated
2277         some little pieces.
2278
2279 2003-09-27  Michael Koch  <konqueror@gmx.de>
2280
2281         * gnu/java/nio/SelectionKeyImpl.java
2282         (ch): Make package-private again. Jikes found this bug.
2283         Jeff Sturm submitted PR12426 for this to bugzilla
2284         to fix this bug in gcj.
2285
2286 2003-09-26  Michael Koch  <konqueror@gmx.de>
2287
2288         * java/rmi/server/RMIClassLoader.java:
2289         Reformatted file, no functional code changes.
2290
2291 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2292
2293         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2294         Save space for some pixels at the buffer end.  Added Javadoc.
2295
2296 2003-09-26  Tom Tromey  <tromey@redhat.com>
2297
2298         * java/io/ObjectOutputStream.java (writeFields): Fixed
2299         indentation.
2300         (putFields): Likewise.
2301
2302 2003-09-26  Michael Koch  <konqueror@gmx.de>
2303
2304         * java/nio/ByteBufferHelper.java:
2305         Totally reworked with help from Eric Blake.
2306
2307 2003-09-26  Tom Tromey  <tromey@redhat.com>
2308
2309         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2310         * java/awt/geom/PathIterator.java: Documentation fixes.
2311
2312 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2313
2314         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2315         (select): Likewise.
2316         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2317
2318 2003-09-25  Michael Koch  <konqueror@gmx.de>
2319
2320         * gnu/java/nio/DatagramChannelImpl.java
2321         (getNativeFD): New method.
2322         * gnu/java/nio/SelectionKeyImpl.java
2323         (SelectionKeyImpl): Class made abstract.
2324         (fd): Removed.
2325         (SelectionKeyImpl): Remove fd argument.
2326         (getNativeFD): New method.
2327         * gnu/java/nio/SocketChannelImpl.java
2328         (getNativeFD): New method.
2329         gnu/java/nio/DatagramChannelSelectionKey.java,
2330         * gnu/java/nio/SocketChannelSelectionKey.java:
2331         New files.
2332         * Makefile.am (ordinary_java_source_files):
2333         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2334         gnu/java/nio/SocketChannelSelectionKey.java.
2335         * Makefile.in: Regenerated.
2336
2337 2003-09-25  Michael Koch  <konqueror@gmx.de>
2338
2339         * java/lang/reflect/Proxy.java
2340         (getProxyClass): Remove workaround for gcj 3.0.x.
2341
2342 2003-09-25  Michael Koch  <konqueror@gmx.de>
2343
2344         * gnu/java/net/PlainDatagramSocketImpl.java
2345         (finalize): Moved to directly after constructor.
2346         (getNativeFD): New method.
2347         * gnu/java/net/PlainSocketImpl.java
2348         (getNativeFD): New method.
2349
2350 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2351
2352         * java/io/ObjectOutputStream.java:
2353         Allow putFields be called more than once.
2354
2355 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2356
2357         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2358         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2359         * java/awt/image/BufferedImage.java (toString): Implement.
2360
2361 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2362
2363         * aclocal.m4: Rebuilt.
2364         * configure: Rebuilt.
2365
2366 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2367
2368         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2369         field.
2370
2371 2003-09-25  Michael Koch  <konqueror@gmx.de>
2372
2373         * gnu/java/nio/SelectorImpl.java
2374         (implSelect): Renamed from java_do_select.
2375         (select): Call native implSelect() and add support for Thread
2376         interruption.
2377         * gnu/java/nio/natSelectorImpl.cc
2378         (implSelect): Renamed from java_do_select.
2379
2380 2003-09-25  Michael Koch  <konqueror@gmx.de>
2381
2382         * gnu/java/nio/SelectorImpl.java
2383         (selectNow): Made final, throws IOException.
2384         (select): Likewise.
2385         (getFDsAsArray): Made final.
2386         (selectedKeys): Likewise.
2387         (wakeup): Likewise.
2388         (deregisterCancelledKeys): Likewise.
2389         (register): Likewise.
2390         (ass): Removed.
2391         (add_selected): Removed.
2392         * gnu/java/nio/natSelectorImpl.cc:
2393         No need to include bstring.h or gcj/cni.h.
2394         (helper_put_filedescriptors): Rewritten.
2395         (helper_get_filedescriptors): Rewritten.
2396
2397 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2398
2399         * java/awt/font/FontRenderContext.java (getTransform): Return
2400         copy of internal transform object. Add Javadoc.
2401         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2402         winding rule as Sun J2SE.
2403         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2404
2405 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2406
2407         * java/rmi/Naming.java:
2408         Added comments, now accepts pseudo protocol "rmi".
2409
2410 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2411
2412         * java/text/DecimalFormat.java (format): Don't immediatly round
2413         baseNumber to long.
2414         (setMinimumIntegerDigits): Call super.
2415         (setMinimumFractionDigits): Likewise.
2416         (setMaximumIntegerDigits): Likewise.
2417         (setMaximumFractionDigits): Likewise.
2418
2419 2003-09-25  Michael Koch  <konqueror@gmx.de>
2420
2421         * gnu/java/nio/DatagramChannelImpl.java
2422         (DatagramChannelImpl): Made class final.
2423         (blocking): Made private.
2424         (socket): Made it a NIODatagramSocket and private.
2425         (DatagramChannelImpl): create NIODatagramSocket instead of
2426         DatagramSocket.
2427         (implConfigureBlocking): Set socket timeout.
2428         (connect): Check that channel is not closed.
2429         (write): Implemented.
2430         (write): Rewritten.
2431         (read): Implemented.
2432         (read): Rewritten.
2433         (receive): Implemented.
2434         (send): Implemented.
2435         * gnu/java/nio/SelectionKeyImpl.java
2436         (readyOps): Made private.
2437         (interestOps): Made private.
2438         (impl): Made private.
2439         (ch): Made private.
2440         (readyOps): Check if selection key is valid.
2441         (interestOps): Likewise.
2442         * gnu/java/nio/SelectorImpl.java
2443         (closed): Removed.
2444         (keys): Made private.
2445         (selected): Made private.
2446         (finalize): New method.
2447         (implCloseSelector): Rewritten.
2448         (keys): Return unmodifiable Set.
2449         (deregisterCancelledKeys): Fixed typo in method name.
2450         * gnu/java/nio/SocketChannelImpl.java
2451         (SocketChannelImpl): Made class final.
2452         (socket): Made it a NIOSocket and private.
2453         (blocking): Made private.
2454         (connected): Made private.
2455         (connectionPending): New member variable.
2456         (SocketChannelImpl): New implementation.
2457         (finalizer): Use isConnected().
2458         (connect): Rewritten.
2459         (finishConnect): Throws IOException, implemented.
2460         (isConnectionPending): Return connectionPending.
2461         (read): Rewritten.
2462         (write): Rewritten.
2463         * gnu/java/nio/NIOConstants.java: New file.
2464         * Makefile.am (ordinary_java_source_files):
2465         Added gnu/java/nio/NIOConstants.java.
2466         * Makefile.in: Regenerated.
2467
2468 2003-09-25  Michael Koch  <konqueror@gmx.de>
2469
2470         * java/net/InetAddress.java:
2471         Reorder imports, remove implementation comment.
2472         (isMulticastAddress): Merged documentation from classpath.
2473         * java/net/URLConnection.java
2474         (setRequestProperty): Check key for null, fix documentation.
2475         (adREquestProperty): Check key for null, remove wrong implementation
2476         and replace it with comment to overwrite this method in subclasses,
2477         fix documentation.
2478
2479 2003-09-25  Tom Tromey  <tromey@redhat.com>
2480
2481         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2482         domain code.
2483         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2484         argument.
2485         (linkClass0): Now in VMClassLoader.
2486         (markClassErrorState0): Likewise.
2487         (getSystemClassLoaderInternal): New method.
2488         * java/lang/natClass.cc (initializeClass): Use
2489         VMClassLoader::resolveClass.
2490         * java/lang/ClassLoader.java: New version, from Classpath.
2491         * java/lang/Class.java (getProtectionDomain):
2492         protectionDomainPermission and unknownProtectionDomain now in
2493         VMClassLoader.
2494         * java/lang/Class.h: VMClassLoader now a friend class.
2495         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2496         package-private.
2497         * gcj/javaprims.h: Regenerated class list.
2498         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2499         * java/lang/VMClassLoader.java: New version from Classpath;
2500         modified for libgcj use.
2501
2502 2003-09-25  Michael Koch  <konqueror@gmx.de>
2503
2504         * java/nio/ByteBufferHelper.java:
2505         New file.
2506         * java/nio/ByteBufferImpl.java,
2507         java/nio/DirectByteBufferImpl.java,
2508         java/nio/MappedByteBufferImpl.java
2509         (getType,putType): Use new helper class ByteBufferHelper.
2510         * Makefile.am (ordinary_java_source_files):
2511         Added java/nio/ByteBufferHelper.java.
2512         * Makefile.in: Regenerated.
2513
2514 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2515
2516         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2517         PR libgcj/12388.
2518
2519 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2520
2521         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2522         Strings, even if buffer is already shared.
2523
2524 2003-09-24  Michael Koch  <konqueror@gmx.de>
2525
2526         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2527
2528 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2529
2530         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2531         (write): Likewise.
2532         (SocketInputStream): Declare `read' and `write' methods native.
2533         Remove implementations which called back into PlainSocketImpl.
2534         Remove unneccessary overridden methods.
2535         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2536         to inner class PlainSocketImpl.SocketInputStream.
2537         (write): Likewise.
2538         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2539         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2540         * gnu/java/net/SocketInputStream.java: Remove unused file.
2541         * gnu/java/net/SocketOutputStream.java: Likewise.
2542         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2543         and SocketOutputStream.
2544         * Makefile.in: Rebuilt.
2545
2546 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2547
2548         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2549
2550         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2551         markers.
2552
2553 2003-09-22  Anthony Green  <green@redhat.com>
2554
2555         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2556         * configure: Rebuilt.
2557
2558 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2559
2560         PR java/12350:
2561         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2562
2563 2003-09-22  Michael Koch  <konqueror@gmx.de>
2564
2565         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2566         compiler warning but produces a different one now.
2567
2568 2003-09-22  Michael Koch  <konqueror@gmx.de>
2569
2570         * java/net/InetAddress.java:
2571         Moves around some code, reformats and adds documentation.
2572         No functional changes.
2573
2574 2003-09-22  Michael Koch  <konqueror@gmx.de>
2575
2576         * java/net/JarURLConnection.java
2577         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2578         (getCertificates): Made it more error prone.
2579         (getMainAttributes): Likewise.
2580         (getAttributes): Implemented.
2581         (getManifest): Reformatted code.
2582
2583 2003-09-20  Tom Tromey  <tromey@redhat.com>
2584
2585         * java/awt/Component.java: Indentation cleanup from Classpath.
2586
2587 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2588
2589        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2590        checking to follow 1.4.2 spec.
2591
2592 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2593
2594         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2595         is compatible in case client and server are running in the same VM
2596         (remerged from Classpath on 2003-09-20)
2597
2598 2003-09-19  David Daney <ddaney@avtrex.com>
2599
2600         * java/lang/ref/Reference.java (clear): Set referent to null and
2601         synchronize.
2602
2603 2003-09-19  Michael Koch  <konqueror@gmx.de>
2604
2605         * gnu/java/nio/NIODatagramSocket.java,
2606         gnu/java/nio/NIOSocket.java: New files.
2607         * Makefile.am (ordinary_java_source_files):
2608         Added gnu/java/nio/NIODatagramSocket.java and
2609         gnu/java/nio/NIOSocket.java.
2610         * Makefile.in: Regenerated.
2611
2612 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2613
2614         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2615         top-level GTK window.
2616         (getArgs): Add "title" property.
2617         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2618         "allow_shrink" and "allow_grow" properties.
2619         * java/awt/Dialog.java: Initialize resizable to true and change
2620         comments accordingly.  Initialize visible to false in
2621         constructors.
2622         * java/awt/Frame.java (dispose): Remove method.
2623         * java/awt/Window.java (ownedWindows): New field.
2624         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2625         owner's ownedWindows vector.
2626         (finalize): Remove method.
2627         (hide): Hide owned windows.
2628         (dispose): Dispose of owned windows.
2629         (getOwnedWindows): Implement.
2630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2631         unused GtkArg code.
2632         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2633         to TRUE or FALSE.
2634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2635         (create): Set window's size requisition.
2636         (connectHooks): Fix indentation.
2637         (setResizable): Remove function.
2638         (static setBounds): Likewise.
2639         (setBounds): Replace call to setBounds with GTK size requisition
2640         and resize calls.
2641
2642 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2643
2644         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2645         function for lazy initialization of an auto-reset event.
2646         (_Jv_CondWait) Added thread interrupt support.
2647         (_Jv_ThreadInitData) Added initialization of interrupt support
2648         members.
2649         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2650         (_Jv_ThreadStart) Removed unused code.
2651         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2652         to an external caller.
2653         (_Jv_ThreadInterrupt) Implemented.
2654         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2655         event for interrupt support as well as a mutex which regulates
2656         access to this.
2657         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2658         event to an external caller.
2659         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2660         process.
2661         (waitFor) Added interrupt support.
2662
2663 2003-09-19  Michael Koch  <konqueror@gmx.de>
2664
2665         * java/net/DatagramSocket.java (getLocalAddress):
2666         Renamed result variable to localAddr.
2667         * java/net/MulticastSocket.java:
2668         No need to import gnu.java.net.PlainDatagramSocketImpl.
2669
2670 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2671
2672         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2673         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2674
2675 2003-09-18  Tom Tromey  <tromey@redhat.com>
2676
2677         * javax/naming/InitialContext.java: Reindented.
2678
2679 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2680             Helmer Kraemer <hkraemer@freenet.de>
2681
2682         * javax/naming/spi/NamingManager.java (getURLContext,
2683         getObjectInstance, getStateToBind): Always use current thread's
2684         context class loader when calling Class.forName.
2685
2686 2003-09-18  Michael Koch  <konqueror@gmx.de>
2687
2688         * java/util/Timer.java (finalize): Added "throws Throwable".
2689
2690 2003-09-18  Michael Koch  <konqueror@gmx.de>
2691
2692         * java/net/DatagramSocket.java
2693         (ch): Removed.
2694         (receive): Use getChannel() instead of ch.
2695         (send): Likewise.
2696         (getChannel): Return null.
2697         * java/net/ServerSocket.java
2698         (ch): Removed.
2699         (setChannel): Removed.
2700         (implAccept): Use getChannel() instead of ch.
2701         (close): Likewise.
2702         (getChannel): Return null.
2703         * java/net/Socket.java
2704         (ch): Removed.
2705         (connect): Use getChannel() instead of ch.
2706         (setChannel): Removed.
2707         (getChannel): Return null.
2708
2709 2003-09-18  Mark Wielaard  <mark@klomp.org>
2710
2711         Reported by Guilhem Lavaux and Julian Dolby
2712         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2713         field "serialPersistentFields", not "getSerialPersistentFields".
2714
2715 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2716
2717         * java/util/TimeZone.java: Initialize lazily.
2718         * java/util/Locale.java (readManifest): Fix check for country.
2719         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2720         traceable 
2721         * java/util/Calendar.java: Make use of ResourceBundle better
2722         traceable.
2723
2724 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2725
2726         * java/sql/Timestamp.java
2727         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2728
2729 2003-09-18  David P Grove  <groved@us.ibm.com>
2730
2731         * java/io/LineNumberReader (read): Don't reset pos & limit when
2732         markPos is 0.
2733
2734 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2735
2736         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2737         constant.
2738         (computeArguments): use computeTypicalArguments.
2739
2740         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2741         Compile_jikes.java and RMICException.java.
2742         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2743         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2744         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2745  
2746         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2747  
2748         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2749         (computeTypicalArguments): New method.
2750         (compile): Print compiler output to System.out. Collect compiler
2751         error output and use it in exception message.
2752  
2753         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2754         (destination): Initialize to null.
2755         (run): Replace file separator with '.' when processing class.
2756         (processClass): Replace '.' with file separator when compiling
2757         classes.
2758         (findClass): Use SystemClassLoader to load class.
2759         (generateStub): Use full class name for generated stub, that puts
2760         it in right path.  Replace '.' with file separator when generating
2761         stub file name. Write just the stub class name without package
2762         information as class name, and constructor name. Write only
2763         interface names for interfaces extending java.rmi.Remote as
2764         implemented.
2765         (generateSkel): Use full class name for generated skel, that puts
2766         it in right path.  Replace '.' with file separator when generating
2767         stub file name. Write just the stub class name without package
2768         information as class name.
2769
2770 2003-09-18  Michael Koch  <konqueror@gmx.de>
2771
2772         * Makefile.am (rmi_java_source_files):
2773         Added gnu/java/rmi/rmic/Compile_kjc.java,
2774         gnu/java/rmi/rmic/Compile_jikes.java and
2775         gnu/java/rmi/rmic/RMICException.java
2776         * Makefile.in: Regenerated.
2777
2778 2003-09-17  Graydon Hoare  <graydon@redhat.com>
2779
2780         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2781         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2782         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2783         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
2784         New files.
2785
2786 2003-09-16  Graydon Hoare  <graydon@redhat.com>
2787
2788         * java/awt/BufferedImage.java (setData): Support non-component
2789         sample models.
2790         (getData): Same.
2791
2792 2003-09-10  Graydon Hoare  <graydon@redhat.com>
2793
2794         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2795         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2796
2797 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
2798
2799         * configure.in: Standardized help text case of
2800         --enable-hash-synchronization
2801         New configure switch --enable-libgcj-multifile and corresponding
2802         automake conditional ONESTEP.
2803         * configure: Rebuilt.
2804         * Makefile.am: Use automake conditional ONESTEP to determine
2805         whether classfiles should be compiled individually or all
2806         at once.
2807         * Makefile.in: Rebuilt.
2808
2809 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2810
2811         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2812         Remove method declaration.
2813         (create()): Call native create.
2814         (create(int)): New method.
2815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2816         (create): Add window_id parameter.  Call gtk_plug_new with
2817         window_id parameter.
2818         (construct): Remove method implementation.
2819
2820 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
2821
2822         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2823         (mostlyclean-local): New target patterned after clean-local
2824         which recursively deletes all libtool objects using 'libtool rm'.
2825         (clean-local): Slightly modified comment to alleviate monotony.
2826         (distclean-local): New target patterned after clean-local
2827         which recursively deletes all .d files.
2828         * Makefile.in: Rebuilt.
2829
2830 2003-09-11  Tom Tromey  <tromey@redhat.com>
2831
2832         * java/net/URLStreamHandler.java (parseURL): If original file
2833         ends with "/", so must canonical result.
2834         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2835         with nul-termination and finding previous "/".
2836
2837 2003-09-11  Michael Koch  <konqueror@gmx.de>
2838
2839         * acconfig.h: Removed most items.
2840         * configure.in: Added descriptions to AC_DEFINE macros that where in
2841         acconfig.h before.
2842         * include/config.h.in: Regenerated.
2843
2844 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
2845
2846         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2847         if one is installed. Improve Javadoc.
2848         (getSystemEventQueueImpl): Improve Javadoc.
2849
2850 2003-09-11  Tom Tromey  <tromey@redhat.com>
2851
2852         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2853         file does not exist.
2854
2855 2003-09-10  Anthony Green  <green@redhat.com>
2856
2857         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2858         Specify full name when referencing ::java::net::InetAddress.
2859         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2860         Fix argument type.
2861
2862 2003-09-10  Michael Koch  <konqueror@gmx.de>
2863
2864         * acconfig.h (__NO_MATH_INLINES): Removed.
2865         * configure.in: Removed check for g++ math inlining bug from 2000.
2866         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2867         libgcj_cxxflags.
2868         * configure: Regenerated.
2869
2870 2003-09-10  David Daney <ddaney@avtrex.com>
2871
2872         * java/util/Arrays.java (equals(all variants)): Quit using
2873         NullPointerException catching to detect null valued parameters.
2874
2875 2003-09-10  Michael Koch  <konqueror@gmx.de>
2876
2877         * java/net/DatagramSocket.java,
2878         java/net/MulticastSocket.java,
2879         java/net/ServerSocket.java,
2880         java/net/Socket.java:
2881         Use gnu.java.net.Plain*SocketImpl instead of
2882         java.net.PlainSocketImpl.
2883         * java/net/PlainDatagramSocketImpl.java,
2884         java/net/PlainSocketImpl.java,
2885         java/net/SocketInputStream.java,
2886         java/net/SocketOutputStream.java,
2887         java/net/natPlainDatagramSocketImplNoNet.cc,
2888         java/net/natPlainDatagramSocketImplPosix.cc,
2889         java/net/natPlainDatagramSocketImplWin32.cc,
2890         java/net/natPlainSocketImplNoNet.cc,
2891         java/net/natPlainSocketImplPosix.cc,
2892         java/net/natPlainSocketImplWin32.cc:
2893         Removed.
2894         * gnu/java/net/PlainDatagramSocketImpl.java,
2895         gnu/java/net/PlainSocketImpl.java,
2896         gnu/java/net/SocketInputStream.java,
2897         gnu/java/net/SocketOutputStream.java,
2898         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2899         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2900         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2901         gnu/java/net/natPlainSocketImplNoNet.cc,
2902         gnu/java/net/natPlainSocketImplPosix.cc,
2903         gnu/java/net/natPlainSocketImplWin32.cc:
2904         New files (moved from java/net).
2905         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2906         instead of java/net/natPlain*SocketImpl.cc.
2907         * configure: Regenerated.
2908         * Makefile.am: Moved files from java/net to gnu/java/net.
2909         * Makefile.in: Regenerated.
2910
2911 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2912
2913         * configure: Regenerate.
2914
2915 2003-09-04  Tom Tromey  <tromey@redhat.com>
2916
2917         * configure.host: Removed erroneous comment.
2918
2919         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2920         lvalue cast; use correct rvalue cast.
2921
2922 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2923
2924         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2925         and height arguments to GtkWindowPeer.create method call.
2926         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2927         (create(int,int,int)): New method.
2928         (create(int)): Add call to new create method.
2929         (create()): Add width and height arguments to create method
2930         call.
2931         (GtkWindowPeer): Remove call to setBounds.
2932         * java/awt/Frame.java (Frame(String)): Initialize visible field
2933         to false.
2934         (Frame(GraphicsConfiguration)): Likewise.
2935         (Frame(String,GraphicsConfiguration)): Likewise.
2936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2937         Add width and height parameters.  Call
2938         gtk_window_set_default_size.
2939         (connectHooks): Remove unused name variable.
2940         (static setBounds): Call gtk_window_resize not
2941         gtk_widget_set_usize.
2942         (setBounds): Remove unused nchildren variable.
2943
2944 2003-08-31  Ingo Proetel  <proetel@aicas.com>
2945
2946         * java/util/logging/Logger.java: provide class and method information
2947         * java/util/logging/LogManager.java: create handlers
2948         * java/util/logging/SimpleFormatter.java: print souceClassName and
2949         sourceMethodName
2950
2951 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2952
2953         * win32.cc: fixed tab, indentation and whitespace
2954         inconsistencies
2955         removed jvm.h include
2956         added includes java/lang/UnsupportedOperationException.h,
2957         java/io/IOException.h, java/net/SocketException.h
2958         (WSAEventWrapper): class implementation
2959         (_Jv_WinStrError): implemented both overloads
2960         (_Jv_ThrowIOException): implemented both overloads
2961         (_Jv_ThrowSocketException): implemented both overloads
2962         (_Jv_select): implemented
2963         * include/win32.h: fixed tab, indentation and whitespace
2964         inconsistencies
2965         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
2966         added jvm.h include
2967         (WSAEventWrapper): added class declaration
2968         (_Jv_WinStrError): added both overload declarations
2969         (_Jv_ThrowIOException): added both overload declarations
2970         (_Jv_ThrowSocketException): added both overload declarations
2971         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
2972         (_Jv_select): added declaration
2973         (_Jv_socket): removed
2974         (_Jv_connect): removed
2975         (_Jv_close): removed
2976         (_Jv_bind): removed
2977         (_Jv_accept): removed
2978         (_Jv_listen): removed
2979         (_Jv_write): removed
2980         (_Jv_read): removed
2981         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
2982         whitespace inconsistencies
2983         replaced <windows.h> #include with <platform.h>
2984         removed jvm.h include
2985         (testCanUseGetHandleInfo): new function which tests whether Win32
2986         GetHandleInformation() call can be used with console buffer handles
2987         (only supported on >=WinNT 5.0)
2988         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
2989         (valid): rewrote implementation using GetHandleInformation()
2990         (sync):         changed exception throwing to use error string and exception
2991         helper methods declared in include/win32.h
2992         (open): likewise
2993         (write): likewise
2994         (setLength): likewise
2995         (close): likewise
2996         (seek): likewise
2997         (getFilePointer): likewise
2998         (read): likewise
2999         * java/io/natFileWin32.cc: fixed tab, indentation and
3000         whitespace inconsistencies
3001         replaced <windows.h> #include with <platform.h>
3002         removed jvm.h include
3003         (_access): use JV_TEMP_UTF_STRING
3004         (_stat): likewise
3005         (performMkDir): use JV_TEMP_UTF_STRING
3006         (performRenameTo): likewise
3007         (performDelete): likewise
3008         (performCreate): likewise
3009         (performSetReadOnly): likewise
3010         (performSetLastModified): likewise
3011         * java/lang/natWin32Process.cc: fixed tab, indentation and
3012         whitespace inconsistencies
3013         replaced <windows.h> #include with <platform.h>
3014         removed includes gcj/cni.h, jvm.h
3015         (new_string): removed
3016         (startProcess): use JV_TEMP_UTF_STRING,
3017         changed exception throwing to use error string and exception
3018         helper methods declared in include/win32.h
3019         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3020         whitespace inconsistencies
3021         replaced <windows.h> #include with <platform.h>
3022         removed jvm.h include
3023         removed DISABLE_JAVA_NET conditional code
3024         removed POSIX conditional code not relevant to Win32
3025         (aton): use JV_TEMP_UTF_STRING
3026         removed POSIX conditional code not relevant to Win32
3027         (lookup): likewise
3028         (getLocalHostName): likewise
3029         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3030         whitespace inconsistencies
3031         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3032         removed DISABLE_JAVA_NET conditional code
3033         removed POSIX conditional code not relevant to Win32
3034         (winsock2GetRealNetworkInterfaces): new function to compute network
3035         interfaces via Winsock2 API
3036         (determineGetRealNetworkInterfacesFN): new function for returning
3037         a function pointer to the function used to compute network interfaces.
3038         (getRealNetworkInterfaces): implemented
3039         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3040         whitespace inconsistencies
3041         removed gcj/cni.h include
3042         removed DISABLE_JAVA_NET conditional code
3043         removed POSIX conditional code not relevant to Win32
3044         changed net POSIXisms to Win32isms
3045         replaced _Jv socket-related calls with their real Win32 equivalents
3046         changed exception throwing to use error string and exception
3047         helper methods declared in include/win32.h
3048         (peekData): implemented timeout support
3049         (receive): likewise
3050         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3051         whitespace inconsistencies
3052         removed gcj/cni.h and gcj/javaprims.h includes
3053         removed DISABLE_JAVA_NET conditional code
3054         removed POSIX conditional code not relevant to Win32
3055         changed net POSIXisms to Win32isms
3056         replaced _Jv socket-related calls with their real Win32
3057         equivalents
3058         changed exception throwing to use error string and exception
3059         helper methods declared in include/win32.h
3060         (throwConnectException): helper function for connect()
3061         (connect): implemented timeout support
3062         (accept): likewise
3063         (doRead): new helper function common to both read() method overloads,
3064         includes timeout support
3065         (read): implemented both overloads in terms of doRead()
3066         (available): implemented using ioctlsocket()
3067
3068 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3069
3070         * java/net/natInetAddressWin32.cc,
3071         java/net/natNetworkInterfaceWin32.cc,
3072         java/net/natPlainDatagramSocketImplWin32.cc,
3073         java/net/natPlainSocketImplWin32.cc:
3074         Readded code enclosed in DISABLE_JAVA_NET defines
3075         in preparation for MinGW cleanup / networking
3076         patch
3077
3078 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3079
3080         * Makefile.am: Fixed problems with parallel makes.
3081         (all_java_class_files): Readded definition.
3082         (all_java_class_files): New target which depends on
3083         libgcj-@gcc_version@.jar
3084         * Makefile.in: Rebuilt
3085
3086 2003-08-28  Tom Tromey  <tromey@redhat.com>
3087
3088         * Makefile.in: Rebuilt.
3089         * Makefile.am (ordinary_java_source_files): Added new files.
3090         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3091         friend.
3092         * java/net/URLClassLoader.java (findClass): Don't use
3093         findURLResource.  Use loader's getClass method.
3094         (URLLoader.getClass): New method.
3095         (addURL): Handle `gcjlib' URLs.
3096         (SoURLLoader): New class.
3097         (SoResource): Likewise.
3098         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3099         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3100         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3101         (_Jv_RegisterCoreHook): Declare.
3102         (_Jv_FindCore): Declare.
3103         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3104         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3105         typedef.
3106         (core_hook): New function.
3107         (struct SharedLibDummy) [saved_core]: New field.
3108         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3109         (register_hook): Set protection domain and class loader on new
3110         class.
3111         (finalize): Free core chain.
3112         * gnu/gcj/Core.java (Core): New constructor.
3113         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3114         SharedLibHelper.
3115         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3116         (_Jv_create_core): New function.
3117         (create): Use it.
3118         (default_register_resource): New function.
3119         (_Jv_RegisterCoreHook): New global.
3120         (_Jv_RegisterResource): Use it.
3121         (core_chain_struct): Removed.
3122         (_Jv_FindCore): New function.
3123         (_Jv_FreeCoreChain): New function.
3124
3125 2003-08-29  Michael Koch  <konqueror@gmx.de>
3126
3127         * java/net/natInetAddressWin32.cc,
3128         java/net/natNetworkInterfaceWin32.cc,
3129         java/net/natPlainDatagramSocketImplWin32.cc,
3130         java/net/natPlainSocketImplWin32.cc:
3131         Removed code enclosed in DISABLE_JAVA_NET defines.
3132
3133 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3134
3135         * Makefile.am: (write_entries_to_file) New parameterized
3136         function for writing entries to a file one line at a time.
3137         (all_java_class_files): Removed definition.
3138         (.java.class) Removed.target.
3139         (libgcj-@gcc_version@.jar): Changed dependency to
3140         $(all_java_source_files); added compilation step which compiles
3141         all changed source files in one pass.
3142         (libgcj.la) Refactored to use write_entries_to_file.
3143         (lib-gnu-awt-xlib.la) Likewise.
3144         (install-data-local) Likewise.
3145         (write-entries-to-file-check) New target which tests write_entries_to_file.
3146         (all-recursive): Changed dependency from $(all_java_class_files)
3147         to libgcj-@gcc_version@.jar
3148         * Makefile.in: Rebuilt.
3149
3150 2003-08-26  Tom Tromey  <tromey@redhat.com>
3151
3152         * java/lang/StrictMath.java: Typo fix.
3153         * java/lang/Math.java: Typo fix.
3154
3155 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3156
3157         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3158         of the removed Thread.
3159
3160 2003-08-26  Mark Wielaard  <mark@klomp.org>
3161
3162         Reported by David Holmes <dholmes@dltech.com.au>.
3163         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3164         Collections.synchronizedMap.
3165         * java/lang/ThreadLocal.java (valueMap): Likewise.
3166
3167 2003-08-26  Mark Wielaard  <mark@klomp.org>
3168
3169         * java/security/acl/Acl.java: Fix broken p tag.
3170         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3171         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3172         * javax/swing/plaf/TreeUI.java: Likewise.
3173         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3174         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3175         documentation.
3176         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3177         tag.
3178
3179 2003-08-26  Tom Tromey  <tromey@redhat.com>
3180
3181         * Makefile.in: Rebuilt.
3182         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3183
3184         * java/lang/ref/Reference.java (get): Indentation fix.
3185         (clear): Comment fix.
3186         (enqueue): Likewise.
3187         (lock): Likewise.
3188         (referent): Likewise.
3189
3190 2003-08-26  Tom Tromey  <tromey@redhat.com>
3191
3192         PR java/12058:
3193         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3194
3195         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3196         (ProxyData.getPackage): New method.
3197         (ProxyData.getProxyData): Use package name, not Package.
3198         (ClassFactory.ClassFactory): Updated.
3199
3200 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3201         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3202         * Makefile.in: re-generated.
3203         * gnu/awt/j2d/IntegerGraphicsState.java
3204         (ScreenCoupledImage): new interface.
3205         (drawImage): detect ScreenCoupledImage instances.
3206         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3207         * gnu/awt/xlib/XEventLoop.java
3208         (createEvent): re-formatted, and rearranged to avoid null pointer.
3209         * gnu/awt/xlib/XGraphics.java
3210         (drawImage): added XOffScreenImage handling.
3211         * gnu/awt/xlib/XOffScreenImage.java: new file.
3212         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3213         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3214         * gnu/gcj/xlib/XAnyEvent.java
3215         (TYPE_KEY_PRESS): new constant.
3216         (TYPE_KEY_RELEASE): new constant.
3217         (TYPE_MOTION_NOTIFY): new constant.
3218         (TYPE_ENTER_NOTIFY): new constant.
3219         (TYPE_LEAVE_NOTIFY): new constant.
3220         (TYPE_FOCUS_IN): new constant.
3221         (TYPE_FOCUS_OUT): new constant.
3222         (TYPE_KEYMAP_NOTIFY): new constant.
3223         (TYPE_GRAPHICS_EXPOSE): new constant.
3224         (TYPE_NO_EXPOSE): new constant.
3225         (TYPE_VISIBILITY_NOTIFY): new constant.
3226         (TYPE_CREATE_NOTIFY): new constant.
3227         (TYPE_DESTROY_NOTIFY): new constant.
3228         (TYPE_MAP_REQUEST): new constant.
3229         (TYPE_CONFIGURE_REQUEST): new constant.
3230         (TYPE_GRAVITY_NOTIFY): new constant.
3231         (TYPE_RESIZE_REQUEST): new constant.
3232         (TYPE_CIRCULATE_NOTIFY): new constant.
3233         (TYPE_CIRCULATE_REQUEST): new constant.
3234         (TYPE_PROPERTY_NOTIFY): new constant.
3235         (TYPE_SELECTION_CLEAR): new constant.
3236         (TYPE_SELECTION_REQUEST): new constant.
3237         (TYPE_SELECTION_NOTIFY): new constant.
3238         (TYPE_COLORMAP_NOTIFY): new constant.
3239         (TYPE_MAPPING_NOTIFY): new constant.
3240         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3241         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3242         * java/awt/Component.java (createImage): changed to use peer method.
3243
3244 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3245
3246         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3247         name, not XLFD, to native drawString.
3248         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3249         Replace XLFD-based implementation with Pango-based
3250         implementation.
3251
3252 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3253
3254         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3255         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3256
3257 2003-08-21  David Daney  <ddaney@avtrex.com>
3258
3259         Fix for PR libgcj/12013:
3260         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3261         Check `cleared' field.
3262         * java/lang/ref/Reference.java (copy): Updated comments.
3263         (cleared): New field.
3264         (clear): Rewrote.
3265
3266 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3267             Thomas Fitzsimmons  <fitzsim@redhat.com>
3268
3269         * Makefile.am (gtk_awt_peer_sources): Add
3270         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3271         gnu/java/awt/GLightweightPeer.java.
3272         * gnu/java/awt/GLightweightPeer.java: Remove file.
3273         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3274         * java/awt/Component.java (getToolkit): Add comment about
3275         lightweight components.
3276         * java/awt/Toolkit.java (createComponent): Return
3277         gnu.java.awt.peer.GLightweightPeer.
3278
3279 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3280
3281         * configure.in: Fix detection of gcj when building with newlib.
3282         * configure: Regenerated.
3283
3284 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3285
3286         * jni.cc: Replace "cheating" pointer-casting code with
3287         extract_from_jvalue<> template.
3288
3289 2003-08-20  Andrew Haley  <aph@redhat.com>
3290
3291         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3292         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3293         (classAt): Break out class lookup function into getClass().
3294         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3295         handlers when using -fno-assume-compiled.
3296
3297 2003-08-20  Tom Tromey  <tromey@redhat.com>
3298
3299         Fix for PR libgcj/9125:
3300         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3301         object outside of loop.  Respect lib_control setting.
3302         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3303         field.
3304         (lib_control): New field.
3305         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3306         (VMClassLoader): Initialize new field.
3307
3308         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3309         Set `list->reference' to DELETED_REFERENCE when removing dead
3310         object.
3311         (find_slot): Added an assert.
3312         (DELETED_REFERENCE): New define.
3313         (add_to_hash): Check for DELETED_REFERENCE.
3314         (remove_from_hash): Just return if found slot isn't ours.
3315
3316 2003-08-19  Andrew Haley  <aph@redhat.com>
3317
3318         * prims.cc (unblock_signal): New function.
3319         (catch_segv): Use it.
3320         (catch_fpe): Likewise.
3321
3322 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3323
3324         PR libgcj/11575
3325         * java/io/natFileDescriptorWin32.cc (open): Set create
3326         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3327         Honor EXCL when openning with WRITE flag. 
3328
3329 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3330
3331         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3332         getting a temporary C string from a jstring)
3333         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3334         but uses a stack buffer if the string length is less than 256
3335         bytes.
3336
3337 2003-08-18  Tom Tromey  <tromey@redhat.com>
3338
3339         PR libgcj/11951:
3340         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3341         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3342         value.  Added is_jni_call argument; only wrap exception if not a
3343         JNI call.  Use descriptive message if operation not supported.
3344         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3345         array class.
3346         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3347         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3348         _Jv_CallAnyMethodA.
3349         (_Jv_JNI_CallAnyMethodA): Likewise.
3350         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3351         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3352
3353 2003-08-13  Tom Tromey  <tromey@redhat.com>
3354
3355         * gij.cc (help): Document -? and -X.
3356
3357 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3358
3359         * java/awt/Font.java: 
3360         Stub out more recent API. 
3361
3362 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3363
3364         * java/awt/Color.java (getAlpha): 
3365         Prevent sign-extended alpha values.
3366
3367 2003-08-12  Tom Tromey  <tromey@redhat.com>
3368
3369         * gij.cc (main): Handle -? and -X.
3370
3371 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3372
3373         * java/awt/Container.java
3374         (getPreferredSize): Call preferredSize.
3375         (preferredSize): Moved body of getPreferredSize here.
3376         (getMinimumSize): Call minimumSize.
3377         (minimumSize): Moved body of getMinimumSize here.
3378
3379 2003-08-11  Tom Tromey  <tromey@redhat.com>
3380
3381         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3382         (postEvent): Removed FIXME comment.
3383         (isDispatchThread): Documented.
3384         (getCurrentEvent): New method.
3385         (dispatchEvent): Set currentEvent and lastWhen.
3386         (getMostRecentEventTime): Rewrote.
3387         (invokeLater): Documented.
3388
3389 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3390
3391         * java/io/PrintStream.java (print): Always flush if auto_flush is
3392         set. Don't check for newline characters.
3393         (write (int)): Implement without using a temporary array.
3394         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3395         check for newline characters.
3396         Fixes PR libgcj/11778.
3397
3398 2003-08-08  Andrew Haley  <aph@redhat.com>
3399
3400         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3401         * Makefile.in: Rebuild.
3402         * java/lang/natRuntime.cc (insertSystemProperties): Add
3403         "sun.boot.class.path".
3404
3405 2003-08-07  Andrew Haley  <aph@redhat.com>
3406
3407         * java/io/PrintStream.java: Don't crash on a null string.
3408         
3409 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3410
3411         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3412         * configure: Regenerate.
3413
3414 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3415
3416         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3417         SocketImpl. Update Javadoc.
3418         (bind): Call close() not impl.close() in event of exception.
3419         (connect): Likewise.
3420         Remove superfluous null checks throughout.
3421         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3422         Don't create an extra socket. Fix for PR libgcj/10868.
3423         (bind): Clean up exception handling.
3424         Remove superfluous null checks throughout.
3425
3426 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3427             Bryce McKinlay  <bryce@mckinlay.net.nz>
3428
3429         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3430         ready-to-write argument to _Jv_Select. Reset the socket back to 
3431         non-blocking state after connecting.
3432         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3433         Throw SocketTimeoutException not InterruptedIOException.
3434         (read): Throw SocketTimeoutException not InterruptedIOException.
3435
3436 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3437
3438         * java/lang/Thread.java (Thread): Check for null "name" from
3439         start of private constructor, not after calling the private
3440         constructor.
3441
3442 2003-08-06  Tom Tromey  <tromey@redhat.com>
3443
3444         * java/io/FilePermission.java (equals): Use correct index for
3445         last character of path.
3446
3447 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3448
3449         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3450         * configure.in: Compare with_cross_host to build_alias, not build.
3451         * aclocal.m4: Regenerate.
3452         * configure: Regenerate.
3453
3454 2003-08-05  Tom Tromey  <tromey@redhat.com>
3455
3456         Fix for PR libgcj/11779:
3457         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3458         class.
3459
3460         * java/lang/reflect/Method.java: Updated status comment.
3461         Imported javadoc from Classpath and re-ordered methods.
3462         * java/lang/reflect/Constructor.java: Reindented.  Updated
3463         status comment.  Imported javadoc from Classpath and re-ordered
3464         methods.
3465
3466 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3467
3468         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3469         Add keyLocation parameter.
3470         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3471         string.
3472         (paramString): Generate keyChar string according to keyChar, not
3473         keyCode.
3474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3475         (state_to_awt_mods): Handle ALT key.
3476         (keyevent_state_to_awt_mods): New function.
3477         (get_first_keyval_from_keymap): New function.
3478         (keysym_to_awt_keycode): Get virtual key code from keymap.
3479         Handle missing VK_ values.
3480         (keysym_to_awt_keylocation): New function.
3481         (keyevent_to_awt_keychar): New function.
3482         (generates_key_typed_event): Handle non-text-component case.
3483         Handle GDK_KP_Delete and GDK_KP_Enter.
3484         (awt_event_handler): Call new functions to get postKeyEvent
3485         parameters.
3486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3487         Update postKeyEvent method signature.
3488         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3489         VK_ defines.
3490
3491 2003-08-05  Matthias Klose  <doko@debian.org>
3492
3493         * aclocal.m4: check for libart-config binary
3494           under the name libart2-config as well.
3495         * configure: regenerated.
3496
3497 2003-08-04  David P Grove  <groved@us.ibm.com>
3498
3499         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3500         when groupingSize is 0.
3501         (parse): Likewise.
3502
3503 2003-08-04  Matthias Klose  <doko@debian.org>
3504
3505         * libart.m4: check for libart-config binary
3506           under the name libart2-config as well.
3507         * configure, aclocal.m4: regenerated.
3508
3509 2003-08-02  Michael Koch  <konqueror@gmx.de>
3510
3511         * java/nio/ByteBufferImpl.java
3512         (getChar): Check remaining bytes, fixed comment about endianess.
3513         (putChar): Likewise.
3514         (getShort): Likewise.
3515         (putShort): Likewise.
3516         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3517         endianess.
3518         (putInt): Likewise.
3519         (getLong): Likewise.
3520         (putLong): Likewise.
3521         (getFloat): Likewise.
3522         (putFloat): Likewise.
3523         (getDouble): Likewise.
3524         (putDouble): Likewise.
3525         * java/nio/DirectByteBufferImpl.java
3526         (getChar): Wrapped code, fixed comment about endianess.
3527         (putchar): Likewise.
3528         (getShort): Likewise.
3529         (putShort): Likewise.
3530         (getInt): Fixed conversion, fixed comment about endianess.
3531         (putInt): Likewise.
3532         (getLong): Likewise.
3533         (putLong): Likewise.
3534         (getFloat): Likewise.
3535         (putFloat): Likewise.
3536         (getDouble): Likewise.
3537         (putDouble): Likewise.
3538         * java/nio/MappedByteBufferImpl.java
3539         (compact): Implemented.
3540         (getChar): Implemented.
3541         (putChar): Implemented.
3542         (getDouble): Implemented.
3543         (putdouble): Implemented.
3544         (getFloat): Implemented.
3545         (putFloat): Implemented.
3546         (getInt): Implemented.
3547         (putInt): Implemented.
3548         (getLong): Implemented.
3549         (putLong): Implemented.
3550         (getShort): Implemented.
3551         (putShort): Implemented.
3552         * java/nio/channels/FileChannelImpl.java
3553         (read): Set position where to access file.
3554         (write): Likewise.
3555         (transferTo): Flip buffer after read and before write.
3556         (transferFrom): Likewise.
3557
3558 2003-08-02  Michael Koch  <konqueror@gmx.de>
3559
3560         * gnu/java/lang/ArrayHelper.java
3561         (equalsArray): Reformated, added method documentation.
3562
3563 2003-08-02  Michael Koch  <konqueror@gmx.de>
3564
3565         * java/net/URL.java
3566         (URL): Added paragraph about the
3567         gnu.java.net.nocache_protocol_handlers property.
3568         (ph_cache): Renamed from handlers to match classpath's implementation.
3569         Reordered it with factory and serialVersionUID member variables.
3570         (cache_handlers): New member variable.
3571         (static): New static initializer to initialize cache_handlers from
3572         gnu.java.net.nocache_protocol_handlers property.
3573         (URL): Use ph_cache instead of handlers, reformatted some code to
3574         match classpath's implementation.
3575
3576 2003-08-01  Tom Tromey  <tromey@redhat.com>
3577
3578         Fix for PR libgcj/11241:
3579         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3580         initialCapacity is 0, set it to 1.
3581
3582 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3583
3584         * java/net/SocketImpl.java (toString): Display the remote address
3585         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3586
3587 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3588
3589         * javax/swing/border/BevelBorder.java,
3590         javax/swing/border/EtchedBorder.java,
3591         javax/swing/border/LineBorder.java,
3592         javax/swing/border/MatteBorder.java,
3593         javax/swing/border/SoftBevelBorder.java,
3594         javax/swing/plaf/BorderUIResource.java,
3595         javax/swing/plaf/ComponentUI.java,
3596         javax/swing/plaf/TreeUI.java,
3597         javax/swing/plaf/basic/BasicBorders.java,
3598         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3599         javax/swing/plaf/basic/BasicTreeUI.java:
3600         Prepend "doc-files" to all paths to embedded Javadoc images, so
3601         that the generated documentation contains the correct URL.
3602
3603 2003-08-01  Tom Tromey  <tromey@redhat.com>
3604
3605         * configure: Rebuilt.
3606         * configure.in (tool_include_dir): Redefine to match gcc.
3607
3608 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3609             Mark Wielaard  <mark@klomp.org>
3610             
3611         * java/math/BigDecimal (divide): Correctly handle
3612         ROUND_HALF_EVEN when amount is greater than 0.5.
3613         Simplify and optimize code.
3614
3615 2003-07-31  Tom Tromey  <tromey@redhat.com>
3616
3617         More for PR libgcj/11737:
3618         * java/io/ObjectInputStream.java (processResolution): Use
3619         getMethod.
3620         (getMethod): Make method accessible.
3621         (getField): Make field accessible.
3622         (setBooleanField): Don't call setAccessible here.
3623         (setByteField, setCharField, setDoubleField, setFloatField,
3624         setIntField, setLongField, setShortField, setObjectField):
3625         Likewise.
3626         (callReadMethod): Don't check whether method is null.  Catch
3627         NoSuchMethodException.
3628         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3629         cause on thrown exceptions.
3630
3631 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3632
3633         Fix for PR libgcj/11728:
3634         * java/util/HashMap.java (readObject): Set size.
3635
3636 2003-07-31  Tom Tromey  <tromey@redhat.com>
3637
3638         Fix for PR libgcj/11737:
3639         * java/io/ObjectOutputStream.java (getMethod): Make method
3640         accessible.
3641         (getField): Likewise.
3642         (writeObject): Use getMethod.
3643         Import PrivilegedAction and AccessController.
3644         (callWriteMethod): Don't check whether m is null.  Catch
3645         NoSuchMethodException.
3646
3647         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3648         (containsAngle): Likewise.
3649         (getStartPoint): Rewrote.
3650         (getEndPoint): Likewise.
3651         (setAngleStart(Point2D)): Likewise.
3652
3653 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3654             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3655
3656         * configure.in: Add new THREADCXXFLAGS variable.
3657         Handle POSIX threads on alpha*-dec-osf*.
3658         * configure: Regenerate.
3659         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3660         * Makefile.in: Regenerate.
3661
3662 2003-07-08  Andrew Haley  <aph@redhat.com>
3663
3664         * include/i386-signal.h (RESTORE): New.
3665         (INIT_SEGV): Set restorer.
3666         (INIT_FPE): Likewise.
3667
3668 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3669
3670         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3671         than getXLFD.
3672         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3673         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3675         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3677         Likewise.
3678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3679         Likewise.
3680
3681 2003-07-29  Tom Tromey  <tromey@redhat.com>
3682
3683         * defineclass.cc (handleField): Throw exception if field name is
3684         duplicated.
3685         (handleMethod): Throw exception for duplicate method.
3686
3687 2003-07-29  Tom Tromey  <tromey@redhat.com>
3688
3689         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3690         output buffer is too small.
3691
3692 2003-07-28  Tom Tromey  <tromey@redhat.com>
3693
3694         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3695         New method.
3696         Include gnu/gcj/runtime/StringBuffer.h.
3697         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3698         native method.
3699         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3700
3701 2003-07-27  Anthony Green  <green@redhat.com>
3702
3703         * configure.in: Fix newlib check.
3704         * configure: Rebuilt.
3705
3706 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3707
3708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3709         Create vbox and layout for GtkPlug.
3710
3711 2003-07-27  Michael Koch  <konqueror@gmx.de>
3712
3713         * java/awt/Window.java
3714         (Window): Removed now unused constructor. It became oboslete with the
3715         new embedded window patch.
3716
3717 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3718             Michael Koch  <konqueror@gmx.de>
3719
3720         * gnu/java/awt/EmbeddedWindow.java
3721         (EmbeddedWindow): Extends Frame instead of Window.
3722         (window_id): New member variable to store the native window handle.
3723         (create): Removed.
3724         (EmbeddedWindow): New constructor.
3725         (addNotify): New method.
3726         (getHandler): Likewise.
3727         (setWindowPeer): New native method.
3728         * gnu/java/awt/EmbeddedWindowSupport.java
3729         (EmbeddedWindowSupport): Fixed documentation.
3730         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3731         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3732         window data.
3733         * gnu/java/awt/natEmbeddedWindow.cc
3734         (create): Removed.
3735         (setWindowPeer): New method.
3736         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3737         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3738         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3739         New files
3740         * gnu/java/awt/peer/gtk/GtkToolkit.java
3741         (GtkToolkit): Implements EmbeddedWindowSupport.
3742         (createEmbeddedWindow): New method.
3743         * java/awt/Window.java
3744         (Window): Removed.
3745         * Makefile.am
3746         (java_source_files): Added EmbeddedWindowPeer.java.
3747         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3748         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3749         * Makefile.in: Regenerated.
3750
3751 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
3752
3753         * java/lang/Win32Process.java (ConcreteProcess): Surround
3754         a command line element with quotes if it contains an
3755         embedded space or tab.
3756         * java/lang/natWin32Process.cc (startProcess): Do not
3757         surround command line elements with quotes here.
3758
3759         * configure.host: Use -fcheck-references and 
3760         -fuse-divide-subroutine for MinGW until we fix
3761         win32_exception_handler( ) in win32.cc w.r.t. Win32 
3762         Structured Exception Handling (SEH).
3763
3764         * win32.cc (_Jv_platform_initProperties): Use generic names
3765         like "x86" for the "os.arch" property to be consistent with
3766         what Sun's JDK produces. Use the wProcessorArchitecture
3767         member of the Win32 SYSTEM_INFO structure, filled in a call 
3768         to GetSystemInfo( ), instead of dwProcessorType.
3769
3770 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
3771             Ranjit Mathew  <rmathew@hotmail.com>
3772
3773         * Makefile.am: Use cross-compiling gcjh from the path for
3774         a crossed-native build.
3775         * Makefile.in: Rebuilt.
3776         * configure.in: Include libltdl in non-newlib builds.
3777         Moved determination of gcj used to build libraries to
3778         its own section. Fixed cross-compilation issues for
3779         non-newlib builds.
3780         * configure: Rebuilt.
3781
3782 2003-07-25  Tom Tromey  <tromey@redhat.com>
3783
3784         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3785         (write): Likewise.
3786         (read): Likewise.
3787         (read): Likewise.
3788
3789 2003-07-25  Mark Wielaard  <mark@klomp.org>
3790
3791         * java/lang/natRuntime.cc (_load): Add library name to
3792         UnsatisfiedLinkError when thrown.
3793
3794 2003-07-25  Mark Wielaard  <mark@klomp.org>
3795
3796         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3797         added.
3798         * Makefile.in: Likewise.
3799
3800 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
3801
3802         * java/awt/Component.java
3803         (getPreferredSize): Call preferredSize.
3804         (preferredSize): Moved body of getPreferredSize here.
3805         (getMinimumSize): Call minimumSize.
3806         (minimumSize): Moved body of getMinimumSize here.
3807         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3808         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3809         pass -1
3810         * java/awt/Container.java
3811         (validate): Don't validate if there is no peer.
3812         (update): Clear background before calling paint.
3813         * java/awt/GridBagLayout.java
3814         Completed the implementation and fixed several bugs.
3815         * java/awt/MediaTracker.java
3816         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3817         combine flags.
3818         * java/awt/Window.java
3819         (Window): Don't call setVisible(false). Windows are invisible by
3820         default and calling virtual methods from constructor causes
3821         compatibility problems (e.g. subclasses may assume that the peer
3822         already exists).
3823
3824 2003-07-25  Michael Koch  <konqueror@gmx.de>
3825
3826         * java/awt/GridBagLayout.java:
3827         Totally reworked and partly implemented.
3828         * java/awt/GridBagLayoutInfo.java:
3829         New file.
3830
3831 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3832
3833         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3834         Don't pack label in an event box.
3835
3836 2003-07-24  Tom Tromey  <tromey@redhat.com>
3837
3838         For PR libgcj/7482:
3839         * verify.cc (ref_intersection): New class.
3840         (type_val): Removed unresolved_reference_type,
3841         uninitialized_unresolved_reference_type.
3842         (is_assignable_from_slow): Rewrote.
3843         (type::data): Removed.
3844         (type::klass): New field.
3845         (type::type): Added verifier argument.
3846         (type::resolve): Removed.
3847         (type::set_uninitialized): Updated for change to type_val.
3848         (type::set_initialized): Likewise.
3849         (type::isinitialized): Likewise.
3850         (type::print): Likewise.
3851         (construct_primitive_array_type): Likewise.
3852         (type::compatible): Updated for change to type_val and to use
3853         ref_intersection.
3854         (type::isarray): Updated to use ref_intersection.
3855         (type::isinterface): Likewise.
3856         (type::element_type): Likewise.
3857         (type::to_array): Likewise.
3858         (type::verify_dimensions): Rewrote.
3859         (type::merge): Likewise.
3860         (check_class_constant): Updated for type constructor change.
3861         (check_constant): Likewise.
3862         (check_field_constant): Likewise.
3863         (get_one_type): Likewise.
3864         (initialize_stack): Likewise.
3865         (verify_instructions_0): Likewise.
3866         (verify_instructions_0) [op_invokeinterface]: Removed special
3867         case.
3868         (isect_list): New field.
3869         (_Jv_BytecodeVerifier): Initialize it.
3870         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
3871
3872 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
3873
3874         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3875         unless field size is 2.
3876
3877 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3878
3879         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3880         (connectHooks): New method.
3881         (handleEvent): Remove.
3882         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3883         (createHooks): Remove declaration.
3884         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3885         (generates_key_typed_event): Change to handle only certain
3886         keyvals.
3887         (awt_event_handler): Add special handling for GtkTextView.
3888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3889         (textcomponent_commit_cb): New function.
3890         (textcomponent_changed_cb): Likewise.
3891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3892         (connectHooks): Remove.
3893
3894 2003-07-23  Tom Tromey  <tromey@redhat.com>
3895
3896         * java/lang/natSystem.cc (arraycopy): Check for overflow.
3897
3898         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3899
3900 2003-07-22  Tom Tromey  <tromey@redhat.com>
3901
3902         * boehm.cc (_Jv_BuildGCDescr): Wrote.
3903         Include limits.h.
3904
3905 2003-07-22  Tom Tromey  <tromey@redhat.com>
3906
3907         * java/awt/Window.java (getWarningString): Just return the
3908         string.
3909         (Window): Set warningString; check with security manager.
3910
3911 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
3912
3913         * gnu/awt/xlib/XGraphicsConfiguration.java
3914         (FontMetricsCache): Made static.
3915  
3916 2003-07-22  Tom Tromey  <tromey@redhat.com>
3917
3918         * java/net/URLEncoder.java (encode(String)): Use platform default
3919         encoding.
3920         (encode(String,String)): Convert to 2-digit upper-case hex
3921         number.
3922         (hex): New field.
3923
3924 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3925
3926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3927         (create): Remove unused method implementation.
3928         (connectHooks): Remove debug messages.
3929
3930 2003-07-20  Anthony Green  <green@redhat.com>
3931
3932         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3933         CloneNotSupportedException.
3934         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3935         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3936         * gnu/gcj/xlib/GC.java (clone): Ditto.
3937         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3938         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3939
3940         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3941         handler.
3942         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3943
3944 2003-07-20  Steve Pribyl <steve@netfuel.com.>
3945
3946         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3947         String.  Put dlerror() message into exception.
3948         Include UnsatisfiedLinkError.
3949         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3950         String.  Now native.
3951
3952 2003-07-20  Tom Tromey  <tromey@redhat.com>
3953
3954         * java/lang/Runtime.java: Comment fix.
3955         * java/lang/ClassLoader.java (isAncestorOf): New method.
3956         (getParent): Uncommented security check.  Use isAncestorOf.
3957         * include/jvm.h (_Jv_CheckAccess): Declare.
3958         * java/lang/reflect/natConstructor.cc (newInstance): Perform
3959         access check.
3960         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
3961         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
3962         class loader to _Jv_GetArrayClass.
3963         Include ArrayIndexOutOfBoundsException.h.
3964         * java/lang/reflect/Field.java: Update comment to reflect status.
3965         (equals): Fixed indentation.
3966         * java/lang/Class.h (Class): Declare memberAccessCheck, not
3967         checkMemberAccess.  Make _Jv_CheckAccess a friend.
3968         * java/lang/Class.java (memberAccessCheck): New method from
3969         Classpath.
3970         (checkMemberAccess): Removed.
3971         (getDeclaredMethod): Use memberAccessCheck.
3972         (getField): Likewise.
3973         (getMethod): Likewise.
3974         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
3975         (_Jv_SearchMethodInClass): Likewise.
3976         * prims.cc (_Jv_CheckAccess): New function.
3977         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
3978         (_Jv_JNI_GetAnyFieldID): Likewise.
3979         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
3980         (getClassLoader): Added security check.
3981         (getConstructor): Call memberAccessCheck.
3982         (getDeclaredClasses): Likewise.
3983         (getDeclaredField): Likewise.
3984         (getDeclaredFields): Likewise.
3985         (_getConstructors): Likewise.
3986         (getDeclaredConstructor): Likewise.
3987         (getDeclaredMethods): Likewise.
3988         (getFields): Likewise.
3989         (getMethods): Likewise.
3990         (newInstance): Likewise.
3991         (_Jv_MakeVTable): Put method name in exception.
3992         * java/lang/reflect/natMethod.cc (getType): Use
3993         getClassLoaderInternal.
3994         (_Jv_GetTypesFromSignature): Likewise.
3995         (invoke): Perform access check.
3996         (_Jv_CallAnyMethodA): Removed old FIXME comments.
3997         Include ArrayIndexOutOfBoundsException.h.
3998         * java/lang/reflect/natField.cc (getType): Use
3999         getClassLoaderInternal.
4000         (_Jv_CheckFieldAccessibility): Removed.
4001         (getAddr): Use _Jv_CheckAccess; find caller.
4002         Include ArrayIndexOutOfBoundsException.h.
4003
4004 2003-07-20  Michael Koch  <konqueror@gmx.de>
4005
4006         * java/net/URL.java
4007         (URL): Fixed documentation to name an argument correcty, Reformatted
4008         one method declaration.
4009         (getURLStreamHandler): Added documentation from classpath.
4010
4011 2003-07-19  Tom Tromey  <tromey@redhat.com>
4012
4013         * mauve-libgcj: Don't run CollationElementIterator tests.
4014
4015 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4016
4017         * java/net/URLClassLoader.java (addURL): Moved implementation to
4018         private addURLImpl() to avoid calling addURL from the constructor.
4019         (addURLImpl): Contains the code that was previously in addURL.
4020         (addURLs): Call addURLImpl(), not addURL().
4021
4022 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4023
4024         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4025         Handle missing event cases, connect to "value-changed" signal.
4026
4027 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4028
4029         * java/awt/geom/CubicCurve2D.java,
4030         java/awt/geom/Line2D.java,
4031         java/awt/geom/QuadCurve2D.java,
4032         java/awt/geom/Rectangle2D.java: 
4033         Fix path some calculations, make path iterators follow
4034         a consistent style.
4035
4036 2003-07-18  Mark Wielaard  <mark@klomp.org>
4037
4038         * java/util/logging/Handler.java (isLoggable): Check record level
4039         smaller or equal.
4040
4041 2003-07-17  Michael Koch  <konqueror@gmx.de>
4042
4043         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4044         Reworked imports.
4045
4046 2003-07-14  Michael Koch  <konqueror@gmx.de>
4047
4048         * gnu/java/rmi/server/UnicastServerRef.java:
4049         New version from classpath.
4050
4051 2003-07-14  Michael Koch  <konqueror@gmx.de>
4052
4053         * java/awt/image/MemoryImageSource.java,
4054         java/beans/PropertyEditorManager.java,
4055         javax/naming/CompoundName.java,
4056         javax/naming/spi/NamingManager.java,
4057         javax/swing/AbstractButton.java,
4058         javax/swing/ButtonModel.java,
4059         javax/swing/SwingUtilities.java,
4060         javax/swing/UIManager.java,
4061         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4062         javax/swing/event/AncestorEvent.java,
4063         javax/swing/event/InternalFrameEvent.java,
4064         java/util/zip/ZipFile.java:
4065         New versions from classpath.
4066
4067 2003-07-13  Michael Koch  <konqueror@gmx.de>
4068
4069         * gnu/java/nio/FileChannelImpl.java,
4070         gnu/java/nio/natFileChannelImpl.cc: Removed.
4071         * java/io/FileInputStream.java,
4072         java/io/FileOutputStream.java,
4073         java/io/RandomAccessFile.java,
4074         java/nio/MappedByteBufferImpl.java:
4075         Import java.nio.channels.FileChannelImpl instead of
4076         gnu.java.nio.FileChannelImpl.
4077         * java/nio/channels/FileChannelImpl.java,
4078         java/nio/channels/natFileChannelImpl.cc:
4079         New files.
4080         * Makefile.am
4081         (ordinary_java_source_files):
4082         Removed gnu/java/nio/FileChannelImpl.java and added
4083         java/nio/channels/FileChannelImpl.java.
4084         (nat source_files):
4085         Removed gnu/java/nio/natFileChannelImpl.cc and added
4086         java/nio/channels/natFileChannelImpl.cc.
4087         * Makefile.in: Regenerated.
4088
4089 2003-07-13  Michael Koch  <konqueror@gmx.de>
4090
4091         * javax/swing/plaf/basic/BasicBorders.java,
4092         javax/swing/plaf/basic/BasicLabelUI.java,
4093         javax/swing/plaf/basic/BasicLookAndFeel.java,
4094         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4095         javax/swing/plaf/basic/BasicTextUI.java,
4096         javax/swing/plaf/metal/MetalLookAndFeel.java:
4097         New versions from classpath.
4098
4099 2003-07-13  Michael Koch  <konqueror@gmx.de>
4100
4101         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4102         * gnu/java/awt/peer/gtk/GdkGraphics.java
4103         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4104         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4105         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4106         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4107         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4108         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4109         * gnu/java/awt/peer/gtk/GtkClipboard.java
4110         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4111         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4112         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4113         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4114         * gnu/java/awt/peer/gtk/GtkImage.java
4115         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4116         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4117         * gnu/java/awt/peer/gtk/GtkListPeer.java
4118         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4119         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4120         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4121         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4122         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4123         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4124         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4125         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4126         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4127         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4128         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4129         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4130
4131 2003-07-13  Michael Koch  <konqueror@gmx.de>
4132
4133         * gnu/java/locale/LocaleInformation_de.java
4134         * gnu/java/locale/LocaleInformation_en.java
4135         * gnu/java/locale/LocaleInformation_nl.java
4136
4137 2003-07-13  Michael Koch  <konqueror@gmx.de>
4138
4139         * gnu/java/awt/EmbeddedWindow.java,
4140         gnu/java/awt/EmbeddedWindowSupport.java,
4141         gnu/java/awt/natEmbeddedWindow.cc:
4142         New files.
4143         * java/awt/Window.java
4144         (Window): New constructor to support embedded windows.
4145         * Makefile.am
4146         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4147         gnu/java/awt/EmbeddedWindowSupport.java.
4148         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4149         * Makefile.in: Regenerated.
4150
4151 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4152
4153         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4154         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4155         * java/awt/im/InputContext.java: Remove a redundant
4156         partial line.
4157
4158 2003-07-09  Tom Tromey  <tromey@redhat.com>
4159
4160         * Makefile.in: Rebuilt.
4161         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4162
4163 2003-07-09  Mark Wielaard  <mark@klomp.org>
4164
4165         * java/io/ObjectOutputStream.java (writeObject): break after
4166         calling writeClassDescriptor().
4167
4168 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4169
4170         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4171
4172 2003-07-09  Michael Koch  <konqueror@gmx.de>
4173
4174         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4175         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4176         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4177         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4178         Explicitly import used classes.
4179         * java/awt/Container.java: New version from classpath.
4180
4181 2003-07-09  Michael Koch  <konqueror@gmx.de>
4182
4183         * libgcj.pc.in: New file.
4184         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4185         * Makefile.in: Regenerated.
4186         * configure: Regenrated.
4187         * configure.in: Create libgcj.pc from libgcj.pc.in.
4188
4189 2003-07-08  Mark Wielaard <mark@klomp.org>
4190
4191         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4192
4193         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4194         * java/lang/fdlibm.h: Likewise.
4195
4196 2003-07-07  Adam Megacz <adam@xwt.org>
4197
4198         * posix.cc: added #include<stdio.h>
4199                 
4200 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4201
4202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4203         formatting.
4204
4205         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4206         (setCaretPosition, setEditable): Rely entirely on native
4207         implementation.
4208         (getArgs): Remove.
4209         (postTextEvent): New method.
4210         (handleEvent): New method.
4211         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4212         method.
4213         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4215         (keysym_to_awt_keycode): Fix range checks.
4216         (generates_key_typed_event): New function.
4217         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4218         queue.
4219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4220         (gtkInit): Store TextComponent's postTextEvent method ID.
4221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4222         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4223
4224 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4225
4226         * configure.in: Check for usleep declaration.
4227         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4228         * configure: Regenerate.
4229         * include/config.h.in: Likewise.
4230         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4231
4232 2003-07-01  Michael Koch  <konqueror@gmx.de>
4233
4234         * gnu/gcj/convert/natIconv.cc
4235         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4236         handle.
4237
4238 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4239
4240         * glib-2.0.m4: New file.
4241         * gtk-2.0.m4: New file.
4242         * glib.m4: Remove.
4243         * gtk.m4: Remove.
4244         * configure.in: Update AM_PATH_GTK macro call to
4245         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4247         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4248         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4249         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4250         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4251         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4252         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4253         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4254         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4255         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4256         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4257         jni/gtk-peer/gthread-jni.c,
4258         jni/gtk-peer/gthread-jni.h:
4259         New versions from classpath.
4260         * aclocal.m4: Regenerate.
4261         * configure: Regenerate.
4262         * Makefile.in: Regenerate.
4263         * gcj/Makefile.in: Regenerate.
4264         * include/Makefile.in: Regenerate.
4265         * testsuite/Makefile.in: Regenerate.
4266
4267 2003-06-30  Gary Benson  <gbenson@redhat.com>
4268
4269         For PR libgcj/11349:
4270         * javax/naming/spi/NamingManager.java (getURLContext): Use
4271         correct name for factory class.
4272
4273 2003-06-28  Michael Koch  <konqueror@gmx.de>
4274
4275         * java/io/PrintStream.java
4276         (checkError): Call flush() instead of direct flushing of the Writer
4277         object.
4278         (print): Call print(String) instead of direct print method of the
4279         Writer Object.
4280         (println): Call println(String) instead of direct println method of the
4281         Writer Object.
4282         (write): Simplified.
4283
4284 2003-06-28  Michael Koch  <konqueror@gmx.de>
4285
4286         * java/net/ServerSocket.java
4287         (setChannel): New method.
4288         * java/net/Socket.java
4289         (setChannel): New method.
4290
4291 2003-06-27  Michael Koch  <konqueror@gmx.de>
4292
4293         * java/beans/beancontext/BeanContextSupport.java:
4294         New version from classpath.
4295
4296 2003-06-27  Michael Koch  <konqueror@gmx.de>
4297
4298         * java/awt/Window.java,
4299         java/awt/font/GraphicAttribute.java,
4300         java/awt/font/ImageGraphicAttribute.java,
4301         java/awt/image/DataBufferByte.java,
4302         java/awt/image/DataBufferInt.java,
4303         java/awt/image/DataBufferUShort.java,
4304         java/awt/image/DirectColorModel.java,
4305         java/awt/image/PixelGrabber.java:
4306         New versions from classpath.
4307
4308 2003-06-27  Michael Koch  <konqueror@gmx.de>
4309
4310         * java/security/Certificate.java
4311         (getGuarantor): Removed wrong @deprecated tag.
4312         (getPrincipal): Likewise.
4313         (getPublicKey): Likewise.
4314         (encode): Likewise.
4315         (decode): Likewise.
4316         (getFormat): Likewise.
4317         (toString): Likewise.
4318         * java/security/cert/PolicyQualifierInfo.java
4319         (PolicyQualifierInfo): Made final.
4320         * javax/security/auth/x500/X500Principal.java
4321         (serialVersionUID): New member variable.
4322
4323 2003-06-27  Michael Koch  <konqueror@gmx.de>
4324
4325         * java/text/Format.java
4326         (serialVersionUID): Fixed value.
4327
4328 2003-06-27  Michael Koch  <konqueror@gmx.de>
4329
4330         * java/net/Inet4Address.java
4331         (Inet4Address): Made package-private.
4332         * java/net/Inet6Address.java
4333         (Inet4Address): Made package-private.
4334
4335 2003-06-27  Michael Koch  <konqueror@gmx.de>
4336
4337         * java/io/RandomAccessFile.java
4338         (readLine): Removed wrong @deprecated tag.
4339         (getChannel): Made final.
4340
4341 2003-06-27  Michael Koch  <konqueror@gmx.de>
4342
4343         * gnu/java/nio/FileChannelImpl.java
4344         (write): Removed.
4345
4346 2003-06-27  Michael Koch  <konqueror@gmx.de>
4347
4348         * java/nio/ByteBufferImpl.java
4349         (ByteBufferImpl): Made it a package-private class
4350         * java/nio/CharBufferImpl.java
4351         (CharBufferImpl): Made it a package-private class
4352         * java/nio/DirectByteBufferImpl.java
4353         (DirectByteBufferImpl): Made it a package-private class
4354         * java/nio/DoubleBufferImpl.java
4355         (DoubleBufferImpl): Made it a package-private class
4356         * java/nio/FloatBufferImpl.java
4357         (FloatBufferImpl): Made it a package-private class
4358         * java/nio/IntBufferImpl.java
4359         (IntBufferImpl): Made it a package-private class
4360         * java/nio/LongBufferImpl.java
4361         (LongBufferImpl): Made it a package-private class
4362         * java/nio/ShortBufferImpl.java
4363         (ShortBufferImpl): Made it a package-private class
4364         * java/nio/channels/FileChannel.java
4365         (write): Made final.
4366         * java/nio/channels/ServerSocketChannel.java
4367         (ServerSocketChanne): Made protected.
4368
4369 2003-06-27  Michael Koch  <konqueror@gmx.de>
4370
4371         * javax/naming/CompositeName.java
4372         (serialVersionUID): New member variable.
4373         * javax/naming/CompoundName.java
4374         (serialVersionUID): New member variable.
4375         * javax/naming/InitialContext.java
4376         (InitialContext): Throws NamingException.
4377         (init): Likewise.
4378         * javax/naming/LinkRef.java
4379         (serialVersionUID): New member variable.
4380         (gteLinkName): Throws NamingException.
4381         * javax/naming/NamingException.java
4382         (serialVersionUID): New member variable.
4383         * javax/naming/NamingSecurityException.java
4384         (NamingSecurityException): Made abstract.
4385         (serialVersionUID): New member variable.
4386         * javax/naming/ReferralException.java
4387         (serialVersionUID): New member variable.
4388         * javax/naming/StringRefAddr.java
4389         (serialVersionUID): New member variable.
4390         * javax/naming/directory/BasicAttribute.java:
4391         Reworked imports.
4392         (serialVersionUID): New member variable.
4393         (get): Throws NamingException.
4394         (getAll): Throws NamingException.
4395         * javax/naming/directory/BasicAttributes.java:
4396         Reworked imports.
4397         (serialVersionUID): New member variable.
4398         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4399         (serialVersionUID): New member variable.
4400
4401 2003-06-27  Michael Koch  <konqueror@gmx.de>
4402
4403         * Makefile.am
4404         (awt_java_source_files): Added new files:
4405         javax/swing/Popup.java,
4406         javax/swing/PopupFactory.java
4407         * Makefile.in: Regenerated.
4408
4409 2003-06-27  Michael Koch  <konqueror@gmx.de>
4410
4411         * javax/swing/JWindow.java,
4412         javax/swing/event/AncestorEvent.java,
4413         javax/swing/event/HyperlinkEvent.java,
4414         javax/swing/event/InternalFrameEvent.java,
4415         javax/swing/event/ListDataEvent.java,
4416         javax/swing/event/TableModelEvent.java,
4417         javax/swing/plaf/PopupMenuUI.java,
4418         javax/swing/plaf/SplitPaneUI.java,
4419         javax/swing/plaf/TabbedPaneUI.java,
4420         javax/swing/plaf/TextUI.java,
4421         javax/swing/plaf/TreeUI.java,
4422         javax/swing/plaf/basic/BasicTextUI.java,
4423         javax/swing/plaf/basic/BasicTreeUI.java:
4424         New versions from classpath.
4425         * javax/swing/Popup.java,
4426         javax/swing/PopupFactory.jav:
4427         New source files from classpath.
4428         * javax/swing/plaf/doc-files/TreeUI-1.png:
4429         New binary files from classpath.
4430
4431 2003-06-25  Michael Koch  <konqueror@gmx.de>
4432
4433         * Makefile.am
4434         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4435         * Makefile.in: Regenerated.
4436
4437 2003-06-25  Michael Koch  <konqueror@gmx.de>
4438
4439         * javax/swing/plaf/ActionMapUIResource.java,
4440         javax/swing/plaf/BorderUIResource.java,
4441         javax/swing/plaf/ButtonUI.java,
4442         javax/swing/plaf/ColorChooserUI.java,
4443         javax/swing/plaf/ColorUIResource.java,
4444         javax/swing/plaf/ComboBoxUI.java,
4445         javax/swing/plaf/ComponentInputMapUIResource.java,
4446         javax/swing/plaf/ComponentUI.java,
4447         javax/swing/plaf/DesktopIconUI.java,
4448         javax/swing/plaf/DesktopPaneUI.java,
4449         javax/swing/plaf/DimensionUIResource.java,
4450         javax/swing/plaf/FileChooserUI.java,
4451         javax/swing/plaf/FontUIResource.java,
4452         javax/swing/plaf/IconUIResource.java,
4453         javax/swing/plaf/InputMapUIResource.java,
4454         javax/swing/plaf/InsetsUIResource.java,
4455         javax/swing/plaf/InternalFrameUI.java,
4456         javax/swing/plaf/LabelUI.java,
4457         javax/swing/plaf/ListUI.java,
4458         javax/swing/plaf/MenuBarUI.java,
4459         javax/swing/plaf/MenuItemUI.java,
4460         javax/swing/plaf/OptionPaneUI.java,
4461         javax/swing/plaf/PanelUI.java,
4462         javax/swing/plaf/ProgressBarUI.java,
4463         javax/swing/plaf/RootPaneUI.java,
4464         javax/swing/plaf/ScrollBarUI.java,
4465         javax/swing/plaf/ScrollPaneUI.java,
4466         javax/swing/plaf/SeparatorUI.java,
4467         javax/swing/plaf/SliderUI.java,
4468         javax/swing/plaf/TableHeaderUI.java,
4469         javax/swing/plaf/TableUI.java,
4470         javax/swing/plaf/ToolBarUI.java,
4471         javax/swing/plaf/ToolTipUI.java,
4472         javax/swing/plaf/ViewportUI.java:
4473         New versions from classpath.
4474         * javax/swing/plaf/SpinnerUI.java: 
4475         New file from classpath
4476
4477 2003-06-25  Michael Koch  <konqueror@gmx.de>
4478
4479         * java/awt/image/ColorModel.java:
4480         New version from classpath.
4481
4482 2003-06-25  Michael Koch  <konqueror@gmx.de>
4483
4484         * java/net/PlainDatagramSocketImpl.java:
4485         Partly merged with classpath, this mainly adds documentation.
4486
4487 2003-06-25  Michael Koch  <konqueror@gmx.de>
4488
4489         * java/io/ObjectInputStream.java
4490         (readClassDescriptor): New method.
4491         (readObject): Moved functionality to readClassDescriptor().
4492         * java/io/ObjectOutputStream.java
4493         (writeClassDescriptor): New method.
4494         (writeObject): Moved functionality to writeClassDescriptor().
4495
4496 2003-06-25  Michael Koch  <konqueror@gmx.de>
4497
4498         * javax/swing/plaf/basic/BasicListUI.java,
4499         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4500         Added missing methods.
4501
4502 2003-06-25  Michael Koch  <konqueror@gmx.de>
4503
4504         * javax/swing/event/AncestorEvent.java
4505         javax/swing/event/HyperlinkEvent.java
4506         javax/swing/event/InternalFrameEvent.java
4507         javax/swing/event/ListDataEvent.java
4508         javax/swing/event/TableModelEvent.java:
4509         Compile fixes.
4510
4511 2003-06-24  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/net/URL.java:
4514         Renamed "handler" to "ph" in the whole file to match classpaths
4515         version.
4516         * java/net/URLStreamHandler.java:
4517         (equals): Renamed "handler" to "ph".
4518
4519 2003-06-24  Michael Koch  <konqueror@gmx.de>
4520
4521         * javax/swing/event/AncestorEvent.java,
4522         javax/swing/event/HyperlinkEvent.java,
4523         javax/swing/event/InternalFrameEvent.java,
4524         javax/swing/event/ListDataEvent.java,
4525         javax/swing/event/TableModelEvent.java,
4526         javax/swing/event/TreeWillExpandListener.java,
4527         javax/swing/plaf/ComponentUI.java,
4528         javax/swing/plaf/DesktopIconUI.java,
4529         javax/swing/plaf/DesktopPaneUI.java,
4530         javax/swing/plaf/DimensionUIResource.java,
4531         javax/swing/plaf/FileChooserUI.java,
4532         javax/swing/plaf/FontUIResource.java,
4533         javax/swing/plaf/IconUIResource.java,
4534         javax/swing/plaf/InputMapUIResource.java,
4535         javax/swing/plaf/InsetsUIResource.java,
4536         javax/swing/plaf/InternalFrameUI.java,
4537         javax/swing/plaf/LabelUI.java,
4538         javax/swing/plaf/ListUI.java,
4539         javax/swing/plaf/MenuBarUI.java,
4540         javax/swing/plaf/MenuItemUI.java,
4541         javax/swing/plaf/OptionPaneUI.java,
4542         javax/swing/plaf/PanelUI.java,
4543         javax/swing/plaf/ProgressBarUI.java,
4544         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4545         javax/swing/plaf/doc-files/ComponentUI-1.png:
4546         New versions from classpath.
4547
4548 2003-06-24  Michael Koch  <konqueror@gmx.de>
4549
4550         * java/nio/Buffer.java
4551         (cap): Made package-private.
4552         (pos): Likewise.
4553         (limit): Likewise.
4554         (mark): Likewise.
4555
4556 2003-06-24  Michael Koch  <konqueror@gmx.de>
4557
4558         * java/net/SocketImpl.java
4559         (shutdownInput): Made it non-abstract method throwing an exception
4560         like in SUNs JRE.
4561         (shutdownOutput): Likewise.
4562         * java/net/SocketInputStream.java,
4563         java/net/SocketOutputStream.java:
4564         New files from classpath.
4565
4566 2003-06-24  Michael Koch  <konqueror@gmx.de>
4567
4568         * java/awt/Font.java,
4569         java/awt/Window.java,
4570         java/awt/color/ColorSpace.java,
4571         java/awt/datatransfer/StringSelection.java,
4572         java/awt/image/ColorModel.java:
4573         New versions from classpath.
4574
4575 2003-06-24  Michael Koch  <konqueror@gmx.de>
4576
4577         * Makefile.am
4578         (awt_java_source_files): Added new files:
4579         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4580         javax/swing/plaf/basic/BasicSplitPaneUI.java
4581         * Makefile.in: Regenerated.
4582
4583 2003-06-24  Michael Koch  <konqueror@gmx.de>
4584
4585         * javax/swing/text/JTextComponent.java:
4586         New version from classpath.
4587
4588 2003-06-24  Michael Koch  <konqueror@gmx.de>
4589
4590         * javax/swing/Timer.java,
4591         javax/swing/plaf/ActionMapUIResource.java,
4592         javax/swing/plaf/ButtonUI.java,
4593         javax/swing/plaf/ColorChooserUI.java,
4594         javax/swing/plaf/ColorUIResource.java,
4595         javax/swing/plaf/ComboBoxUI.java,
4596         javax/swing/plaf/ComponentInputMapUIResource.java,
4597         javax/swing/plaf/basic/BasicBorders.java:
4598         New versions from classpath.
4599         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4600         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4601         New file from classpath.
4602         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4603         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4604         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4605         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4606         javax/swing/plaf/doc-files/ComponentUI-1.png:
4607         New binary files from classpath.
4608
4609 2003-06-24  Michael Koch  <konqueror@gmx.de>
4610
4611         * java/io/LineNumberReader.java
4612         (skip): Dont do line number accounting here as this is already done in
4613         read(), simplified.
4614
4615 2003-06-21  Michael Koch  <konqueror@gmx.de>
4616
4617         * java/io/File.java
4618         (static): Load javaio lib if existing (only in classpath).
4619         (File): Revised documentation to show the correct argument name.
4620         (createTempFile): Partly merged with classpath.
4621         (compareTo): Simplified.
4622         (lastModified): Throw exception if time < 0.
4623         (deleteOnExit): Revised documentation.
4624
4625 2003-06-21  Michael Koch  <konqueror@gmx.de>
4626
4627         * java/net/PlainSocketImpl.java:
4628         Reformatted.
4629         (PlainSocketImpl): Merged class documentaion with classpath.
4630         (in): Moved.
4631         (out): Moved.
4632         (PlainSocketImpl): New empty constructor.
4633         (finalize): Moved.
4634         (setOption): Merged documentation from classpath.
4635         (getOption): Likewise.
4636         (create): Likewise.
4637         (connect): Likewise.
4638         (bind): Likewise.
4639         (listen): Likewise.
4640         (accept): Likewise.
4641         (available): Likewise.
4642         (close): Likewise.
4643         (read): Likewise.
4644         (write): Likewise.
4645         (getInputStream): Made synchronozed to get sure that only one stream
4646         object can be created for this socket, merged documentation from
4647         classpath.
4648         (getOutputStream): Likewise.
4649
4650 2003-06-21  Michael Koch  <konqueror@gmx.de>
4651
4652         * java/net/PlainSocketImpl.java:
4653         Reformatting.
4654         (static): New implicit method.
4655         (read): Made package private.
4656         (write): Likewise.
4657
4658 2003-06-21  Michael Koch  <konqueror@gmx.de>
4659
4660         * java/util/SimpleTimeZone.java:
4661         Removed unneeded import, reformatting.
4662
4663 2003-06-21  Michael Koch  <konqueror@gmx.de>
4664
4665         * java/text/DateFormat.java,
4666         java/text/SimpleDateFormat.java,
4667         java/util/Locale.java:
4668         New versions from classpath.
4669
4670 2003-06-21  Michael Koch  <konqueror@gmx.de>
4671
4672         * javax/swing/SpinnerModel.java:
4673         New file from classpath.
4674         * javax/swing/border/LineBorder.java,
4675         javax/swing/border/SoftBevelBorder.java,
4676         javax/swing/plaf/BorderUIResource.java,
4677         javax/swing/plaf/basic/BasicBorders.java:
4678         New versions from classpath.
4679         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4680         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4681         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4682         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4683         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4684         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4685         New binary files from classpath.
4686
4687 2003-06-21  Michael Koch  <konqueror@gmx.de>
4688
4689         * java/util/logging/LogRecord.java,
4690         java/util/logging/Logger.java,
4691         java/util/logging/SocketHandler.java,
4692         java/util/logging/SimpleFormatter.java,
4693         java/util/logging/Formatter.java,
4694         java/util/logging/ErrorManager.java,
4695         java/util/logging/Handler.java,
4696         java/util/logging/FileHandler.java,
4697         java/util/logging/LogManager.java,
4698         java/util/logging/Level.java,
4699         java/util/logging/ConsoleHandler.java,
4700         java/util/logging/StreamHandler.java,
4701         java/util/logging/LoggingPermission.java,
4702         java/util/logging/Filter.java,
4703         java/util/logging/MemoryHandler.java,
4704         java/util/logging/XMLFormatter.java:
4705         New files from classpath.
4706
4707 2003-06-20  Michael Koch  <konqueror@gmx.de>
4708
4709         * java/io/ObjectStreamField.java
4710         (unshared): new member variable.
4711         (ObjectStreamField): New constructor.
4712         (isUnshared): New method.
4713
4714 2003-06-20  Michael Koch  <konqueror@gmx.de>
4715
4716         * java/net/URLStreamHandler.java
4717         (hostsEqual): Rewritten.
4718
4719 2003-06-20  Michael Koch  <konqueror@gmx.de>
4720
4721         * gnu/java/nio/MappedByteFileBuffer.java,
4722         gnu/java/nio/natMappedByteFileBuffer.cc:
4723         Removed
4724         * java/nio/MappedByteBufferImpl.java:
4725         New file.
4726         * gnu/java/nio/FileChannelImpl.java:
4727         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4728         * Makefile.am
4729         (ordinary_java_source_files): Removed
4730         gnu/java/nio/MappedByteFileBuffer.java and added
4731         java/nio/MappedByteBufferImpl.java.
4732         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4733         * Makefile.in: Regenerated.
4734
4735 2003-06-19  Michael Koch  <konqueror@gmx.de>
4736
4737         * gnu/java/nio/DatagramChannelImpl.java
4738         (fd): Removed.
4739         (blocking): New member variable.
4740         (socket): Likewise.
4741         (DatagramChannelImpl): Throws IOException, initialize socket.
4742         (socket):Implemented.
4743         (implCloseSelectableChannel): Throws IOException, implemented.
4744         (implConfigureBlocking): Likewise.
4745         (connect): Likewise.
4746         (disconnect): Likewise.
4747         (isConnected): Likewise.
4748         (write): Likewise.
4749         (read): Likewise.
4750         (receive): Throws IOException.
4751         (send): Likewise.
4752         * gnu/java/nio/SocketChannelImpl.java
4753         (read): Implemented.
4754         (write): Implemented.
4755
4756 2003-06-19  Michael Koch  <konqueror@gmx.de>
4757
4758         * javax/swing/JComponent.java,
4759         javax/swing/JInternalFrame.java,
4760         javax/swing/MenuSelectionManager.java,
4761         javax/swing/SwingUtilities.java,
4762         javax/swing/ToggleButtonModel.java:
4763         New versions from classpath.
4764
4765 2003-06-19  Michael Koch  <konqueror@gmx.de>
4766
4767         * java/text/CollationElementIterator.java
4768         (NULLORDER): Initialize with -1 as JDK documentation says.
4769
4770 2003-06-19  Michael Koch  <konqueror@gmx.de>
4771
4772         * java/net/HttpURLConnection.java,
4773         java/net/Inet4Address.java,
4774         java/net/Inet6Address.java,
4775         java/net/SocketImpl.java,
4776         java/net/URLClassLoader.java:
4777         Reworked import statements.
4778         * java/net/InetAddress.java
4779         (getByAddress): Simplified.
4780         * java/net/ServerSocket.java
4781         (ServerSocket): Moved special handling during bind operation to
4782         bind().
4783         (bind): Handle different cases when trying to bind a socket.
4784         * java/net/URLConnection.java
4785         (getHeaderFieldDate): Merged with classpath.
4786         (getHeaderFieldInt): Likewise.
4787
4788 2003-06-19  Michael Koch  <konqueror@gmx.de>
4789
4790         * java/util/zip/InflaterInputStream.java
4791         (InflaterInputStream): Throw NullPointerException if in is null (as
4792         JDK does).
4793
4794 2003-06-19  Michael Koch  <konqueror@gmx.de>
4795
4796         * java/awt/Font.java
4797         javax/swing/UIManager.java
4798         javax/swing/border/AbstractBorder.java
4799         javax/swing/border/BevelBorder.java
4800         javax/swing/border/Border.java
4801         javax/swing/border/CompoundBorder.java
4802         javax/swing/border/EmptyBorder.java
4803         javax/swing/border/EtchedBorder.java
4804         javax/swing/border/LineBorder.java
4805         javax/swing/border/MatteBorder.java
4806         javax/swing/border/TitledBorder.java
4807         javax/swing/plaf/BorderUIResource.java
4808         javax/swing/plaf/basic/BasicBorders.java
4809         javax/swing/plaf/basic/BasicButtonUI.java
4810         javax/swing/plaf/basic/BasicCheckBoxUI.java
4811         javax/swing/plaf/basic/BasicGraphicsUtils.java
4812         javax/swing/plaf/basic/BasicLabelUI.java
4813         javax/swing/plaf/basic/BasicRadioButtonUI.java
4814         javax/swing/plaf/basic/BasicToggleButtonUI.java:
4815         New versions from classpath.
4816         * javax/swing/border/SoftBevelBorder.java:
4817         New file from classpath.
4818         * javax/swing/border/doc-files/LineBorder-1.png,
4819         javax/swing/border/doc-files/BevelBorder-1.png,
4820         javax/swing/border/doc-files/BevelBorder-2.png,
4821         javax/swing/border/doc-files/BevelBorder-3.png,
4822         javax/swing/border/doc-files/EmptyBorder-1.png,
4823         javax/swing/border/doc-files/EtchedBorder-1.png,
4824         javax/swing/border/doc-files/EtchedBorder-2.png,
4825         javax/swing/border/doc-files/MatteBorder-1.png,
4826         javax/swing/border/doc-files/MatteBorder-2.png,
4827         javax/swing/border/doc-files/MatteBorder-3.png,
4828         javax/swing/border/doc-files/MatteBorder-4.png,
4829         javax/swing/border/doc-files/MatteBorder-5.png,
4830         javax/swing/border/doc-files/MatteBorder-6.png,
4831         javax/swing/border/doc-files/SoftBevelBorder-1.png,
4832         javax/swing/border/doc-files/SoftBevelBorder-2.png,
4833         javax/swing/border/doc-files/SoftBevelBorder-3.png,
4834         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4835         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4836         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4837         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4838         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4839         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4840         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4841         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4842         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4843         New binary files from classpath.
4844         * Makefile.am
4845         (awt_java_source_files): Added
4846         javax/swing/border/SoftBevelBorder.java.
4847         * Makefile.in: Regenerated.
4848
4849 2003-06-19  Michael Koch  <konqueror@gmx.de>
4850
4851         * gnu/java/security/x509/X509Certificate.java
4852         (writeReplace): Merged from classpath.
4853
4854 2003-06-19  Michael Koch  <konqueror@gmx.de>
4855
4856         * gnu/java/nio/FileChannelImpl.java
4857         (map_address): Made public.
4858         (FileChannelImpl): Merged with classpath.
4859         * gnu/java/nio/natFileChannelImpl.cc
4860         (nio_mmap_file): Commented out unused arguments.
4861         (nio_unmmap_file): Likewise.
4862         (niu_msync): Likewise.
4863
4864 2003-06-19  Michael Koch  <konqueror@gmx.de>
4865
4866         * java/awt/image/IndexColorModel.java:
4867         New version from classpath.
4868
4869 2003-06-18  Tom Tromey  <tromey@redhat.com>
4870
4871         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4872         on arrays.
4873         (isLoopbackAddress): Likewise.
4874         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4875         on arrays.
4876
4877 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
4878
4879         * java/lang/natVMSecurityManager.cc (getClassContext):
4880         Use maxlen instead of len for loop bound.
4881
4882 2003-06-18  Michael Koch  <konqueror@gmx.de>
4883
4884         * gnu/java/nio/SelectorImpl.java
4885         (register): Use fd with value 0 for now, will be fixed later.
4886         * gnu/java/nio/ServerSocketChannelImpl.java
4887         (fd): Removed.
4888         (local_port): Removed.
4889         (InetSocketAddress): Removed.
4890         (ServerSocketChannelImpl): Just initialize internal socket object.
4891         (implCloseSelectableChannel): Close internal socket object.
4892         (implConfigureBlocking): Added comment.
4893         (accept): Use jaba.net stuff to accept socket.
4894         * gnu/java/nio/SocketChannelImpl.java
4895         (fd): Removed.
4896         (local_port): Removed.
4897         (InetSocketAddress): Removed.
4898         (SocketCreate): Removed.
4899         (SocketConnect): Removed.
4900         (SocketBind): Removed.
4901         (SocketListen): Removed.
4902         (SocketAvailable): Removed.
4903         (SocketClose): Removed.
4904         (SocketRead): Removed.
4905         (SocketWrite): Removed.
4906         (SocketChannelImpl): Just initialize internal socket object.
4907         (implCloseSelectableChannel): Close internal socket object.
4908         (implConfigureBlocking): Fixed implementation, added comment.
4909         (connect): Use internal socket object to connect.
4910         (socket): No need for sanity checks.
4911         (read): Comment out some stuff, this will be reimplemented in the next
4912         commit.
4913         (write): Likewise.
4914         * gnu/java/nio/natFileChannelImpl.cc
4915         (nio_mmap_file): Line wrapped.
4916         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
4917         * Makefile.am
4918         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
4919         * Makefile.in: Regenerated.
4920
4921 2003-06-18  Michael Koch  <konqueror@gmx.de>
4922
4923         * java/util/Locale.java
4924         (equals): Merged from classpath.
4925
4926 2003-06-18  Michael Koch  <konqueror@gmx.de>
4927
4928         * java/net/InetAddress.java:
4929         Reformatted to better match classpath's version.
4930         * java/net/URL.java
4931         (equals): Simplified.
4932         * java/net/URLConnection.java
4933         (setDoInput): Revised documentation.
4934         (getDefaultUseCaches): Likewise.
4935         (setRequestProperty): Added @since tag.
4936
4937 2003-06-17  Michael Koch  <konqueror@gmx.de>
4938
4939         * java/net/InetSocketAddress.java
4940         (InetSocketAddress): Use wildcard address if addr is null.
4941         (InetSocketAddress): Dont duplicate implementation.
4942         (InetSocketAddress): Throw exception when hostname is null.
4943         * java/net/Socket.java:
4944         Reworked imports.
4945         (Socket): Throw exception when raddr is null, handle case when laddr
4946         is null.
4947
4948 2003-06-17  Michael Koch  <konqueror@gmx.de>
4949
4950         * java/nio/DirectByteBufferImpl.java
4951         (address): Made package private.
4952         (DirectByteBufferImpl): New constructor.
4953         * java/nio/natDirectByteBufferImpl.cc
4954         (allocateImpl): Moved to java.nio namespace, implemented.
4955         (freeImpl): Likewise.
4956         (getImpl): Likewise.
4957         (putImpl): Likewise.
4958         * jni.cc
4959         (_Jv_JNI_NewDirectByteBuffer): Implemented.
4960         (_Jv_JNI_GetDirectBufferAddress): Implemented.
4961         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
4962
4963 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4964
4965         * include/powerpc-signal.h: New File.
4966         * configure.in: Use it.
4967         * configure: Regenerated.
4968
4969 2003-06-17  Michael Koch  <konqueror@gmx.de>
4970
4971         * java/util/Locale.java
4972         (getDisplayLanguage): Made it final.
4973         (getDisplayCountry): Likewise.
4974         (getDisplayVariant): Likewise.
4975         (getDisplayName): Likewise.
4976
4977 2003-06-17  Michael Koch  <konqueror@gmx.de>
4978
4979         * java/util/PropertyResourceBundle.java:
4980         Removed unneeded import.
4981
4982 2003-06-17  Michael Koch  <konqueror@gmx.de>
4983
4984         * java/util/prefs/AbstractPreferences.java,
4985         java/util/prefs/PreferencesFactory.java:
4986         Reworked imports, removed unused imports.
4987         * java/util/prefs/Preferences.java
4988         (systemNodeForPackage): Method takes a Class not an Object.
4989         (userNodeForPackage): Likewise.
4990         (nodeForPackage): Likewise.
4991
4992 2003-06-17  Michael Koch  <konqueror@gmx.de>
4993
4994         * gnu/java/security/x509/X509Certificate.java:
4995         Explicitely import used classes.
4996
4997 2003-06-17  Michael Koch  <konqueror@gmx.de>
4998
4999         * java/util/zip/ZipEntry.java,
5000         java/util/zip/ZipFile.java,
5001         java/util/zip/ZipInputStream.java,
5002         java/util/zip/ZipOutputStream.java:
5003         Reworked imports, only import used classes.
5004
5005 2003-06-17  Michael Koch  <konqueror@gmx.de>
5006
5007         * gnu/java/lang/ArrayHelper.java,
5008         gnu/java/lang/ClassHelper.java:
5009         Reformatted to match classpath's versions.
5010
5011 2003-06-14  Michael Koch  <konqueror@gmx.de>
5012
5013         * gnu/java/nio/FileChannelImpl.java
5014         (map_address): Removed incorrect comment.        
5015         * gnu/java/nio/SelectorImpl.java
5016         (register): Remove code duplication and code for file channel handling.        
5017         * gnu/java/nio/ServerSocketChannelImpl.java
5018         (serverSocket): Renamed from sock_object.
5019         (ServerSocketChannel): Initialize serverSocket.
5020         (socket): Return serverSocket.
5021         * gnu/java/nio/SocketChannelImpl.java
5022         (socket): Renamed from sock_object.
5023         (isConnectionPenging): Simplified.
5024         (socket): Return socket.
5025 2003-06-14  Michael Koch  <konqueror@gmx.de>
5026
5027         * java/security/BasicPermission.java:
5028         New version from classpath.
5029
5030 2003-06-14  Michael Koch  <konqueror@gmx.de>
5031
5032         * javax/naming/directory/Attribute.java:
5033         New version from classpath.
5034
5035 2003-06-14  Michael Koch  <konqueror@gmx.de>
5036
5037         * java/io/BufferedReader.java,
5038         java/io/FileOutputStream.java:
5039         New versions from classpath.
5040
5041 2003-06-12  Andrew Haley  <aph@redhat.com>
5042
5043         * prims.cc (catch_segv): Create exception in handler.
5044         (catch_fpe): Likewise.  
5045         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5046         (_Jv_ThrowSignal): Remove.
5047
5048         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5049         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5050         to nullp and arithexception.
5051         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5052         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5053         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5054         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5055         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5056
5057 2003-06-11  Andrew Haley  <aph@redhat.com>
5058
5059         * jni.cc (_Jv_JNI_check_types): New.
5060         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5061         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5062         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5063         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5064         
5065         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5066         infinite loop.
5067
5068 2003-06-11  Tom Tromey  <tromey@redhat.com>
5069
5070         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5071         * java/io/PrintStream.java: Not deprecated.
5072
5073 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5074
5075         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5076         (fillOval): implemented
5077         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5078         (fillArc): implemented.
5079         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5080         (fillArc): added native method.
5081         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5082         (fillArc): added native method.
5083
5084 2003-06-11  Michael Koch  <konqueror@gmx.de>
5085
5086         * java/awt/im/InputSubset.java:
5087         New version from classpath.
5088
5089 2003-06-11  Michael Koch  <konqueror@gmx.de>
5090
5091         * javax/swing/AbstractAction.java,
5092         javax/swing/AbstractButton.java,
5093         javax/swing/AbstractCellEditor.java,
5094         javax/swing/AbstractListModel.java,
5095         javax/swing/BorderFactory.java,
5096         javax/swing/Box.java,
5097         javax/swing/BoxLayout.java,
5098         javax/swing/ButtonGroup.java,
5099         javax/swing/DefaultButtonModel.java,
5100         javax/swing/DefaultListModel.java,
5101         javax/swing/DefaultListSelectionModel.java,
5102         javax/swing/FocusManager.java,
5103         javax/swing/ImageIcon.java,
5104         javax/swing/InputMap.java,
5105         javax/swing/JApplet.java,
5106         javax/swing/JButton.java,
5107         javax/swing/JCheckBox.java,
5108         javax/swing/JCheckBoxMenuItem.java,
5109         javax/swing/JColorChooser.java,
5110         javax/swing/JComboBox.java,
5111         javax/swing/JComponent.java,
5112         javax/swing/JDesktopPane.java,
5113         javax/swing/JDialog.java,
5114         javax/swing/JEditorPane.java,
5115         javax/swing/JFileChooser.java,
5116         javax/swing/JFormattedTextField.java,
5117         javax/swing/JFrame.java,
5118         javax/swing/JLabel.java,
5119         javax/swing/JLayeredPane.java,
5120         javax/swing/JList.java,
5121         javax/swing/JMenuBar.java,
5122         javax/swing/JMenuItem.java,
5123         javax/swing/JOptionPane.java,
5124         javax/swing/JPanel.java,
5125         javax/swing/JPasswordField.java,
5126         javax/swing/JPopupMenu.java,
5127         javax/swing/JProgressBar.java,
5128         javax/swing/JRadioButton.java,
5129         javax/swing/JRadioButtonMenuItem.java,
5130         javax/swing/JRootPane.java,
5131         javax/swing/JScrollBar.java,
5132         javax/swing/JScrollPane.java,
5133         javax/swing/JSeparator.java,
5134         javax/swing/JSlider.java,
5135         javax/swing/JTabbedPane.java,
5136         javax/swing/JTable.java,
5137         javax/swing/JTextField.java,
5138         javax/swing/JToggleButton.java,
5139         javax/swing/JToolBar.java,
5140         javax/swing/JToolTip.java,
5141         javax/swing/JTree.java,
5142         javax/swing/JViewport.java,
5143         javax/swing/JWindow.java,
5144         javax/swing/KeyStroke.java,
5145         javax/swing/ListSelectionModel.java,
5146         javax/swing/LookAndFeel.java,
5147         javax/swing/RepaintManager.java,
5148         javax/swing/ScrollPaneLayout.java,
5149         javax/swing/SizeRequirements.java,
5150         javax/swing/SwingConstants.java,
5151         javax/swing/Timer.java,
5152         javax/swing/UIDefaults.java,
5153         javax/swing/UIManager.java,
5154         javax/swing/border/AbstractBorder.java,
5155         javax/swing/border/CompoundBorder.java,
5156         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5157         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5158         javax/swing/colorchooser/ColorSelectionModel.java,
5159         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5160         javax/swing/event/AncestorEvent.java,
5161         javax/swing/event/HyperlinkEvent.java,
5162         javax/swing/event/InternalFrameAdapter.java,
5163         javax/swing/event/InternalFrameEvent.java,
5164         javax/swing/event/ListDataEvent.java,
5165         javax/swing/event/MouseInputAdapter.java,
5166         javax/swing/event/SwingPropertyChangeSupport.java,
5167         javax/swing/event/TableModelEvent.java,
5168         javax/swing/event/TreeWillExpandListener.java,
5169         javax/swing/event/UndoableEditEvent.java,
5170         javax/swing/filechooser/FileFilter.java,
5171         javax/swing/filechooser/FileSystemView.java,
5172         javax/swing/filechooser/FileView.java,
5173         javax/swing/plaf/BorderUIResource.java,
5174         javax/swing/plaf/basic/BasicDefaults.java,
5175         javax/swing/table/AbstractTableModel.java,
5176         javax/swing/table/DefaultTableCellRenderer.java,
5177         javax/swing/table/DefaultTableColumnModel.java,
5178         javax/swing/table/DefaultTableModel.java,
5179         javax/swing/table/TableColumn.java,
5180         javax/swing/text/JTextComponent.java,
5181         javax/swing/tree/AbstractLayoutCache.java,
5182         javax/swing/tree/DefaultMutableTreeNode.java,
5183         javax/swing/tree/DefaultTreeCellEditor.java,
5184         javax/swing/tree/DefaultTreeCellRenderer.java,
5185         javax/swing/tree/DefaultTreeModel.java,
5186         javax/swing/tree/DefaultTreeSelectionModel.java,
5187         javax/swing/tree/FixedHeightLayoutCache.java,
5188         javax/swing/tree/TreeCellEditor.java,
5189         javax/swing/tree/TreeModel.java,
5190         javax/swing/tree/TreeNode.java,
5191         javax/swing/tree/TreePath.java,
5192         javax/swing/tree/TreeSelectionModel.java,
5193         javax/swing/tree/VariableHeightLayoutCache.java,
5194         javax/swing/undo/AbstractUndoableEdit.java,
5195         javax/swing/undo/CompoundEdit.java,
5196         javax/swing/undo/StateEdit.java,
5197         javax/swing/undo/UndoManager.java,
5198         javax/swing/undo/UndoableEditSupport.java:
5199         New versions from classpath.
5200         * javax/swing/table/JTableHeader.java:
5201         New file from classpath.
5202         * Makefile.am
5203         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5204         * Makefile.in: Regenerated.
5205
5206 2003-06-11  Michael Koch  <konqueror@gmx.de>
5207
5208         * java/nio/MappedByteBuffer.java,
5209         java/nio/channels/Channels.java,
5210         java/nio/channels/ServerSocketChannel.java,
5211         java/nio/channels/spi/AbstractSelector.java:
5212         Removed unneeded imports.
5213
5214 2003-06-11  Michael Koch  <konqueror@gmx.de>
5215
5216         * java/net/DatagramSocket.java:
5217         Partly merged with classpath.
5218
5219 2003-06-11  Michael Koch  <konqueror@gmx.de>
5220
5221         * java/awt/Frame.java,
5222         java/awt/Graphics.java,
5223         java/awt/Menu.java,
5224         java/awt/Robot.java,
5225         java/awt/image/ColorModel.java:
5226         New versions from classpath.
5227
5228 2003-06-10  Michael Koch  <konqueror@gmx.de>
5229
5230         * java/io/PrintStream.java:
5231         Merged version from classpath.
5232         (close): Removed sychronized keyword. This class is not garantied to
5233         be thread-safe.
5234         (write): Likewise.
5235
5236 2003-06-09  Tom Tromey  <tromey@redhat.com>
5237
5238         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5239         field.
5240         (getDescent): Likewise, for "descent".
5241
5242 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5243
5244         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5245         (getMaxDescent): adjusted return value.
5246         (getAscent): modified to use metrics for 'O'.
5247         (getDescent): modified to use metrics for 'y'.
5248
5249 2003-06-08  Anthony Green  <green@redhat.com>
5250
5251         * java/net/URLStreamHandler.java (sameFile): Fix port value
5252         comparison.
5253         * java/net/URL.java (handler): Make package private.
5254         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5255
5256 2003-06-07  Tom Tromey  <tromey@redhat.com>
5257
5258         For PR libgcj/11085:
5259         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5260         Limit number of characters in numeric field when required.
5261         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5262         Respect maximumIntegerDigits.
5263
5264 2003-06-08  Michael Koch  <konqueror@gmx.de>
5265
5266         * java/net/Socket.java
5267         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5268         call bind() and connect() to actually do the bind and connect tasks.
5269         (bind): Connect to canonical address if bindpoint is null, create
5270         socket and bind it to bindpoint.
5271         (connect): Check for exceptions.
5272
5273 2003-06-08  Michael Koch  <konqueror@gmx.de>
5274
5275         * java/net/DatagramSocket.java
5276         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5277         into the Multicast constructors.
5278         * java/net/DatagramSocketImpl.java
5279         (getOption): Removed.
5280         (setOption): Removed.
5281         * java/net/MulticastSocket.java
5282         (MulticastSocket): Call setReuseAddress (true).
5283         * java/net/SocketImpl.java
5284         (getOption): Removed.
5285         (setOption): Removed.
5286
5287 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5288
5289         PR libgcj/10886:
5290         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5291         Test for empty vector.
5292
5293 2003-06-06  Mark Wielaard  <mark@klomp.org>
5294
5295         * java/security/Security.java (secprops): Initialize.
5296         (loadProviders): Return boolean.
5297         (static): Check result of loadProvider calls. If necessary
5298         display WARNING and fallback to Gnu provider.
5299
5300 2002-06-06  James Clark  <jjc@jclark.com>
5301
5302         Fix for PR libgcj/8738:
5303         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5304         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5305         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5306         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5307         (write): Always decrease avail when count is increased.
5308         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5309         and whether output buffer is full before increasing size.
5310
5311 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5312
5313         * java/io/PrintStream.java (writeChars(char[],int, int)):
5314         Check converter.havePendingBytes().
5315         (writeChars(String,int,int)): Likewise.
5316         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5317         Check converter.havePendingBytes() and flush buffer when stalled.
5318
5319 2003-06-07  Michael Koch  <konqueror@gmx.de>
5320
5321         * include/posix.h
5322         (O_DSYNC): Define O_DSYNC on platforms not
5323         supporting O_FSYNC (newlib).
5324
5325 2003-06-06  Mark Wielaard  <mark@klomp.org>
5326
5327         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5328         AWTError.
5329
5330 2003-06-06  Michael Koch  <konqueror@gmx.de>
5331
5332         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5333         More compile fixes from my stupid work yesterday.
5334
5335 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5336
5337         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5338         if _IEEE_LIBM is undefined.
5339
5340 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5341
5342         * libjava/include/posix.h (O_SYNC): Define if not available
5343         and a reasonable, perhaps more conservative, replacement exists.
5344         (O_DSYNC): Likewise.
5345         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5346
5347 2003-06-05  Michael Koch  <konqueror@gmx.de>
5348
5349         * javax/swing/plaf/BorderUIResource.java,
5350         javax/swing/plaf/basic/BasicDefaults.java,
5351         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5352         More compile fixes for latest Border commit. I should not commit
5353         something in this heat here ...
5354
5355 2003-06-05  Michael Koch  <konqueror@gmx.de>
5356
5357         * javax/swing/border/BevelBorder.java
5358         (BevelBorder): Removed.
5359         * javax/swing/border/EmptyBorder.java:
5360         Reformatted.
5361         (EmptyBorder): Removed.
5362         (getBorderInsets): Dont use l, r, t and b.
5363         * javax/swing/border/EtchedBorder.java
5364         (EtchedBorder): Removed.
5365         * javax/swing/border/LineBorder.java
5366         (LineBorder): Removed.
5367         * javax/swing/border/MatteBorder.java
5368         (MatteBorder): Removed.
5369         * javax/swing/border/TitledBorder.java
5370         (defaultBorder): Use other default for now.
5371         (defaultFont): Likewise.
5372         (defaultColor): Likewise.
5373
5374 2003-06-05  Michael Koch  <konqueror@gmx.de>
5375
5376         * javax/swing/border/Border.java:
5377         New version from classpath.
5378
5379 2003-06-05  Michael Koch  <konqueror@gmx.de>
5380
5381         * javax/swing/border/AbstractBorder.java,
5382         javax/swing/border/BevelBorder.java,
5383         javax/swing/border/CompoundBorder.java,
5384         javax/swing/border/EmptyBorder.java,
5385         javax/swing/border/EtchedBorder.java,
5386         javax/swing/border/LineBorder.java,
5387         javax/swing/border/MatteBorder.java,
5388         javax/swing/border/TitledBorder.java:
5389         New versions from Classpath.
5390
5391 2003-06-05  Michael Koch  <konqueror@gmx.de>
5392
5393         * java/awt/Button.java,
5394         java/awt/Checkbox.java,
5395         java/awt/CheckboxMenuItem.java,
5396         java/awt/Choice.java,
5397         java/awt/Container.java,
5398         java/awt/Dialog.java,
5399         java/awt/EventQueue.java,
5400         java/awt/FileDialog.java,
5401         java/awt/Frame.java,
5402         java/awt/Label.java,
5403         java/awt/List.java,
5404         java/awt/Menu.java,
5405         java/awt/MenuItem.java,
5406         java/awt/Panel.java,
5407         java/awt/PopupMenu.java,
5408         java/awt/Rectangle.java,
5409         java/awt/ScrollPane.java,
5410         java/awt/Scrollbar.java,
5411         java/awt/TextArea.java,
5412         java/awt/TextField.java,
5413         java/awt/Window.java,
5414         java/awt/datatransfer/DataFlavor.java,
5415         java/awt/dnd/DragSource.java,
5416         java/awt/dnd/DragSourceContext.java,
5417         java/awt/event/HierarchyEvent.java,
5418         java/awt/event/MouseWheelEvent.java,
5419         java/awt/im/InputContext.java,
5420         java/awt/image/BufferedImage.java,
5421         java/awt/image/ComponentColorModel.java,
5422         java/awt/image/Raster.java,
5423         java/awt/image/WritableRaster.java,
5424         java/awt/peer/ComponentPeer.java,
5425         java/awt/print/PageFormat.java,
5426         java/awt/print/PrinterJob.java:
5427         New versions from Classpath.
5428
5429 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5430
5431         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5432         numberFormat.setParseIntegerOnly(true).
5433
5434 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5435
5436         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5437
5438 2003-06-03  Andrew Haley  <aph@redhat.com>
5439
5440         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5441         stack volatile to prevent optimization from removing it.
5442
5443 2003-05-27  Michael Koch  <konqueror@gmx.de>
5444
5445         * java/util/zip/Deflater.java
5446         (FILTERED): Merged documentation from classpath.
5447         * java/util/zip/DeflaterOutputStream.java
5448         (DeflaterOutputStream): Merged documentation and argument validity
5449         check from classpath.
5450         (deflate): Merged documentation from classpath.
5451         (finish): Likewise.
5452         * java/util/zip/Inflater.java
5453         (Inflater): Merged class documentation from classpath.
5454         (zstream): Reordered.
5455         (is_finished): Reordered.
5456         (dict_needed): Reordered.
5457         (Inflater): Reordered, merged documentation from classpath.
5458         (end): Likewise.
5459         (finalize): Merged documentation from classpath.
5460         (finished): Likewise.
5461         (getAdler): Likewise.
5462         (getRemaining): Likewise.
5463         (getTotalIn): Likewise.
5464         (getTotalOut): Likewise.
5465         (inflate): Likewise.
5466         (needsDictionary): Likewise.
5467         (needsInput): Likewise.
5468         (reset): Likewise.
5469         (setDictionary): Likewise.
5470         (setInput): Likewise.
5471
5472 2003-05-27  Michael Koch  <konqueror@gmx.de>
5473
5474         * java/net/URLConnection.java
5475         (getHeaderFieldInt): Merged with classpath.
5476
5477 2003-05-27  Michael Koch  <konqueror@gmx.de>
5478
5479         * java/io/PrintStream.java
5480         (PrintStream): Reformatted.
5481         (PrintStream): New method, merged from classpath.
5482         (write): Reformatted.
5483
5484 2003-05-27  Michael Koch  <konqueror@gmx.de>
5485
5486         * java/lang/System.java:
5487         Explicitely import needed classes.
5488
5489 2003-05-26  Michael Koch  <konqueror@gmx.de>
5490
5491         * java/net/NetPermission.java,
5492         java/net/NetworkInterface.java,
5493         java/net/PasswordAuthentication.java,
5494         java/net/SocketPermission.java:
5495         New versions from classpath.
5496
5497 2003-05-25  Michael Koch  <konqueror@gmx.de>
5498
5499         * java/io/PushbackInputStream.java,
5500         java/net/Authenticator.java,
5501         java/net/ContentHandler.java,
5502         java/net/ContentHandlerFactory.java,
5503         java/net/DatagramSocket.java,
5504         java/net/DatagramSocketImpl.java,
5505         java/net/DatagramSocketImplFactory.java,
5506         java/net/FileNameMap.java,
5507         java/net/SocketImplFactory.java,
5508         java/net/SocketOptions.java,
5509         java/net/URLStreamHandlerFactory.java:
5510         Merged new versions from classpath.
5511
5512 2003-05-25  Michael Koch  <konqueror@gmx.de>
5513
5514         * java/awt/Checkbox.java,
5515         java/awt/Dialog.java,
5516         java/awt/Font.java,
5517         java/awt/Frame.java,
5518         java/awt/ScrollPaneAdjustable.java,
5519         java/awt/Scrollbar.java,
5520         java/awt/Window.java:
5521         New versions from classpath.
5522
5523 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5524
5525         PR libgcj/10838:
5526         * java/io/ObjectInputStream (enableResolveObject):
5527         Fixed spelling of permission name.
5528
5529 2003-05-20  Michael Koch  <konqueror@gmx.de>
5530
5531         * java/io/DataInputStream.java
5532         (convertFromUTF): Merged comment from classpath.
5533         * java/io/PrintStream.java
5534         (error_occured): Renamed from error, merged comment from classpath.
5535         (PrintStream): No need to initialized error.
5536         (checkError): Replace error with error_occurred.
5537         (setError): Likewise.
5538
5539 2003-05-20  Michael Koch  <konqueror@gmx.de>
5540
5541         * java/io/DataInputStream.java:
5542         Reformatted, Replaced < and & with html entitites in documentation.
5543         * java/io/File.java:
5544         Reformatted.
5545         * java/io/PrintWriter.java:
5546         Moved class documentation.
5547
5548 2003-05-20  Michael Koch  <konqueror@gmx.de>
5549
5550         * gnu/java/nio/ByteBufferImpl.java,
5551         gnu/java/nio/CharBufferImpl.java,
5552         gnu/java/nio/CharViewBufferImpl.java,
5553         gnu/java/nio/DirectByteBufferImpl.java,
5554         gnu/java/nio/DoubleBufferImpl.java,
5555         gnu/java/nio/DoubleViewBufferImpl.java,
5556         gnu/java/nio/FloatBufferImpl.java,
5557         gnu/java/nio/FloatViewBufferImpl.java,
5558         gnu/java/nio/IntBufferImpl.java,
5559         gnu/java/nio/IntViewBufferImpl.java,
5560         gnu/java/nio/LongBufferImpl.java,
5561         gnu/java/nio/LongViewBufferImpl.java,
5562         gnu/java/nio/natDirectByteBufferImpl.cc,
5563         gnu/java/nio/ShortBufferImpl.java,
5564         gnu/java/nio/ShortViewBufferImpl.java:
5565         Moved files to java/nio.
5566         * gnu/java/nio/SocketChannelImpl.java
5567         
5568         * java/nio/ByteBuffer.java,
5569         java/nio/CharBuffer.java,
5570         java/nio/DoubleBuffer.java,
5571         java/nio/FloatBuffer.java,
5572         java/nio/IntBuffer.java,
5573         java/nio/LongBuffer.java,
5574         java/nio/ShortBuffer.java:
5575         Dont import anything.
5576         * java/nio/ByteBufferImpl.java,
5577         java/nio/CharBufferImpl.java,
5578         java/nio/CharViewBufferImpl.java,
5579         java/nio/DirectByteBufferImpl.java,
5580         java/nio/DoubleBufferImpl.java,
5581         java/nio/DoubleViewBufferImpl.java,
5582         java/nio/FloatBufferImpl.java,
5583         java/nio/FloatViewBufferImpl.java,
5584         java/nio/IntBufferImpl.java,
5585         java/nio/IntViewBufferImpl.java,
5586         java/nio/LongBufferImpl.java,
5587         java/nio/LongViewBufferImpl.java,
5588         java/nio/natDirectByteBufferImpl.cc,
5589         java/nio/ShortBufferImpl.java,
5590         java/nio/ShortViewBufferImpl.java:
5591         Moved from gnu/java/nio.
5592         * Makefile.am
5593         (ordinary_java_source_files): Moved files from gnu/java/nio to
5594         java/nio.
5595         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5596         to java/nio.
5597         * Makefile.in: Regenerated.
5598
5599 2003-05-19  Michael Koch  <konqueror@gmx.de>
5600
5601         * java/util/Calendar.java
5602         (get): Not final anymore since JDK 1.4
5603         (set): Likewise.
5604
5605 2003-05-19  Michael Koch  <konqueror@gmx.de>
5606
5607         * java/text/CollationKey.java:
5608         Merged copyright and dat from classpath.
5609         * java/text/RuleBasedCollator.java:
5610         Merged class documentation from classpath.
5611
5612 2003-05-19  Michael Koch  <konqueror@gmx.de>
5613
5614         * java/nio/CharBuffer.java
5615         (toString): Compile fix.
5616
5617 2003-05-19  Michael Koch  <konqueror@gmx.de>
5618
5619         * gnu/java/nio/ByteBufferImpl.java
5620         (putLong): Fixed conversion to bytes.
5621         (putDouble): Fixed conversion to bytes.
5622         * gnu/java/nio/DirectByteBufferImpl.java
5623         (putLong): Fixed conversion to bytes.
5624         (putDouble): Fixed conversion to bytes.
5625         * gnu/java/nio/FileLockImpl.java
5626         (isValid): Reformatted.
5627         * java/nio/Buffer.java
5628         (Buffer): Fixed off-by-one bug in handling mark.
5629         * java/nio/ByteBuffer.java:
5630         Added newline.
5631         * java/nio/CharBuffer.java
5632         (toString): Don't use relative get to get string data.
5633
5634 2003-05-16  Michael Koch  <konqueror@gmx.de>
5635
5636         * java/io/natFileDescriptorPosix.cc
5637         (open): Commented out the O_SYNC and O_DSYNC usage until its better
5638         tested.
5639
5640 2003-05-14  Michael Koch  <konqueror@gmx.de>
5641
5642         * gnu/java/nio/FileLockImpl.java
5643         (released): New member variable.
5644         (FileLockImpl): Initialize released.
5645         (releaseImpl): New native method.
5646         (release): Implemented.
5647         * gnu/java/nio/SelectorImpl.java: Reformatted.
5648         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5649         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5650         (accept): Throws IOException.
5651         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5652         (implConfigureBlocking): Throws IOException.
5653         (connect): Likewise.
5654         (read): Likewise.
5655         (write): Likewise.
5656         * gnu/java/nio/natFileLockImpl.cc: New file.
5657         * java/nio/channels/FileLock.java: Reformatted.
5658         * Makefile.am:
5659         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5660         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5661         * Makefile.in: Regenerated.
5662
5663 2003-05-13  Michael Koch  <konqueror@gmx.de>
5664
5665         * gnu/java/nio/CharViewBufferImpl.java
5666         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5667         (get): Shift bits to the right direction.
5668         (put): Likewise.
5669         * gnu/java/nio/DoubleViewBufferImpl.java
5670         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5671         (get): Shift bits to the right direction.
5672         (put): Likewise.
5673         * gnu/java/nio/FloatViewBufferImpl.java
5674         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5675         (get): Shift bits to the right direction.
5676         (put): Likewise.
5677         * gnu/java/nio/IntViewBufferImpl.java
5678         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5679         (get): Shift bits to the right direction.
5680         (put): Likewise.
5681         * gnu/java/nio/LongViewBufferImpl.java
5682         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5683         (get): Shift bits to the right direction.
5684         (put): Likewise.
5685         * gnu/java/nio/ShortViewBufferImpl.java
5686         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5687         (get): Shift bits to the right direction.
5688         (put): Likewise.
5689
5690 2003-05-13  Michael Koch  <konqueror@gmx.de>
5691
5692         * gnu/java/nio/natDirectByteBufferImpl.cc
5693         (allocateImpl): jlong -> RawData*.
5694         (freeImpl): Likewise.
5695
5696 2003-05-13  Michael Koch  <konqueror@gmx.de>
5697
5698         * java/nio/channels/FileChannel.java
5699         (MapMode.m): Made it package-private to match JDK 1.4.
5700         * java/nio/charset/Charset.java
5701         (decode): Made it final to match JDK 1.4.
5702
5703 2003-05-13  Michael Koch  <konqueror@gmx.de>
5704
5705        * java/io/FileDescriptor.java
5706        (SYNC): New constant.
5707        (DSYNC): Likewise.
5708        (getLength): Renamed from lenght() to match classpath's
5709        FileDescriptor.java.
5710        * java/io/RandomAccessFile.java
5711        (RandomAccessFile): Removed unneeded mode check, implemented mode
5712        "rws" and "rwd", merged documentation from classpath.
5713        (setLength): Reformatted.
5714        (length): Use new getLength() of FileDescriptor.
5715        * java/io/natFileDescriptorEcos.cc
5716        (getLength): Renamed from length().
5717        * java/io/natFileDescriptorPosix.cc
5718        (open): Implemented support for SYNC and DSYNC.
5719        (seek): Use getLength() instead of length().
5720        (getLength): Renamed from length().
5721        * java/io/natFileDescriptorWin32.cc
5722        (getLength): Renamed from length().
5723        (seek): Use getLength() instead of length().
5724        (available): Likewise.
5725        * gnu/java/nio/natFileChannelImpl.cc
5726        (size): Use getLength() instead of length().
5727
5728 2003-05-13  Michael Koch  <konqueror@gmx.de>
5729
5730         * gnu/java/nio/ByteBufferImpl.java
5731         (ByteBufferImpl): All constructors revised.
5732         (slice): Reimplemented.
5733         (duplicate): Reimplemented.
5734         (asReadOnlyBuffer): Reimplemented.
5735         * java/nio/ByteBuffer.java:
5736         Reformatted.
5737         (array_offset): Renamed from "offset" to match all other buffer
5738         classes.
5739         (ByteBuffer): All constructors revised.
5740         (allocateDirect): Implemented.
5741         (allocate): New implementation, documentation reworked.
5742         (wrap): Likewise.
5743         (get): Documentation reworked.
5744         (put): New implementation, documentation reworked.
5745         (hasArray): Documentation reworked.
5746         (arrayOffset): Likewise.
5747         (hashCode): Likewise.
5748         (equals): Likewise.
5749         (compareTo): Likewise.
5750         (order): Likewise.
5751         (compact): Likewise.
5752         (isDirect): Likewise.
5753         (slice): Likewise.
5754         (duplicate): Likewise.
5755         (asReadOnlyBuffer): Likewise.
5756         * Makefile.am
5757         (ordinary_java_source_files):
5758         Added gnu/java/nio/DirectByteBufferImpl.java.
5759         (nat_source_files):
5760         Added gnu/java/nio/natDirectByteBufferImpl.cc.
5761         * Makefile.in: Regenerated.
5762
5763 2003-05-12  Michael Koch  <konqueror@gmx.de>
5764
5765         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5766         (nio_get_*): Removed.
5767         (nio_put_*): Removed.
5768         (as*Buffer): Implemented.
5769         (compact): Implemented.
5770         (get): Documentation added.
5771         (put): Documentation added.
5772         (get*): Newly implemented.
5773         (put*): Newly implemented.
5774         * gnu/java/nio/CharBufferImpl.java: Reformatted.
5775         (CharBufferImpl): Revised.
5776         (slice): New implementation.
5777         (duplicate): New implementation.
5778         (compact): New implementation.
5779         (asReadOnlyBuffer): New implementation.
5780         (get): Documentation revised.
5781         (order): Return native byte order.
5782         * gnu/java/nio/DirectByteBufferImpl.java
5783         (allocateDirect): objects can be null not 0.
5784         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5785         (DoubleBufferImpl): Revised.
5786         (slice): New implementation.
5787         (duplicate): New implementation.
5788         (compact): New implementation.
5789         (asReadOnlyBuffer): New implementation.
5790         (get): Documentation revised.
5791         (order): Return native byte order.
5792         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5793         (FloatBufferImpl): Revised.
5794         (slice): New implementation.
5795         (duplicate): New implementation.
5796         (compact): New implementation.
5797         (asReadOnlyBuffer): New implementation.
5798         (get): Documentation revised.
5799         (order): Return native byte order.
5800         * gnu/java/nio/IntBufferImpl.java: Reformatted.
5801         (IntBufferImpl): Revised.
5802         (slice): New implementation.
5803         (duplicate): New implementation.
5804         (compact): New implementation.
5805         (asReadOnlyBuffer): New implementation.
5806         (get): Documentation revised.
5807         (order): Return native byte order.
5808         * gnu/java/nio/LongBufferImpl.java: Reformatted.
5809         (LongBufferImpl): Revised.
5810         (slice): New implementation.
5811         (duplicate): New implementation.
5812         (compact): New implementation.
5813         (asReadOnlyBuffer): New implementation.
5814         (get): Documentation revised.
5815         (order): Return native byte order.
5816         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5817         (ShortBufferImpl): Revised.
5818         (slice): New implementation.
5819         (duplicate): New implementation.
5820         (compact): New implementation.
5821         (asReadOnlyBuffer): New implementation.
5822         (get): Documentation revised.
5823         (order): Return native byte order.
5824         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5825         (CharBuffer): Revised.
5826         (order): Removed.
5827         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5828         (DoubleBuffer): Revised.
5829         (allocateDirect): Removed.
5830         (order): Removed.
5831         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5832         (FloatBuffer): Revised.
5833         (allocateDirect): Removed.
5834         (order): Removed.
5835         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5836         (IntBuffer): Revised.
5837         (allocateDirect): Removed.
5838         (order): Removed.
5839         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5840         (LongBuffer): Revised.
5841         (allocateDirect): Removed.
5842         (order): Removed.
5843         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5844         (ShortBuffer): Revised.
5845         (allocateDirect): Removed.
5846         (order): Removed.
5847         * gnu/java/nio/natByteBufferImpl.cc: Removed.
5848         * gnu/java/nio/natCharBufferImpl.cc: Removed.
5849         * Makefile.am
5850         (ordinary_java_source_files): Added the following files:
5851         gnu/java/nio/CharViewBufferImpl.java,
5852         gnu/java/nio/DoubleViewBufferImpl.java,
5853         gnu/java/nio/FloatViewBufferImpl.java,
5854         gnu/java/nio/IntViewBufferImpl.java,
5855         gnu/java/nio/LongViewBufferImpl.java,
5856         gnu/java/nio/ShortViewBufferImpl.java
5857         (nat_source_files): Removed the following files:
5858         gnu/java/nio/natByteBufferImpl.cc,
5859         gnu/java/nio/natCharBufferImpl.cc
5860         * Makefile.in: Regenerated.
5861
5862 2003-05-12  Michael Koch  <konqueror@gmx.de>
5863
5864         * gnu/java/nio/CharViewBufferImpl.java,
5865         gnu/java/nio/DirectByteBufferImpl.java,
5866         gnu/java/nio/DoubleViewBufferImpl.java,
5867         gnu/java/nio/FloatViewBufferImpl.java,
5868         gnu/java/nio/IntViewBufferImpl.java,
5869         gnu/java/nio/LongViewBufferImpl.java,
5870         gnu/java/nio/ShortViewBufferImpl.java,
5871         gnu/java/nio/natDirectByteBufferImpl.cc:
5872         New files, not yet to be compiled.
5873
5874 2003-05-10  Michael Koch  <konqueror@gmx.de>
5875
5876         * javax/swing/plaf/ButtonUI.java,
5877         javax/swing/plaf/ColorUIResource.java,
5878         javax/swing/plaf/ComponentUI.java,
5879         javax/swing/plaf/DimensionUIResource.java,
5880         javax/swing/plaf/FontUIResource.java,
5881         javax/swing/plaf/IconUIResource.java,
5882         javax/swing/plaf/InsetsUIResource.java,
5883         javax/swing/plaf/LabelUI.java,
5884         javax/swing/plaf/ListUI.java,
5885         javax/swing/plaf/OptionPaneUI.java,
5886         javax/swing/plaf/PanelUI.java,
5887         javax/swing/plaf/TabbedPaneUI.java,
5888         javax/swing/plaf/TextUI.java,
5889         javax/swing/plaf/TreeUI.java,
5890         javax/swing/plaf/ViewportUI.java,
5891         javax/swing/plaf/basic/BasicBorders.java,
5892         javax/swing/plaf/basic/BasicButtonUI.java,
5893         javax/swing/plaf/basic/BasicCheckBoxUI.java,
5894         javax/swing/plaf/basic/BasicDefaults.java,
5895         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5896         javax/swing/plaf/basic/BasicIconFactory.java,
5897         javax/swing/plaf/basic/BasicLabelUI.java,
5898         javax/swing/plaf/basic/BasicListUI.java,
5899         javax/swing/plaf/basic/BasicOptionPaneUI.java,
5900         javax/swing/plaf/basic/BasicPanelUI.java,
5901         javax/swing/plaf/basic/BasicRadioButtonUI.java,
5902         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5903         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5904         javax/swing/plaf/basic/BasicTextUI.java,
5905         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5906         javax/swing/plaf/basic/BasicTreeUI.java,
5907         javax/swing/plaf/basic/BasicViewportUI.java,
5908         javax/swing/plaf/metal/MetalLookAndFeel.java:
5909         New versions from classpath. This adds copyrights to all files and
5910         some serialVersionUIDs.
5911
5912 2003-05-10  Michael Koch  <konqueror@gmx.de>
5913
5914         * java/nio/CharBuffer.java
5915         (offset): Make it package-private.
5916         (backing_buffer): Likewise.
5917         * java/nio/DoubleBuffer.java
5918         (offset): Make it package-private.
5919         (backing_buffer): Likewise.
5920         (put): Reformatted.
5921         * java/nio/FloatBuffer.java
5922         (offset): Make it package-private.
5923         (backing_buffer): Likewise.
5924         * java/nio/IntBuffer.java
5925         (offset): Make it package-private.
5926         (backing_buffer): Likewise.
5927         * java/nio/LongBuffer.java
5928         (offset): Make it package-private.
5929         (backing_buffer): Likewise.
5930         * java/nio/ShortBuffer.java
5931         (offset): Make it package-private.
5932         (backing_buffer): Likewise.
5933
5934 2003-05-10  Michael Koch  <konqueror@gmx.de>
5935
5936         * java/nio/CharBuffer.java
5937         (put): Fixed precondtion check.
5938         (toString): Make it work without backing array.
5939         (put): Skip one level of method calling.
5940
5941 2003-05-10  Michael Koch  <konqueror@gmx.de>
5942
5943         * java/security/Identity.java,
5944         java/security/IdentityScope.java,
5945         java/security/Key.java,
5946         java/security/KeyPair.java,
5947         java/security/PrivateKey.java,
5948         java/security/Provider.java,
5949         java/security/PublicKey.java,
5950         java/security/SecureRandom.java,
5951         java/security/SecureRandomSpi.java,
5952         java/security/SignedObject.java,
5953         java/security/Signer.java,
5954         java/security/cert/Certificate.java,
5955         java/security/cert/PKIXCertPathBuilderResult.java,
5956         java/security/cert/X509Certificate.java:
5957         New versions from classpath.
5958
5959 2003-05-09  Tom Tromey  <tromey@redhat.com>
5960
5961         * Makefile.in: Rebuilt.
5962         * Makefile.am (nat_source_files): Removed old files.
5963         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
5964         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
5965         * gnu/java/nio/natIntBufferImpl.cc: Removed.
5966         * gnu/java/nio/natLongBufferImpl.cc: Removed.
5967         * gnu/java/nio/natShortBufferImpl.cc: Removed.
5968
5969 2003-05-09  Michael Koch  <konqueror@gmx.de>
5970
5971         * gnu/java/nio/ByteBufferImpl.java
5972         (nio_cast): Removed.
5973         (ByteBufferImpl): Removed.
5974         (nio_get_Byte): Removed.
5975         (nio_put_Byte): Removed.
5976         (asByteBuffer): Removed.
5977         (asCharBuffer): Removed implementation and throw exception.
5978         (asShortBuffer): Likewise.
5979         (asIntBuffer): Likewise.
5980         (asLongBuffer): Likewise.
5981         (asFloatBuffer): Likewise.
5982         (asDoubleBuffer): Likewise.
5983         * gnu/java/nio/CharBufferImpl.java
5984         (CharBufferImpl): Removed.
5985         (nio_get_Byte): Removed.
5986         (nio_put_Byte): Removed.
5987         (asByteBuffer): Removed.
5988         * gnu/java/nio/DoubleBufferImpl.java
5989         (DoubleBufferImpl): Removed.
5990         (nio_get_Byte): Removed.
5991         (nio_put_Byte): Removed.
5992         (asByteBuffer): Removed.
5993         * gnu/java/nio/FloatBufferImpl.java
5994         (FloatBufferImpl): Removed.
5995         (nio_get_Byte): Removed.
5996         (nio_put_Byte): Removed.
5997         (asByteBuffer): Removed.
5998         * gnu/java/nio/IntBufferImpl.java
5999         (IntBufferImpl): Removed.
6000         (nio_get_Byte): Removed.
6001         (nio_put_Byte): Removed.
6002         (asByteBuffer): Removed.
6003         * gnu/java/nio/LongBufferImpl.java
6004         (LongBufferImpl): Removed.
6005         (nio_get_Byte): Removed.
6006         (nio_put_Byte): Removed.
6007         (asByteBuffer): Removed.
6008         * gnu/java/nio/ShortBufferImpl.java
6009         (ShortBufferImpl): Removed.
6010         (nio_get_Byte): Removed.
6011         (nio_put_Byte): Removed.
6012         (asByteBuffer): Removed.
6013         * gnu/java/nio/natByteBufferImpl.cc
6014         (nio_cast): Removed.
6015         (nio_get_Byte): Removed.
6016         (nio_put_Byte): Removed.
6017         * gnu/java/nio/natCharBufferImpl.cc
6018         (nio_get_Byte): Removed.
6019         (nio_put_Byte): Removed.
6020
6021 2003-05-09  Michael Koch  <konqueror@gmx.de>
6022
6023         * java/net/JarURLConnection.java
6024         (getJarEntry): Merged documentation from classpath.
6025         (getJarFile): Likewise.
6026         (getMainAttributes): Likewise.
6027         (getAttributes): Likewise.
6028         (getManifest): Likewise.
6029         (getCertificates): Reformatted.
6030         * java/net/URLConnection.java:
6031         Little classpath merge.
6032
6033 2003-05-09  Michael Koch  <konqueror@gmx.de>
6034
6035         * java/io/DataOutputStream.java
6036         (writeShort): Made it synchronized.
6037         (writeChar): Likewise.
6038         (writeInt): Likewise.
6039         (writeLong): Liekwise.
6040         (writeUTF): Made it synchronized, renamed argument to match classpath.
6041         * java/io/InputStreamReader.java
6042         (converter): Added documentation.
6043         (read): Merged documentation from classpath.
6044         * java/io/OutputStreamWriter.java
6045         (OutputStreamWriter): Merged documentation from classpath.
6046         (close): Reformatted.
6047         (getEncoding): Likewise.
6048         (flush): Likewise.
6049         (write): Merged documentation from classpath, reformatted.
6050
6051 2003-05-08  Tom Tromey  <tromey@redhat.com>
6052
6053         * configure.host <powerpc64*-*>: Set with_libffi_default and
6054         libgcj_interpreter to "yes".
6055
6056 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6057
6058         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6059         
6060 2003-05-06  Tom Tromey  <tromey@redhat.com>
6061
6062         * verify.cc: Reverted previous patch.
6063
6064 2003-05-06  Michael Koch  <konqueror@gmx.de>
6065
6066         * java/io/DataOutputStream.java
6067         (write): Renamed argument to "value", merged documentation from
6068         classpath.
6069         (writeBoolean): Likewise.
6070         (writeByte): Likewise.
6071         (writeShort): Likewise.
6072         (writeChar): Likewise.
6073         (writeInt): Likewise.
6074         (writeLong): Likewise.
6075         (writeFloat): Likewise.
6076         (writeDouble): Likewise.
6077         (writeBytes): Likewise.
6078         (writeChars): Likewise.
6079         (writeUTF): Likewise.
6080         * java/io/File.java
6081         (performDelete): Added documentation.
6082         (performList): Likewise.
6083         (performMkdir): Likewise.
6084         (performSetReadOnly): Likewise.
6085         (performRenameTo): Likewise.
6086         (performSetLastModified): Likewise.
6087         (delete): Made it sychronized.
6088         (renameTo): Made it sychronized.
6089         (equals): Reformatted.
6090         (isHidden): Likewise.
6091         (listFiles): Likewise.
6092         (setReadOnly): Likewise.
6093         (listRoots): Likewise.
6094         (setLastModified): Likewise.
6095         (checkRead): Likewise.
6096         (checkWrite): Likewise.
6097         * java/io/FileInputStream.java
6098         (skip): Made it sychronized, merged from classpath.
6099         * java/io/FileOutputStream.java
6100         (write): Merged from classpath.
6101         * java/io/InputStreamReader.java:
6102         (InputStreamReader): Merged documentation from classpath.
6103
6104 2003-05-05  Michael Koch  <konqueror@gmx.de>
6105
6106         * java/net/NetworkInterface.java
6107         (networkInterfaces): Removed.
6108         (getByName): Use getRealNetworkInterfaces() instead of
6109         networkInterfaces.
6110         (getByInetAddress): Likewise.
6111         (getNetworkInterfaces): Likewise.
6112         (toString): Fix output of addresses of an interface.
6113
6114 2003-05-05  Michael Koch  <konqueror@gmx.de>
6115
6116         * java/io/DataInputStream.java:
6117         Merged new documentation from classpath.
6118
6119 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6120
6121         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6122         "version".
6123         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6124         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6125         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6126         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6127         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6128         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6129         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6130         * java/security/Key.java: Likewise.
6131         * java/security/PrivateKey.java: Likewise.
6132         * java/security/Provider.java: Likewise.
6133         * java/security/PublicKey.java: Likewise.
6134
6135 2003-05-02  Michael Koch  <konqueror@gmx.de>
6136
6137         * java/net/URI.java
6138         (create): Doesnt throws any exceptions.
6139         * java/net/URLConnection.java
6140         (URLConnection): Commend added.
6141         (getExpiration): The header field is called "expires" not
6142         "expiration".
6143         (getHeaderField): Merged documentation with classpath.
6144         (getHeaderFieldInt): Likewise.
6145         (getHeaderFieldDate): Likewise.
6146         (getHeaderFieldKey): Likewise.
6147         (getPermission): Likewise.
6148         (setDefaultUseCaches): Likewise.
6149         (setRequestProperty): Likewise.
6150         (addRequestProperty): Likewise.
6151         (getRequestProperty): Likewise.
6152         (getRequestProperties): Likewise.
6153         (setDefaultRequestProperty): Likewise.
6154         (getDefaultRequestProperty): Likewise.
6155         (guessContentTypeFromStream): Likewise.
6156         (getFileNameMap): Likewise.
6157         (setFileNameMap): Likewise.
6158         (setDoInput): Merged implementation and documentation with classpath.
6159         (setDoOutput): Likewise.
6160         (setAllowUserInteraction): Likewise.
6161         (setDefaultAllowUserInteraction): Likewise.
6162         (setContentHandlerFactory): Made it synchronized, merged documentation
6163         with classpath.
6164         (guessContentTypeFromName): Renamed argument fname to filename to
6165         match classpath, merged documentation with classpath.
6166
6167 2003-05-02  Michael Koch  <konqueror@gmx.de>
6168
6169         * java/net/JarURLConnection.java
6170         (JarURLConnection): Class documentation merged with classpath.
6171         (getJarFileURL): Moved and documentation merged with classpath.
6172         (getEntryName): Likewise.
6173         (JarURLConnection): Documentation merged with classpath.
6174         (getJarEntry): Likewise.
6175         (getJarFile): Likewise.
6176         * java/net/PlainDatagramSocketImpl.java:
6177         Class documentation moved.
6178         * java/net/URLConnection.java
6179         (fileNameMap): Moved and documentation merged with classpath.
6180         (factory): Likewise.
6181         (defaultAllowUserInteraction): Likewis.
6182         (defaultUseCaches): Likewise.
6183         (allowUserInteraction): Likewise.
6184         (connected): Likewise.
6185         (url): Likewise.
6186         (connect): Documentation merged with classpath.
6187         (getURL): Likewise.
6188         (getContentLength): Likewise.
6189         (getContentType): Likewise.
6190         (getContentEncoding): Likewise.
6191         (getExpiration): Likewise.
6192         (getDate): Likewise.
6193         (getLastModified): Likewise.
6194         (getHeaderField): Likewise.
6195         (getContent): Likewise.
6196         (getPermission): Likewise.
6197         (getInputStream): Likewise.
6198         (getOutputStream): Likewise.
6199         (toString): Likewise.
6200         (getDoInput): Likewise.
6201         (getDoOutput): Likewise.
6202         (setAllowUserInteraction): Likewise.
6203         (getAllowUserInteraction): Likewise.
6204         (setDefaultAllowUserInteraction): Likewise.
6205         (getDefaultAllowUserInteraction): Likewise.
6206         (setUseCaches): Likewise.
6207         (getUseCaches): Likewise.
6208         (setIfModifiedSince): Likewise.
6209         (getIfModifiedSince): Likewise.
6210         (setDefaultRequestProperty): Likewise.
6211         (getDefaultRequestProperty): Likewise.
6212         (setContentHandlerFactory): Likewise.
6213         (setFileNameMap): Likewise.
6214
6215 2003-05-02  Michael Koch  <konqueror@gmx.de>
6216
6217         * java/net/InetAddress.java:
6218         Merged class documentation with classpath.
6219         * java/net/JarURLConnection.java:
6220         Explicitely import all used classes.
6221         * java/net/URL.java:
6222         Reformatting.
6223         * java/net/ServerSocket.java,
6224         java/net/Socket.java:
6225         New versions from classpath.
6226
6227 2003-05-02  Michael Koch  <konqueror@gmx.de>
6228
6229         * gnu/java/nio/FileChannelImpl.java
6230         (read): New implementation.
6231         (implRead): New methods.
6232         (write): New implementation, call other write insteal of read method.
6233         (implWrite): New methods.
6234         (map): Added comment.
6235         (transferFrom): Implemented.
6236         (transferTo): Implemented.
6237         (lock): Added checks to throw exceptions.
6238         (truncate): Added check to throw exception.
6239         * gnu/java/nio/natFileChannelImpl.cc
6240         (implRead): New method.
6241         (implWrite): New method.
6242         * java/nio/ByteBuffer.java
6243         (hashCode): Fixed comment.
6244         (get): Fixed exception documentation.
6245         (put): Fixed exception documentation.
6246         * java/nio/CharBuffer.java:
6247         Added comment for later optimizations.
6248
6249 2003-04-30  Tom Tromey  <tromey@redhat.com>
6250
6251         PR libgcj/10582:
6252         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6253         Removed.
6254         (type::compatible): Use _Jv_IsAssignableFrom.
6255         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6256         (_Jv_IsAssignableFrom): Work even when source or target class is
6257         not prepared.
6258
6259 2003-04-30  Michael Koch  <konqueror@gmx.de>
6260
6261         * java/text/BreakIterator.java
6262         (clone): New method.
6263
6264 2003-04-30  Michael Koch  <konqueror@gmx.de>
6265
6266         * java/text/CollationElementIterator.java,
6267         java/text/CollationKey.java,
6268         java/text/RuleBasedCollator.java:
6269         Merged copyright and documentation from classpath and
6270         rearranged some code. No code changes done.
6271
6272 2003-04-30  Michael Koch  <konqueror@gmx.de>
6273
6274         * java/util/regex/Matcher.java
6275         (pattern): New member variable.
6276         (appendReplacement): New method.
6277         (appendTail): New method.
6278         (end): New method.
6279         (find): New method.
6280         (group): New method.
6281         (replaceFirst): Added documentation.
6282         (replaceAll): Added documentation.
6283         (groupCount): New method.
6284         (lookingAt): New method.
6285         (matches): New method.
6286         (reset): New method.
6287         (start): New method.
6288         * java/util/regex/Pattern.java
6289         (serialVersionUID): New constant.
6290         (CANON_EQ): New constant.
6291         (CASE_INSENSITIVE): New constant.
6292         (COMMENTS): New constant.
6293         (DOTALL): New constant.
6294         (MULTILINE): New constant.
6295         (UNICODE_CASE): New constant.
6296         (UNIX_LINES): New constant.
6297         (regex): New member variable.
6298         (flags): New member variable.
6299         (Pattern): New method.
6300         (compile): Documentation added.
6301         (flags): New method.
6302         (matches): Documentation added.
6303         (matcher): Documentation added.
6304         (split): Documentation added.
6305         (pattern): New method.
6306
6307 2003-04-30  Michael Koch  <konqueror@gmx.de>
6308
6309         * gnu/java/security/Engine.java,
6310         gnu/java/security/OID.java,
6311         gnu/java/security/der/BitString.java,
6312         gnu/java/security/der/DER.java,
6313         gnu/java/security/der/DERReader.java,
6314         gnu/java/security/der/DERValue.java,
6315         gnu/java/security/der/DERWriter.java,
6316         gnu/java/security/provider/DSAKeyFactory.java,
6317         gnu/java/security/provider/X509CertificateFactory.java,
6318         gnu/java/security/x509/X500DistinguishedName.java,
6319         gnu/java/security/x509/X509CRL.java,
6320         gnu/java/security/x509/X509CRLEntry.java,
6321         gnu/java/security/x509/X509Certificate.java,
6322         java/security/cert/CRLSelector.java,
6323         java/security/cert/CertPathBuilder.java,
6324         java/security/cert/CertPathBuilderResult.java,
6325         java/security/cert/CertPathBuilderSpi.java,
6326         java/security/cert/CertPathParameters.java,
6327         java/security/cert/CertPathValidator.java,
6328         java/security/cert/CertPathValidatorResult.java,
6329         java/security/cert/CertPathValidatorSpi.java,
6330         java/security/cert/CertSelector.java,
6331         java/security/cert/CertStore.java,
6332         java/security/cert/CertStoreParameters.java,
6333         java/security/cert/CertStoreSpi.java,
6334         java/security/cert/CollectionCertStoreParameters.java,
6335         java/security/cert/LDAPCertStoreParameters.java,
6336         java/security/cert/PKIXBuilderParameters.java,
6337         java/security/cert/PKIXCertPathBuilderResult.java,
6338         java/security/cert/PKIXCertPathChecker.java,
6339         java/security/cert/PKIXCertPathValidatorResult.java,
6340         java/security/cert/PKIXParameters.java,
6341         java/security/cert/PolicyNode.java,
6342         java/security/cert/PolicyQualifierInfo.java,
6343         java/security/cert/TrustAnchor.java,
6344         javax/security/auth/x500/X500Principal.java:
6345         New files from classpath.
6346         * gnu/java/io/ASN1ParsingException.java,
6347         gnu/java/io/Base64InputStream.java,
6348         gnu/java/security/der/DEREncodingException.java,
6349         gnu/java/security/provider/DSAParameters.java,
6350         gnu/java/security/provider/DSASignature.java,
6351         gnu/java/security/provider/Gnu.java,
6352         gnu/java/security/provider/GnuDSAPrivateKey.java,
6353         gnu/java/security/provider/GnuDSAPublicKey.java,
6354         java/security/AlgorithmParameterGenerator.java,
6355         java/security/AlgorithmParameters.java,
6356         java/security/KeyFactory.java,
6357         java/security/KeyPairGenerator.java,
6358         java/security/KeyStore.java,
6359         java/security/MessageDigest.java,
6360         java/security/SecureClassLoader.java,
6361         java/security/SecureRandom.java,
6362         java/security/Security.java,
6363         java/security/Signature.java,
6364         java/security/cert/Certificate.java,
6365         java/security/cert/CertificateFactory.java,
6366         java/security/cert/CertificateFactorySpi.java,
6367         java/security/cert/X509CRL.java,
6368         java/security/cert/X509Certificate.java,
6369         java/security/spec/DSAPublicKeySpec.java:
6370         New versions from classpath.
6371         * gnu/java/security/provider/DERReader.java,
6372         gnu/java/security/provider/DERWriter.java,
6373         java/security/Engine.java: Removed.
6374         * Makefile.am
6375         (java_source_files, javax_source_files): Added new files.
6376         * Makefile.in: Regenerated.
6377
6378 2003-04-29  Michael Koch  <konqueror@gmx.de>
6379
6380         * javax/swing/JTable.java
6381         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6382         (AUTO_RESIZE_LAST_COLUMN): New constant.
6383         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6384         (AUTO_RESIZE_OFF): New constant.
6385         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6386         (JTable): New method.
6387         (columnAdded): New method.
6388         (columnMarginChanged): New method.
6389         (columnMoved): New method.
6390         (columnRemoved): New method.
6391         (columnSelectionChanged): New method.
6392         (editingCanceled): New method.
6393         (editingStopped): New method.
6394         (getColumnModel): New method.
6395         (getPreferredScrollableViewportSize): New method.
6396         (getScrollableBlockIncrement): New method.
6397         (getScrollableTracksViewportHeight): New method.
6398         (getScrollableTracksViewportWidth): New method.
6399         (getScrollableUnitIncrement): New method.
6400         (getSelectedRow): New method.
6401         (getSelectionModel): New method.
6402         (tableChanged): New method.
6403         (setModel): New method.
6404         (setSelectionMode): New method.
6405         (setSelectionModel): New method.
6406         (setShowGrid): New method.
6407         (valueChanged): New method.
6408         * javax/swing/text/DefaultEditorKit.java
6409         (backwardAction): New constant.
6410         (beepAction): New constant.
6411         (beginAction): New constant.
6412         (beginLineAction): New constant.
6413         (beginParagraphAction): New constant.
6414         (beginWordAction): New constant.
6415         (copyAction): New constant.
6416         (cutAction): New constant.
6417         (defaultKeyTypedAction): New constant.
6418         (deleteNextCharAction): New constant.
6419         (deletePrevCharAction): New constant.
6420         (downAction): New constant.
6421         (endAction): New constant.
6422         (endLineAction): New constant.
6423         (endOfLineStringProperty): New constant.
6424         (endParagraphAction): New constant.
6425         (endWordAction): New constant.
6426         (forwardAction): New constant.
6427         (insertBreakAction): New constant.
6428         (insertContentAction): New constant.
6429         (insertTabAction): New constant.
6430         (nextWordAction): New constant.
6431         (pageDownAction): New constant.
6432         (pageUpAction): New constant.
6433         (pasteAction): New constant.
6434         (previousWordAction): New constant.
6435         (readOnlyAction): New constant.
6436         (selectAllAction): New constant.
6437         (selectionBackwardAction): New constant.
6438         (selectionBeginAction): New constant.
6439         (selectionBeginLineAction): New constant.
6440         (selectionBeginParagraphAction): New constant.
6441         (selectionBeginWordAction): New constant.
6442         (selectionDownAction): New constant.
6443         (selectionEndAction): New constant.
6444         (selectionEndLineAction): New constant.
6445         (selectionEndParagraphAction): New constant.
6446         (selectionEndWordAction): New constant.
6447         (selectionForwardAction): New constant.
6448         (selectionNextWordAction): New constant.
6449         (selectionPreviousWordAction): New constant.
6450         (selectionUpAction): New constant.
6451         (selectLineAction): New constant.
6452         (selectParagraphAction): New constant.
6453         (selectWordAction): New constant.
6454         (upAction): New constant.
6455         (writableAction): New constant.
6456
6457 2003-04-29  Michael Koch  <konqueror@gmx.de>
6458
6459         * java/util/PropertyPermission.java:
6460         New version from classpath
6461         * java/util/ResourceBundle.java:
6462         Partly merged from classpath
6463         (getObject): Reformated.
6464         (tryBundle): Set foundBundle = null if no bundle found.
6465
6466 2003-04-29  Michael Koch  <konqueror@gmx.de>
6467
6468         * javax/swing/AbstractListModel.java,
6469         javax/swing/DefaultBoundedRangeModel.java,
6470         javax/swing/DefaultSingleSelectionModel.java:
6471         New Versions from classpath.
6472
6473 2003-04-29  Michael Koch  <konqueror@gmx.de>
6474
6475         * java/awt/Window.java
6476         (show): Call super.show() instead of setVisible() to avoid endless
6477         loop.
6478         (hide): Call super.hide() instead of setVisible() to avoid endless
6479         loop.
6480
6481 2003-04-29  Michael Koch  <konqueror@gmx.de>
6482
6483         * java/util/zip/Deflater.java,
6484         java/util/zip/DeflaterOutputStream.java:
6485         Partly merged with classpath.
6486
6487 2003-04-27  Tom Tromey  <tromey@redhat.com>
6488
6489         * java/lang/natString.cc (_Jv_AllocString): Initialize
6490         cachedHashCode.
6491         (init): Likewise.
6492         (_Jv_NewStringUtf8Const): Likewise.
6493
6494 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6495
6496         * include/jvm.h: (_Jv_GetNbArgs) added
6497         (_Jv_GetSafeArg) added
6498         (_Jv_SetArgs) added
6499         * prims.cc: (_Jv_GetNbArgs) implemented
6500         (_Jv_GetSafeArg) implemented
6501         (_Jv_SetArgs) implemented
6502         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6503         setting _Jv_argc and _Jv_argv
6504         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6505         instead of _Jv_argv
6506         * java/lang/natRuntime.cc: (insertSystemProperties) use
6507         _Jv_GetSafeArg() instead of _Jv_argv
6508
6509 2003-04-23  Tom Tromey  <tromey@redhat.com>
6510
6511         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6512         required by this object.  Search superclasses to find required
6513         alignment.
6514         (get_alignment_from_class): Use alignment of type as it appears
6515         in a struct.
6516         (ALIGNOF): New macro.
6517         (struct aligner): New helper structure.
6518
6519 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6520
6521         * java/awt/Container.java (addImpl): Enable paint events if adding
6522         a lightweight to a heavyweight.
6523         (addNotify): Ensure that peer is created before
6524         addNotifyContainerChildren.
6525         (addNotifyContainerChildren): Enable paint events if a heavyweight
6526         container contains a lightweight.
6527
6528 2003-04-20  Tom Tromey  <tromey@redhat.com>
6529
6530         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6531         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6532         Classpath.
6533
6534 2003-04-19  Tom Tromey  <tromey@redhat.com>
6535
6536         * java/sql/Date.java, java/sql/DriverManager.java,
6537         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6538         Classpath.
6539
6540         * Makefile.in: Rebuilt.
6541         * Makefile.am (ordinary_java_source_files): Added new files.
6542         * java/security/AlgorithmParameterGenerator.java,
6543         java/security/AlgorithmParameters.java, java/security/Engine.java,
6544         java/security/Identity.java, java/security/IdentityScope.java,
6545         java/security/KeyFactory.java,
6546         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6547         java/security/MessageDigest.java, java/security/Policy.java,
6548         java/security/ProtectionDomain.java,
6549         java/security/SecureRandom.java, java/security/Security.java,
6550         java/security/Signature.java, java/security/SignatureSpi.java,
6551         java/security/SignedObject.java, java/security/Signer.java,
6552         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6553         java/security/spec/PSSParameterSpec.java,
6554         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6555         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6556         Classpath.
6557
6558 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6559
6560         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6561         (dispose): Null metrics.
6562         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6563         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6564         finalize.
6565         (finalize): Call dispose.
6566         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6567         (gcCachedCount): New field.
6568         (finalize): New method.
6569         (putGCInCache): New method.
6570         (getGCFromCache): New method.
6571         * gnu/gcj/xlib/GC.java (GC): Make protected.
6572         (clone): Get new GC from cache if possible.
6573         (create): New static method.
6574         (dispose): Save old GC in cache.
6575         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6576         deleting.
6577         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6578         is null.
6579         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6580         * java/awt/Container.java (visitChild): Dispose gfx2 when
6581         finished.
6582
6583 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6584
6585         * java/math/BigInteger.java (probablePrime): New.
6586         * java/math/BigDecimal.java (unscaledValue): New.
6587
6588 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6589
6590         * java/io/File.java (getAbsolutePath): On Windows, take care
6591         of paths like "C:", "G:foo\bar", etc.
6592         (getName): Make it work correctly on Windows.
6593         (getParent): Make it work correctly on Windows. For UNIX,
6594         fix bug that causes "/" to be returned as the parent of "/",
6595         instead of null as returned by Sun's JRE.
6596
6597         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6598
6599 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6600
6601         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6602         inner class.
6603         (CACHE_SIZE_PER_DISPLAY): New field
6604         (fontMetricsCache): New field
6605         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6606         loading ISO10646-1 fonts.
6607
6608 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6609
6610         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6611         characters.
6612         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6613         characters.
6614
6615 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6616
6617         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6618         floating point.
6619
6620 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6621
6622         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6623         installed libpthread is either linuxthreads with floating stacks or
6624         NPTL.
6625
6626 2003-04-14  Tom Tromey  <tromey@redhat.com>
6627
6628         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6629         of alignment.
6630
6631 2003-04-10  Tom Tromey  <tromey@redhat.com>
6632
6633         * verify.cc (pop64): Removed.
6634         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
6635         exception if top-of-stack is narrow.
6636         (initialize_stack): Check to ensure that <init> is not static and
6637         <clinit> is.
6638
6639 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
6640
6641         * java/io/ObjectStreamException
6642         * java/io/FileFilter
6643         * java/io/FilenameFilter
6644         * java/io/ObjectInput
6645         * java/io/ObjectOutput
6646         * java/io/ObjectStreamConstants
6647         Minor doc fixes, format fixes, spelling corrections, etc.
6648         * java/io/DataInput
6649         Corrected code samples in Javadocs to match reality
6650         * java/io/DataOutput
6651         * java/io/ObjectInputValidation
6652         Major documentation fixes - all Javadocs re-written or updated
6653
6654 2003-04-06  Michael Koch  <konqueror@gmx.de>
6655
6656         * java/net/URLConnection.java:
6657         Import classes directly.
6658         (URLConnection): Merged class documentation with classpath.
6659         (url): Moved, documentation from classpath added.
6660         (doInput): Moved, documentation from classpath added.
6661         (doOutput): Moved, documentation from classpath added.
6662         (allowUserInteraction): Moved.
6663         (useCaches): Moved, documentation from classpath added.
6664         (ifModifiedSince): Moved, documentation from classpath added.
6665         (connected): Moved, documentation from classpath added.
6666
6667 2003-04-06  Michael Koch  <konqueror@gmx.de>
6668
6669         * java/io/FileInputStream.java
6670         (skip): Renamed some variables to match classpath, added
6671         checks from classpath.
6672
6673 2003-03-31  Michael Koch  <konqueror@gmx.de>
6674
6675         * javax/swing/AbstractAction.java
6676         (AbstractAction): Reformatted.
6677         (serialVersionUID): New private member variable.
6678         * javax/swing/plaf/BorderUIResource.java
6679         (serialVersionUID): New private member variable.
6680         * javax/swing/plaf/basic/BasicLookAndFeel.java
6681         (serialVersionUID): New private member variable.
6682
6683 2003-03-31  Michael Koch  <konqueror@gmx.de>
6684
6685         * java/sql/Date.java
6686         (valueOf): Deprecated, reformatted.
6687         (toString): Deprecated, reformatted.
6688         * java/sql/Time.java
6689         (valueOf): Deprecated, reformatted.
6690         (toString): Deprecated, reformatted.
6691
6692 2003-03-31  Michael Koch  <konqueror@gmx.de>
6693
6694         * java/rmi/dgc/VMID.java
6695         (isUnique): Deprecated.
6696
6697 2003-03-31  Michael Koch  <konqueror@gmx.de>
6698
6699         * java/io/File.java
6700         (separator): Merged documentation from classpath.
6701         (separatorChar): Merged documentation from classpath.
6702         (pathSeparator): Merged documentation from classpath.
6703         (pathSeparatorChar): Merged documentation from classpath.
6704         (path): Merged documentation from classpath.
6705         (canRead): Merged documentation from classpath.
6706         (canWrite): Merged documentation from classpath.
6707         (createNewFile): Merged documentation from classpath.
6708         (delete): Merged documentation from classpath.
6709         (equals): Merged documentation from classpath.
6710         (exists): Merged documentation from classpath.
6711         (File): Renamed p to name to match classpath, merged documentation
6712         from classpath.
6713         (getAbsolutePath): Merged documentation from classpath.
6714         (getCanonicalPath): Merged documentation from classpath.
6715         (getCanonicalFile): Merged documentation from classpath.
6716         (getName): Merged documentation from classpath.
6717         (getParent): Merged documentation from classpath.
6718         (getParentFile): Merged documentation from classpath.
6719         (getPath): Merged documentation from classpath.
6720         (hashCode): Merged documentation from classpath.
6721         (isAbsolute): Merged documentation from classpath.
6722         (isDirectory): Merged documentation from classpath.
6723         (isFile): Merged documentation from classpath.
6724         (isHidden): Merged documentation from classpath.
6725         (lastModified): Merged documentation from classpath.
6726         (length): Merged documentation from classpath.
6727         (list): Merged documentation from classpath.
6728         (listFiles): Merged documentation from classpath.
6729         (toString): Merged documentation from classpath.
6730         (toURL): Merged documentation from classpath.
6731         (mkdir): Merged documentation from classpath.
6732         (mkdirs): Merged documentation from classpath.
6733         (createTempFile): Merged documentation from classpath.
6734         (setReadOnly): Merged documentation from classpath.
6735         (listRoots): Merged documentation from classpath.
6736         (compareTo): Merged documentation from classpath.
6737         (renameTo): Merged documentation from classpath.
6738         (setLastModified): Merged documentation from classpath.
6739         * java/io/PrintStream.java
6740         (auto_flush): Merged documentation from classpath.
6741         (PrintStream): Merged documentation from classpath.
6742         (checkError): Merged documentation from classpath.
6743         (setError): Merged documentation from classpath.
6744         (close): Merged documentation from classpath.
6745         (flush): Merged documentation from classpath.
6746         (print): Merged documentation from classpath.
6747         (println):  Merged documentation from classpath.
6748         (write): Renamed count to len to match classpath,
6749         merged documentation from classpath.
6750         * java/io/RandomAccessFile.java
6751         (readShort): Merged documentation from classpath.
6752         (readUnsignedByte): Merged documentation from classpath.
6753         (readUnsignedShort): Merged documentation from classpath.
6754         (readUTF): Merged documentation from classpath.
6755         (seek): Reformatted, merged documentation from classpath.
6756         (skipBytes): Renamed some variables to match classpath, reformatted,
6757         merged documentation from classpath.
6758         (write): Merged documentation from classpath.
6759         (writeBoolean): Merged documentation from classpath.
6760         (writeByte): Merged documentation from classpath.
6761         (writeShort): Merged documentation from classpath.
6762         (writeChar): Merged documentation from classpath.
6763         (writeInt): Merged documentation from classpath.
6764         (writeLong): Merged documentation from classpath.
6765         (writeFloat): Merged documentation from classpath.
6766         (writeDouble): Merged documentation from classpath.
6767         (writeBytes): Merged documentation from classpath.
6768         (writeChars): Merged documentation from classpath.
6769         (writeUTF): Reformatted.
6770         (getChannel): Reformatted.
6771
6772 2003-03-31  Michael Koch  <konqueror@gmx.de>
6773
6774         * java/awt/font/TextAttribute.java
6775         (readResolve): Throws java.io.InvalidObjectException.
6776
6777 2003-03-31  Michael Koch  <konqueror@gmx.de>
6778
6779         * java/rmi/server/LoaderHandler.java
6780         (loadClass): Deprecated.
6781         (getSecurityContext): Deprecated.
6782         * java/rmi/server/LogStream.java
6783         (getDefaultStream): Deprecated.
6784         (setDefaultStream): Deprecated.
6785         (getOutputStream): Deprecated.
6786         (setOutputStream): Deprecated.
6787         (write): Deprecated.
6788         (toString): Deprecated.
6789         (parseLevel): Deprecated.
6790         * java/rmi/server/Operation.java
6791         (Operation): Deprecated.
6792         (getOperation): Deprecated.
6793         (toString): Deprecated.
6794         * java/rmi/server/RemoteCall.java
6795         (getOutputStream): Deprecated.
6796         (releaseOutputStream): Deprecated.
6797         (getInputStream): Deprecated.
6798         (releaseInputStream): Deprecated.
6799         (getResultStream): Deprecated.
6800         (executeCall): Deprecated.
6801         (done): Deprecated.
6802         * java/rmi/server/RemoteRef.java
6803         (invoke): Deprecated.
6804         (newCall): Deprecated.
6805         (done): Deprecated.
6806         * java/rmi/server/RemoteStub.java
6807         (setRef): Deprecated.
6808         * java/rmi/server/Skeleton.java:
6809         No need to import java.lang.Exception explicitly.
6810         (dispatch): Deprecated.
6811         (getOperations): Deprecated.
6812
6813 2003-03-31  Michael Koch  <konqueror@gmx.de>
6814
6815         * java/rmi/dgc/VMID.java,
6816         java/rmi/registry/RegistryHandler.java,
6817         java/rmi/server/LogStream.java,
6818         java/rmi/server/Operation.java,
6819         java/rmi/server/RemoteCall.java,
6820         java/rmi/server/RemoteRef.java,
6821         java/rmi/server/RemoteStub.java:
6822         Reformatted.
6823
6824 2003-03-31  Michael Koch  <konqueror@gmx.de>
6825
6826         * javax/swing/AbstractCellEditor.java,
6827         javax/swing/AbstractListModel.java,
6828         javax/swing/ActionMap.java,
6829         javax/swing/BorderFactory.java,
6830         javax/swing/ButtonGroup.java,
6831         javax/swing/DefaultBoundedRangeModel.java,
6832         javax/swing/DefaultButtonModel.java,
6833         javax/swing/DefaultCellEditor.java,
6834         javax/swing/DefaultComboBoxModel.java,
6835         javax/swing/DefaultDesktopManager.java,
6836         javax/swing/DefaultListCellRenderer.java,
6837         javax/swing/DefaultSingleSelectionModel.java,
6838         javax/swing/InputMap.java,
6839         javax/swing/JComponent.java,
6840         javax/swing/JMenu.java,
6841         javax/swing/JSlider.java,
6842         javax/swing/KeyStroke.java,
6843         javax/swing/OverlayLayout.java,
6844         javax/swing/ScrollPaneLayout.java,
6845         javax/swing/SizeRequirements.java,
6846         javax/swing/UIManager.java,
6847         javax/swing/ViewportLayout.java,
6848         javax/swing/border/AbstractBorder.java,
6849         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6850         javax/swing/event/EventListenerList.java,
6851         javax/swing/table/AbstractTableModel.java,
6852         javax/swing/table/DefaultTableCellRenderer.java,
6853         javax/swing/table/DefaultTableColumnModel.java,
6854         javax/swing/table/DefaultTableModel.java,
6855         javax/swing/table/TableColumn.java,
6856         javax/swing/text/StyledEditorKit.java,
6857         javax/swing/tree/DefaultMutableTreeNode.java,
6858         javax/swing/tree/DefaultTreeModel.java,
6859         javax/swing/tree/DefaultTreeSelectionModel.java,
6860         javax/swing/tree/TreePath.java,
6861         javax/swing/undo/AbstractUndoableEdit.java,
6862         javax/swing/undo/StateEdit.java,
6863         javax/swing/undo/StateEditable.java,
6864         javax/swing/undo/UndoableEditSupport.java:
6865         Merges from classpath.
6866
6867 2003-03-30  Tom Tromey  <tromey@redhat.com>
6868
6869         * java/lang/String.java (data, boffset, count): Documented.
6870         (String(byte[],String)): Reformatted.
6871         (String(byte[])): Likewise.
6872         (lastIndexOf(int)): Likewise.
6873         (lastIndexOf(String)): Likewise.
6874         (substring(int)): Renamed argument to match Classpath.
6875         (String(StringBuffer)): Don't share buffer if it is nearly empty.
6876
6877         * java/lang/String.java: Miscellaneous minor formatting changes
6878         to match Classpath more closely.
6879
6880 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
6881             Tom Tromey  <tromey@redhat.com>
6882
6883         * java/lang/natString.cc (hashCode): Use cachedHashCode.
6884         (init()): Removed.
6885         (charAt): Put index in exception.
6886         (contentEquals): New method.
6887         Include StringBuffer.h.
6888         * java/lang/String.java (cachedHashCode): New field.
6889         (String()): Follow classpath implementation.
6890         (init()): Removed.
6891         (contentEquals): Declare.
6892         (subSequence): Don't declare IndexOutIfBoundsException in throws
6893         clause.
6894         (matches, replaceFirst, replaceAll, split): New methods from
6895         Classpath.
6896
6897 2003-03-29  Tom Tromey  <tromey@redhat.com>
6898
6899         * java/lang/String.java: Reordered to follow Classpath; merged in
6900         javadoc.
6901
6902         * java/text/MessageFormat.java: Removed some whitespace.
6903
6904         * Makefile.in: Rebuilt.
6905         * Makefile.am (awt_java_source_files): Added new files.
6906         * gnu/javax/rmi/PortableServer.java,
6907         gnu/javax/rmi/CORBA/DelegateFactory.java,
6908         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6909         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6910         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6911         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6912         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6913         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
6914         javax/rmi/PortableRemoteObject.java,
6915         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
6916         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6917         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
6918         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
6919         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
6920         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
6921
6922         * java/lang/natClass.cc (newInstance): Put method name in
6923         exception.
6924         (getConstructor): Likewise.
6925         (getDeclaredConstructor): Likewise.
6926         (getPrivateMethod): Likewise.
6927
6928 2003-03-28  Tom Tromey  <tromey@redhat.com>
6929
6930         * java/lang/reflect/Proxy.java: New version from Classpath.
6931         * java/lang/Package.java: New version from Classpath.
6932
6933 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
6934
6935         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
6936         * configure: Regenerate.
6937
6938 2003-03-28  Michael Koch  <konqueror@gmx.de>
6939
6940         * java/io/File.java:
6941         Import needed classes instead of whole packages, merged class
6942         documentation with classpath, moved constants and variables to top of
6943         class.
6944         * java/io/PrintStream.java:
6945         Merged class documentation with classpath, moved constants and
6946         variables to top of class.
6947         * java/io/RandomAccessFile.java
6948         (RandomAccessFile): Merged with classpath.
6949         (read): Merged with classpath).
6950         (read*): Reformatted.
6951
6952 2003-03-28  Michael Koch  <konqueror@gmx.de>
6953
6954         * java/io/FileDescriptor.java
6955         (finalize): Throws Throwable, not IOException.
6956         * java/io/ObjectOutputStream.java
6957         (PutField.put): Doesnt throws anything.
6958
6959 2003­03-28  Michael Koch  <konqueror@gmx.de>
6960
6961         * java/io/FileOutputStream.java:
6962         Merged class documentation and authors with classpath.
6963         (FileOutputStream): Partly merged with classpath.
6964         (write): Merged with classpath.
6965         (getChannel): Make it synchronized instead of explicit block in this
6966         method.
6967         * java/io/RandomAccessFile.java:
6968         Merged class documentation and authors with classpath.
6969
6970 2003-03-26  Tom Tromey  <tromey@redhat.com>
6971
6972         * java/lang/natRuntime.cc (insertSystemProperties): Set
6973         gnu.classpath.home.url.
6974         * Makefile.in: Rebuilt.
6975         * Makefile.am: Define LIBDIR.
6976
6977 2003-03-25  Michael Koch  <konqueror@gmx.de>
6978
6979         * java/io/FileInputStream.java
6980         (read): Renamed b to buf and off to offset.
6981         * java/io/FileOutputStream.java
6982         (ch): Documentation added.
6983         (FileOutputStream): Documentation added.
6984         (getFD): Documentation added.
6985         (write): Documentation added.
6986         (close): Documentation added.
6987         (getChannel): Documentation added.
6988
6989 2003-03-24  Michael Koch  <konqueror@gmx.de>
6990
6991         * java/io/DataOutputStream.java
6992         (write): Merged from classpath.
6993         * java/io/File.java:
6994         Merged copyrigth with classpath.
6995         * java/io/FileInputStream.java
6996         (getChannel): Made it synchronized instead of using a synchronized
6997         block.
6998         * java/io/FileOutputStream.java: Reformatted.
6999         * java/io/InputStreamReader.java
7000         (InputStreamReader): Renamed enc to encoding_name.
7001         (close): Merged documentation from classpath.
7002         (getEncoding): Merged documentation from classpath.
7003         (ready): Merged documentation from classpath.
7004         (read): Merged documentation from classpath.
7005         * java/io/LineNumberReader.java
7006         (lineNumber): Made it private.
7007         (LineNumberReader): Use Constant instead of a direct value.
7008         * java/io/OutputStreamWriter.java
7009         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7010         documentation from classpath.
7011         (close): Merged documentation from classpath.
7012         (flush): Merged documentation from classpath.
7013         (write): Merged documentation from classpath.
7014         * java/io/PrintStream.java: Reformatted.
7015
7016 2003-03-24  Michael Koch  <konqueror@gmx.de>
7017
7018         * javax/swing/text/ComponentView.java
7019         (getComponent): Must be final.
7020         * javax/swing/tree/DefaultTreeCellRenderer.java:
7021         Reformatted.
7022         * javax/swing/undo/StateEditable.java:
7023         Reformatted.
7024
7025 2003-03-24  Michael Koch  <konqueror@gmx.de>
7026
7027         * java/rmi/activation/ActivationInstantiator.java:
7028         Reformatted.
7029         * java/rmi/activation/Activator.java:
7030         Reformatted.
7031         * java/rmi/registry/RegistryHandler.java:
7032         Remerged from classpath.
7033
7034 2003-03-24  Michael Koch  <konqueror@gmx.de>
7035
7036         * java/util/Date.java:
7037         Fixed documentation starting tag to make javadoc happy.
7038         * java/util/regex/Pattern.java
7039         (Pattern): Implements Serializable.
7040         * java/util/PatternSyntaxException.java
7041         (serialVersionUID): New member variable.
7042
7043 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7044
7045         * java/awt/ContainerOrderFocusTraversalPolicy.java
7046         (getFirstComponent): Implemented.
7047         (getLastComponent): Implemented.
7048         (getDefaultComponent): Implemented.
7049         (setImplicitDownCycleTraversal): Fixed implementation.
7050         * java/awt/Robot.java
7051         (Robot): Added documentation.
7052         * java/awt/Toolkit.java
7053         (getFontList): Deprecated.
7054         (getFontMetrics): Deprecated.
7055         (getPrintJob): Added documentation.
7056         (getSystemSelection): Added documentation.
7057         (getLockingKeyState): Added documentation.
7058         (setLockingKeyState): Added documentation.
7059         (createCustomCursor): Added documentation.
7060         (getBestCursorSize): Added documentation.
7061         (getMaximumCursorColors): Added documentation.
7062         (isFrameStateSupported): Added documentation.
7063
7064 2003-03-24  Michael Koch  <konqueror@gmx.de>
7065
7066         * java/io/RandomAccessFile.java:
7067         More little merges with classpath. No code changes.
7068
7069 2003-03-24  Michael Koch  <konqueror@gmx.de>
7070
7071         * java/net/natInetAddressNoNet.cc:
7072         Include stddef.h.
7073         * java/net/natPlainDatagramSocketImplNoNet.cc:
7074         Fixed inlcude of java/net/DatagramPacket.h.
7075         * java/net/natPlainSocketImplNoNet.cc:
7076         Include some missing classes.
7077
7078 2003-03-24  Michael Koch  <konqueror@gmx.de>
7079
7080         * java/awt/dnd/DropTarget.java
7081         (DropTargetAutoScroller): According to the online documentation, this
7082         is protected, but in reality it is public.
7083         * java/awt/dnd/DropTargetContext.java
7084         (TransferableProxy): According to the online documentation, this
7085         is protected, but in reality it is public.
7086
7087 2003-03-24  Michael Koch  <konqueror@gmx.de>
7088
7089         * java/io/DataInputStream.java
7090         (): Wrapped documentation line.
7091         (): Fixed @return tag.
7092         * java/io/DataOutputStream.java
7093         (written): Moved to top of class.
7094         (all methods): Merged documentation from classpath.
7095         * java/io/File.java:
7096         Merged copyright year with classpath.
7097         * java/io/FileInputStream.java
7098         (all methods): Merged documentation from classpath.
7099         * java/io/LineNumberReader.java
7100         (getLineNumber): Fixed @return tag.
7101         * java/io/ObjectInputStream.java.
7102         Reformatted.
7103         * java/io/ObjectOutputStream.java:
7104         Reformatted, fixed some @see tags.
7105         * java/io/OutputStreamWriter.java:
7106         Deleted empty line.
7107         * java/io/Writer.java:
7108         Reformatted.
7109
7110 2003-03-24  Michael Koch  <konqueror@gmx.de>
7111
7112         * java/awt/Frame.java
7113         (DEFAULT_CURSOR): Fixed @deprecated tag.
7114         (setCursor): Fixed @deprecated tag.
7115
7116 2003-03-24  Michael Koch  <konqueror@gmx.de>
7117
7118         * java/beans/beancontext/BeanContextEvent.java:
7119         Reformated.
7120
7121 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7122
7123         * java/lang/natStringBuffer.cc (regionMatches): New function.
7124         * java/lang/String.java (count): Now package-private.
7125         * java/lang/StringBuffer.java: Merged with Classpath.
7126
7127 2003-03-23  Michael Koch  <konqueror@gmx.de>
7128
7129         * java/io/BufferedOutputStream.java:
7130         Reformated.
7131         * java/io/BufferedReader.java:
7132         Reformated.
7133         * java/io/ByteArrayOutputStream.java
7134         (size): Fixed @see tag.
7135         * java/io/CharArrayWriter.java
7136         (size): Fixed @see tag.
7137         * java/io/DataInput.java:
7138         Reformated.
7139         * java/io/DataOutput.java:
7140         Reformated.
7141         * java/io/DataOutputStream.java:
7142         Merged copyright years with classpath.
7143         * java/io/Externalizable.java:
7144         Reformated.
7145         * java/io/FileFilter.java:
7146         Reformated.
7147         * java/io/FileInputStream.java:
7148         Merged copyright years with classpath.
7149         * java/io/FileOutputStream.java:
7150         Merged copyright years with classpath.
7151         * java/io/FilePermission.java
7152         (FilePermission): Replaced @XXX with FIXME:.
7153         * java/io/FileWriter.java:
7154         Reformated.
7155         * java/io/FilenameFilter.java:
7156         Reformated.
7157         * java/io/FilterInputStream.java:
7158         Reformated.
7159         * java/io/FilterOutputStream.java:
7160         Reformated.
7161         * java/io/FilterReader.java:
7162         Reformated.
7163         * java/io/FilterWriter.java:
7164         Reformated.
7165         * java/io/LineNumberInputStream.java
7166         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7167         happy.
7168         (getLineNumber): Fixed @return tag.
7169         * java/io/ObjectInput.java:
7170         Reformated.
7171         * java/io/ObjectOutput.java:
7172         Reformated.
7173         * java/io/ObjectStreamClass.java:
7174         Reformated.
7175         * java/io/PrintStream.java:
7176         Merged copyright years with classpath.
7177         * java/io/PushbackReader.java
7178         (PushbackReader): Replaced @code with @param.
7179         * java/io/SerializablePermission.java:
7180         Reformated.
7181         * java/io/StreamTokenizer.java
7182         (resetSyntax): Fixed @see tag.
7183
7184 2003-03-22  Richard Henderson  <rth@redhat.com>
7185
7186         * sysdep/ia64/locks.h: Include ia64intrin.h.
7187         (compare_and_swap): Use __sync_bool_compare_and_swap.
7188         (compare_and_swap_release): Expose ar.ccv assignment.
7189
7190 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7191
7192         * include/posix.h: Add suffix for darwin dynamic libraries.
7193
7194 2003-03-21  Michael Koch  <konqueror@gmx.de>
7195
7196         * javax/swing/Action.java
7197         (ACCELERATOR_KEY): New constant.
7198         (ACTION_COMMAND_KEY): Likewise.
7199         (MNEMONIC_KEY): Likewise.
7200         * javax/swing/UnsupportedLookAndFeelException.java
7201         (UnsupportedLookAndFeelException): Must be public.
7202         * javax/swing/WindowConstants.java
7203         (EXIT_ON_CLOSE): New constant.
7204         * javax/swing/text/BadLocationException.java
7205         (offset): New member variable.
7206         (BadLocationException): New implementation, documentation added.
7207         (offsetRequested): New method.
7208         * javax/swing/text/Caret.java:
7209         Reformated.
7210         * javax/swing/text/Document.java:
7211         Reformated.
7212
7213 2003-03-21  Michael Koch  <konqueror@gmx.de>
7214
7215         * java/rmi/activation/Activatable.java
7216         (serialVersionUID): New member variable.
7217         * java/rmi/activation/ActivationGroup.java
7218         (serialVersionUID): New member variable.
7219         * java/rmi/activation/ActivationGroupDesc.java
7220         (serialVersionUID): New member variable.
7221         * java/rmi/registry/Registry.java:
7222         Reformated.
7223         (Registry): Deprecated.
7224         * java/rmi/server/LoaderHandler.java
7225         Reformated.
7226         (LoaderHandler): Deprecated.
7227         * java/rmi/server/LogStream.java
7228         Reformated.
7229         (LogStream): Deprecated.
7230         * java/rmi/server/Operation.java
7231         (Operation): Deprecated.
7232         * java/rmi/server/RMIFailureHandler.java:
7233         Reformated.
7234         * java/rmi/server/RMISocketFactory.java:
7235         Reformated.
7236         * java/rmi/server/RemoteCall.java
7237         (RemoteCall): Deprecated.
7238         * java/rmi/server/RemoteStub.java:
7239         Reformated.
7240         * java/rmi/server/Skeleton.java
7241         Reformated.
7242         (Skeleton): Deprecated.
7243
7244 2003-03-21  Michael Koch  <konqueror@gmx.de>
7245
7246         * java/io/LineNumberReader.java
7247         (LineNumberReader): Merged documentation with classpath.
7248         (getLineNumber): Likewise.
7249         (setLineNumber): Likewise.
7250         (mark): Likewise.
7251         (reset): Likewise.
7252         (read): Likewise.
7253         (readLine): Likewise.
7254         (skip): Likewise.
7255
7256 2003-03-21  Michael Koch  <konqueror@gmx.de>
7257
7258         * java/rmi/RMISecurityManager.java
7259         (checkAccept): Removed.
7260         (checkAccess): Likewise.
7261         (checkAccess): Likewise.
7262         (checkAwtEventQueueAccess): Likewise.
7263         (checkConnect): Likewise.
7264         (checkCreateClassLoader): Likewise.
7265         (checkDelete): Likewise.
7266         (checkExec): Likewise.
7267         (checkExit): Likewise.
7268         (checkLink): Likewise.
7269         (checkListen): Likewise.
7270         (checkMemberAccess): Likewise.
7271         (checkMulticast): Likewise.
7272         (checkPackageAccess): Likewise.
7273         (checkPackageDefinition): Likewise.
7274         (checkPermission): Likewise.
7275         (checkPrintJobAccess): Likewise.
7276         (checkPropertiesAccess): Likewise.
7277         (checkPropertyAccess): Likewise.
7278         (checkRead): Likewise.
7279         (checkSecurityAccess): Likewise.
7280         (checkSetFactory): Likewise.
7281         (checkSystemClipboardAccess): Likewise.
7282         (checkTopLevelWindow): Likewise.
7283         (checkWrite): Likewise.
7284
7285 2003-03-20  Michael Koch  <konqueror@gmx.de>
7286
7287         * gnu/java/nio/FileChannelImpl.java
7288         (address): Removed.
7289         (map_address): New member variable.
7290         (length): Make it package private.
7291         (fd): Make it package private.
7292         (buf): Make it package private.
7293         (file_obj): Make it package private.
7294         (FileChannelImpl): New constructor.
7295         (nio_mmap_file): Use RawData instead of long.
7296         (nio_munmap_file): Use RawData instead of long.
7297         (nio_msync): Use RawData instead of long.
7298         (implCloseChannel): New implementation using map_address.
7299         (read): Reformated.
7300         (map): Implemented.
7301         (create_direct_mapped_buffer): Implemented, use RawData, throws
7302         IOException.
7303         (force): Use map_address instead of address.
7304         * gnu/java/nio/MappedByteFileBuffer.java
7305         (address): Removed.
7306         (map_address): New member variable.
7307         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7308         (several methods): Use map_address instead of address, replaced long
7309         with RawData where appropriate.
7310         * gnu/java/nio/natFileChannelImpl.cc
7311         (nio_mmap_file): Replaced long with RawData.
7312         (nio_munmap_file): Replaced long with RawData.
7313         (nio_msync): Replaced long with RawData.
7314         * gnu/java/nio/natMappedByteFileBuffer.cc
7315         (several methods): Replaced long with RawData where appropriate.
7316
7317 2003-03-20  Michael Koch  <konqueror@gmx.de>
7318
7319         * java/net/InetAddress.java,
7320         java/net/JarURLConnection.java,
7321         java/net/PlainDatagramSocketImpl.java,
7322         java/net/PlainSocketImpl.java,
7323         java/net/URLConnection.java:
7324         Merged copyright statements with classpath for easier merging.
7325
7326 2003-03-20  Michael Koch  <konqueror@gmx.de>
7327
7328         * java/io/FileInputStream.java
7329         (getChannel): New implementation.
7330         * java/io/FileOutputStream.java
7331         (ch): New member variable.
7332         (getChannel): Implemented.
7333         * java/io/RandomAccessFile.java
7334         (RandomAccessFile): Throws FileNotFoundException instead of
7335         IOException.
7336         (getChannel): New method.
7337         (ch): New member variable.
7338
7339 2003-03-20  Michael Koch  <konqueror@gmx.de>
7340
7341         * java/io/DataOutputStream.java,
7342         java/io/File.java,
7343         java/io/FileInputStream.java,
7344         java/io/FileOutputStream.java,
7345         java/io/InputStreamReader.java,
7346         java/io/LineNumberReader.java,
7347         java/io/OutputStreamWriter.java,
7348         java/io/PrintStream.java,
7349         java/io/RandomAccessFile.java:
7350         Merged copyright statements with classpath for easier merging.
7351
7352 2003-03-19  Michael Koch  <konqueror@gmx.de>
7353
7354         * java/lang/Process.java:
7355         Merged from classpath.
7356
7357 2003-03-19  Michael Koch  <konqueror@gmx.de>
7358
7359         * java/io/FileOutputStream.java
7360         (FileOutputStream): New constructor, merged from classpath.
7361         * java/io/FileWriter.java
7362         (FileWriter): New constructor, merged from classpath.
7363
7364 2003-03-18  Michael Koch  <konqueror@gmx.de>
7365
7366         * java/awt/ScrollPane.java
7367         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7368         (getViewportSize): Likewise.
7369         (addNotify): Likewise.
7370         (removeNotify): Likewise.
7371         * java/awt/ScrollPaneAdjustable.java
7372         (ScrollPaneAdjustable): No longer extends Scrollbar.
7373         * java/beans/beancontext/BeanContextServices.java:
7374         Reformated.
7375         (getService): Added throws TooManyListenersException;
7376         * java/beans/beancontext/BeanContextServicesSupport.java:
7377         Reformated.
7378
7379 2003-03-18  Michael Koch  <konqueror@gmx.de>
7380
7381         * java/io/BufferedOutputStream.java,
7382         java/io/DataInput.java,
7383         java/io/DataInputStream.java,
7384         java/io/DataOutput.java,
7385         java/io/Externalizable.java:
7386         More merges from classpath.
7387
7388 2003-03-18  Michael Koch  <konqueror@gmx.de>
7389
7390         * configure.in: Fixed links to platform dependant java.net files.
7391         * configure: Regenerated.
7392         * java/net/natInetAddress.cc,
7393         java/net/natNetworkInterface.cc,
7394         java/net/natPlainDatagramSocketImpl.cc,
7395         java/net/natPlainSocketImpl.cc:
7396         Removed.
7397
7398 2003-03-18  Michael Koch  <konqueror@gmx.de>
7399
7400         * configure.in: Create links to architecture dependent files,
7401         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7402         * configure: Regenerated.
7403         * java/net/natInetAddressNoNet.cc,
7404         java/net/natInetAddressPosix.cc,
7405         java/net/natInetAddressWin32.cc,
7406         java/net/natNetworkInterfaceNoNet.cc,
7407         java/net/natNetworkInterfacePosix.cc,
7408         java/net/natNetworkInterfaceWin32.cc,
7409         java/net/natPlainDatagramSocketImplNoNet.cc,
7410         java/net/natPlainDatagramSocketImplPosix.cc,
7411         java/net/natPlainDatagramSocketImplWin32.cc,
7412         java/net/natPlainSocketImplNoNet.cc,
7413         java/net/natPlainSocketImplPosix.cc,
7414         java/net/natPlainSocketImplWin32.cc: New files.
7415
7416 2003-03-18  Michael Koch  <konqueror@gmx.de>
7417
7418         * java/io/BufferedReader.java,
7419         java/io/BufferedWriter.java,
7420         java/io/ByteArrayOutputStream.java,
7421         java/io/FileFilter.java,
7422         java/io/FilePermission.java,
7423         java/io/FileReader.java,
7424         java/io/FileWriter.java,
7425         java/io/FilenameFilter.java,
7426         java/io/FilterInputStream.java,
7427         java/io/FilterOutputStream.java,
7428         java/io/FilterReader.java,
7429         java/io/FilterWriter.java,
7430         java/io/ObjectInput.java,
7431         java/io/ObjectInputValidation.java,
7432         java/io/ObjectOutput.java,
7433         java/io/ObjectStreamField.java,
7434         java/io/PipedInputStream.java,
7435         java/io/PipedReader.java,
7436         java/io/PrintWriter.java,
7437         java/io/PushbackReader.java,
7438         java/io/Reader.java,
7439         java/io/SerializablePermission.java,
7440         java/io/StringReader.java,
7441         java/io/Writer.java:
7442         Merged from classpath.
7443
7444 2003-03-17  Michael Koch  <konqueror@gmx.de>
7445
7446         * java/awt/ScrollPaneAdjustable.java:
7447         Compile fixes.
7448         
7449 2003-03-17  Michael Koch  <konqueror@gmx.de>
7450
7451         * java/net/DatagramSocket.java
7452         (connect): Fixed comment.
7453         * java/nio/ByteBuffer.java
7454         (hasArray): Fixed comment.
7455
7456 2003-03-17  Michael Koch  <konqueror@gmx.de>
7457
7458         * java/beans/Beans.java:
7459         Explicitely import classes not packages.
7460         * java/beans/FeatureDescriptor.java
7461         (preferred): New member variable.
7462         (isPreferred): New method.
7463         (setPreferred): New method.
7464         * java/beans/PropertyEditorManager.java:
7465         Explicitely import used classes.
7466         * java/beans/beancontext/BeanContextChild.java:
7467         Added line wrapping.
7468         * java/beans/beancontext/BeanContextChildSupport.java:
7469         Reindented.
7470         * java/beans/beancontext/BeanContextEvent.java:
7471         Reindented.
7472
7473 2003-03-17  Michael Koch  <konqueror@gmx.de>
7474
7475         * java/awt/Dialog.java
7476         (Dialog): New constructor, changed implementations, added
7477         documentation.
7478         * java/awt/ScrollPaneAdjustable.java
7479         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7480         Serializable.
7481         (serialVersionUID): New member variable.
7482         (sp): New member variable.
7483         (orientation): New member variable.
7484         (value): New member variable.
7485         (minimum): New member variable.
7486         (maximum): New member variable.
7487         (visibleAmount): New member variable.
7488         (unitIncrement): New member variable.
7489         (blockIncrement): New member variable.
7490         (AdjustmentListener): New member variable.
7491         (ScrollPaneAdjustable): New implementation.
7492         (addAdjustmentListener): New method.
7493         (removeAdjustmentListener): New method.
7494         (getAdjustmentListeners): New method.
7495         (getBlockIncrement): New method.
7496         (getMaximum): New method.
7497         (getMinimum): New method.
7498         (getOrientation): New method.
7499         (getUnitIncrement): New method.
7500         (getValue): New method.
7501         (getVisibleAmount): New method.
7502         (setBlockIncrement): New method.
7503         (setMaximum): Implemented.
7504         (setMinimum): Implemented.
7505         (setUnitIncrement): New method.
7506         (setValue): New method.
7507         (setVisibleAmount): Implemented. 
7508         (paramString): New stubbed method.
7509         * java/awt/Window.java
7510         (show): Call setVisible().
7511         (hide): Call setVisible().
7512         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7513         and WINDOW_STATE_CHANGED.
7514         (processWindowFocusEvent): New method.
7515         (processWindowStateEvent): New method.
7516         (postEvent): Deprecated.
7517         (applyResourceBundle): Deprecated.
7518         * java/awt/datatransfer/DataFlavor.java
7519         (DataFlavor): Doesn't thow ClassNotFoundException.
7520
7521 2003-03-17  Michael Koch
7522
7523         * javax/print/attribute/Attribute.java,
7524         javax/print/attribute/AttributeSet.java,
7525         javax/print/attribute/PrintRequestAttributeSet.java:
7526         New files.
7527         * Makefile.am
7528         (javax_source_files): Added new files:
7529         javax/print/attribute/Attribute.java
7530         javax/print/attribute/AttributeSet.java
7531         javax/print/attribute/PrintRequestAttributeSet.java
7532         * Makefile.in: Regenerated.
7533
7534 2003-03-17  Michael Koch
7535
7536         * javax/print/attribute/Attribute.java,
7537         javax/print/attribute/AttributeSet.java,
7538         javax/print/attribute/PrintRequestAttributeSet.java:
7539         New files.
7540         * Makefile.am
7541         (awt_java_source_files): Added new files:
7542         javax/print/attribute/Attribute.java
7543         javax/print/attribute/AttributeSet.java
7544         javax/print/attribute/PrintRequestAttributeSet.java
7545         * Makefile.in: Regenerated.
7546
7547 2003-03-16  Tom Tromey  <tromey@redhat.com>
7548
7549         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7550         Include platform.h.
7551         * java/lang/natRuntime.cc (insertSystemProperties): Use
7552         _Jv_platform_path_separator.
7553         (nativeGetLibname): Use _Jv_platform_file_separator.
7554         (_load): Use _Jv_platform_onload_names.
7555         (onload_names): New global.
7556         * include/win32.h (_Jv_platform_file_separator): New define.
7557         (_Jv_platform_path_separator): Likewise.
7558         (_Jv_platform_onload_names): Likewise.
7559         (_Jv_platform_ffi_abi): Likewise.
7560         * include/posix.h (_Jv_platform_file_separator): New define.
7561         (_Jv_platform_path_separator): Likewise.
7562         (_Jv_platform_onload_names): Likewise.
7563         (_Jv_platform_ffi_abi): Likewise.
7564
7565 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7566
7567         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7568
7569 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7570
7571         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7572         hierarchy loop.
7573         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7574         list to Object,ObjectStreamClass, moved callReadMethod code up into
7575         readObject and added Class argument to all setXxxField calls.
7576         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7577         consistent with ObjectOutputStream and to facilitate caching the
7578         Method in the future.
7579         (setBooleanField): Added Class argument.
7580         (setByteField): Likewise.
7581         (setCharField): Likewise.
7582         (setDoubleField): Likewise.
7583         (setFloatField): Likewise.
7584         (setIntField): Likewise.
7585         (setLongField): Likewise.
7586         (setShortField): Likewise.
7587         (setObjectField): Likewise.
7588         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7589         class hierarchy loop.
7590         (defaultWriteObject): Call writeFields with new argument list.
7591         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7592         list to Object,ObjectStreamClass, moved callWriteMethod up into
7593         writeObject and added Class argument to all getXxxField calls.
7594         (callWriteMethod): Added ObjectStreamClass argument to be able to
7595         get the proper class to call getMethod on (each class can have (or
7596         not have) its own writeObject method).
7597         (getBooleanField): Added Class argument.
7598         (getByteField): Likewise.
7599         (getCharField): Likewise.
7600         (getDoubleField): Likewise.
7601         (getFloatField): Likewise.
7602         (getIntField): Likewise.
7603         (getLongField): Likewise.
7604         (getShortField): Likewise.
7605         (getObjectField): Likewise.
7606         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7607         facilitate caching the Method object in the future.
7608
7609 2003-03-12  Andreas Schwab  <schwab@suse.de>
7610
7611         * configure.in: Avoid trailing /. in toolexeclibdir.
7612         * configure: Rebuilt.
7613
7614 2003-03-11  Michael Koch  <konqueror@gmx.de>
7615
7616         * gnu/java/nio/ByteBufferImpl.java
7617         (putInt): Use limit() instead of limit.
7618         * gnu/java/nio/CharBufferImpl.java
7619         (slice): Fixed implementation.
7620         (subSequence): Better bounds checking.
7621         * gnu/java/nio/MappedByteFileBuffer.java:
7622         Import all needed classes directly.
7623         * java/nio/ByteBuffer.java
7624         (hashCode): New dummy method.
7625         * java/nio/CharBuffer.java
7626         (array_offset): New member variable.
7627         (hasArray): Fixed documentation.
7628         (arrayOffset): Return array_offset.
7629
7630 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7631
7632         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7633         setter; made return value of getter const char* instead of char*
7634         * prims.cc: removed all references to _Jv_ThisExecutable().
7635         These are in the platform-specific sections now.
7636         * posix.cc: define platform-specific _Jv_ThisExecutable().
7637         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7638         * win32.cc: define platform-specific _Jv_ThisExecutable()
7639         using GetModuleFilename()
7640         * java/lang/natRuntime.cc: set gnu.gcj.progname property
7641         to argv[0] instead of _Jv_ThisExecutable()
7642
7643 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7644
7645         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7646         that is set if we are using addr2name.awk instead of addr2line.
7647         (NameFinder): Set usingAddr2name if using addr2name.awk.
7648         (getExternalLabel): New native method to convert a method 
7649         name to an external label.
7650         (lookup): Convert name given by addr2line to an external label
7651         before demangling.
7652
7653         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7654         constant representing the prefix attached to method names to
7655         convert them to an external label.
7656         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
7657         using LABEL_PREFIX.
7658
7659 2003-03-10  Tom Tromey  <tromey@redhat.com>
7660
7661         * Makefile.in: Rebuilt.
7662         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7663         (JC1FLAGS): Removed -Wno-deprecated.
7664
7665 2003-03-10  Michael Koch  <konqueror@gmx.de>
7666
7667         * java/nio/ByteOrder.java
7668         (nativeOrder): Working implementation, added documentation.
7669         (toString): Added documentation.
7670
7671 2003-03-10  Michael Koch  <konqueror@gmx.de>
7672
7673         * java/net/DatagramSocket.java,
7674         java/net/MulticastSocket.java,
7675         java/net/Socket.java,
7676         java/net/URL.java,
7677         java/net/URLConnection.java:
7678         Fixed some documentation tags to make javadoc and friends happy.
7679
7680 2003-03-10  Michael Koch  <koqnueror@gmx.de>
7681
7682         * java/beans/beancontext/BeanContextServicesSupport.java,
7683         java/beans/beancontext/BeanContextSupport.java: New files.
7684         * Makefile.am
7685         (awt_source_files): Added new files.
7686         * Makefile.in: Regenerated.
7687
7688 2003-03-10  Michael Koch  <konqueror@gmx.de>
7689
7690         * java/awt/FocusTraversalPolicy.java
7691         (FocusTraversalPolicy): Documentation added.
7692         (getComponentAfter): Documentation added.
7693         (getComponentBefore): Documentation added.
7694         (getFirstComponent): Documentation added.
7695         (getLastComponent): Documentation added.
7696         (getDefaultComponent): Documentation added.
7697         (getInitialComponent): Documentation added.
7698         * java/awt/ScrollPaneAdjustable.java
7699         (sp): New member variable.
7700         (orientation): New member variable.
7701         (value): New member variable.
7702         (minimum): New member variable.
7703         (maximum): New member variable.
7704         (visibleAmount): New member variable.
7705         (unitIncrement): New member variable.
7706         (blockIncrement): New member variable.
7707         (adjustmentListener): New member variable.
7708         (ScrollPaneAdjustable): Rewrote.
7709         (addAdjustmentListener): New method.
7710         (removeAdjustmentListener): New method.
7711         (getAdjustmentListeners): New method.
7712         (getBlockIncrement): New method.
7713         (getMaximum): New method.
7714         (getMinimum): New method.
7715         (getOrientation): New method.
7716         (getUnitIncrement): New method.
7717         (getValue): New method.
7718         (getVisibleAmount): New method.
7719         (setBlockIncrement): New method.
7720         (setUnitIncrement): New method.
7721         (setMaximum): Implemented.
7722         (setMinimum): Implemented.
7723         (setValue): New method.
7724         (setVisibleAmount): Implemented.
7725         (paramString): New method.
7726         * java/awt/Window.java
7727         (show): Use setVisible(true) instead of super.show().
7728         (hide): Use sevVisible(false) instead of super.hide().
7729         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7730         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7731         (postEvent): Deprecated.
7732         (applyResourceBundle): Deprecated.
7733         (processWindowFocusEvent): New method.
7734         (processWindowStateEvent): New method.
7735         * java/awt/datatransfer/DataFlavor.java: Reindented.
7736         * java/awt/font/TextHitInfo.java
7737         (charIndex): New member variable.
7738         (leadingEdge): New member variable.
7739         (TextHitInfo): New constructor.
7740         (getCharIndex): Implemented.
7741         (isLeadingEdge): Implemented.
7742         (getInsertionIndex): Implemented.
7743         (hashCode): Access charIndex directly.
7744         (equals): Reformated.
7745         (leading): Implemented.
7746         (trailing): Implemented.
7747         (beforeOffset): Implemented.
7748         (afterOffset): Implemented.
7749         (getOtherHit): Implemented.
7750         (getOffsetHit): Implemented.
7751         (toString): Implemented.
7752         * java/awt/image/BufferedImage.java
7753         (BufferedImage): Implements WritableRenderedImage.
7754         (observers): New member variable.
7755         (addTileObserver): New method.
7756         (removeTileObserver): New method.
7757
7758 2003-03-09  Tom Tromey  <tromey@redhat.com>
7759
7760         PR libgcj/9934:
7761         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7762         to lseek.  Return 0 if we can't compute the value.
7763
7764 2003-03-03  Michael Koch  <konqueror@gmx.de>
7765
7766         * java/net/NetworkInterface.java: Merged with classpath.
7767
7768 2003-03-03  Tom Tromey  <tromey@redhat.com>
7769
7770         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7771         of bytecode.
7772         (handle_ret_insn): Fail if returning to jsr that appears at end of
7773         bytecode.
7774
7775 2003-03-03  Michael Koch  <konqueror@gmx.de>
7776
7777         * Makefile.am
7778         (ordinary_java_source_files):
7779         Added gnu/java/nio/MappedByteFileBuffer.java.
7780         (nat_source_files):
7781         Added gnu/java/nio/natMappedByteFileBuffer.cc.
7782         * Makefile.in: Regenerated.
7783
7784 2003-03-03  Michael Koch  <konqueror@gmx.de>
7785
7786         * java/net/DatagramSocket.java
7787         (connect): Merged comment from classpath.
7788         (receive): Merged documentation from classpath.
7789         * java/net/Socket.java
7790         (setSoTimeout): Clarified documentation.
7791         * java/net/URL.java
7792         (getPath): Merged from classpath.
7793         (getUserInfo): Merged from classpath.
7794         (getQuery): Merged from classpath.
7795         * java/net/URLStreamHandler.java
7796         (toExternalForm): Merged from classpath.
7797
7798 2003-03-02  Mark Wielaard  <mark@klomp.org>
7799
7800         * java/util/Properties.java (load): Only skip line if the first
7801         character is a comment, whitespaces don't count.
7802
7803 2003-03-02  Michael Koch  <konqueror@gmx.de>
7804
7805         * java/net/NetPermission.java:
7806         Merged copyright with classpath.
7807
7808 2003-03-02  Michael Koch  <konqueror@gmx.de>
7809
7810         * java/lang/Package.java:
7811         Remerged from classpath.
7812
7813 2003-03-02  Michael Koch  <konqueror@gmx.de>
7814
7815         * java/net/HttpURLConnection.java
7816         (HTTP_SERVER_ERROR): Deprecated.
7817         * java/net/MulticastSocket.java
7818         (send): Replaced checkMulticast with appropriate checkPermission call,
7819         deprecated.
7820         * java/net/URLDecoder.java
7821         (decode): Deprecated.
7822         * java/net/URLEncoder.java
7823         (encode): Deprecated.
7824
7825 2003-03-02  Michael Koch  <konqueror@gmx.de>
7826
7827         * javax/swing/text/Caret.java
7828         (getMagicCaretPosition): Fixed typo in method name.
7829         * javax/swing/text/DefaultCaret.java
7830         (getMagicCaretPosition): Fixed typo in method name.
7831
7832 2003-03-02  Michael Koch  <konqueror@gmx.de>
7833
7834         * java/awt/List.java
7835         (setMultipleSelections): Deprecated.
7836         (delItem): Deprecated.
7837         * java/awt/MenuComponent.java
7838         (getPeer): Deprecated.
7839         * java/awt/ScrollPane.java
7840         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7841         * java/awt/dnd/MouseDragGestureRecognizer.java
7842         (mouseClicked): Added comment.
7843         (mousePressed): Added comment.
7844         (mouseReleased): Added comment.
7845         (mouseEntered): Added comment.
7846         (mouseExited): Added comment.
7847         (mouseDragged): Added comment.
7848         (mouseMoved): Added comment.
7849         * java/awt/event/KeyEvent.java
7850         (KeyEvent): Deprecated.
7851         (setModifiers): Deprecated.
7852         
7853 2003-03-02  Michael Koch  <konqueror@gmx.de>
7854
7855         * gnu/java/nio/FileChannelImpl.java
7856         (fd): Type FileDescriptor instead of int.
7857         (lengthInternal): Removed.
7858         (FileChannelImpl): Fixed arguments, check type of file object.
7859         (size): Made it native.
7860         (implPosition): New native method.
7861         (implTruncate): New native method.
7862         (position): Implemented.
7863         (truncate): Implemented.
7864         (nio_mmap_file): Changed arguments.
7865         (nio_munmap_file): Changed arguments.
7866         (nio_msync): Changed arguments.
7867         * gnu/java/nio/natFileChannelImpl.cc
7868         (lengthInternal): Removed.
7869         (size): New method.
7870         (implPosition): New method.
7871         (implTruncate): New method.
7872         (nio_mmap_file): Changed arguments.
7873         (nio_munmap_file): Changed arguments.
7874         (nio_msync): Changed arguments.
7875
7876 2003-03-02  Michael Koch  <konqueror@gmx.de>
7877
7878         * java/awt/dnd/DropTargetContext.java:
7879         Compile fix: Forgot to commit import.
7880         
7881 2003-03-02  Michael Koch  <konqueror@gmx.de>
7882
7883         * java/awt/Component.java,
7884         java/awt/ScrollPane.java:
7885         Fixed typos.
7886
7887 2003-03-02  Michael Koch  <konqueror@gmx.de>
7888
7889         * java/awt/dnd/DnDEventMulticaster.java: New file.
7890         * java/awt/dnd/DragSource.java
7891         (flavorMap): New member variable.
7892         (dragSourceListener): New member variable.
7893         (dragSourceMotionListener): New member variable.
7894         (getFlavorMap): Implemented.
7895         (createDragGestureRecognizer): Implemented.
7896         (addDragSourceListener): Implemented.
7897         (removeDragSourceListener): Implemented.
7898         (getDragSourceListeners): Implemented.
7899         (addDragSourceMotionListener): Implemented.
7900         (removeDragSourceMotionListener): Implemented.
7901         (getDragSourceMotionListeners): Implemented.
7902         (getListeners): Implemented.
7903         * java/awt/dnd/DragSourceContext.java
7904         (peer): New member variable.
7905         (cursor): New member variable.
7906         (transferable): New member variable.
7907         (trigger): New member variable.
7908         (dragSourceListener): New member variable.
7909         (image): New member variable.
7910         (offset): New member variable.
7911         (DragSourceContext): Implemented.
7912         (getDragSource): Implemented.
7913         (getComponent): Implemented.
7914         (getTrigger): Implemented.
7915         (getSourceActions): Implemented.
7916         (setCursor): Implemented.
7917         (getCursor): Implemented.
7918         (addDragSourceListener): Implemented.
7919         (removeDragSourceListener): Implemented.
7920         (getTransferable): Implemented.
7921         * java/awt/dnd/DropTarget.java
7922         (DropTargetAutoScroller.component): New member variable.
7923         (DropTargetAutoScroller.point): New member variable.
7924         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
7925         (DropTargetAutoScroller.updateLocation): Implemented.
7926         (active): Renamed from isActive, defaults to true now.
7927         (component): New member variable.
7928         (flavorMap): New member variable.
7929         (actions): New member variable.
7930         (dropTargetContext): New member variable.
7931         (dropTargetListener): New member variable.
7932         (DropTarget): Implemented.
7933         (getComponent): Implemented.
7934         (setComponent): Implemented.
7935         (setDefaultActions): Implemented.
7936         (getDefaultActions): Implemented.
7937         (setActive): Use active instead of isActive.
7938         (isActive): Use active instead of isActive.
7939         (addDropTargetListener): Implemented.
7940         (removeDropTargetListener): Implemented.
7941         (getFlavorMap): Implemented.
7942         (setFlavorMap): Implemented.
7943         (getDropTargetContext): Implemented.
7944         (createDropTargetContext): Implemented.
7945         (createDropTargetAutoScroller): Implemented.
7946         * java/awt/dnd/DropTargetContext.java
7947         (TransferableProxy.getTransferDataFlavors): Implemented.
7948         (TransferableProxy.isDataFlavorSupported): Implemented.
7949         (TransferableProxy.getTransferData): Implemented.
7950         (dropTarget):  New member variable.
7951         (dtcp): New member variable.
7952         (DropTargetContext): New package private constructor.
7953         (getDropTarget): Implemented.
7954         (getComponent): Implemented.
7955         (addNotify): Implemented.
7956         (removeNotify): Implemented.
7957         (getCurrentDataFlavorsAsList): Implemented.
7958         (isDataFlavorSupported): Implemented.
7959         * java/awt/dnd/MouseDragGestureRecognizer.java
7960         (registerListeners): Implemented.
7961         (unregisterListeners): Implemented.
7962         * Makefile.am
7963         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
7964         * Makefile.in: Regenerated.
7965
7966 2003-03-02  Michael Koch  <konqueror@gmx.de>
7967
7968         * java/awt/Component.java
7969         (eventTypeEnabled): New method.
7970         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
7971         * java/awt/Container.java
7972         (changeSupport): New member variable.
7973         (addPropertyChangeListener): New methods.
7974         * java/awt/ContainerOrderFocusTraversalPolicy.java
7975         (ContainerOrderFocusTraversalPolicy): Added comment.
7976         (getComponentAfter): Throw exception, documentation added.
7977         (getComponentBefore): Throw exception, documentation added.
7978         (getFirstComponent): Throw exception, documentation added.
7979         (getLastComponent): Throw exception, documentation added.
7980         (getDefaultComponent): Throw exception, documentation added.
7981         * java/awt/EventQueue.java: Reindented.
7982         * java/awt/FocusTraversalPolicy.java:
7983         (FocusTraversalPolicy): Added comment.
7984         (getComponentAfter): Documentation added.
7985         (getComponentBefore): Documentation added.
7986         (getFirstComponent): Documentation added.
7987         (getLastComponent): Documentation added.
7988         (getDefaultComponent): Documentation added.
7989         (getInitialComponent): Documentation added.
7990         * java/awt/ScrollPane.java
7991         (wheelScrollingEnabled): New member variable.
7992         (ScrollPane): Initialize wheelScollingEnabled.
7993         (eventTypeEnabled): New method.
7994         (isWheelScrollingEnabled): New method.
7995         (setWheelScrollingEnabled): New method.
7996
7997 2003-03-02  Michael Koch  <konqueror@gmx.de>
7998
7999         * java/net/DatagramSocket.java
8000         (closed): New member variable.
8001         (close): Use closed variable.
8002         (getInetAddress): No need to call isConnected().
8003         (getPort): No need to call isConnected().
8004         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8005         (isClosed): Reimplemented.
8006         
8007 2003-03-02  Michael Koch  <konqueror@gmx.de>
8008
8009         * configure.in: Added check for memory mapping of files.
8010         * configure: Regenerated.
8011         * config.h.in: Regenerated.
8012
8013 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8014
8015         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8016         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8017
8018 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8019
8020         * java/io/File.java (normalizePath): Remove trailing separator
8021         on Windows only if path is not of the form "x:\".
8022
8023         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8024         (java::io::File::attr): Change formatting a bit and use
8025         WIN32_EPOCH_MILLIS instead of magic numbers.
8026         (java::io::File::isAbsolute): Path must have at least 3 
8027         characters for a UNC network path.
8028         (java::io::File::init_native): Define.
8029         (java::io::File::performCreate): Likewise.
8030         (java::io::File::performSetReadOnly): Likewise.
8031         (java::io::File::performSetLastModified): Likewise.
8032         (java::io::File::performListRoots): Likewise.
8033
8034 2003-03-01  Tom Tromey  <tromey@redhat.com>
8035
8036         * java/lang/natObject.cc: Don't include assert.h.
8037         (heavy_lock_obj_finalization_proc): Use JvAssert.
8038         (remove_all_heavy): Likewise.
8039         (_Jv_MonitorEnter): Likewise.
8040         (_Jv_MonitorExit): Likewise.
8041         (wait): Likewise.
8042
8043 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8044
8045         * java/io/File (getAbsolutePath): Prefix drive specifier on
8046         Windows for paths starting with a '\'.
8047         (toURL): Make URL more consistent with what Sun's JDK returns.
8048
8049         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8050         true only if the path is a UNC network path or it starts with a
8051         drive specifier.
8052
8053         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8054         Be prepared to handle either '/' or '\\' in the file path for
8055         Windows if using the "file" protocol.
8056         Canonicalise the file path if using a relative path in the given
8057         context and the "file" protocol.
8058
8059 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8060
8061         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8062         program array element passed to CreateProcess.
8063
8064 2003-03-01  Tom Tromey  <tromey@redhat.com>
8065
8066         * java/rmi/registry/RegistryHandler.java: Deprecate.
8067
8068 2003-03-01  Tom Tromey  <tromey@redhat.com>
8069
8070         * javax/accessibility/AccessibleEditableText.java,
8071         javax/accessibility/AccessibleHyperlink.java: New versions from
8072         Classpath.
8073
8074         * gnu/java/locale/LocaleInformation_af_ZA.java,
8075         gnu/java/locale/LocaleInformation_ar_AE.java,
8076         gnu/java/locale/LocaleInformation_ar_BH.java,
8077         gnu/java/locale/LocaleInformation_ar_DZ.java,
8078         gnu/java/locale/LocaleInformation_ar_EG.java,
8079         gnu/java/locale/LocaleInformation_ar_IN.java,
8080         gnu/java/locale/LocaleInformation_ar_IQ.java,
8081         gnu/java/locale/LocaleInformation_ar_JO.java,
8082         gnu/java/locale/LocaleInformation_ar_KW.java,
8083         gnu/java/locale/LocaleInformation_ar_LB.java,
8084         gnu/java/locale/LocaleInformation_ar_LY.java,
8085         gnu/java/locale/LocaleInformation_ar_MA.java,
8086         gnu/java/locale/LocaleInformation_ar_OM.java,
8087         gnu/java/locale/LocaleInformation_ar_QA.java,
8088         gnu/java/locale/LocaleInformation_ar_SD.java,
8089         gnu/java/locale/LocaleInformation_ar_SY.java,
8090         gnu/java/locale/LocaleInformation_ar_TN.java,
8091         gnu/java/locale/LocaleInformation_ar_YE.java,
8092         gnu/java/locale/LocaleInformation_be_BY.java,
8093         gnu/java/locale/LocaleInformation_bn_IN.java,
8094         gnu/java/locale/LocaleInformation_br_FR.java,
8095         gnu/java/locale/LocaleInformation_bs_BA.java,
8096         gnu/java/locale/LocaleInformation_ca_ES.java,
8097         gnu/java/locale/LocaleInformation_cs_CZ.java,
8098         gnu/java/locale/LocaleInformation_cy_GB.java,
8099         gnu/java/locale/LocaleInformation_da_DK.java,
8100         gnu/java/locale/LocaleInformation_de_AT.java,
8101         gnu/java/locale/LocaleInformation_de_BE.java,
8102         gnu/java/locale/LocaleInformation_de_CH.java,
8103         gnu/java/locale/LocaleInformation_de_DE.java,
8104         gnu/java/locale/LocaleInformation_de_LU.java,
8105         gnu/java/locale/LocaleInformation_el_GR.java,
8106         gnu/java/locale/LocaleInformation_en_AU.java,
8107         gnu/java/locale/LocaleInformation_en_BW.java,
8108         gnu/java/locale/LocaleInformation_en_CA.java,
8109         gnu/java/locale/LocaleInformation_en_DK.java,
8110         gnu/java/locale/LocaleInformation_en_GB.java,
8111         gnu/java/locale/LocaleInformation_en_HK.java,
8112         gnu/java/locale/LocaleInformation_en_IE.java,
8113         gnu/java/locale/LocaleInformation_en_IN.java,
8114         gnu/java/locale/LocaleInformation_en_NZ.java,
8115         gnu/java/locale/LocaleInformation_en_PH.java,
8116         gnu/java/locale/LocaleInformation_en_SG.java,
8117         gnu/java/locale/LocaleInformation_en_US.java,
8118         gnu/java/locale/LocaleInformation_en_ZA.java,
8119         gnu/java/locale/LocaleInformation_en_ZW.java,
8120         gnu/java/locale/LocaleInformation_es_AR.java,
8121         gnu/java/locale/LocaleInformation_es_BO.java,
8122         gnu/java/locale/LocaleInformation_es_CL.java,
8123         gnu/java/locale/LocaleInformation_es_CO.java,
8124         gnu/java/locale/LocaleInformation_es_CR.java,
8125         gnu/java/locale/LocaleInformation_es_DO.java,
8126         gnu/java/locale/LocaleInformation_es_EC.java,
8127         gnu/java/locale/LocaleInformation_es_ES.java,
8128         gnu/java/locale/LocaleInformation_es_GT.java,
8129         gnu/java/locale/LocaleInformation_es_HN.java,
8130         gnu/java/locale/LocaleInformation_es_MX.java,
8131         gnu/java/locale/LocaleInformation_es_NI.java,
8132         gnu/java/locale/LocaleInformation_es_PA.java,
8133         gnu/java/locale/LocaleInformation_es_PE.java,
8134         gnu/java/locale/LocaleInformation_es_PR.java,
8135         gnu/java/locale/LocaleInformation_es_PY.java,
8136         gnu/java/locale/LocaleInformation_es_SV.java,
8137         gnu/java/locale/LocaleInformation_es_US.java,
8138         gnu/java/locale/LocaleInformation_es_UY.java,
8139         gnu/java/locale/LocaleInformation_es_VE.java,
8140         gnu/java/locale/LocaleInformation_et_EE.java,
8141         gnu/java/locale/LocaleInformation_eu_ES.java,
8142         gnu/java/locale/LocaleInformation_fa_IR.java,
8143         gnu/java/locale/LocaleInformation_fi_FI.java,
8144         gnu/java/locale/LocaleInformation_fo_FO.java,
8145         gnu/java/locale/LocaleInformation_fr_BE.java,
8146         gnu/java/locale/LocaleInformation_fr_CA.java,
8147         gnu/java/locale/LocaleInformation_fr_CH.java,
8148         gnu/java/locale/LocaleInformation_fr_FR.java,
8149         gnu/java/locale/LocaleInformation_fr_LU.java,
8150         gnu/java/locale/LocaleInformation_ga_IE.java,
8151         gnu/java/locale/LocaleInformation_gd_GB.java,
8152         gnu/java/locale/LocaleInformation_gl_ES.java,
8153         gnu/java/locale/LocaleInformation_gv_GB.java,
8154         gnu/java/locale/LocaleInformation_he_IL.java,
8155         gnu/java/locale/LocaleInformation_hi_IN.java,
8156         gnu/java/locale/LocaleInformation_hr_HR.java,
8157         gnu/java/locale/LocaleInformation_hu_HU.java,
8158         gnu/java/locale/LocaleInformation_id_ID.java,
8159         gnu/java/locale/LocaleInformation_it_CH.java,
8160         gnu/java/locale/LocaleInformation_it_IT.java,
8161         gnu/java/locale/LocaleInformation_iw_IL.java,
8162         gnu/java/locale/LocaleInformation_ja_JP.java,
8163         gnu/java/locale/LocaleInformation_ka_GE.java,
8164         gnu/java/locale/LocaleInformation_kl_GL.java,
8165         gnu/java/locale/LocaleInformation_ko_KR.java,
8166         gnu/java/locale/LocaleInformation_kw_GB.java,
8167         gnu/java/locale/LocaleInformation_lt_LT.java,
8168         gnu/java/locale/LocaleInformation_lv_LV.java,
8169         gnu/java/locale/LocaleInformation_mi_NZ.java,
8170         gnu/java/locale/LocaleInformation_mk_MK.java,
8171         gnu/java/locale/LocaleInformation_mr_IN.java,
8172         gnu/java/locale/LocaleInformation_mt_MT.java,
8173         gnu/java/locale/LocaleInformation_nl_BE.java,
8174         gnu/java/locale/LocaleInformation_nl_NL.java,
8175         gnu/java/locale/LocaleInformation_nn_NO.java,
8176         gnu/java/locale/LocaleInformation_no_NO.java,
8177         gnu/java/locale/LocaleInformation_oc_FR.java,
8178         gnu/java/locale/LocaleInformation_pl_PL.java,
8179         gnu/java/locale/LocaleInformation_pt_BR.java,
8180         gnu/java/locale/LocaleInformation_pt_PT.java,
8181         gnu/java/locale/LocaleInformation_ro_RO.java,
8182         gnu/java/locale/LocaleInformation_ru_RU.java,
8183         gnu/java/locale/LocaleInformation_ru_UA.java,
8184         gnu/java/locale/LocaleInformation_se_NO.java,
8185         gnu/java/locale/LocaleInformation_sk_SK.java,
8186         gnu/java/locale/LocaleInformation_sl_SI.java,
8187         gnu/java/locale/LocaleInformation_sq_AL.java,
8188         gnu/java/locale/LocaleInformation_sr_YU.java,
8189         gnu/java/locale/LocaleInformation_sv_FI.java,
8190         gnu/java/locale/LocaleInformation_sv_SE.java,
8191         gnu/java/locale/LocaleInformation_ta_IN.java,
8192         gnu/java/locale/LocaleInformation_te_IN.java,
8193         gnu/java/locale/LocaleInformation_tg_TJ.java,
8194         gnu/java/locale/LocaleInformation_tl_PH.java,
8195         gnu/java/locale/LocaleInformation_tr_TR.java,
8196         gnu/java/locale/LocaleInformation_uk_UA.java,
8197         gnu/java/locale/LocaleInformation_ur_PK.java,
8198         gnu/java/locale/LocaleInformation_uz_UZ.java,
8199         gnu/java/locale/LocaleInformation_vi_VN.java,
8200         gnu/java/locale/LocaleInformation_yi_US.java,
8201         gnu/java/locale/LocaleInformation_zh_CN.java,
8202         gnu/java/locale/LocaleInformation_zh_HK.java,
8203         gnu/java/locale/LocaleInformation_zh_SG.java,
8204         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8205         info; from Classpath.
8206
8207         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8208         isPaintPending): New methods.
8209         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8210         setMaximizedBounds): New methods.
8211         (beginLayout, endLayout, isPaintPending): Likewise.
8212         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8213         (requestFocus): Likewise.
8214         (isObscured): Likewise.
8215         (canDetermineObscurity): Likewise.
8216         (coalescePaintEvent): Likewise.
8217         (updateCursorImmediately): Likewise.
8218         (createVolatileImage): Likewise.
8219         (handlesWheelScrolling): Likewise.
8220         (createBuffers): Likewise.
8221         (getBackBuffer): Likewise.
8222         (flip): Likewise.
8223         (destroyBuffers): Likewise.
8224
8225         * Makefile.in: Rebuilt.
8226         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8227         RobotPeer.java.
8228         * gnu/java/awt/GLightweightPeer.java,
8229         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8230         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8231         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8232         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8233         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8234         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8235         java/awt/dnd/peer/DragSourceContextPeer.java,
8236         java/awt/dnd/peer/DropTargetContextPeer.java,
8237         java/awt/peer/ButtonPeer.java,
8238         java/awt/peer/CheckboxMenuItemPeer.java,
8239         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8240         java/awt/peer/ComponentPeer.java,
8241         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8242         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8243         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8244         java/awt/peer/MenuBarPeer.java,
8245         java/awt/peer/MenuComponentPeer.java,
8246         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8247         java/awt/peer/PopupMenuPeer.java,
8248         java/awt/peer/ScrollPanePeer.java,
8249         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8250         java/awt/peer/TextComponentPeer.java,
8251         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8252         New versions from Classpath.
8253         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8254         * java/awt/peer/RobotPeer.java: Likewise.
8255
8256 2003-03-01  Mark Wielaard  <mark@klomp.org>
8257
8258         * java/io/ObjectInputStream.java: Reindent.
8259         * java/io/ObjectOutputStream.java: Likewise.
8260
8261 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8262
8263         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8264         jvalue for each argument. Simplify.
8265         * testsuite/libjava.jni/calls.c (docall),
8266         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8267         misalignment.
8268
8269 2003-02-28  Mark Wielaard  <mark@klomp.org>
8270
8271         * Makefile.am (nat_source_files): Remove
8272         java/io/natObjectOutputStream.cc.
8273         * Makefile.in: Regenerated.
8274         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8275         * java/io/ObjectStreamField.java (typename): New field.
8276         (ObjectStreamField(String, Class)): Initialize new field.
8277         (ObjectStreamField(String, String)): New Constructor.
8278         (getTypeCode): Use new field.
8279         (getTypeString): Use new field.
8280         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8281         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8282         Handle reading of Proxy classes. Never drain(), just write
8283         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8284         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8285         (flush): Call flush(), not just drain().
8286         (writeBoolean): Always use blockDataOutput.
8287         (writeByte): Likewise.
8288         (writeShort): Likewise.
8289         (writeChar): Likewise.
8290         (writeInt): Likewise.
8291         (writeLong): Likewise.
8292         (writeFloat): Likewise.
8293         (writeDouble): Likewise.
8294         (writeBytes): Likewise.
8295         (putfield (put(String,Object))): Throw IllegalArgumentException if
8296         field cannot be found.
8297         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8298         (writeArraySizeAndElements): Write byte[] in one go.
8299         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8300         set BlockDataMode to false.
8301         (annotateProxyClass): New method.
8302         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8303         (getField): No longer native.
8304         (getMethod): Likewise.
8305         (setBlockDataMode): Always drain() on switch, return old mode.
8306         (static): New static code block.
8307         * java/io/natObjectOutputStream.cc: Removed.
8308         * java/io/ObjectInputStream.java (getField): No longer native.
8309         (getMethod): Likewise.
8310         (readObject): Remember and reset old BlockDataMode. Track whether
8311         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8312         TC_LONGSTRING.
8313         (defaultReadObject): Set BlockDataMode to false during readFields.
8314         (resolveClass): Create new SecurityManager if necessary.
8315         Use Class.forName() if null ClassLoader found.
8316         (read(byte[],int,int): Copy remaining bytes to data before calling
8317         readNextBlock().
8318         (readFields): Set and reset BlockDataMode on call_read_method.
8319         Catch NoSuchFieldErrors.
8320         (setBlockDataMode): Return old mode.
8321         (static): New static code block.
8322         * java/io/natObjectInputStream.cc (getField): Removed.
8323         (getMethod): Likewise.
8324
8325 2003-02-27  Michael Koch  <konqueror@gmx.de>
8326
8327         * java/beans/Beans.java,
8328         java/beans/FeatureDescriptor.java
8329         java/beans/PropertyEditorManager.java:
8330         Reformated to GNU style.
8331
8332 2003-02-25  Michael Koch  <konqueror@gmx.de>
8333
8334         * gnu/java/nio/MappedByteFileBuffer.java,
8335         gnu/java/nio/natMappedByteFileBuffer.cc:
8336         New files, both are not compiled yet to get not noncompiling CVS.
8337
8338 2003-02-24  Tom Tromey  <tromey@redhat.com>
8339
8340         * java/util/prefs/AbstractPreferences.java (isUserNode):
8341         Implemented.
8342
8343 2003-02-24  Tom Tromey  <tromey@redhat.com>
8344
8345         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8346         Deprecate.
8347         * java/lang/Thread.java (resume): Deprecate.
8348         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8349         in @deprecated.
8350
8351 2003-02-23  Tom Tromey  <tromey@redhat.com>
8352
8353         * Makefile.in: Rebuilt.
8354         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8355
8356 2003-02-23  Tom Tromey  <tromey@redhat.com>
8357
8358         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8359         libraries): Removed.
8360         (add_library): Removed.
8361         (_load): Don't call add_library.
8362         (loadLibraryInternal): Likewise.
8363         (init): Likewise.
8364         (lookup_data): New struct.
8365         (find_symbol): New function.
8366         (_Jv_FindSymbolInExecutable): Use it.
8367
8368 2002-02-21  Anthony Green  <green@redhat.com>
8369
8370         * java/lang/Thread.java (Thread): New constructor taking stack
8371         size parameter (ignored for now).
8372         * Many methods: Merged GNU Classpath documentation.
8373
8374         * java/lang/Class.java (finalize): throws a Throwable.
8375
8376 2003-02-21  Mark Wielaard  <mark@klomp.org>
8377
8378         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8379         argument is null.
8380
8381 2003-02-21  Mark Wielaard  <mark@klomp.org>
8382
8383         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8384         then 65535 chars throw IllegalArgumentException.
8385
8386 2003-02-21  Mark Wielaard  <mark@klomp.org>
8387
8388         * java/util/zip/ZipFile.java (finalize): New method.
8389
8390 2003-02-21  Michael Koch  <konqueror@gmx.de>
8391
8392         * gnu/java/nio/natSocketChannelImpl.cc:
8393         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8394         <cato@df.lth.se> for pointing to it.
8395
8396 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8397
8398         * java/math/BigInteger.java (euclidInv): Take result array as an
8399         argument.  Updated all callers.
8400         (modInverse): Removed unused variables.
8401
8402 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8403
8404         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8405         config.status.
8406         * configure: Rebuilt.
8407
8408 2003-02-19  Michael Koch  <konqueror@gmx.de>
8409
8410         * gnu/java/nio/natSocketChannelImpl.cc:
8411         Added support for platforms without network support.
8412
8413 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8414
8415         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8416         after config.h.  Use <> for consistency.
8417         * java/lang/natObject.cc: Likewise.
8418         * java/lang/natRuntime.cc: Likewise.
8419         * java/lang/natSystem.cc: Likewise.
8420         * java/util/natTimeZone.cc: Likewise.
8421         * win32.cc: Likewise.
8422         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8423         listen, write, read): Undef to avoid interference from OS macros.
8424
8425 2003-02-19  Michael Koch  <konqueror@gmx.de>
8426
8427         * gnu/java/nio/ByteBufferImpl.java
8428         (ByteBufferImpl): Renamed two variables.
8429         * gnu/java/nio/CharBufferImpl.java
8430         (CharBufferImpl): Renamed two variables.
8431         * gnu/java/nio/DoubleBufferImpl.java
8432         (DoubleBufferImpl): Renamed two variables.
8433         * gnu/java/nio/FloatBufferImpl.java
8434         (FloatBufferImpl): Renamed two variables.
8435         * gnu/java/nio/IntBufferImpl.java
8436         (IntBufferImpl): Renamed two variables.
8437         * gnu/java/nio/LongBufferImpl.java
8438         (LongBufferImpl): Renamed two variables.
8439         * gnu/java/nio/ShortBufferImpl.java
8440         (ShortBufferImpl): Renamed two variables.
8441         * java/nio/CharBuffer.java
8442         (wrap): Fixed arguments to CharBufferImpl constructor.
8443         (hasArray): Only not read-only buffers have backing arrays.
8444         (length): Documentation added.
8445         (subSequence): Documentation added.
8446         * java/nio/DoubleBuffer.java
8447         (hasArray): Only not read-only buffers have backing arrays.
8448         * java/nio/FloatBuffer.java
8449         (hasArray): Only not read-only buffers have backing arrays.
8450         * java/nio/IntBuffer.java
8451         (hasArray): Only not read-only buffers have backing arrays.
8452         * java/nio/LongBuffer.java
8453         (hasArray): Only not read-only buffers have backing arrays.
8454         * java/nio/ShortBuffer.java
8455         (hasArray): Only not read-only buffers have backing arrays.
8456         
8457 2003-02-19  Michael Koch  <konqueror@gmx.de>
8458
8459         * javax/accessibility/AccessibleContext.java
8460         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8461
8462 2003-02-19  Michael Koch  <konqueror@gmx.de>
8463
8464         * java/awt/ScrollPaneAdjustable.java: Reformated.
8465
8466 2003-02-19  Michael Koch <konqueror@gmx.de>
8467
8468         * gnu/awt/j2d/Graphics2DImpl.java
8469         (getFontRenderContext): New method.
8470         (drawGlyphVector): New method.
8471         * java/awt/Graphics2D.java
8472         (getFontRenderContext): New abstract method.
8473         (drawGlyphVector): New abstract method.
8474         
8475 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8476
8477         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8478         if necessary.
8479         
8480         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8481         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8482         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8483         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8484         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8485         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8486         (setFont, gtkSetFont): add.
8487         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8488         Propagate font to peer.  (setFont): add FIXME comment.
8489
8490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8491         (gtkTextGetSize): fix height, width computation.
8492
8493         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8494         Make X font name a bit less bogus.
8495
8496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8497         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8498
8499         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8500         (processAdjustmentEvent): Adjust value.
8501
8502         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8503         logic errors.
8504
8505         * java/awt/Component.java (setVisible, show, hide): Call show and
8506         hide methods in subclasses.
8507         (getPreferredSize): don't set prefSize before we have peer.
8508
8509         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8510         Guess (0,0) if we don't have peer.
8511
8512
8513 2003-02-18  Michael Koch  <konqueror@gmx.de>
8514
8515         * java/nio/channels/FileChannel.java
8516         (toString): New implementation, added documentation.
8517         (map): Added exception documentation.
8518         (size): Added exception documentation.
8519         (write): New methods, documentation work.
8520         (read): New methods, documentation work.
8521         (implCloseChannel): Rewrote exception documentation.
8522         (force): Throws IOException, added documentation.
8523         (lock): New methods.
8524         (tryLock): New methods.
8525         (position): New methods.
8526         (transferTo): New method.
8527         (transferFrom): New method.
8528         (truncate): New method.
8529         * java/nio/channels/spi/SelectorProvider.java
8530         (provider): Implemented.
8531         * Makefile.am
8532         (ordinary_java_source_files): Added the following files:
8533         gnu/java/nio/DatagramChannelImpl.java
8534         gnu/java/nio/FileChannelImpl.java
8535         gnu/java/nio/PipeImpl.java
8536         gnu/java/nio/SelectionKeyImpl.java
8537         gnu/java/nio/SelectorImpl.java
8538         gnu/java/nio/SelectorProviderImpl.java
8539         gnu/java/nio/ServerSocketChannelImpl.java
8540         gnu/java/nio/SocketChannelImpl.java
8541         java/nio/channels/FileLock.java
8542         (nat_java_source_files): Added the following files:
8543         gnu/java/nio/natFileChannelImpl.cc
8544         gnu/java/nio/natSelectorImpl.cc
8545         gnu/java/nio/natSocketChannelImpl.cc
8546         * Makefile.in: Regenerated.
8547
8548 2003-02-17  Tom Tromey  <tromey@redhat.com>
8549
8550         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8551         * java/awt/image/ImageFilter.java: Likewise.
8552
8553 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8554
8555         * java/math/BigInteger.java (euclidInv): Return array of
8556         `BigInteger's.  Changed all callers.
8557
8558 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8559
8560         * java/util/Properties.java (store): Move the code formerly in
8561         list(), into this method.
8562         (list (PrintStream)): Just call list (PrintWriter) with a 
8563         PrintWriter object constructed from the given PrintStream object.
8564         (list (PrintWriter)): Emulate the output of Properties.list()
8565         as found in JDK 1.3/1.4.
8566
8567 2003-02-17  Michael Koch  <konqueror@gmx.de>
8568
8569         * java/net/DatagramSocket.java
8570         (connect): Merged with classpath.
8571         (disconnect): Merged documentation with classpath.
8572         (receice): Merged documentation with classpath.
8573         (send): Merged documentation with classpath.
8574         
8575 2003-02-17  Michael Koch  <konqueror@gmx.de>
8576
8577         * java/awt/dnd/DragSourceContext.java
8578         (addDragSourceListener): Added documentation.
8579         * java/awt/dnd/DragSourceDragEvent.java
8580         (serialVersionUID): New member variable.
8581         (getDropAction): Reformated.
8582         * java/awt/dnd/DragSourceDropEvent.java
8583         (serialVersionUID): New member variable.
8584         (dropSuccess): Renamed from success for serialization issues.
8585         * java/awt/dnd/DragSourceEvent.java
8586         (serialVersionUID): New member variable.
8587         * java/awt/dnd/DropTarget.java
8588         (serialVersionUID): New member variable.
8589         (DropTarget): Implemented, documentation reworked.
8590         (setComponent): Documentation added.
8591         (getComponent): Documentation added.
8592         (setDefaultActions): Documentation added.
8593         (getDefaultActions): Documentation added.
8594         (addDropTargetListener): Documentation added.
8595         * java/awt/dnd/DropTargetContext.java
8596         (DropTargetContext): Documentation added.
8597         (TransferableProxy.TransferableProxy): New method.
8598         (dropComplete): Fixed documentation.
8599         (getTransferable): Fixed documentation.
8600         (createTransferableProxy): Implemented.
8601         * java/awt/dnd/DropTargetDragEvent.java
8602         (DropTargetDragEvent): Documentation added.
8603         (serialVersionUID): New member variable.
8604         (DropTargetDragEvent): Throw exceptions, documentation added.
8605         (acceptDrag): Implemented.
8606         (getCurrentDataFlavors): Implemented.3yy
8607         (getCurrentDataFlavorsAsList): Implemented.
8608         (isDataFlavorSupported): Implemented.
8609         (rejectDrag): Implemented.
8610         * java/awt/dnd/DropTargetDropEvent.java
8611         (DropTargetDropEvent): Documentation added.
8612         (serialVersionUID): New member variable.
8613         (actions): Renamed from srcActions for serialization issues.
8614         (isLocalTx): Renamed from isLocalTx for serialization issues.
8615         (DropTargetDropEvent): New implementation, throw exceptions,
8616         documentation added.
8617         (getCurrentDataFlavors): Implemented.
8618         (getCurrentDataFlavorsAsList): Implemented.
8619         (isDataFlavorSupported): Implemented.
8620         (getSourceActions): Implemented.
8621         (getDropAction): Implemented.
8622         (getTransferable): Implemented.
8623         (acceptDrop): Implemented.
8624         (rejectDrop): Implemented.
8625         * java/awt/dnd/DropTargetListener.java
8626         (drop): Fixed documentation.
8627         * java/awt/dnd/MouseDragGestureRecognizer.java
8628         (MouseDragGestureRecognizer): Documentation added.
8629
8630 2003-02-17  Michael Koch  <konqueror@gmx.de>
8631
8632         * java/awt/font/FontRenderContext.java,
8633         java/awt/font/ShapeGraphicAttribute.java,
8634         java/awt/font/MultipleMaster.java,
8635         java/awt/font/TransformAttribute.java,
8636         java/awt/font/GlyphJustificationInfo.java,
8637         java/awt/font/LineBreakMeasurer.java,
8638         java/awt/font/TextMeasurer.java,
8639         java/awt/font/TextLayout.java,
8640         java/awt/font/LineMetrics.java,
8641         java/awt/font/TextAttribute.java,
8642         java/awt/font/GlyphMetrics.java,
8643         java/awt/font/OpenType.java,
8644         java/awt/font/GlyphVector.java,
8645         java/awt/font/GraphicAttribute.java,
8646         java/awt/font/ImageGraphicAttribute.java,
8647         java/awt/font/NumericShaper.java: New files.
8648         * Makefile.am
8649         (awt_java_source_files): Added the following files:
8650         java/awt/font/FontRenderContext.java
8651         java/awt/font/ShapeGraphicAttribute.java
8652         java/awt/font/MultipleMaster.java
8653         java/awt/font/TransformAttribute.java
8654         java/awt/font/GlyphJustificationInfo.java
8655         java/awt/font/LineBreakMeasurer.java
8656         java/awt/font/TextMeasurer.java
8657         java/awt/font/TextLayout.java
8658         java/awt/font/LineMetrics.java
8659         java/awt/font/TextAttribute.java
8660         java/awt/font/GlyphMetrics.java
8661         java/awt/font/OpenType.java
8662         java/awt/font/GlyphVector.java
8663         java/awt/font/GraphicAttribute.java
8664         java/awt/font/ImageGraphicAttribute.java
8665         java/awt/font/NumericShaper.java
8666         * Makefile.in: Regenerated.
8667
8668 2003-02-17  Michael Koch  <konqueror@gmx.de>
8669
8670         * java/awt/print/Paper.java
8671         (Paper): Implements Cloneable.
8672         * java/awt/print/PrinterJob.java
8673         (setJobName): Return value must be void.
8674         (print): Throws PrinterException.
8675         
8676 2003-02-16  Tom Tromey  <tromey@redhat.com>
8677
8678         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8679         variable.
8680
8681 2003-02-15  Michael Koch  <konqueror@gmx.de>
8682
8683         * java/awt/datatransfer/DataFlavor.java
8684         (isRepresentationClassByteBuffer): Removed try-catch block.
8685         (isRepresentationClassCharBuffer): Removed try-catch block.
8686         (isRepresentationClassReader): Removed try-catch block.
8687
8688 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8689
8690         * java/nio/charset/Charset.java
8691         (isRegistered): Fixed method args and implementation.
8692         * java/nio/charset/CharsetEncoder.java
8693         (unmappableCharacterAction): New method.
8694
8695 2003-02-15  Michael Koch  <konqueror@gmx.de>
8696
8697         * java/awt/CheckboxMenuItem.java
8698         (CheckBoxMenuItem): Dont implement Serializable.
8699         (getListeners): New method,
8700         (getItemListeners): New method.
8701         * java/awt/Choice.java
8702         (getListeners): New method,
8703         (getItemListeners): New method.
8704         * java/awt/Container.java
8705         (getListeners): Added exception documentation.
8706         (setFocusTraversalKeys): Throw exceptions, added documentattion.
8707         (getFocusTraversalKeys): Added documentation.
8708         (areFocusTraversalKeysSet): Added documentation.
8709         (applyComponentOrientation): Added documentation.
8710         * java/awt/ContainerOrderFocusTraversalPolicy.java
8711         (implicitDownCycleTraversal): Renamed from downCycle for
8712         serialization.
8713         (ContainerOrderFocusTraversalPolicy): Added documentation.
8714         (accept): Reformated.
8715         * java/awt/Dialog.java
8716         (Dialog): Dont implement Serializable.
8717         (Dialog): Added documentation.
8718         * java/awt/Font.java
8719         (Font): Dont use absolute class name.
8720         * java/awt/Frame.java
8721         (Frame): Font implement Serializable.
8722         * java/awt/List.java
8723         (getListeners): New method,
8724         (getActionListeners): New method.       
8725         (getItemListeners): New method.
8726         * java/awt/Menu.java
8727         (countItems): New deprecated method.
8728         * java/awt/Scrollbar.java
8729         (getListeners): New method,
8730         (getAdjustmentListeners): New method,
8731         * java/awt/TextComponent.java
8732         (getListeners): New method,
8733         (getTextListeners): New method,
8734         * java/awt/TextField.java
8735         (getListeners): New method,
8736         (getActionListeners): New method.       
8737         * java/awt/Window.java
8738         (windowFocusListener): New member variable.
8739         (windowStateListener): New member variable.
8740         (getWindowFocusListeners): New method.
8741         (getWindowStateListeners): New method.
8742         (addWindowFocusListener): New method.
8743         (addWindowStateListener): New method.
8744         (removeWindowFocusListener): New method.
8745         (removeWindowStateListener): New method.
8746         * java/awt/datatransfer/DataFlavor.java
8747         (isRepresentationClassByteBuffer): New method.
8748         (isRepresentationClassCharBuffer): New method.
8749         (isRepresentationClassReader): New method.
8750
8751 2003-02-14  Mark Wielaard  <mark@klomp.org>
8752
8753         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8754         zero when there is an exponent and the significant is zero.
8755         (divide): Always set scale to newScale even in special ZERO case.
8756
8757 2003-02-14  Tom Tromey  <tromey@redhat.com>
8758
8759         * java/lang/System.java (properties): Use Properties.clone.
8760         (setProperties): Likewise.
8761
8762 2003-02-14  Michael Koch  <konqueror@gmx.de>
8763
8764         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8765         * gnu/java/nio/ServerSocketChannelImpl.java
8766         (SocketAccept): Removed.
8767         (accept): Commented out use of SocketAccept.
8768
8769 2003-02-13  Tom Tromey  <tromey@redhat.com>
8770
8771         * verify.cc (state::seen_subrs): New field.
8772         (state::state): Initialize it.
8773         (state::clean_subrs): New method.
8774         (state::~state): Call it.
8775         (state::copy): Copy subroutine list.
8776         (state::add_subr): New method.
8777         (state::merge): Only register a change if the current subroutine
8778         hasn't yet been noted.
8779
8780 2003-02-13  Mark Wielaard  <mark@klomp.org>
8781
8782         * java/io/InputStreamReader.java (getEncoding): Return null when
8783         closed.
8784         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8785
8786 2003-02-13  Mark Wielaard  <mark@klomp.org>
8787  
8788         * java/util/zip/InflaterInputStream.java (read): Return zero when len
8789         is zero.
8790
8791 2003-02-13  Mark Wielaard  <mark@klomp.org>
8792
8793         * java/io/BufferedOutputStream.java (write(int)): Only flush when
8794         next byte cannot be buffered.
8795
8796 2003-02-13  Michael Koch  <konqueror@gmx.de>
8797  
8798         * java/awt/Label.java
8799         (Label): Don't implement Serializable directly.
8800         (addNotify): Fixed typo in documentation.
8801         * java/awt/List.java
8802         (List): Don't implement Serializable directly.
8803         * java/awt/PopupMenu.java
8804         (PopupMenu): Don't implement Serializable directly.
8805         * java/awt/ScrollPane.java
8806         (ScrollPane): Don't implement Serializable directly.
8807         * java/awt/Scrollbar.java
8808         (Scrollbar): Don't implement Serializable directly.
8809         * java/awt/TextArea.java
8810         (preferredSize): Fixed method arguments.
8811         * java/awt/TextField.java
8812         (TextField): Don't implement Serializable directly.
8813         * java/awt/color/ICC_ColorSpace.java
8814         (fromCIOXYZ): Documentation added.
8815         (getMinValue): Documentation added.
8816         (getMaxValue): Documentation added.
8817         * java/awt/datatransfer/DataFlavor.java
8818         (isMimeTypeEqual): May not be final.
8819         (clone): Throws CloneNotSupportedException.
8820         (getReaderForText): Don't throws UnsupportedEncodingException.
8821
8822 2003-02-13  Michael Koch  <konqueror@gmx.de>
8823  
8824         * gnu/java/awt/peer/gtk/GdkGraphics.java
8825         (drawString): New stubbed method.
8826         * java/awt/Graphics.java
8827         (drawString): New method.
8828
8829 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
8830
8831         PR libgcj/9271:
8832         * java/security/SecureRandom.java (next): Avoid bias in results.
8833
8834 2003-02-13  Michael  <konqueror@gmx.de>
8835
8836         * gnu/java/nio/FileChannelImpl.java
8837         (lengthInternal): Must be native.
8838         (size): Check if channel is already closed.
8839         (implCloseChannel): Reformated.
8840         (read): w was unused, removed it.
8841         (read): Removed.
8842         (read): New method.
8843         (write): New method.
8844         (map): Check arguments.
8845         (force): Throws IOException, check if channel is closed.
8846         (transferTo): New method.
8847         (transferFrom): New method.
8848         (lock): New method.
8849         (tryLock): New method.
8850         (position): New method.
8851         (truncate): New method.
8852         (nio_mmap_file): Uncommented.
8853         (nio_munmap_file): Uncommented.
8854         (nio_msync): Uncommented.
8855         * gnu/java/nio/natFileChannelImpl.cc: New file.
8856         
8857 2003-02-13  Michael Koch  <konqueror@gmx.de>
8858
8859         * java/nio/ByteBuffer.java
8860         (endian): New member variable.
8861         (get): New methods.
8862         (equals): New method.
8863         (compareTo): New method.
8864         (order): New methods.
8865         (compact): New method.
8866         (isDirect): New method.
8867         (slice): New method.
8868         (duplicate): New method.
8869         (asReadOnlyBuffer): New method.
8870         (asCharBuffer): New method.
8871         (asDoubleBuffer): New method.
8872         (asFloatBuffer): New method.
8873         (asIntBuffer): New method.
8874         (asLongBuffer): New method.
8875         (asShortBuffer): New method.
8876         (get*): New methods.
8877         (put*): New methods.
8878         (toString): New method.
8879         * java/nio/CharBuffer.java
8880         (CharBuffer): Implement Comparable instead of Cloneable.
8881         (get): May not be final.
8882         (put): May not be final.
8883         
8884 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
8885
8886         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
8887         lastIndexOf( ) instead of indexOf( ) to find the colon before
8888         the line number, because Win32 file names might contain a 
8889         drive letter and a colon at the start of an absolute path.
8890
8891 2003-02-13  Michael Koch  <konqueror@gmx.de>
8892
8893         * gnu/java/nio/natSocketChannelImpl.cc
8894         (SocketConnect): This is not implemented yet.
8895         (SocketBind): This is not implemented yet.
8896
8897 2003-02-13  Michael Koch  <konqueror@gmx.de>
8898
8899         * gnu/java/nio/natByteBufferImpl.cc,
8900         gnu/java/nio/natCharBufferImpl.cc,
8901         gnu/java/nio/natDoubleBufferImpl.cc,
8902         gnu/java/nio/natFloatBufferImpl.cc,
8903         gnu/java/nio/natIntBufferImpl.cc,
8904         gnu/java/nio/natLongBufferImpl.cc,
8905         gnu/java/nio/natShortBufferImpl.cc:
8906         Added copyright and license.
8907         * java/nio/DoubleBuffer.java,
8908         java/nio/FloatBuffer.java,
8909         java/nio/IntBuffer.java,
8910         java/nio/LongBuffer.java,
8911         java/nio/ShortBuffer.java
8912         (array): Throw exceptions.
8913         (arrayOffset): Throw exceptions.
8914
8915 2003-02-13  Michael Koch  <konqueror@gmx.de>
8916  
8917         * gnu/java/util/prefs/FileBasedFactory.java,
8918         gnu/java/util/prefs/MemmoryBasedFactory.java,
8919         gnu/java/util/prefs/MemoryBasedPreferences.java,
8920         gnu/java/util/prefs/NodeReader.java,
8921         gnu/java/util/prefs/NodeWriter.java,
8922         java/util/prefs/AbstractPreferences.java,
8923         java/util/prefs/BackingStoreException.java,
8924         java/util/prefs/InvalidPreferencesFormatException.java,
8925         java/util/prefs/NodeChangeEvent.java,
8926         java/util/prefs/NodeChangeListener.java,
8927         java/util/prefs/PreferenceChangeEvent.java,
8928         java/util/prefs/PreferenceChangeListener.java,
8929         java/util/prefs/Preferences.java,
8930         java/util/prefs/PreferencesFactory.java:
8931         New files, all merged from classpath.
8932         * Makefile.am
8933         (ordinary_java_source_files): Added the following files:
8934         gnu/java/util/prefs/FileBasedFactory.java,
8935         gnu/java/util/prefs/MemmoryBasedFactory.java,
8936         gnu/java/util/prefs/MemoryBasedPreferences.java,
8937         gnu/java/util/prefs/NodeReader.java,
8938         gnu/java/util/prefs/NodeWriter.java,
8939         (core_java_source_files): Added the following files:
8940         java/util/prefs/AbstractPreferences.java,
8941         java/util/prefs/BackingStoreException.java,
8942         java/util/prefs/InvalidPreferencesFormatException.java,
8943         java/util/prefs/NodeChangeEvent.java,
8944         java/util/prefs/NodeChangeListener.java,
8945         java/util/prefs/PreferenceChangeEvent.java,
8946         java/util/prefs/PreferenceChangeListener.java,
8947         java/util/prefs/Preferences.java,
8948         java/util/prefs/PreferencesFactory.java
8949         * Makefile.in: Regenerated.
8950  
8951 2003-02-13  Michael Koch  <konqueror@gmx.de>
8952
8953         * java/net/NetPermission.java
8954         (NetPermission): Make doucmentation match the method declaration.
8955         * java/net/NetworkInterface.java
8956         (equals): Reformated for GNU coding style.
8957         * java/net/ServerSocket.java: Merged with classpath.
8958         * java/net/Socket.java: Partly merged with classpath (Added some @since).
8959         * java/net/SocketImpl.java
8960         (localPort): Merged with classpath (initialize with -1).
8961         * java/net/SocketPermission.java: Merged with classpath (reindented).
8962         * java/net/URLDecoder.java: Merged with classpath (reindented).
8963
8964 2003-02-13  Michael Koch  <konqueror@gmx.de>
8965
8966         * java/awt/GridBagConstraints.java
8967         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
8968         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
8969         * java/awt/KeyboardFocusManager.java
8970         (setGlobalCurrentFocusCycleRoot): Must be public.
8971         * java/awt/MenuComponent.java
8972         (MenuComponent): Must be public.
8973         * java/awt/Toolkit.java:
8974         Added some empty lines to make documentation more readable.
8975         (getFontPeer): Added @deprecated.
8976         (getColorModel): Added exception documentation.
8977         (getProperty): Fixed documentation.
8978  
8979 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
8980
8981         * configure.host (alpha*-*): Default to -mieee.
8982         * configure.in (IEEESPEC): New.
8983         * libgcj.spec.in (jc1): Add IEEESPEC.
8984         * configure: Rebuild.
8985
8986 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
8987
8988         * include/win32.h: Include ws2tcpip.h instead of
8989         winsock.h to obtain definition of the socklen_t type.
8990         Remove IP_TOS definition - not needed with ws2tcpip.h
8991         (_Jv_connect): Correct slight formatting error.
8992
8993 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
8994
8995         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
8996         size of the arguments for a JNI function. For Win32,
8997         modify to search for all forms of possible exported
8998         names of an stdcall JNI function.
8999         (_Jv_JNIMethod::call): Modify to calculate the size
9000         of the arguments passed to a JNI function and pass
9001         it to _Jv_LookupJNIMethod.
9002
9003 2003-02-12  Michael Koch  <konqueror@gmx.de>
9004
9005         * java/nio/channels/Channels.java: New file.
9006         * Makefile.am
9007         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9008         * Makefile.in: Regenerated.
9009
9010 2003-02-12  Michael Koch  <konqueror@gmx.de>
9011
9012         * java/nio/ByteBuffer.java
9013         (allocate): Implemented.
9014         (wrap): Implemented.
9015         * java/nio/CharBuffer.java:
9016         Some documentation added and reworked.
9017         (endian): Removed.
9018         (allocate): Implemented.
9019         (wrap): Implemented.
9020         (array): Throw exceptions.
9021         (arrayOffset): Throw exceptions.
9022         (toString): Implemented.
9023         (length): Implemented.
9024         (put): Implemented.
9025         (charAt): Implemented.
9026
9027 2003-02-11  John Leuner  <jewel@debian.org>
9028
9029         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9030         reads from end of file.
9031
9032 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9033
9034         * java/io/natFileDescriptorWin32.cc 
9035         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9036         returns with Win32 error code ERROR_BROKEN_PIPE.
9037
9038 2003-02-11  Michael Koch  <konqueror@gmx.de>
9039
9040         * Makefile.in
9041         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9042
9043 2003-02-11  Michael Koch  <konqueror@gmx.de>
9044
9045         * gnu/java/nio/ByteBufferImpl.java:
9046         Reformated and removed some code.
9047         (backing_buffer): Removed.      
9048         (array_offset): Removed.
9049         (ro): Renamed to readOnly.
9050         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9051         * gnu/java/nio/CharBufferImpl.java:
9052         Reformated and removed some code.
9053         (array_offset): Removed.
9054         (ro): Renamed to readOnly.
9055         (CharBufferImpl): Use parent constructor, initialize readOnly.
9056         (inc_pos): Removed.
9057         (order): New method.
9058         * gnu/java/nio/DoubleBufferImpl.java:
9059         Reformated and removed some code.
9060         (array_offset): Removed.
9061         (ro): Renamed to readOnly.
9062         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9063         (inc_pos): Removed.
9064         (order): New method.
9065         * gnu/java/nio/FloatBufferImpl.java:
9066         Reformated and removed some code.
9067         (array_offset): Removed.
9068         (ro): Renamed to readOnly.
9069         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9070         (inc_pos): Removed.
9071         (order): New method.
9072         * gnu/java/nio/IntBufferImpl.java:
9073         Reformated and removed some code.
9074         (array_offset): Removed.
9075         (ro): Renamed to readOnly.
9076         (IntBufferImpl): Use parent constructor, initialize readOnly.
9077         (inc_pos): Removed.
9078         (order): New method.
9079         * gnu/java/nio/LongBufferImpl.java:
9080         Reformated and removed some code.
9081         (array_offset): Removed.
9082         (ro): Renamed to readOnly.
9083         (LongBufferImpl): Use parent constructor, initialize readOnly.
9084         (inc_pos): Removed.
9085         (order): New method.
9086         * gnu/java/nio/ShortBufferImpl.java:
9087         Reformated and removed some code.
9088         (array_offset): Removed.
9089         (ro): Renamed to readOnly.
9090         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9091         (inc_pos): Removed.
9092         (order): New method.
9093         * Makefile.am
9094         (ordinary_java_source_files): Added the following files:
9095         gnu/java/nio/ByteBufferImpl.java
9096         gnu/java/nio/CharBufferImpl.java
9097         gnu/java/nio/DoubleBufferImpl.java
9098         gnu/java/nio/FloatBufferImpl.java
9099         gnu/java/nio/IntBufferImpl.java
9100         gnu/java/nio/LongBufferImpl.java
9101         gnu/java/nio/ShortBufferImpl.java
9102         java/nio/DoubleBuffer.java
9103         java/nio/FloatBuffer.java
9104         java/nio/IntBuffer.java
9105         java/nio/LongBuffer.java
9106         java/nio/ShortBuffer.java
9107         (nat_source_files): Added the following files:
9108         gnu/java/nio/natByteBufferImpl.cc
9109         gnu/java/nio/natCharBufferImpl.cc
9110         gnu/java/nio/natDoubleBufferImpl.cc
9111         gnu/java/nio/natFloatBufferImpl.cc
9112         gnu/java/nio/natIntBufferImpl.cc
9113         gnu/java/nio/natLongBufferImpl.cc
9114         gnu/java/nio/natShortBufferImpl.cc
9115         * Makefile.in: Regenerated.
9116
9117 2003-02-11  Michael Koch  <konqueror@gmx.de>
9118
9119         * gnu/java/nio/natCharBufferImpl.cc
9120         (nio_cast): Removed.
9121         (nio_put_*): Removed.
9122         (nio_get_*): Removed.
9123         * gnu/java/nio/natDoubleBufferImpl.cc
9124         (nio_cast): Removed.
9125         (nio_put_*): Removed.
9126         (nio_get_*): Removed.
9127         * gnu/java/nio/natFloatBufferImpl.cc
9128         (nio_cast): Removed.
9129         (nio_put_*): Removed.
9130         (nio_get_*): Removed.
9131         * gnu/java/nio/natIntBufferImpl.cc
9132         (nio_cast): Removed.
9133         (nio_put_*): Removed.
9134         (nio_get_*): Removed.
9135         * gnu/java/nio/natLongBufferImpl.cc
9136         (nio_cast): Removed.
9137         (nio_put_*): Removed.
9138         (nio_get_*): Removed.
9139         * gnu/java/nio/natShortBufferImpl.cc
9140         (nio_cast): Removed.
9141         (nio_put_*): Removed.
9142         (nio_get_*): Removed.
9143         * gnu/java/nio/SelectorProviderImpl.java
9144         (openDatagramChannel): Throws IOException.
9145         (openPipe): Throws IOException.
9146         (openSelector): Throws IOException.
9147         (openServerSocketChannel): Throws IOException.
9148         (openSocketChannel): Throws IOException.
9149         * gnu/java/nio/ServerSocketChannelImpl.java
9150         (ServerSocketChannelImpl): Throws IOException.
9151         (implCloseSelectableChannel): Throws IOException.
9152         (implConfigureBlocking): Throws IOException.
9153         * java/nio/ByteBuffer.java
9154         (readOnly): Removed.
9155         (hasArray): Use isReadOnly() instead of readOnly.
9156         (array): Use isReadOnly() instead of readOnly.
9157         (arrayOffset): Use isReadOnly() instead of readOnly.
9158         * java/nio/CharBuffer.java
9159         (CharBuffer): Implements Cloneable and CharSequence.
9160
9161 2003-02-11  Michael Koch  <konqueror@gmx.de>
9162
9163         * java/nio/DoubleBuffer.java
9164         (DoubleBuffer): Implements Comparable.
9165         (endian): Removed.
9166         (array_offset): New member variable.
9167         (DoubleBuffer): New constuctor.
9168         (get): May not be final.
9169         (put): May not be final.
9170         (arrayOffset): Implemented.
9171         (order): Made abstract.
9172         (order): Removed.
9173         (as*Buffer): Removed.
9174         (get*): Removed.
9175         (put*): Removed.
9176         * java/nio/FloatBuffer.java
9177         (FloatBuffer): Implements Comparable.
9178         (endian): Removed.
9179         (array_offset): New member variable.
9180         (FloatBuffer): New constuctor.
9181         (get): May not be final.
9182         (put): May not be final.
9183         (arrayOffset): Implemented.
9184         (order): Made abstract.
9185         (order): Removed.
9186         (as*Buffer): Removed.
9187         (get*): Removed.
9188         (put*): Removed.
9189         * java/nio/IntBuffer.java
9190         (IntBuffer): Implements Comparable.
9191         (endian): Removed.
9192         (array_offset): New member variable.
9193         (IntBuffer): New constuctor.
9194         (get): May not be final.
9195         (put): May not be final.
9196         (arrayOffset): Implemented.
9197         (order): Made abstract.
9198         (order): Removed.
9199         (as*Buffer): Removed.
9200         (get*): Removed.
9201         (put*): Removed.
9202         * java/nio/LongBuffer.java
9203         (LongBuffer): Implements Comparable.
9204         (endian): Removed.
9205         (array_offset): New member variable.
9206         (LongBuffer): New constuctor.
9207         (get): May not be final.
9208         (put): May not be final.
9209         (arrayOffset): Implemented.
9210         (order): Made abstract.
9211         (order): Removed.
9212         (as*Buffer): Removed.
9213         (get*): Removed.
9214         (put*): Removed.
9215         * java/nio/ShortBuffer.java
9216         (ShortBuffer): Implements Comparable.
9217         (endian): Removed.
9218         (array_offset): New member variable.
9219         (ShortBuffer): New constuctor.
9220         (get): May not be final.
9221         (put): May not be final.
9222         (arrayOffset): Implemented.
9223         (order): Made abstract.
9224         (order): Removed.
9225         (as*Buffer): Removed.
9226         (get*): Removed.
9227         (put*): Removed.
9228
9229 2003-02-11   Michael Koch  <konqueror@gmx.de>
9230
9231         * java/nio/channels/SelectionKey.java
9232         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9233         values.
9234
9235 2003-02-11  Michael Koch  <konqueror@gmx.de>
9236
9237         * java/nio/channels/DatagramChannel.java
9238         (write): Throws IOException.
9239         (connect): Throws IOException.
9240         (disconnect): Throws IOException.
9241         (read): Throws IOException.
9242         (receive): Throws IOException.
9243         (send): Throws IOException.
9244         * java/nio/channels/Pipe.java
9245         (open): Throws IOException.
9246         * java/nio/channels/SelectableChannel.java
9247         (configureBlocking): Throws IOException.
9248         * java/nio/channels/ServerSocketChannel.java
9249         (accept): Throws IOException.
9250         * java/nio/channels/SocketChannel.java
9251         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9252         GatheringByteChannel.
9253         (read): Throws IOException.
9254         (write): Throws IOException.
9255         (finishConnect): Throws IOException.
9256         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9257         (end): Throws AsynchronousCloseException.
9258         * java/nio/channels/spi/AbstractSelectableChannel.java
9259         (configureBlocking): Throws IOException.
9260         (implCloseChannel): Throws IOException.
9261         (implCloseSelectableChannel): Throws IOException.
9262         (implConfigureBlocking): Throws IOException.
9263         * java/nio/channels/spi/SelectorProvider.java
9264         (openDatagramChannel): Throws IOException.
9265         (openPipe): Throws IOException.
9266         (openSelector): Throws IOException.
9267         (openServerSocketChannel): Throws IOException.
9268         (openSocketChannel): Throws IOException.
9269
9270 2003-02-11  Michael Koch  <konqueror@gmx.de>
9271
9272         * gnu/java/nio/FileLockImpl.java,
9273         java/nio/channels/FileLock.java: New files.
9274
9275 2003-02-11  Michael Koch  <konqueror@gmx.de>
9276
9277         * java/nio/charset/IllegalCharsetNameException.java
9278         (serialVersionUID): New member variable.
9279         (charsetName): New member variable.
9280         (IllegalCharsetException): New implementation.
9281         (getCharsetName): New implementation.
9282         * java/nio/charset/UnsupportedCharsetException.java
9283         (serialVersionUID): New member variable.
9284         (charsetName): New member variable.
9285         (UnsupportedCharsetException): New implementation.
9286         (getCharsetName): New implementation.
9287
9288 2003-02-10  Tom Tromey  <tromey@redhat.com>
9289
9290         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9291         (ex): Renamed from sqlException.
9292
9293 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9294
9295         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9296         method used to ensure seeding has occurred and that a specific 
9297         seed can be set and used.
9298
9299 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9300
9301         * java/lang/Win32Process.java (destroy): Declare as native.
9302         (hasExited): New native method.
9303         (exitValue): Define.
9304         (getErrorStream): Likewise.
9305         (getInputStream): Likewise.
9306         (getOutputStream): Likewise.
9307         (waitFor): Declare as native.
9308         (startProcess): New native method.
9309         (cleanup): Likewise.
9310         (ConcreteProcess): Define.
9311         (outputStream, inputStream, errorStream): New members.
9312         (procHandle, exitCode): Likewise.
9313
9314         * java/lang/natWin32Process.cc
9315         (java::lang::ConcreteProcess::cleanup): Define.
9316         (java::lang::ConcreteProcess::destroy): Likewise.
9317         (java::lang::ConcreteProcess::hasExited): Likewise.
9318         (java::lang::ConcreteProcess::waitFor): Likewise.
9319         (new_string): Likewise.
9320         (java::lang::ConcreteProcess::startProcess): Likewise.
9321
9322 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9323
9324         * java/math/BigInteger.java:
9325         Updated notice to include years 2002 and 3.
9326         Added 2 private (int) arrays with values from the HAC (Handbook of
9327         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9328         and t[] that contains nbr. of tests --used in isProbablePrime().
9329
9330         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9331
9332         * java/math/BigInteger.java (make(int[],int), add(int,int),
9333         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9334         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9335         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9336         make(long).
9337
9338         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9339         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9340         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9341         BIs and returns void.
9342         (modInverse(BI)): Use new signatures of euclidInv().
9343
9344         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9345         static small primes instead of remainder().
9346         Use pre-computed max nbr of trials based on bitlength of BI to test.
9347         Use pre-computed small primes for the trial tests instead of random
9348         numbers.
9349
9350         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9351         not used.
9352
9353         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9354         invoacation of MPN.chars_per_word().  not used.
9355
9356         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9357         local var and used where needed.
9358
9359         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9360         Combined declaration with initialisation of locals.
9361         Removed unused var.
9362
9363         * java/math/BigInteger.java: Style changes
9364         (pow(int)): Removed 'else' keyword.
9365         (toString(int)): idem.
9366         (doubleValue()): idem.
9367         (bitLength()): idem.
9368         (equals(Object)): Use static methods name in same class w/o prepending
9369         class name.
9370         (doubleValue()): idem.
9371         (setNegative(BI)): idem.
9372         (negate()): idem.
9373         (and(BI,int)): idem.
9374         (and(BI)): idem.
9375         (gcd(BI)): idem.
9376         (byteArrayToIntArray()): Removed casting to (int). this is
9377         std. behaviour.
9378         (canonicalize()): idem.
9379         (alloc(int)): Always instantiate a new BI.
9380
9381 2003-02-10  Tom Tromey  <tromey@redhat.com>
9382
9383         * java/sql/Timestamp.java (compareTo(Object)): New method.
9384         (compareTo(Timestamp)): Likewise.
9385         (serialVersionUID): Updated.
9386
9387 2003-02-07  Mark Wielaard  <mark@klomp.org>
9388
9389         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9390         when verify is true.
9391         (JarFile(File, boolean)): Likewise.
9392         (manifestRead): Set manifestRead field correctly.
9393
9394 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9395
9396         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9397         tests; see patch #1016 on Savannah.
9398
9399 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9400
9401         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9402         (toString): do not return Strings starting with . and - erroneously.
9403         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9404         DiagBigDecimal.
9405
9406 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9407
9408         * java/beans/PropertyDescriptor.java
9409         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9410         methods.
9411         (PropertyDescriptor(String, Class, String, String)): Likewise.
9412         (PropertyDescriptor(String, Method, Method): Factor out getter and
9413         setter method sanity checks into new method.
9414         (findMethods): Don't do parameter sanity checking of get method here.
9415         (checkMethods): New method.
9416
9417 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9418
9419         * java/beans/PropertyDescriptor.java: Reformat.
9420
9421 2003-02-04  Tom Tromey  <tromey@redhat.com>
9422
9423         * java/io/PipedOutputStream.java (flush): Declare as throwing
9424         IOException.
9425         (close): Likewise.
9426         * java/io/PipedWriter.java (close): Declare as throwing
9427         IOException.
9428         * java/io/StringWriter.java (close): Declare as throwing
9429         IOException.
9430
9431 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9432
9433         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9434         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9435         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9436         "_JNI_OnLoad@8" (MSVC).
9437
9438 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9439
9440         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9441         convention on Win32 to invoke native JNI methods.
9442
9443 2003-02-03  Andrew Haley  <aph@redhat.com>
9444
9445         * configure.host (x86_64): Enable interpreter.
9446
9447 2003-02-03  Andrew Haley  <aph@redhat.com>
9448
9449         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9450         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9451         * configure.in (BACKTRACESPEC): New.
9452         * configure: Regenerate.
9453
9454 2003-02-02  Tom Tromey  <tromey@redhat.com>
9455
9456         * configure: Rebuilt.
9457         * configure.in (TOOLKIT) [xlib]: Set correctly.
9458
9459         * Makefile.in: Rebuilt.
9460         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9461         libstdc++.
9462
9463 2003-01-31  Mark WIelaard  <mark@klomp.org>
9464
9465         * Makefile.in: Rebuilt.
9466         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9467
9468 2003-01-31  Tom Tromey  <tromey@redhat.com>
9469
9470         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9471         cast to element type.
9472         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9473         (_Jv_JNI_GetObjectArrayElement): Likewise.
9474
9475         * Makefile.in: Rebuilt.
9476         * Makefile.am (cond_x_ltlibrary): Renamed library to
9477         lib-gnu-awt-xlib.la.
9478         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9479         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9480         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9481         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9482         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9483         (lib_gnu_awt_xlib_la_LINK): Likewise.
9484         (install-exec-hook): Removed.
9485         (lib-gnu-awt-xlib.la): Renamed.
9486
9487 2003-01-31  Tom Tromey  <tromey@redhat.com>
9488
9489         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9490         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9491         aclocal.m4 and lost in some merge.
9492
9493         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9494         Don't try to find graphics configuration.
9495         * java/awt/Toolkit.java (default_toolkit_name): Use new
9496         Configuration entry.
9497         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9498         New global.
9499         * configure: Rebuilt.
9500         * configure.in (TOOLKIT): New subst.
9501         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9502         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9503         directory.  Make output directories for .c files.
9504         * Makefile.in: Rebuilt.
9505         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9506         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9507         (all_java_source_files): Added new sources.
9508         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9509         (gtk_c_files): New macro.
9510         (gtk_c_source_files): New macro.
9511         (cond_gtk_ltlibrary): New macro.
9512         ($(gtk_c_files)): New target.
9513         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9514         (gtk_awt_peer_sources): New macro.
9515         (gtk_c_headers): New macro.
9516         ($(gtk_c_headers)): New target.
9517         (ACLOCAL_AMFLAGS): New macro.
9518         * gtk.m4, glib.m4, libart.m4: New files.
9519         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9520         gnu/java/awt/peer/gtk/GdkGraphics.java,
9521         gnu/java/awt/peer/gtk/GtkArg.java,
9522         gnu/java/awt/peer/gtk/GtkArgList.java,
9523         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9524         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9525         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9526         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9527         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9528         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9529         gnu/java/awt/peer/gtk/GtkClipboard.java,
9530         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9531         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9532         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9533         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9534         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9535         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9536         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9537         gnu/java/awt/peer/gtk/GtkImage.java,
9538         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9539         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9540         gnu/java/awt/peer/gtk/GtkListPeer.java,
9541         gnu/java/awt/peer/gtk/GtkMainThread.java,
9542         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9543         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9544         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9545         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9546         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9547         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9548         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9549         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9550         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9551         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9552         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9553         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9554         gnu/java/awt/peer/gtk/GtkToolkit.java,
9555         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9556         gnu/java/awt/peer/gtk/TestAWT.java,
9557         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9559         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9561         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9562         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9563         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9564         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9565         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9566         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9567         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9568         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9569         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9570         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9571         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9572         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9573         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9574         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9575         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9576         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9577         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9578         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9579         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9580         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9581         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9582         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9583         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9584         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9585         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9586         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9587         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9588         jni/classpath/native_state.c, jni/classpath/native_state.h,
9589         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9590
9591 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9592
9593         * java/util/Properties.java (load): Ignore backslash before EOF.
9594
9595 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9596
9597         * java/lang/natClass.cc (initializeClass): Check tables when
9598         (state == JV_STATE_IN_PROGRESS).
9599         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9600         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9601         interpreted classes.
9602         (linkClass0): Use _Jv_WaitForState.
9603
9604 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9605
9606         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9607         object when finished.
9608
9609 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9610
9611         * libjava/configure.host: Disable can_unwind_signal on darwin.
9612
9613 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9614
9615         Fixes PR java/9254:
9616         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9617         additionally containing id of the owner thread as well as
9618         the number of nested times the thread has acquired the mutex.
9619         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9620         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9621         (_Jv_MutexUnlock): Check if really the owner thread, reset
9622         owner thread id to 0 before leaving, if leaving for the last
9623         time.
9624         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9625         refcount.
9626         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9627         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9628         the passed mutex.
9629         Pass handle of the broadcast event, instead of a pointer to it
9630         in Win32 ResetEvent( ) call.
9631         Remove incorrect return values.
9632         (_Jv_CondDestroy): Close both event handles and delete
9633         critical section.
9634         (_Jv_CondNotify): Check if really the owner thread.
9635         (_Jv_CondNotifyAll): Check if really the owner thread.
9636         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9637         (really_start): Use SetEvent( ) to signal daemon_cond.
9638         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9639         WaitForSingleObject( ) instead to wait for daemon_cond to be
9640         signalled.
9641
9642 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
9643
9644         * configure.in: Specifically define HAVE_BACKTRACE if building
9645         for MinGW.
9646         * include/win32.h: Remove HAVE_BACKTRACE definition.
9647         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9648         * configure: Rebuilt.
9649
9650 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
9651
9652         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9653         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
9654         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9655         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9656         * Makefile.in, configure: Rebuilt.
9657
9658 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
9659
9660         Fixes PR java/9253:
9661         * java/io/natFileWin32.cc (performList): Append only "*.*"
9662         if the canonical file path already has a "\" at the end.
9663
9664 2003-01-24  Tom Tromey  <tromey@redhat.com>
9665
9666         * defineclass.cc (handleMethodsEnd): Precompute code for static
9667         method.
9668         (handleCodeAttribute): Likewise.
9669         * resolve.cc (ncode): Use run_class for unsynchronized static
9670         methods.
9671         * include/java-interp.h (class _Jv_InterpMethod): Declare
9672         run_class.
9673         * interpret.cc (run_synch_class): Initialize class.
9674         (run) [insn_invokestatic]: Don't initialize class.
9675         [insn_anewarray]: Likewise.
9676         [insn_multianewarray]: Likewise.
9677         (run_class): New function.
9678
9679 2003-01-24  Tom Tromey  <tromey@redhat.com>
9680
9681         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9682         comment.
9683
9684 2003-01-22  Andrew Haley  <aph@redhat.com>
9685
9686         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9687         * configure.host (CHECKREFSPEC): Define for x86_64.
9688
9689 2003-01-21  Tom Tromey  <tromey@redhat.com>
9690
9691         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9692         search at 2, not 3.
9693
9694 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
9695
9696         * java/io/natFileWin32.cc (isAbsolute): Check path length before
9697         looking at any characters.
9698         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9699         be used.
9700         (isAbsolute): Check path's length as well.
9701
9702 2003-01-17  Mark Wielaard  <mark@klomp.org>
9703
9704         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9705         (nat_source_files): Add natVMObjectStreamClass.cc.
9706         * Makefile.in: Regenerated.
9707         * gcj/javaprims.h (namespace java): Regenerated.
9708         * java/io/ObjectStreamClass.java (getClassUID): Call
9709         VMObjectStreamClass.hasClassInitializer().
9710         (hasClassInitializer): Removed.
9711         * java/io/VMObjectStreamClass.java: New class.
9712         * java/io/natVMObjectStreamClass.cc: New file.
9713         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9714
9715 2003-01-16  Mark Wielaard  <mark@klomp.org>
9716
9717         * java/net/SocketImpl.java (toString): Don't explicitly call
9718         toString() on possible null address.
9719
9720 2003-01-16  Michael Koch  <konqueror@gmx.de>
9721
9722         * java/net/MulticastSocket.java
9723         (setInterface): Reindented.
9724
9725 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9726
9727         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9728         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9729         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9730         translateY arguments.  Implement.
9731         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9732         down translation arguments.
9733         (drawPolyline, drawPolygon): Fix incorrect tests.
9734         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9735         translateX and translateY arguments.
9736
9737 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9738
9739         * Makefile.in: Rebuilt.
9740         * Makefile.am (xlib_includes): New macro.
9741         (INCLUDES): Use it.
9742
9743 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9744
9745         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9746         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9747         16-bit display mode.
9748
9749 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9750
9751         * java/awt/CardLayout.java (show): Rewrote.
9752         (gotoComponent): Removed `target' argument.  Simplified code.
9753         Don't pre-compute `choice' unless `what' is FIRST or LAST.
9754         Changed all callers.
9755         (NONE): Removed.
9756         
9757 2003-01-14  Michael Koch  <konqueror@gmx.de>
9758
9759         * java/net/InetSocketAddress.java
9760         (serialVersionUID): New member variable.
9761         * java/net/NetPermission.java
9762         (NetPermission): Dont implement java.io.Serialization directly.
9763         * java/net/SocketAddress.java:
9764         (serialVersionUID): Documentation added.
9765         
9766 2003-01-14  Michael Koch  <konqueror@gmx.de>
9767
9768         * java/awt/Label.java
9769         (Label): Implements javax.accessibility.Accessible;
9770         * java/awt/List.java
9771         (List): Implements javax.accessibility.Accessible;
9772         * java/awt/ScrollPane.java
9773         (ScrollPane): Implements javax.accessibility.Accessible;
9774         * java/awt/Scrollbar.java
9775         (Scrollbar): Implements javax.accessibility.Accessible;
9776         * java/awt/TextComponent.java
9777         (setCaretPosition): Throw exception, documentation added.
9778         * java/awt/Toolkit.java:
9779         Added some newlines in method documentations.
9780         (createButton): Exception documentation added.
9781         (createTextField): Exception documentation added.
9782         (createLabel): Exception documentation added.
9783         (createList): Exception documentation added.
9784         (createCheckbox): Exception documentation added.
9785         (createScrollbar): Exception documentation added.
9786         (createScrollPane): Exception documentation added.
9787         (createTextArea): Exception documentation added.
9788         (createChoice): Exception documentation added.
9789         (createFrame): Exception documentation added.
9790         (createWindow): Exception documentation added.
9791         (createDialog): Exception documentation added.
9792         (createMenuBar): Exception documentation added.
9793         (createMenu): Exception documentation added.
9794         (createMenuItem): Exception documentation added.
9795         (createFileDialog): Exception documentation added.
9796         (createCheckboxMenuItem): Exception documentation added.
9797         (loadSystemColors): Exception documentation added.
9798         (setDynamicLayout): Exception documentation added.
9799         (isDynamicLayoutSet): Exception documentation added.
9800         (isDynamicLayoutActive): Exception documentation added.
9801         (getScreenSize): Exception documentation added.
9802         (getScreenResolution): Exception documentation added.
9803         (getScreenInsets): Exception documentation added.
9804         (getColorModel): Exception documentation added.
9805         (getSystemClipboard): Exception documentation added.
9806         (getSystemSelection): Exception documentation added.
9807         (getMenuShortcutKeyMask): Exception documentation added.
9808         (getSystemEventQueue): Exception documentation added.
9809         * java/awt/Window.java:
9810         Reindented some code.
9811         (Window): Centralized implementation, documentation added.
9812         (finalize): Documentation added.
9813         (hide): Fixed typo in comment.
9814         (getWindowListeners): Documentation added.
9815         * java/awt/color/ColorSpace.java
9816         (toRGB): Documentation added.
9817         * java/awt/color/ICC_ColorSpace.java
9818         (ICC_ColorSpace): Documentation added.
9819         (toRGB): Throw exception, documentation added.
9820         (fromRGB): Throw exception, documentation added.
9821         (toCIEXYZ): Documentation added.
9822         (fromCIEXYZ): Documentation added.
9823         (getMinValue): Documentation added.
9824         (getMaxValue): Documentation added.
9825         * java/awt/geom/Dimension2D.java
9826         (clone): Documentation added.
9827         * java/awt/geom/GeneralPath.java
9828         (clone): Documentation added.
9829         * java/awt/geom/Line2D.java
9830         (clone): Documentation added.
9831         * java/awt/geom/QuadCurve2D.java
9832         (clone): Documentation added.
9833         * java/awt/image/ColorModel.java
9834         (ColorModel): Throw exception, documentation added.
9835         * java/awt/image/ImageFilter.java
9836         (clone): Doesnt throw CloneNotSupportedException.
9837
9838 2003-01-14  Andrew Haley  <aph@redhat.com>
9839
9840         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9841         in a try block.
9842
9843 2003-01-10  Andrew Haley  <aph@redhat.com>
9844
9845         * include/dwarf2-signal.h: Remove x86_64.
9846         * configure.host (x86_64 DIVIDESPEC): Remove.
9847         * include/x86_64-signal.h: New file.
9848         * configure.in: Regenerate.
9849
9850 2003-01-10  Michael Koch  <konqueror@gmx.de>
9851
9852         * java/net/DatagramSocket.java
9853         (ch): Description added.
9854         (remotePort): Initialize with -1.
9855         (connect): Doesnt throws SocketException.
9856         * java/net/MulticastSocket.java
9857         (setInterface): Merge with Classpath.
9858         * java/net/ServerSocket.java
9859         (closed): New member variable.
9860         (bind): Check if socket is closed.
9861         (close): Close an associated channel too, set new value to closed.
9862         (isBound): Reindented.
9863         (isClosed): Implemented.
9864         * java/net/Socket.java
9865         (closed): New member variable.
9866         (bind): Check if socket is closed.
9867         (connect): Check if socket is closed.
9868         (close): Close an associated channel too, set new value to closed.
9869         (isClosed): Implemented.
9870
9871 2003-01-10  Michael Koch  <konqueror@gmx.de>
9872
9873         * java/awt/DisplayMode.java
9874         (equals): Fixed argument type and implementation.
9875
9876 2003-01-07  Tom Tromey  <tromey@redhat.com>
9877
9878         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9879         JV_HASH_SYNCHRONIZATION.
9880         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9881         JV_HASH_SYNCHRONIZATION.
9882
9883 2003-01-07  Michael Koch  <konqueror@gmx.de>
9884  
9885         * java/net/DatagramSocket.java:
9886         Added classpath license info.
9887         (DatagramSocket): Merged description with classpath.
9888         (close): Merged description with classpath.
9889         (getChannel): Merged description with classpath.
9890         (getInetAddress): Merged description with classpath.
9891         (getPort): Merged description with classpath.
9892         (getLocalAddress): Merged description with classpath.
9893         (getLocalPort): Merged description with classpath.
9894         (getSoTimeout): Merged description with classpath.
9895         (setSoTimeout): Merged description with classpath.
9896         (getSendBufferSize): Merged description with classpath.
9897         (setSendBufferSize): Merged description with classpath.
9898         (getReceiveBufferSize): Merged description with classpath.
9899         (setReceiveBufferSize): Merged description with classpath.
9900         
9901 2003-01-04  Tom Tromey  <tromey@redhat.com>
9902
9903         * java/awt/List.java: Merged with Classpath.
9904
9905 2003-01-03  Mark Wielaard  <mark@klomp.org>
9906
9907         * java/io/FileDescriptor.java (position): New private field.
9908         * java/io/natFileDescriptorPosix.cc (write): Up position.
9909         (setLength): Use and set position.
9910         (seek): Set position.
9911         (getFilePointer): Return position.
9912         (read): Up position.
9913
9914 2003-01-03  Mark Wielaard  <mark@klomp.org>
9915
9916         Merge with Classpath:
9917         * java/io/ObjectStreamClass.java (lookup): Split method and call
9918         lookupForClassObject().
9919         (lookupForClassObject): New method.
9920         (isProxyClass): New field.
9921         (setClass): Set isProxyClass, add object to classLookupTable, set
9922         superClass and calculateOffsets.
9923         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
9924         and not a proxy class.
9925         (setFields): Set accessible true for serialPersistentFields.
9926         (getClassUID): Same for suid. And check if suid is of type long.
9927         (hasClassInitializer): Don't throw NoSuchMethodError.
9928
9929 2003-01-03  Mark Wielaard  <mark@klomp.org>
9930
9931         * java/io/FileInputStream.java (finalize): Don't explicitly
9932         finalize FileDescriptor.
9933
9934 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
9935
9936         * configure.host (sparc*-*): Enable bytecode interpreter.
9937
9938 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
9939
9940         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
9941         Don't throw RemoteException.
9942         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
9943         throw RemoteException.
9944
9945 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9946
9947         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
9948         proxyHost): New static fields.
9949         (<clinit>): Initialize new fields.
9950         (connect): Use proxy if necessary.
9951         (usingProxy): Implement.
9952
9953 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
9954
9955         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
9956         (TreeIterator.remove): Prefer IllegalStateException over
9957         ConcurrentModificationException, to match Sun.
9958
9959 2002-12-22  Anthony Green  <green@redhat.com>
9960
9961         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
9962
9963 2003-01-02  Mark Wielaard  <mark@klomp.org>
9964
9965         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
9966         public.
9967         (HTTP_USE_PROXY): Add field.
9968         (getResponseVals): Only set responseCode when not yet explicitly
9969         set by subclass.
9970
9971 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
9972             Mark Wielaard  <mark@klomp.org>
9973
9974         * java/util/zip/ZipFile.java (entries): Now HashMap.
9975         (readLeShort(DataInput, byte[])): Read from given byte array.
9976         (readLeInt(DataInput, byte[]): Likewise.
9977         (readLeShort(byte[] b, int off)): New method.
9978         (readLeInt(byte[] b, int off)): Likewise.
9979         (readEntries): Use byte arrays to read info in bigger chunks.
9980         (getEntries): Return HashMap.
9981         (getEntry): Use HashMap.
9982         (locBuf): New private field.
9983         (checkLocalHeader): Use locBuf to read info in one chunk.
9984         (getInputStream): Use entries HashMap, wrap PartialInputStream
9985         in BufferedInputStream.
9986         (ZipEntryEnumeration): Use HashMap and Interator.
9987
9988 2003-01-02  Mark Wielaard  <mark@klomp.org>
9989             Jeroen Frijters  <jeroen@sumatra.nl>
9990
9991         * java/net/URLClassLoader.java (Resource.getCodeSource):
9992         Fix check certs == null.
9993         (getCanonicalFileURL): Removed method.
9994         (JarURLLoader): Don't call removed method.
9995         (FileURLLoader): Likewise.
9996         (FileURLLoader.getResource): Don't canonicalize file name.
9997
9998 2003-01-01  Tom Tromey  <tromey@redhat.com>
9999
10000         * Makefile.in: Rebuilt.
10001         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10002         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10003         java/awt/BufferCapabilities.java, java/awt/Button.java,
10004         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10005         java/awt/Container.java, java/awt/Cursor.java,
10006         java/awt/EventQueue.java, java/awt/FileDialog.java,
10007         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10008         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10009         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10010         java/awt/Scrollbar.java, java/awt/TextArea.java,
10011         java/awt/TextField.java, java/awt/color/CMMException.java,
10012         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10013         java/awt/color/ProfileDataException.java,
10014         java/awt/datatransfer/Clipboard.java,
10015         java/awt/datatransfer/DataFlavor.java,
10016         java/awt/datatransfer/FlavorMap.java,
10017         java/awt/datatransfer/SystemFlavorMap.java,
10018         java/awt/dnd/DragGestureEvent.java,
10019         java/awt/dnd/DragGestureRecognizer.java,
10020         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10021         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10022         java/awt/im/InputMethodHighlight.java,
10023         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10024         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10025
10026         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10027         `op' to BufferedImageOp.
10028
10029 2002-12-31  Tom Tromey  <tromey@redhat.com>
10030
10031         Fix for PR libgcj/7416:
10032         * javax/naming/InitialContext.java (init): Use
10033         gnu.classpath.home.url.
10034         * java/security/Security.java: Use new properties.
10035         (loadProviders): Accept base url; use it.
10036         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10037         gnu.classpath.home.url.
10038         (gnu.classpath.home.url): Define.
10039         (gnu.classpath.vm.shortname): Likewise.
10040
10041 2002-12-31  Tom Tromey  <tromey@redhat.com>
10042             Ranjit Mathew  <rmathew@hotmail.com>
10043
10044         Fix for PR libgcj/8997:
10045         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10046         Include platform.h.
10047         * include/posix.h (_Jv_platform_usleep): New function.
10048         * include/win32.h (_Jv_platform_usleep): New function.
10049
10050 2002-12-29  Tom Tromey  <tromey@redhat.com>
10051
10052         * gcj/javaprims.h: Updated.
10053         * scripts/classes.pl (scan): Removed stray semicolon.
10054
10055 2002-12-30  Mark Wielaard  <mark@klomp.org>
10056
10057         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10058         if zero or smaller.
10059
10060 2002-12-30  Mark Wielaard  <mark@klomp.org>
10061
10062         * java/util/Properties (formatForOutput): Don't fall through to
10063         default case after escaping character.
10064
10065 2002-12-30  Mark Wielaard  <mark@klomp.org>
10066
10067         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10068         against count.
10069
10070 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10071
10072         * boehm.cc: Remove stray semicolon.
10073         * interpret.cc: Likewise.
10074         * prims.cc: Likewise.
10075         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10076         earlier to ensure default arguments are processed.
10077         * gcj/array.h (JArray): Add forward declaration.
10078         (elements): Likewise.
10079         * gcj/javaprim.h: Remove stray semicolons.
10080         * include/bohm-gc.h: Likewise.
10081         * include/jni.h: Likewise.
10082         * include/jvm.h: Likewise.
10083         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10084         
10085 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10086
10087         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10088         of catch_type.
10089         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10090         idt tables after initializing superclass.
10091         * java/lang/natClassLoader.cc (uaddr): New typedef.
10092         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10093         if they are constant pool indicies.  Don't link vtable, otable yet.
10094
10095 2002-12-21  Anthony Green  <green@redhat.com>
10096
10097         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10098         libraries.
10099         * Makefile.in: Rebuilt.
10100
10101 2002-12-19  Anthony Green  <green@redhat.com>
10102
10103         * Makefile.am (ordinary_java_source_files): Add
10104         org/xml/sax/helpers/NewInstance.java.
10105         * Makefile.in: Rebuilt.
10106         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10107         org/xml/sax/helpers/package.html: New files.
10108         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10109         http://www.saxproject.org.
10110
10111 2002-12-19  Andrew Haley  <aph@redhat.com>
10112
10113         * java/util/natResourceBundle.cc: Include
10114         ArrayIndexOutOfBoundsException.h.
10115         (getCallingClassLoader): Don't put upper bound on stack search.
10116         Catch ArrayIndexOutOfBoundsException.
10117
10118 2002-12-19  Tom Tromey  <tromey@redhat.com>
10119
10120         * libtool-version: Increased `current'.
10121
10122 2002-12-19  Tom Tromey  <tromey@redhat.com>
10123
10124         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10125         comment.
10126         * java/lang/ClassLoader.java (defineClass): Use chained
10127         exception when rethrowing.
10128         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10129         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10130         constants.
10131         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10132         (_Jv_PrepareClass): Use it.
10133         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10134         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10135         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10136         (Class): _Jv_PrepareMissingMethods now friend.
10137         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10138         Record `NULL' for system class loader.
10139         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10140         system class loader.
10141         (_Jv_FindClassInCache): Likewise.
10142         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10143         (_Jv_FindClass): Special case system class loader.
10144         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10145         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10146         vtable slots.
10147         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10148         in a final class.
10149         (_getDeclaredMethod): Don't return synthetic methods.
10150         (getDeclaredMethods): Likewise.
10151         (_getMethod): Likewise.
10152         (_getMethods): Likewise.
10153
10154 2002-12-18  Raif Naffah  <raif@fl.net.au>
10155
10156         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10157         canonical form after divide().
10158         (modInverse): Likewise.
10159
10160 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10161             Mark Wielaard  <mark@klomp.org>
10162
10163         * java/security/SecurityRandom (digest): Removed field.
10164         (SecureRandom): Check all providers for case-insensitive SecureRandom
10165         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10166         if necessary.
10167         (getInstance(String,Provider,boolean): New method.
10168         (getInstance(String)): Use new method.
10169         (getInstance(String,String)): Likewise.
10170         (getInstance(String,Provider)): Likewise.
10171
10172 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10173
10174         * java/security/Security.java (loadProviders): Increment i only once.
10175
10176 2002-12-12  Mark Wielaard  <mark@klomp.org>
10177
10178         * java/lang/ClassLoader.java (resolveClass0): Transform
10179         ClassNotFoundException to NoClassDefFoundError. Transform all other
10180         throwables to LinkageError.
10181
10182 2002-12-11  Tom Tromey  <tromey@redhat.com>
10183
10184         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10185
10186         * java/lang/ClassLoader.java (loadedClasses): New field.
10187         (defineClass): Fixed indentation.  Put new class in
10188         loadedClasses.
10189         (findLoadedClass): Implement here.
10190         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10191
10192 2002-12-10  Tom Tromey  <tromey@redhat.com>
10193
10194         * Makefile.in: Rebuilt.
10195         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10196         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10197         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10198         * java/lang/natClassLoader.cc
10199         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10200
10201 2002-12-10  Mark Wielaard  <mark@klomp.org>
10202             Tom Tromey  <tromey@redhat.com>
10203
10204         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10205         (JarURLLoader): Use it.
10206         (FileURLLoader): Likewise.
10207         (JarURLResource.getURL): Use chained exception.
10208         (FileResource.getURL): Likewise.
10209         (FileURLLoader.getResource): Use canonical file name.
10210         (addURL): Indentation fix.
10211
10212 2002-12-10  Tom Tromey  <tromey@redhat.com>
10213
10214         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10215         From Laurent Bardet <l.bardet@magic.fr>.
10216
10217 2002-12-09  Tom Tromey  <tromey@redhat.com>
10218
10219         * include/win32.h (_Jv_platform_solib_prefix): New define.
10220         (_Jv_platform_solib_suffix): Likewise.
10221         * include/posix.h (_Jv_platform_solib_prefix): New define.
10222         (_Jv_platform_solib_suffix): Likewise.
10223         * java/lang/natRuntime.cc: Include StackTrace.h.
10224         (_load): Use findLibrary and new platform defines.
10225         (nativeGetLibname): Use new platform defines.
10226
10227         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10228         `t' won't be null.
10229
10230 2002-12-08  Mark Wielaard  <mark@klomp.org>
10231
10232         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10233         cache remote jar files.
10234         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10235         add File.separator to URL when it is a directory.
10236         * java/lang/ClassLoader.java: Add Classpath javadoc.
10237         (parent): final.
10238         (getParent): Add (disabled) security check.
10239         (findLibrary): New default method.
10240         * java/net/JarURLConnection.java (getManifest): Implement.
10241         (getInputStream): Only create InputStream when entry exists.
10242         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10243         when they exist.
10244         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10245
10246 2002-12-08  Mark Wielaard  <mark@klomp.org>
10247
10248         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10249         (lastDefaultLocale): New field.
10250         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10251         resourceBundleCache.
10252
10253 2002-12-06  Mark Wielaard  <mark@klomp.org>
10254
10255         * java/net/InetAddress.java (toString): Use hostname when not null,
10256         don't do an explicit reverse getHostName() lookup.
10257         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10258         NullPointerException.
10259
10260 2002-12-06  Tom Tromey  <tromey@redhat.com>
10261
10262         * include/java-interp.h (class _Jv_InterpMethod): Added
10263         JV_MARKOBJ_DECL.
10264         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10265         mark `prepared' field of interpreted method.
10266         * interpret.cc (compile): Use _Jv_AllocBytes.
10267
10268 2002-12-05  Andrew Haley  <aph@redhat.com>
10269
10270         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10271         #ifdef (HAVE_BACKTRACE) around the whole function body.
10272
10273 2002-12-05  Tom Tromey  <tromey@redhat.com>
10274
10275         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10276         * resolve.cc: Don't include AbstractMethodError.h.
10277         (_Jv_abstractMethodError): Removed.
10278         * defineclass.cc (handleMethodsBegin): Initialize method index to
10279         -1.
10280         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10281         method index for "new" final method.
10282         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10283         isVirtualMethod.  Added `flags' argument.
10284         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10285         class.
10286
10287 2002-12-04  Tom Tromey  <tromey@redhat.com>
10288
10289         * java/net/SocketPermission.java (hashCode): Rewrote.
10290
10291 2002-12-04  Tom Tromey  <tromey@redhat.com>
10292
10293         * Makefile.in: Rebuilt.
10294         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10295         natResourceBundle.
10296         * java/util/ResourceBundle.java (Security): Removed.
10297         (getCallingClassLoader): Now native.
10298         * java/util/natResourceBundle.cc: New file.
10299         * java/lang/natVMSecurityManager.cc: New file.
10300         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10301
10302 2002-12-03  Mark Wielaard  <mark@klomp.org>
10303
10304         * java/util/jar/JarFile.java (manifest): Not final.
10305         (manifestRead): New field.
10306         (JarFile): Don't read Manifest in constructor.
10307         (getManifest): New method.
10308         (JarEnumeration.nextElement): Use new method.
10309         (getEntry): Likewise.
10310         * java/util/zip/ZipFile.java (name): Final.
10311         (raf): Likewsie.
10312         (entries): Change type to Hashtable.
10313         (closed): New field.
10314         (ZipFile): Don't read enties in constructor.
10315         (readEntries): Use Hashtable.
10316         (close): Set new close flag and set entries to null inside
10317         synchronized block.
10318         (entries): Contruct enumeration using new getEntries() method and
10319         entries Hashtable.
10320         (getEntryIndex): Removed.
10321         (getEntries): New method.
10322         (getEntry): Use new getEntries() method and entries Hastable.
10323         (getInputStream): Likewise.
10324         (size): Return getEntries().size().
10325         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10326         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10327         (time): Removed
10328         (dostime): New field.
10329         (zipFileIndex): Removed.
10330         (ZipEntry(ZipEntry)): Copy dostime.
10331         (setDOSTime): Now final and doesn't convert dos time.
10332         (getDOSTime): Likewise.
10333         (setTime): Convert dos time.
10334         (getTime): Likewise.
10335         (getCalendar): New method.
10336         (setExtra): Use setTime().
10337         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10338
10339 2002-12-03  Tom Tromey  <tromey@redhat.com>
10340
10341         * java/lang/Character.java (forDigit): Formatting fix.
10342
10343 2002-12-03  Raif Naffah  <raif@fl.net.au>
10344
10345         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10346         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10347         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10348
10349 2002-12-03  Andrew Haley  <aph@redhat.com>
10350
10351         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10352         _Jv_PushClass.
10353         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10354         (_Jv_PopClass): New.
10355         (_Jv_PushClass): New.
10356         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10357         discover the ClassLoader of our caller.
10358         (_Jv_CheckArrayStore): Don't check that a class is assignment
10359         compatible with Object.
10360         * java/lang/natVMTHrowable.cc: Delete.
10361         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10362         java.lang.VMThrowable.
10363         (StackTrace(), StackTrace(int)): New constructors.
10364         (classAt, methodAt, update, methodAtAddress): New methods.
10365         (map): New field.
10366         * java/lang/VMThrowable.java: Use StackTrace instead of
10367         natVMTHrowable.
10368         * java/lang/Class.h (getClassLoaderInternal): New.
10369         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10370         Be friendly with gnu::gcj::runtime::StackTrace.
10371         (Object.chain): New field.
10372         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10373         gnu::gcj::runtime::StackTrace.
10374         * gnu/gcj/runtime/natStackTrace.cc: New file.
10375         * gnu/gcj/runtime/MethodRef.java: New file.
10376         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10377         instead of getClassLoader().
10378         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10379         java::lang::VMThrowable.
10380         * Makefile.am (core_java_source_files): Add MethodRef.java,
10381         StackTrace.java.
10382         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10383         * Makefile.in: Rebuild.
10384
10385 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10386
10387         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10388         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10389         yes also for sh-linux* and sh[34]*-linux*.
10390         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10391         set SIGNAL_HANDLER to use DWARF2 exception for them.
10392         * configure: Regenerate.
10393
10394 2002-12-02  Tom Tromey  <tromey@redhat.com>
10395
10396         * jni.cc: Added `name' argument.
10397         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10398         `const char *' argument.
10399         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10400
10401 2002-12-01  Tom Tromey  <tromey@redhat.com>
10402
10403         Bug compatibility, for PR libgcj/8738:
10404         * java/io/CharArrayWriter.java (close): Do nothing.
10405         (flush): Likewise.
10406         (reset): Don't touch `closed'.
10407         (write(int)): Don't throw IOException.
10408         (write(char[],int,int)): Likewise.
10409         (write(String,int,int)): Likewise.
10410         (closed): Removed.
10411
10412 2002-12-01  Mark Wielaard  <mark@klomp.org>
10413
10414         * java/lang/SecurityManager.java: Remerge comments, indenting and
10415         checkXXX methods with Classpath.
10416
10417 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10418
10419         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10420         getNormalizedComponents): Fix calculation which was using one too
10421         many bits in the unnormalized format.
10422
10423 2002-11-29  Gary Benson  <gbenson@redhat.com>
10424
10425         For PR libgcj/8759:
10426         * java/beans/Introspector.java (flushCaches): New method.
10427         (flushFromCaches): Likewise.
10428
10429 2002-11-29  Michael Koch <konqueror@gmx.de>
10430
10431         * java/nio/channels/DatagramChannel.java
10432         (open): Added exception documentation.
10433         (write): Added exception documentation.
10434         (connect): Added exception documentation.
10435         (disconnect): Added exception documentation.
10436         (isConnected): Added exception documentation.
10437         (read): Added exception documentation.
10438         (receive): Added exception documentation.
10439         (send): Added exception documentation.
10440         (validOps): Added exception documentation.
10441         * java/nio/channels/SocketChannel.java
10442         (open): Added exception documentation.
10443         (read): Added exception documentation.
10444         (write): Added exception documentation.
10445         (connect): Added exception documentation.
10446         (finishConnect): Added exception documentation.
10447
10448 2002-11-29  Michael Koch <konqueror@gmx.de>
10449
10450         * gnu/java/nio/DatagramChannelImpl:
10451         (fd): New member variable to store file descriptor of socket.
10452         * gnu/java/nio/SelectionKeyImpl.java:
10453         (ops): Removed.
10454         (readyOps): New member variable.
10455         (interestOps): New member variable.
10456         (readyOps): Implemented.
10457         (readyOps): New method to set member variable readyOps.
10458         (interestOps): Replaced ops by interestOps.
10459         * gnu/java/nio/SelectorImpl.java:
10460         (SelectorImpl): Initialize key sets.
10461         (select): Call select with -1 instead of Long.MAX_VALUE).
10462         (java_do_select): Make it a native method.
10463         (getFDsAsArray): New helper method.
10464         (select): Remove canceled keys, give only interested file discriptors
10465         to java_do_select, set ready ops.
10466         (add): No need to initialize keys set here.
10467         (add_selected): No need to initialize selected set here.
10468         (deregisterCanceledKeys): New helper method.
10469         (register): Set interest ops, set attachments, added handling of datagram
10470         channels.
10471         * gnu/java/nio/ServerSocketChannelImpl:
10472         (SocketAccept): Renamed from NioSocketAccept.
10473         (implConfigureBlocking): Implemented.
10474         (accept): Use SocketAccept instead of NioSocketAccept.
10475         * gnu/java/nio/SocketChannelImpl:
10476         Reactivate native methods.
10477
10478 2002-11-29  Michael Koch <konqueror@gmx.de>
10479
10480         * gnu/java/nio/natByteBufferImpl.cc,
10481         gnu/java/nio/natCharBufferImpl.cc,
10482         gnu/java/nio/natDoubleBufferImpl.cc,
10483         gnu/java/nio/natFloatBufferImpl.cc,
10484         gnu/java/nio/natIntBufferImpl.cc,
10485         gnu/java/nio/natLongBufferImpl.cc,
10486         gnu/java/nio/natSelectorImpl.cc,
10487         gnu/java/nio/natServerSocketChannelImpl.cc,
10488         gnu/java/nio/natShortBufferImpl.cc,
10489         gnu/java/nio/natSocketChannelImpl.cc:
10490         New files that implement native functionalities.
10491
10492 2002-11-29  Michael Koch <konqueror@gmx.de>
10493
10494         * gnu/java/nio/ByteBufferImpl.java
10495         (ByteBufferImpl): Moved position() after limit.
10496         (nio_*): Use native implementation.
10497         * gnu/java/nio/CharBufferImpl.java:
10498         Reformated.
10499         (endian): New member variable string endianess of buffer.
10500         (CharBufferImpl): Moved position() after limit.
10501         (nio_*): Use native implementation.
10502         (subSequence): Implemented.
10503         * gnu/java/nio/DoubleBufferImpl.java
10504         (DoubleBufferImpl): Moved position() after limit.
10505         (nio_*): Use native implementation.
10506         * gnu/java/nio/FloatBufferImpl.java
10507         Reformated.
10508         (FloatBufferImpl): Moved position() after limit.
10509         (nio_*): Use native implementation.
10510         * gnu/java/nio/IntBufferImpl.java
10511         Added needed imports, Reformated.
10512         (IntBufferImpl): Moved position() after limit.
10513         (nio_*): Use native implementation.
10514         * gnu/java/nio/LongBufferImpl.java
10515         Reformated.
10516         (LongBufferImpl): Moved position() after limit.
10517         (nio_*): Use native implementation.
10518         * gnu/java/nio/ShortBufferImpl.java
10519         Reformated.
10520         (ShortBufferImpl): Moved position() after limit.
10521         (nio_*): Use native implementation.
10522
10523 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10524
10525         * java/util/Locale.java (toString): Improve efficiency if country
10526         and variant are both empty.
10527
10528 2002-11-26  Tom Tromey  <tromey@redhat.com>
10529
10530         * verify.cc (pop_init_ref): New method.
10531         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10532         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10533         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10534         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10535         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10536         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10537         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10538         let `this' argument be uninitialized.  Don't let `null' be passed
10539         as `this' to construtor.
10540
10541 2002-11-26  Mark Wielaard  <mark@klomp.org>
10542
10543         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10544         * javax/transaction/HeuristicMixedException.java: Likewise.
10545         * javax/transaction/HeuristicRollbackException.java: Likewise.
10546         * javax/transaction/InvalidTransactionException.java: Likewise.
10547         * javax/transaction/NotSupportedException.java: Likewise.
10548         * javax/transaction/RollbackException.java: Likewise.
10549         * javax/transaction/Status.java: Likewise.
10550         * javax/transaction/Synchronization.java: Likewise.
10551         * javax/transaction/SystemException.java: Likewise.
10552         * javax/transaction/Transaction.java: Likewise.
10553         * javax/transaction/TransactionManager.java: Likewise.
10554         * javax/transaction/TransactionRequiredException.java: Likewise.
10555         * javax/transaction/TransactionRolledbackException.java: Likewise.
10556         * javax/transaction/UserTransaction.java: Likewise.
10557         * javax/transaction/xa/XAException.java: Likewise.
10558         * javax/transaction/xa/XAResource.java: Likewise.
10559         * javax/transaction/xa/Xid.java: Likewise.
10560
10561 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10562
10563         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10564         define.
10565         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10566         * include/posix.h (socklen_t): Define if not already defined.
10567
10568 2002-11-25  Tom Tromey  <tromey@redhat.com>
10569
10570         * verify.cc (type::compatible): Backed out broken change.
10571
10572         * verify.cc (type::compatible): Check initialization status
10573         first.
10574         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10575         Don't use NULLCHECK.
10576
10577 2002-11-23  H.J. Lu <hjl@gnu.org>
10578
10579         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10580         Include ../config/accross.m4.
10581         * aclocal.m4; Rebuild.
10582         * configure: Likewise.
10583
10584 2002-11-23  Mark Wielaard  <mark@klomp.org>
10585
10586         * javax/naming/AuthenticationException.java: Update copyright header.
10587         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10588         * javax/naming/Binding.java: Likewise.
10589         * javax/naming/CannotProceedException.java: Likewise.
10590         * javax/naming/CommunicationException.java: Likewise.
10591         * javax/naming/CompositeName.java: Likewise.
10592         * javax/naming/CompoundName.java: Likewise.
10593         * javax/naming/ConfigurationException.java: Likewise.
10594         * javax/naming/Context.java: Likewise.
10595         * javax/naming/ContextNotEmptyException.java: Likewise.
10596         * javax/naming/InitialContext.java: Likewise.
10597         * javax/naming/InsufficientResourcesException.java: Likewise.
10598         * javax/naming/InterruptedNamingException.java: Likewise.
10599         * javax/naming/LimitExceededException.java: Likewise.
10600         * javax/naming/LinkException.java: Likewise.
10601         * javax/naming/LinkLoopException.java: Likewise.
10602         * javax/naming/LinkRef.java: Likewise.
10603         * javax/naming/MalformedLinkException.java: Likewise.
10604         * javax/naming/NameAlreadyBoundException.java: Likewise.
10605         * javax/naming/NameClassPair.java: Likewise.
10606         * javax/naming/NameNotFoundException.java: Likewise.
10607         * javax/naming/NameParser.java: Likewise.
10608         * javax/naming/NamingEnumeration.java: Likewise.
10609         * javax/naming/NamingSecurityException.java: Likewise.
10610         * javax/naming/NoInitialContextException.java: Likewise.
10611         * javax/naming/NoPermissionException.java: Likewise.
10612         * javax/naming/NotContextException.java: Likewise.
10613         * javax/naming/OperationNotSupportedException.java: Likewise.
10614         * javax/naming/PartialResultException.java: Likewise.
10615         * javax/naming/Reference.java: Likewise.
10616         * javax/naming/Referenceable.java: Likewise.
10617         * javax/naming/ReferralException.java: Likewise.
10618         * javax/naming/ServiceUnavailableException.java: Likewise.
10619         * javax/naming/SizeLimitExceededException.java: Likewise.
10620         * javax/naming/TimeLimitExceededException.java: Likewise.
10621         * javax/naming/directory/Attribute.java: Likewise.
10622         * javax/naming/directory/AttributeInUseException.java: Likewise.
10623         * javax/naming/directory/AttributeModificationException.java: Likewise.
10624         * javax/naming/directory/Attributes.java: Likewise.
10625         * javax/naming/directory/BasicAttribute.java: Likewise.
10626         * javax/naming/directory/BasicAttributes.java: Likewise.
10627         * javax/naming/directory/DirContext.java: Likewise.
10628         * javax/naming/directory/InitialDirContext.java: Likewise.
10629         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10630         Likewise.
10631         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10632         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10633         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10634         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10635         * javax/naming/directory/ModificationItem.java: Likewise.
10636         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10637         * javax/naming/directory/SchemaViolationException.java: Likewise.
10638         * javax/naming/directory/SearchControls.java: Likewise.
10639         * javax/naming/directory/SearchResult.java: Likewise.
10640         * javax/naming/event/EventContext.java: Likewise.
10641         * javax/naming/event/EventDirContext.java: Likewise.
10642         * javax/naming/event/NamespaceChangeListener.java: Likewise.
10643         * javax/naming/event/NamingEvent.java: Likewise.
10644         * javax/naming/event/NamingExceptionEvent.java: Likewise.
10645         * javax/naming/event/NamingListener.java: Likewise.
10646         * javax/naming/event/ObjectChangeListener.java: Likewise.
10647         * javax/naming/ldap/Control.java: Likewise.
10648         * javax/naming/ldap/ControlFactory.java: Likewise.
10649         * javax/naming/ldap/ExtendedRequest.java: Likewise.
10650         * javax/naming/ldap/ExtendedResponse.java: Likewise.
10651         * javax/naming/ldap/HasControls.java: Likewise.
10652         * javax/naming/ldap/InitialLdapContext.java: Likewise.
10653         * javax/naming/ldap/LdapContext.java: Likewise.
10654         * javax/naming/ldap/LdapReferralException.java: Likewise.
10655         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10656         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10657         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10658         * javax/naming/spi/DirObjectFactory.java: Likewise.
10659         * javax/naming/spi/DirStateFactory.java: Likewise.
10660         * javax/naming/spi/DirectoryManager.java: Likewise.
10661         * javax/naming/spi/InitialContextFactory.java: Likewise.
10662         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10663         * javax/naming/spi/NamingManager.java: Likewise.
10664         * javax/naming/spi/ObjectFactory.java: Likewise.
10665         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10666         * javax/naming/spi/ResolveResult.java: Likewise.
10667         * javax/naming/spi/Resolver.java: Likewise.
10668         * javax/naming/spi/StateFactory.java: Likewise.
10669
10670         * javax/naming/spi/NamingManager.java (ofb): Package private.
10671
10672 2002-11-21  Mark Wielaard  <mark@klomp.org>
10673
10674         * java/net/URL.java: Merge with Classpath (partly).
10675         * java/net/URLStreamHandler: Merge with Classpath.
10676
10677 2002-11-22  Michael Koch <konqueror@gmx.de>
10678
10679         * include/posix.h:
10680         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10681         * include/win32.h:
10682         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10683         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10684
10685 2002-11-21  Michael Koch <konqueror@gmx.de>
10686
10687         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10688         Only the new network functions should be in it.
10689
10690 2002-11-21  Michael Koch <konqueror@gmx.de>
10691
10692         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10693         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10694
10695 2002-11-21  Michael Koch <konqueror@gmx.de>
10696
10697         * java/nio/channels/AsynchronousCloseException.java,
10698         java/nio/channels/CancelledKeyException.java,
10699         java/nio/channels/ClosedByInterruptException.java,
10700         java/nio/channels/ConnectionPendingException.java,
10701         java/nio/channels/FileLockInterruptionException.java,
10702         java/nio/channels/IllegalSelectorException.java,
10703         java/nio/channels/NoConnectionPendingException.java,
10704         java/nio/channels/NonReadableChannelException.java,
10705         java/nio/channels/NonWritableChannelException.java,
10706         java/nio/channels/NotYetBoundException.java,
10707         java/nio/channels/NotYetConnectedException.java,
10708         java/nio/channels/OverlappingFileLockException.java,
10709         java/nio/channels/UnresolvedAddressException.java,
10710         java/nio/channels/UnsupportedAddressTypeException.java:
10711         New files.
10712         * Makefile.am (ordinary_java_source_files): Added new files.
10713         * Makefile.in: Regenerated.
10714
10715 2002-11-21  Michael Koch <konqueror@gmx.de>
10716
10717         * include/posix.h
10718         (_Jv_socket): New method.
10719         (_Jv_connect): New method.
10720         (_Jv_close): New method.
10721         (_Jv_platform_close_on_exec): Prefixed system function with "::".
10722         (_Jv_bind): New method.
10723         (_Jv_listen): New method.
10724         (_Jv_write): New method.
10725         (_Jv_read): New method.
10726         * include/win32.h
10727         (_Jv_socket): New method.
10728         (_Jv_connect): New method.
10729         (_Jv_close): New method.
10730         (_Jv_bind): New method.
10731         (_Jv_listen): New method.
10732         (_Jv_write): New method.
10733         (_Jv_read): New method.
10734         * java/net/natNetworkInterface.cc:
10735         Include platform.h, removed inclusion of socket.h
10736         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10737         ::close() by _Jv_close().
10738         * java/net/natPlainDatagramSocketImpl.cc:
10739         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10740         added some new lines to make code more readable.
10741         (create): Replaced ::socket() by _Jv_socket().
10742         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10743         * java/net/natPlainSocketImpl.cc:
10744         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10745         removed include of socket.h, removed some windows defines
10746         (now in include/win32.h).
10747         (create): Replaced ::socket() by _Jv_socket().
10748         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10749         (write): Replaced ::read by _Jv_write().
10750         (read): Replaced ::read by _Jv_read().
10751
10752 2002-11-20  Michael Koch <konqueror@gmx.de>
10753
10754         * Makefile.am (ordinary_java_source_files):
10755         Added java/nio/channels/FileChannel.java.
10756         * Makefile.in: Regenerated.
10757
10758 2002-11-20  Michael Koch <konqueror@gmx.de>
10759
10760         * java/io/FileInputStream.java
10761         (getChannel): New method.
10762         * java/io/FileOutputStream.java
10763         (getChannel): New method.
10764         * java/net/ServerSocket.java
10765         (bind): Removed duplicate code and called another bind method instead.
10766         * java/nio/channels/SelectionKey.java
10767         (isValid): Removed wrong exception documentation.
10768         * java/nio/channels/ServerSocketChannel.java
10769         (accept): Added exception documentation.
10770         (open): Fixed typo, added exception documentation.
10771         * java/nio/channels/spi/AbstractSelectableChannel.java
10772         (implCloseChannel): Added exception documentation.
10773         (add): Reformated.
10774         (register): Added exception documentation.
10775
10776 2002-11-20  Andreas Jaeger  <aj@suse.de>
10777
10778         * configure: Regenerated with new libtool.m4.
10779
10780 2002-11-19  Tom Tromey  <tromey@redhat.com>
10781
10782         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10783         `referent'.
10784         (finalize_referred_to_object): Don't modify `referent' or `copy'
10785         fields.
10786         (add_to_hash): Correctly set `n->next' when updating list.
10787         * java/lang/ref/Reference.java (enqueue): Return false if already
10788         enqueued.
10789
10790 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
10791
10792         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10793         to function and function pointer declarations in accordance with
10794         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10795         based on whether __GCJ_JNI_IMPL__ has been defined or not.
10796         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10797         JNI function definitions.
10798
10799 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10800
10801         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10802         that was causing CoderResults to be cached, not WeakReferences
10803         to CoderResults.
10804
10805 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10806
10807         * java/security/KeyStore.java (getInstance): Fix
10808         comment and throw IllegalArgumentException if
10809         given provider is null.
10810         (getInstance): New method for jdk1.4 compatibility.
10811
10812 2002-11-18  Michael Koch <konqueror@gmx.de>
10813
10814         * java/net/PlainSocketImpl.java: Fix imports.
10815
10816 2002-11-18  Michael Koch <konqueror@gmx.de>
10817
10818         * java/nio/channels/SelectionKey.java
10819         (isValid): Added exception documentation.
10820         * java/nio/channels/Selector.java
10821         (open): Declare "throws IOException".
10822
10823 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10824
10825         * java/nio/charset/Charset.java
10826         (<clinit>): New method.
10827         (encode): Synchronize use of cached encoder object.
10828         (decode): Synchronize use of cached encoder object.
10829
10830 2002-11-18  Michael Koch <konqueror@gmx.de>
10831
10832         * gnu/java/nio/ByteBufferImpl.java,
10833         gnu/java/nio/CharBufferImpl.java,
10834         gnu/java/nio/DatagramChannelImpl.java,
10835         gnu/java/nio/DoubleBufferImpl.java,
10836         gnu/java/nio/FileChannelImpl.java,
10837         gnu/java/nio/FloatBufferImpl.java,
10838         gnu/java/nio/IntBufferImpl.java,
10839         gnu/java/nio/LongBufferImpl.java,
10840         gnu/java/nio/PipeImpl.java,
10841         gnu/java/nio/SelectionKeyImpl.java,
10842         gnu/java/nio/SelectorImpl.java,
10843         gnu/java/nio/SelectorProviderImpl.java,
10844         gnu/java/nio/ServerSocketChannelImpl.java,
10845         gnu/java/nio/ShortBufferImpl.java,
10846         gnu/java/nio/SocketChannelImpl.java,
10847         java/nio/DoubleBuffer.java,
10848         java/nio/FloatBuffer.java,
10849         java/nio/IntBuffer.java,
10850         java/nio/LongBuffer.java,
10851         java/nio/ShortBuffer.java,
10852         java/nio/channels/FileChannel.java: New files.
10853
10854 2002-11-18  Michael Koch <konqueror@gmx.de>
10855
10856         * Makefile.am (ordinary_java_source_files):
10857         Added java/nio/ReadOnlyBufferException.java and
10858         java/nio/channels/ClosedSelectorException.java.
10859         * Makefile.in: Regenerated.
10860
10861 2002-11-18  Michael Koch <konqueror@gmx.de>
10862
10863         * java/net/PlainSocketImpl.java: Reworked imports.
10864         * java/net/ServerSocket.java
10865         (ServerSocket): Create socket.
10866         * java/net/SocketAddress.java: Documentation added.
10867         * java/net/natPlainSocketImpl.cc: Reindented.
10868         * java/nio/ReadOnlyBufferException.java: New file
10869         * java/nio/channels/ClosedChannelException.java: Documentation added.
10870         * java/nio/channels/ClosedSelectorException.java: New file.
10871
10872 2002-11-17  Mark Wielaard  <mark@klomp.org>
10873
10874         * java/net/HttpURLConnection.java ((getPermission): Take port
10875         into consideration.
10876         (getErrorStream): Implement.
10877
10878 2002-11-17  Mark Wielaard  <mark@klomp.org>
10879
10880         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10881
10882 2002-11-16  Mark Wielaard  <mark@klomp.org>
10883
10884         Integrate work by Raif S. Naffah (raif@fl.net.au)
10885         * java/security/DummyKeyPairGenerator.java (clone): New method.
10886         * java/security/DummyMessageDigest.java (clone): New method.
10887         (engineUpdate): Now public.
10888         (engineReset): Likewise.
10889         (engineDigest): Likewise.
10890         (engineGetDigestLength): New method.
10891         * java/security/DummySignature.java (clone): New method.
10892         * java/security/KeyPairGenerator.java (provider): Now package private.
10893         (getInstance(String)): Use getInstance(String,Provider).
10894         (getInstance(String,String): Use getInstance(String,Provider)
10895         (getInstance(String,Provider): New method.
10896         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
10897         * java/security/KeyPairGeneratorSpi.java (clone): New method.
10898         * java/security/MessageDigest.java (provider): Now package private.
10899         (getInstance(String): Use getInstance(String,Provider).
10900         (getInstance(String,String): Use getInstance(String,Provider)
10901         (getInstance(String,Provider): New method.
10902         * java/security/Provider.java (toCanonicalKey): New method.
10903         (get): New method that uses toCanonicalKey().
10904         (put): Use toCanonicalKey().
10905         (remove): Likewise.
10906         * java/security/Security.java (insertProviderAt): Provider index is one
10907         based, not zero based.
10908         (addProvider): Likewise.
10909         (removeProvider): Likewise.
10910         * java/security/Signature.java (provider): Now package private.
10911         (getInstance(String)): Use getInstance(String,Provider).
10912         (getInstance(String,String): Use getInstance(String,Provider)
10913         (getInstance(String,Provider): New method.
10914         (getInstance(String,String,Provider): Don't cast DummySignature.
10915
10916 2002-11-15  Tom Tromey  <tromey@redhat.com>
10917
10918         For PR libgcj/8593:
10919         * java/util/zip/GZIPInputStream.java (read): Check file size.
10920         Look in inflater for remaining input bytes.
10921         (read4): Added buf and offset arguments.
10922
10923 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
10924
10925         * java/applet/AppletContext.java: Fix typo and remove redundant
10926         modifiers.
10927
10928 2002-11-14  Tom Tromey  <tromey@redhat.com>
10929
10930         * java/lang/natRuntime.cc (insertSystemProperties): Set
10931         gnu.classpath.home.
10932
10933 2002-11-13  Michael Koch <konqueror@gmx.de>
10934
10935         * java/nio/ByteBuffer.java
10936         (allocate): New method.
10937         (wrap): New method.
10938         (put): New method.
10939         (get): New method.
10940
10941 2002-11-13  Michael Koch <konqueror@gmx.de>
10942
10943         * java/nio/channels/AlreadyConnectedException.java:
10944         Removed unneeded import.
10945         (AlreadyConnectedException): Documentation added.
10946         * java/nio/channels/Pipe.java
10947         (SinkChannel.SinkChannel): Documentation added.
10948         (SinkChannel.validOps): New method.
10949         (SourceChannel.SourceChannel): Documentation added.
10950         (SourceChannel.validOps): New method.
10951         (Pipe): Documentation added.
10952         (open): Documentation added.
10953         (SinkChannel.channel): Documentation added.
10954         (SourceChannel.channel): Documentation added.
10955         * java/nio/channel/SelectableChannel.java
10956         (SelectableChannel): Documentation added.
10957         (blockingLock): Documentation added.
10958         (configureBlocking):Documentation added.
10959         (isBlocking):Documentation added.
10960         (isRegistered):Documentation added.
10961         (keyFor):Documentation added.
10962         (provider):Documentation added.
10963         (register): Documentation added.
10964         (validOps): Documentation added.
10965         * jaba/nio/channels/SelectionKey.java
10966         (SelectionKey): Documentation added.
10967         (attach): Documentation added.
10968         (attachment): Documentation added.
10969         (isAcceptable): Documentation added.
10970         (isConnetable): Documentation added.
10971         (isReadable): Documentation added.
10972         (isWritable): Documentation added.
10973         (cancel): Documentation added.
10974         (channel): Documentation added.
10975         (interestOps): Documentation added.
10976         (isValid): Documentation added.
10977         (readyOps): Documentation added.
10978         (selector): Documentation added.
10979         * jaba/nio/channels/Selector.java
10980         (Selector): Documentation added.
10981         (open): Documentation added.
10982         (close): Documentation added.
10983         (isOpen): Documentation added.
10984         (keys): Documentation added.
10985         (provider): Documentation added.
10986         (select): Documentation added.
10987         (selectedKeys): Documentation added.
10988         (selectNow): Documentation added.
10989         (wakeup): Documentation added.
10990         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10991         (AbstractInterruptibleChannel): Documentation added.
10992         (opened): Default to true;
10993         (begin): Documentation added.
10994         (close): Set opened to false, documentation added.
10995         (isOpen): Documentation added.
10996         * java/nio/channels/spi/AbstractSelectionKey.java
10997         (AbstractSelectionKey): Documentation added.
10998         (cancel): Documentation added.
10999         (isValid): Documentation added.
11000         * java/nio/channels/spi/AbstractSelector.java
11001         (AbstractSelector): Documentation added.
11002         (begin): Documentation added.
11003         (close): Documentation added.
11004         (isOpen): Documentation added.
11005         (deregister): Documentation added.
11006         (end): Documentation added.
11007         (provider): Documentation added.
11008         (implCloseSelector): Documentation added.
11009         (register): Documentation added.
11010         * java/nio/channels/spi/SelectorProvider.java
11011         (SelectorProvider): Documentation added.
11012         (openDatagramChannel): Documentation added.
11013         (openPipe): Documentation added.
11014         (openSelector): Documentation added.
11015         (openServerSocketChannel): Documentation added.
11016         (openSocketChannel): Documentation added.
11017         (provider): Documentation added.
11018
11019 2002-11-12  Michael Koch <konqueror@gmx.de>
11020
11021         * java/nio/Buffer.java: Implemented.
11022         * java/nio/CharBuffer.java: New file.
11023         * java/nio/InvalidMarkException.java: New file.
11024         * java/nio/channels/DatagramChannel.java: Implemented.
11025         * java/nio/channels/ServerSocketChannel.java: Implemented.
11026         * java/nio/channels/SocketChannel.java: Implemented.
11027         * java/nio/channels/spi/AbstractChannel.java: Removed.
11028         * java/nio/channels/spi/AbstractSelectableChannel.java:
11029         Implemented.
11030         * java/nio/charset/Charset.java:
11031         Merge from Classpath.
11032         * java/nio/charset/CharsetDecoder.java: New file.
11033         * java/nio/charset/CharsetEncoder.java: New file.
11034         * java/nio/charset/CoderResult.java: New file.
11035         * Makefile.am (ordinary_java_source_files): Added new files.
11036         * Makefile.in: Regenerated.
11037
11038 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11039
11040         * gnu/java/nio/charset/ISO_8859_1.java,
11041         gnu/java/nio/charset/Provider.java,
11042         gnu/java/nio/charset/US_ASCII.java,
11043         gnu/java/nio/charset/UTF_16.java,
11044         gnu/java/nio/charset/UTF_16BE.java,
11045         gnu/java/nio/charset/UTF_16Decoder.java,
11046         gnu/java/nio/charset/UTF_16Encoder.java,
11047         gnu/java/nio/charset/UTF_16LE.java,
11048         gnu/java/nio/charset/UTF_8.java: New files.
11049
11050 2002-11-11  Michael Koch <konqueror@gmx.de>
11051
11052         * java/nio/charset/CharacterCodingException.java:
11053         This class must be public.
11054         * java/nio/charset/CoderMalfunctionError.java:
11055         This class must be public.
11056         * java/nio/charset/CodingErrorAction.java:
11057         This class must be public.
11058         * java/nio/charset/IllegalCharsetNameException.java:
11059         This class must be public, better implementation.
11060         * java/nio/charset/MalformedInputException.java:
11061         This class must be public, better implementation.
11062         * java/nio/charset/UnmappableCharacterException.java:
11063         This class must be public, better implementation.
11064         * java/nio/charset/UnsupportedCharsetException.java:
11065         This class must be public, better implementation.
11066
11067 2002-11-11  Michael Koch <konqueror@gmx.de>
11068
11069         * java/nio/BufferOverflowException.java,
11070         java/nio/BufferUnderflowException.java: New file.
11071         * Makefile.am (ordinary_java_source_files):
11072         Added new files.
11073         * Makefile.in: Regenerated.
11074
11075 2002-11-10  Tom Tromey  <tromey@redhat.com>
11076
11077         * java/awt/Container.java (validate): Use tree lock.
11078         (getComponent): Likewise.
11079         (getComponents): Likewise.
11080         (addImpl): Likewise.
11081         (remove): Likewise.
11082         (removeAll): Likewise.
11083         (processEvent): Fixed indentation.
11084         (getComponentAt): Use tree lock.
11085         (findComponentAt): Likewise.
11086         (removeNotify): Likewise.
11087         (isAncestorOf): Likewise.
11088         (list): Likewise.
11089         (visitChildren): Likewise.
11090         (findNextFocusComponent): Likewise.
11091         (addNotifyContainerChildren): Likewise.
11092         (getAccessibleChildrenCount): Likewise.
11093         (getAccessibleChild): Likewise.
11094
11095         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11096         (getSize): Likewise.
11097         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11098         (getSize): Likewise.
11099         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11100         (calcSize): Likewise.
11101         * java/awt/CardLayout.java (getSize): Use tree lock.
11102         (gotoComponent): Likewise.
11103         (layoutContainer): Likewise.
11104
11105         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11106         count is 0.
11107         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11108         count is 0.
11109
11110         * java/io/Externalizable.java, java/io/FilePermission.java,
11111         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11112         java/io/SerializablePermission.java, java/text/Format.java,
11113         java/util/AbstractMap.java, java/util/HashMap.java,
11114         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11115         versions from Classpath.
11116
11117 2002-11-10  Anthony Green  <green@redhat.com>
11118
11119         * java/util/jar/Attributes.java (Name): Fix name check.
11120
11121 2002-11-10  Mark Wielaard  <mark@klomp.org>
11122
11123         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11124         with getName() as message.
11125         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11126         type as message.
11127
11128         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11129         unused.
11130
11131 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11132
11133         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11134         for Win32. JNICALL has been defined to __stdcall to be compatible
11135         with Sun's JDKs.
11136
11137 2002-11-10  Tom Tromey  <tromey@redhat.com>
11138
11139         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11140         (setRows): Check newRows, not rows.
11141
11142         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11143
11144 2002-11-09  Tom Tromey  <tromey@redhat.com>
11145
11146         * java/applet/Applet.java, java/applet/AppletContext.java,
11147         java/applet/AppletStub.java, java/applet/AudioClip.java,
11148         java/awt/CardLayout.java,
11149         java/awt/ContainerOrderFocusTraversalPolicy.java,
11150         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11151         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11152         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11153         java/awt/color/ICC_ColorSpace.java,
11154         java/awt/color/ICC_Profile.java,
11155         java/awt/color/ICC_ProfileGray.java,
11156         java/awt/color/ICC_ProfileRGB.java,
11157         java/awt/datatransfer/DataFlavor.java,
11158         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11159         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11160         New versions from Classpath.
11161         * Makefile.in: Rebuilt.
11162         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11163         ICC_ProfileRGB.
11164
11165         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11166         display policy.
11167
11168         * java/awt/List.java (processEvent): Added missing `else's.
11169
11170         * java/awt/Window.java (show): validate() before showing.  Make
11171         parent displayable.
11172         (isDisplayable): New method.
11173
11174 2002-11-07  Mark Wielaard  <mark@klomp.org>
11175
11176         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11177         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11178
11179         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11180         annotation.
11181         (loadClass): Take String as codebases.
11182         (getClassAnnotation): Use MyClassLoader annotations.
11183         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11184         call exportObject(this).
11185
11186         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11187         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11188         (setAnnotation): Don't set locBytesStream and locStream.
11189         (replaceObject): Removed.
11190         (flush): Don't test locStream.
11191         (getLocBytes): LikeWise.
11192         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11193         (leaseCache): New field.
11194         (dirty): Use leaseCache.
11195         (LeaseRecord): New inner class.
11196         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11197         explicitly call exportObject().
11198         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11199         false to communicate with Sun JDK130.
11200         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11201         * gnu/java/rmi/server/RMIObjectInputStream.java
11202         (UnicastConnectionManager): Removed field.
11203         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11204         Use UnicastServer.getExportedRef().
11205         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11206         (expireTime): Likewise.
11207         (CONNECTION_TIMEOUT): Likewise.
11208         (disconnect): Call sock.close().
11209         (isExpired): New method.
11210         (resetTime): Likewise.
11211         (run): Use do while loop and catch Exception for discardConnection().
11212         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11213         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11214         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11215         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11216         (exportObject): Use refcache.
11217         (unexportObject): Likewise.
11218         (getExportedRef): New method.
11219         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11220         constructor.
11221         (exportObject): Save manager.serverobj.
11222         (getStub): New method.
11223
11224 2002-11-07  Mark Wielaard  <mark@klomp.org>
11225
11226         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11227         (getByte): Likewise.
11228         (getShort): Likewise.
11229         (getInt): Likewise.
11230         (getLong): Likewise.
11231         (getFloat): Likewise.
11232         (getDouble): Likewise.
11233         (get): Likewise.
11234         (setChar): Likewise.
11235         (setByte): Likewise.
11236         (setShort): Likewise.
11237         (setInt): Likewise.
11238         (setLong): Likewise.
11239         (setFloat): Likewise.
11240         (setDouble): Likewise.
11241
11242 2002-11-07  Michael Koch <konqueror@gmx.de>
11243
11244         * java/awt/Choice.java,
11245         java/awt/Container.java,
11246         java/awt/GridBagLayout.java:
11247         Fixed documentation.
11248         * java/awt/peer/ContainerPeer.java:
11249         Reindented.
11250
11251 2002-11-07  Michael Koch <konqueror@gmx.de>
11252
11253         * java/awt/color/ICC_Profile.java:
11254         Added missing constants.
11255         * java/awt/color/ICC_ColorSpace.java
11256         (getMinValue): Added dummy implementation.
11257         (getMaxValue): Added dummy implementation.
11258         * java/awt/datatransfer/DataFlavor.java
11259         (imageFlavor): Added.
11260         (isMimeTypeEqual): Must be final.
11261         (getDefaultRepresentationClass): Must be non-static.
11262         (getDefaultRepresentationClassAsString): Must be non-static.
11263         * java/awt/dnd/DragSourceContext.java
11264         (dragExit): Corrected argument.
11265         (dragDropEnd): Corrected argument.
11266         * java/awt/dnd/DragSourceListener.java.java
11267         (dragExit): Corrected argument.
11268         (dragDropEnd): Corrected argument.
11269         * java/awt/font/TextHitInfo.java
11270         (toString): Added stubbed implementation.
11271         * java/awt/geom/PathIterator.java:
11272         The constants must be static.
11273         * java/awt/image/VolatileImage.java
11274         (IMAGE_INCOMPATIBLE): Fixed typo.
11275         * java/awt/image/renderable/RenderableImage.java
11276         (HINTS_OBSERVED): Must be static.
11277         * java/beans/BeanInfo.java:
11278         Constants must be final.
11279
11280 2002-11-06  Tom Tromey  <tromey@redhat.com>
11281
11282         From svens@it.uu.se.  For PR libgcj/8481.
11283         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11284
11285 2002-11-06  Tom Tromey  <tromey@redhat.com>
11286
11287         * jni.cc (array_from_valist): Assume that jlong won't be
11288         promoted.
11289
11290 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11291
11292         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11293         Return 20.
11294         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11295         Return 16.
11296
11297 2002-11-03  Tom Tromey  <tromey@redhat.com>
11298
11299         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11300         VMClassLoader, not findClass.
11301
11302 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11303
11304         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11305         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11306         _Jv_DetermineVTableIndex, to determine vtable offset.
11307         (_Jv_DetermineVTableIndex): Remove.
11308         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11309
11310         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11311
11312 2002-11-03  Tom Tromey  <tromey@redhat.com>
11313
11314         * java/nio/channels/AlreadyConnectedException.java: Extend
11315         IllegalStateException, per spec.
11316
11317 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11318
11319         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11320
11321 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11322
11323         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11324         size items.
11325
11326 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11327
11328         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11329         initial estimated size to avoid enlarge buffer frequently.
11330
11331 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11332
11333         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11334         ClassLoader when null.
11335         (ProxyType.hashCode): Loader null check no longer needed.
11336         (ProxyType.sameTypes): New method.
11337         (ProxyType.equals): Use new method.
11338
11339 2002-10-31  Mark Wielaard  <mark@klomp.org>
11340
11341         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11342         length of String.
11343         * java/net/URLEncoder.java (encode): Likewise.
11344
11345 2002-10-31  Mark Wielaard  <mark@klomp.org>
11346
11347         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11348         when stream is closed.
11349         (closeEntry): Likewise.
11350         (read): Likewise.
11351         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11352         ZipException when no entry active.
11353         (closeEntry): Likewise.
11354         (write): Likewise.
11355
11356 2002-11-02  Tom Tromey  <tromey@redhat.com>
11357
11358         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11359         * java/lang/natClass.cc (initializeClass): Don't return just
11360         because self==thread.
11361
11362         For PR java/8415:
11363         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11364         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11365
11366 2002-11-02  Andreas Schwab  <schwab@suse.de>
11367
11368         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11369         pass GCJFLAGS.
11370         (FLAGS_TO_PASS): Define.
11371         * Makefile.in: Regenerated.
11372
11373 2002-11-01  Michael Koch  <konqueror@gmx.de>
11374
11375         * java/nio/ByteOrder.java: New file.
11376         * java/nio/channels/DatagramChannel.java:
11377         (DatagramChannel): New constructor.
11378         * java/nio/channels/Pipe.java: New file.
11379         * java/nio/channels/SelectableChannel.java: New file.
11380         * java/nio/channels/SelectionKey.java: New file.
11381         * java/nio/channels/Selector.java: New file.
11382         * java/nio/channels/ServerSocketChannel.java
11383         (ServerSocketChannel): New constructor.
11384         * java/nio/channels/SocketChannel.java
11385         (SocketChannel): New constructor.
11386         * java/nio/channels/Pipe.java: New file.
11387         * java/nio/channels/spi/AbstractChannel.java: New file.
11388         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11389         * java/nio/channels/spi/AbstractSelectableChannel.java:
11390         License added
11391         (AbstractSelectableChannel): New stubbed method.
11392         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11393         * java/nio/channels/spi/AbstractSelector.java: New file.
11394         * java/nio/channels/spi/SelectorProvider.java: New file.
11395         * java/nio/charset/Charset.java: New file.
11396         * java/nio/charset/CoderMalfunctionError.java: New file.
11397         * java/nio/charset/CodingErrorAction.java: New file.
11398         * java/nio/charset/spi/CharsetProvider.java
11399         (charsetForName): Uncommented.
11400         * Makefile.am (java_native_source_files): Added new files.
11401         * Makefile.in: Regenerated.
11402
11403 2002-11-01  Michael Koch  <konqueror@gmx.de>
11404
11405         * java/net/InetAddress.java:
11406         (isAnyLocalAddress): Implemented.
11407         (isLoopbackAddress): Implemented, comment added.
11408         (isLinkLocalAddress): Implemented, documentation added.
11409         (isSiteLocalAddress): Implemented, documentation added.
11410         (isMCGlobal): Implemented, documentation added.
11411         (isMCNodeLocal): Implemented, documentation added.
11412         (isMCLinkLocal): Implemented, documentation added.
11413         (isMCSiteLocal): Implemented, documentation added.
11414         (isMCOrgLocal): Implemented, documentation added.
11415         (getHostName): Documentation added.
11416         (getCanonicalHostName): Implemented, documentation added.
11417         (getAddress): Documentation added.
11418         (hashCode): Documentation added.
11419         (equals): Documentation added.
11420         (toString): Fixed implementation.
11421         (getByAddress): Use Inet4Address and Inet6Address.
11422         (lookup): New linewrap.
11423         (getByName): SecurityManager check added, support Inet4Address and
11424         Inet6address, comments added.
11425         (getAllByName): SecurityManager check added, comments added.
11426         * java/net/Inet6Address.java:
11427         (Inet6Address): Initialize parent class with addr instead of null.
11428         * java/net/URL.java
11429         (equals): Documentation added.
11430         (getFile): Documentation added.
11431         (hashCode): Documentation added.
11432         * java/net/natInetAddress.cc:
11433         (aton): Fix IPv6 support.
11434         * java/net/natPlainDatagramSocketImpl.cc:
11435         (peek): Throw PortUnreachableException when suitable.
11436         (peekData): Throw PortUnreachableException when suitable.
11437         (send): Throw PortUnreachableException when suitable.
11438         (receive): Throw PortUnreachableException when suitable.
11439
11440 2002-10-27  Mark Wielaard  <mark@klomp.org>
11441
11442         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11443         argument.
11444         (readLeShort): Likewise and use byte[].
11445         (readLeInt): Likewise.
11446         (readEntries): Use new versions of methods and use byte[] for reading
11447         a complete zip entry. Add ZipFile name to exceptions.
11448         (entries): Add ZipFile name to exceptions.
11449         (getEntry): Likewise.
11450         (checkLocalHeader): Use new versions of methods and add ZipFile name
11451         to exceptions.
11452
11453 2002-10-31  Mark Anderson  <mark@panonet.net>
11454
11455         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11456         added
11457
11458 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11459
11460         * configure.in: Disable hash sync when not using threads.
11461         * configure: Regenerated.
11462
11463 2002-10-24  Tom Tromey  <tromey@redhat.com>
11464
11465         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11466         (_Jv_FindSymbolInExecutable): Removed argument name.
11467         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11468         java.library.path is set.
11469
11470         * gij.cc (help): Document --showversion.
11471         (version): Don't exit.
11472         (main): Handle --showversion.  Exit if --version given.
11473
11474 2002-10-23  Tom Tromey  <tromey@redhat.com>
11475
11476         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11477         (array_from_valist): Correctly handle promotion for jint, jlong,
11478         jfloat, and jdouble.
11479
11480 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11481
11482         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11483         GetFileAttributesEx( ) to find file length and modification times,
11484         as the latter is not present on Windows 95.
11485
11486 2002-10-21  Michael Koch  <konqueror@gmx.de>
11487
11488         * java/net/URL.java
11489         (URL): Activate SecurityManager checks.
11490         (equals): Use URLStreamHandler implementation instead of doing it
11491         alone. This allows special protocol stream handlers to change default
11492         behaviour.
11493         (hashCode): Use URLStreamHandler implementation instead of doing it
11494         alone. This allows special protocol stream handlers to change default
11495         behaviour.
11496         * java/net/URLStreamHandler.java
11497         (equals): Implemented default URL equality check.
11498         (hostsEqual): Implemented default URL equality check.
11499         (hashCode): Implemented default URL hashCode algorithm.
11500         * java/net/natPlainDatagramSocketImpl.cc:
11501         No lines longer then 80 characters.
11502
11503 2002-10-20  Adam Megacz <adam@xwt.org>
11504
11505         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11506         * configure.in: enabled hash sync on Win32
11507         * include/win32-threads.h (_Jv_ThreadId_t): added.
11508         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11509         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11510         removed some posix-isms, use Thread::sleep() instead of usleep,
11511         added code to clear bottom three bits if platform has a broken
11512         linker.
11513         * include/win32-threads.h (_Jv_ThreadId_t): added.
11514
11515 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11516
11517         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11518         runtime property "gnu.gcj.progname" containing the name used to
11519         invoke the current Java program (similar to argv[0] for C
11520         programs).
11521
11522 2002-10-15  Tom Tromey  <tromey@redhat.com>
11523
11524         Fix for PR libgcj/8234:
11525         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11526         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11527
11528 2002-10-13  Mark Wielaard  <mark@klomp.org>
11529
11530         * mauve-libgcj: Enable Mauve tests that compile now.
11531
11532 2002-10-11  Mark Wielaard  <mark@klomp.org>
11533
11534         Fix for PR libgcj/8142
11535         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11536         loading native modules.
11537
11538 2002-10-10  Michael Koch  <konqueror@gmx.de>
11539
11540         * javax/swing/AbstractListModel.java
11541         (getListDataListeners): New stubbed method.
11542         javax/swing/DefaultBoundedRangeModel.java
11543         (getChangeListeners): New stubbed method.
11544         javax/swing/DefaultSingleSelectionModel.java
11545         (getChangeListeners): New stubbed method.
11546
11547 2002-10-10  Michael Koch  <konqueror@gmx.de>
11548
11549         * gcj/.cvsignore: New file to ignore files generated during build.
11550         * include/.cvsignore: New file to ignore files generated during build.
11551
11552 2002-10-10  Michael Koch  <konqueror@gmx.de>
11553
11554         * java/net/HttpURLConnection.java
11555         (getPermission): New method.
11556         (getErrorStream): New stub method.
11557         (getHeaderFieldDate): New stub method.
11558         * java/net/Inet4Address.java:
11559         (isLinkLocalAddress): Typo fixed.
11560         * java/net/InetAddress.java:
11561         (readResolve): New stubbed method (for serialization).
11562         (isAnyLocalAddress): New stubbed method.
11563         (isLoopbackAddress): New stubbed method.
11564         (isLinkLocalAddress): New stubbed method.
11565         (isSiteLocalAddress): New stubbed method.
11566         (isMCGlobal): New stubbed method.
11567         (isMCNodeGlobal): New stubbed method.
11568         (isMCLinkLocal): New stubbed method.
11569         (isMCSiteLocal): New stubbed method.
11570         (isMCOrgLocal): New stubbed method.
11571         (getCanonicalHostName): New stubbed method.
11572         (getByAddress): Create instances of Inet4Address/Inet6Address,
11573         instead of InetAddress, documentation added.
11574         * java/net/MulticastSocket.java
11575         (getInterface): Removed FIXME.
11576         (getNetworkInterface): New method.
11577         (setNetworkInterface): New method.
11578         * java/net/NetworkInterface.java:
11579         (toString): Use property "line.separator" instead of "\n".
11580         * java/net/URLConnection.java
11581         (getContent): New stubbed method.
11582         * java/net/URLStreamHandler.java:
11583         (equals): New stubbed method.
11584         (hostsEqual): New stubbed method.
11585         (hashCode): New stubbed method.
11586         * java/net/natNetworkInterface.cc:
11587         (getRealNetworkInterfaces): Create Inet4Address object
11588         instead of InetAddress.
11589
11590 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11591
11592         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11593         unsigned long temporary to implement insn_iushr shifts.
11594
11595 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11596
11597         * configure.host [s390*-*]: Enable Java interpreter.
11598         Enable hash synchronization.  Add sysdeps dir.
11599         * sysdep/s390/locks.h: New file.
11600
11601 2002-10-06  Mark Wielaard  <mark@klomp.org>
11602
11603         * java/lang/Thread.java (setDaemon): Check startable_flag,
11604         not isAlive().
11605
11606 2002-10-07  Michael Koch  <konqueror@gmx.de>
11607
11608         * java/nio/Buffer.java: New stub file.
11609         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11610         of class Charset.
11611         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11612         * Makefile.in: Regenerated.
11613
11614 2002-10-07  Michael Koch  <konqueror@gmx.de>
11615
11616         * java/nio/ByteBuffer.java:
11617         removed import of not commited class.
11618
11619 2002-10-07  Michael Koch  <konqueror@gmx.de>
11620
11621         * java/nio/ByteBuffer.java,
11622         java/nio/MappedByteBuffer.java:
11623         New files, forgot to add these dummies.
11624         * Makefile.am (java_native_source_files): Added new files.
11625         * Makefile.in: Regenerated.
11626
11627 2002-10-07  Michael Koch  <konqueror@gmx.de>
11628
11629         * java/nio/channels/AlreadyConnectedException.java,
11630         java/nio/channels/ClosedChannelException.java,
11631         java/nio/channels/ReadableByteChannel.java,
11632         java/nio/channels/InterruptibleChannel.java,
11633         java/nio/channels/Channel.java,
11634         java/nio/channels/ByteChannel.java,
11635         java/nio/channels/GatheringByteChannel.java,
11636         java/nio/channels/ScatteringByteChannel.java,
11637         java/nio/channels/WritableByteChannel.java,
11638         java/nio/charset/CharacterCodingException.java,
11639         java/nio/charset/IllegalCharsetNameException.java,
11640         java/nio/charset/MalformedInputException.java,
11641         java/nio/charset/UnmappableCharacterException.java,
11642         java/nio/charset/UnsupportedCharsetException.java,
11643         java/nio/charset/spi/CharsetProvider.java: New file.
11644         These files are exceptions or interfaces,
11645         no real or abstract classes.
11646         * Makefile.am (java_native_source_files): Added new files.
11647         * Makefile.in: Regenerated.
11648
11649 2002-10-05  Michael Koch  <konqueror@gmx.de>
11650
11651         * java/net/InetAddress.java
11652         (getByAddress): Fixed documentation.
11653         (getByAddress): New method.
11654         * java/net/Inet4Address.java: New file.
11655         * java/net/URL.java
11656         (URL): Documentation added.
11657         (getContent): Documentation added.
11658         (getContent): New stubbed method.
11659         (getQuery): New method.
11660         (openConnection): Documentation added.
11661         (openStream): Documentation added.
11662         (setURLStreamHandlerFactory): Documentation added.
11663         * java/net/URI.java: New stub file.
11664         * Makefile.am
11665         (java_native_source_files): Added java/net/Inet4Address.java,
11666         java/net/Inet6Address.java and java/net/URI.java.
11667         * Makefile.in: Regenerated.
11668
11669 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11670
11671         * java/lang/ProtectionDomain.java (linesep): Remove field.
11672         (toString): Use System.getProperty("line.separator").
11673
11674 2002-10-04  Michael Koch  <konqueror@gmx.de>
11675
11676         * java/security/Identity.java: Added serialVersionUID.
11677         * java/security/KeyPair.java: Added serialVersionUID.
11678         * java/security/Provider.java: Added serialVersionUID.
11679         * java/security/SecureRandom.java: Added serialVersionUID.
11680         * java/security/SecureRandomSpi.java: Added serialVersionUID.
11681         * java/security/SignedObject.java: Added serialVersionUID.
11682         * java/security/cert/Certificate.java: Added serialVersionUID.
11683
11684 2002-10-04  Mark Wielaard <mark@klomp.org>
11685
11686         * java/security/Security.java: Use java.home or gnu.classpath.home
11687         to load providers.
11688         (loadProviders): Extra dir argument.
11689         (getProvider): Return null when not found.
11690
11691 2002-10-04  Mark Wielaard  <mark@klomp.org>
11692
11693         * java/lang/Throwable.java: Remerge with Classpath.
11694
11695 2002-10-04  Michael Koch  <konqueror@gmx.de>
11696
11697         * java/net/InetAddress.java:
11698         (isMulticastAddress): Added documentation.
11699         (getHostAddress): Added documentation.
11700         (toString): Added documentation.
11701         (getByAddress): Fixed documentation.
11702         (getByName): Added documentation.
11703         (getAllByName): Added documentation.
11704         (getLocalHost): Added documentation.
11705
11706 2002-10-04  Michael Koch  <konqueror@gmx.de>
11707
11708         * java/beans/beancontext/BeanContextChildSupport.java:
11709         Added serialVersionUID.
11710         * java/text/Collator.java: (compare): Made documentation HTML-aware.
11711         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11712         * javax/naming/Name.java: Added serialVersionUID.
11713
11714 2002-10-03  Adam Megacz <adam@xwt.org>
11715
11716         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11717         some functionality that isn't supported yet on WIN32.
11718
11719 2002-10-03  Tom Tromey  <tromey@redhat.com>
11720
11721         * Makefile.in: Rebuilt.
11722         * Makefile.am (awt_java_source_files): Added new files.
11723
11724 2002-10-03  Michael Koch  <konqueror@gmx.de>
11725
11726         * java/net/InetAddress.java
11727         (class InetAddress): Removed final keyword.
11728         (equals): Fixed typo.
11729         (getByAddress): New method.
11730
11731 2002-10-03  Michael Koch  <konqueror@gmx.de>
11732
11733         * java/awt/dnd/Autoscroll.java:
11734         New file, merge from Classpath.
11735         * java/awt/dnd/DragSourceAdapter.java:
11736         (dragExit): Fixed typos in argument type.
11737         (dragDropEnd): Fixed typos in argument type.
11738         * java/awt/dnd/DragSourceDropEvent.java:
11739         New file, merge from Classpath.
11740         * java/awt/dnd/DropTarget.java:
11741         Added stubs, merge from Classpath.
11742         * java/awt/dnd/DropTargetAdapter.java:
11743         New file, merge from Classpath.
11744         * java/awt/dnd/DropTargetContext.java:
11745         New file, merge from Classpath.
11746         * java/awt/dnd/DropTargetDragEvent.java:
11747         New file, merge from Classpath.
11748         * java/awt/dnd/DropTargetDropEvent.java:
11749         New file, merge from Classpath.
11750         * java/awt/dnd/DropTargetEvent.java:
11751         New file, merge from Classpath.
11752         * java/awt/dnd/DropTargetListener.java:
11753         New file, merge from Classpath.
11754         * java/awt/dnd/MouseDragGestureRecognizer.java:
11755         New file, merge from Classpath.
11756         * java/awt/dnd/peer/DropTargetContextPeer.java:
11757         New file, merge from Classpath.
11758
11759 2002-10-03  Michael Koch  <konqueror@gmx.de>
11760
11761         * java/net/DatagramPacket.java
11762         (setLength): Fixed typo and be HTML-aware.
11763         * java/net/InetSocketAddress.java
11764         (InetSocketAddress): Correct initialization of hostname, fixed typo.
11765         (equals): Added comment about equality of InetSocketAddress objects.
11766         * java/net/ServerSocket.java
11767         (accept): Added checks.
11768         (isClosed): New stubbed method.
11769         * java/net/SocketOptions.java: Reindention.
11770         * java/net/SocketPermission
11771         (SocketPermission): Documentation fixed.
11772
11773 2002-10-03  Michael Koch  <konqueror@gmx.de>
11774
11775         * java/net/DatagramSocket.java
11776         (receive): Check with SecurityManager AFTER the packet is received,
11777         check if connected to multicast address, documentation added.
11778         (send): Only check SecurityManager if connected, check address of
11779         packet to send.
11780         (connect): Implemented, documentation added.
11781         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11782         * java/net/InetSocketAddress.java
11783         (whole file): Reindented.
11784         (hostname): New attribute.
11785         (InetSocketAddress): Initialize new attribute.
11786         (getAddress): Documentation added.
11787         (getHostName): Documentation added.
11788         (getPort): Documentation added.
11789         (hashCode): Documentation added.
11790         (isUnresolved): Documentation added.
11791         (toString): Conform to output of JDK 1.4.1, documentation added.
11792         * java/net/MulticastSocket.java
11793         (joinGroup): Removed FIXME, documentation added.
11794         (leaveGroup): Removed FIXME, documentation added.
11795         (send): Documentation added.
11796         * java/net/Socket.java
11797         (inputShutdown): New variable.
11798         (outputShutdown): New variable.
11799         (Socket): Initialize new variables.
11800         (getRemoteSocketAddress): Check if connected.
11801         (shutdownInput): Set new variable.
11802         (shutdownOutput): Set new variable.
11803         (isConnected): New method.
11804         (isClosed): New method.
11805         (isInputShutdown): New method.
11806         (isOutputShutdown): New method.
11807         * java/net/URLStreamHandler.java
11808         (URLStreamHandler): New method.
11809         (openConnection): Added documentation.
11810         (parseURL): Added documentation.
11811         (getHostAddress): New method.
11812         (getDefaultPort): New method.
11813
11814 2002-10-02  Tom Tromey  <tromey@redhat.com>
11815
11816         * java/rmi/activation/ActivationDesc.java,
11817         java/rmi/activation/ActivationGroupDesc.java,
11818         java/rmi/activation/ActivationGroupID.java,
11819         java/rmi/activation/ActivationID.java: New versions from
11820         Classpath.
11821
11822 2002-09-30  Bo Thorsen  <bo@suse.de>
11823
11824         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11825
11826 2002-09-30  Tom Tromey  <tromey@redhat.com>
11827
11828         * java/io/ObjectInputStream.java (resolveProxyClass): New method
11829         from Classpath.
11830         * Makefile.in: Rebuilt.
11831         * Makefile.am (rmi_java_source_files): Added new files.
11832         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11833         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11834         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11835         Classpath.
11836         * gnu/java/rmi/dgc/DGCImpl.java,
11837         gnu/java/rmi/dgc/DGCImpl_Skel.java,
11838         gnu/java/rmi/dgc/DGCImpl_Stub.java,
11839         gnu/java/rmi/registry/RegistryImpl_Skel.java,
11840         gnu/java/rmi/registry/RegistryImpl_Stub.java,
11841         gnu/java/rmi/server/RMIHashes.java,
11842         gnu/java/rmi/server/RMIObjectInputStream.java,
11843         gnu/java/rmi/server/RMIObjectOutputStream.java,
11844         gnu/java/rmi/server/UnicastConnection.java,
11845         gnu/java/rmi/server/UnicastConnectionManager.java,
11846         gnu/java/rmi/server/UnicastRef.java,
11847         gnu/java/rmi/server/UnicastServer.java,
11848         gnu/java/rmi/server/UnicastServerRef.java,
11849         java/rmi/MarshalledObject.java,
11850         java/rmi/server/RMIClassLoader.java,
11851         java/rmi/server/RemoteObject.java,
11852         java/rmi/server/UnicastRemoteObject.java,
11853         java/security/SecureClassLoader.java: Merged from Classpath.
11854
11855 2002-09-29  Anthony Green  <green@redhat.com>
11856
11857         * java/lang/reflect/UndeclaredThrowableException.java: New file.
11858         Imported from GNU Classpath.
11859         * java/lang/reflect/natProxy.cc: New file.
11860         * java/lang/reflect/InvocationHandler.java: New file.  Imported
11861         from GNU Classpath.
11862         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
11863         Classpath.
11864         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11865         Classpath.
11866         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11867         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11868         New statics.
11869         * gcj/javaprims.h ("Java"): Add new classes.
11870         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11871         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11872         java/lang/reflect/Proxy$$ProxyType.h): And this.
11873         (inner_nat_headers): Add these new headers.
11874         (ordinary_java_source_files): Add new files.
11875         (nat_source_files): Add new file.
11876         * Makefile.in: Rebuilt.
11877
11878 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
11879
11880         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11881         a single configuration.
11882
11883 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11884
11885         * java/util/TimeZone.java (getDSTSavings): New method.
11886         Fixes PR libgcj/7786.
11887
11888 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11889
11890         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
11891         to see if `the_method == 0' before looking up vtable index.
11892         Fixes PR libgcj/7709.
11893
11894 2002-09-25  Tom Tromey  <tromey@redhat.com>
11895
11896         * java/lang/natClassLoader.cc:
11897         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
11898         * resolve.cc: Include NoClassDefFoundError.h, not
11899         ClassNotFoundException.h.
11900         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11901
11902         * defineclass.cc: Don't include ClassNotFoundException.h.
11903
11904         * resolve.cc: Include StringBuffer.
11905         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11906
11907         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11908         allocated but not initialized.
11909
11910 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11911
11912         Fix for PR libgcj/7766:
11913         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
11914         (getNextEntry): Set it.
11915         (closeEntry): Likewise.
11916         (read): Likewise.
11917         (close): Likewise.
11918         (available): Use it.
11919
11920 2002-09-25  Michael Koch  <konqueror@gmx.de>
11921
11922         * java/net/DatagramSocket.java
11923         (DatagramSocket): Initialize new instance variables.
11924         (close): Reset new instance variables.
11925         (getLocalAddress): Remove unneeded SecurityManager usage.
11926         (getLocalPort): Check if socket is already bound.
11927         (isConnected): New method.
11928         (getInetAddress): Implemented.
11929         (getPort): Better Implementation, documentation fixed.
11930         (getRemoteSocketAddress): New method.
11931         * java/net/JarURLConnection.java
11932         (element): Typo fixed.
11933         (getMainAttributes): New method.
11934         (getAttributes): New method (stub only).
11935         (getManifest): New method (stub only).
11936         * java/net/NetPermission.java: Added serialVersionsUID.
11937         * java/net/Socket.java
11938         (connect): Check blocking mode of associated channel,
11939         documentation added.
11940         (getLocalSocketAddress): Better implementation.
11941         (getRemoteSocketAddress): Implemented.
11942         (isBound): New method.
11943         (setSendBufferSize): Documentation added.
11944         * java/net/SocketAddress.java: Added serialVersionsUID.
11945         * java/net/SocketPermission.java: Added serialVersionsUID.
11946         * java/net/URL.java
11947         (URL): Wrap for shorter lines, initialize new instance variables,
11948         documentation added.
11949         (equals): Check new instance variables too.
11950         (getContent): Documentation added.
11951         (getPath): Documentation added.
11952         (getAuthority): New method.
11953         (getHost): Documentation added.
11954         (getPort): Documentation added.
11955         (getDefaultPort): New method.
11956         (getProtocol): Documentation added.
11957         (getUserInfo): Documentation added.
11958         (set): Initialize new instance variables, documentation added.
11959         * java/net/URLStreamHandler.java
11960         (setURL): New method.
11961         * java/net/natPlainDatagramSocketImpl.cc
11962         (connect): Fix exception name.
11963         (disconnect): Fix exception name.
11964
11965 2002-09-25  Michael Koch  <konqueror@gmx.de>
11966
11967         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
11968         * java/nio/channels/DatagramChannel.java:
11969         extends AbstractSelectableChannel
11970         * java/nio/channels/ServerSocketChannel.java:
11971         extends AbstractSelectableChannel
11972         * java/nio/channels/SocketChannel.java:
11973         extends AbstractSelectableChannel
11974         * Makefile.am (ordinary_java_source_files):
11975         java/nio/channels/spi/AbstractSelectableChannel.java added.
11976         * Makefile.in: Regenerated.
11977
11978 2002-09-25  Michael Koch  <konqueror@gmx.de>
11979
11980         * java/net/DatagramSocket.java
11981         (DatagramSocket): Exception documentation added.
11982         (bind): Exception documentation added, addded SecurityManager check,
11983         added SocketAddress type check.
11984         (getSoTimeout): Check impl.
11985         (receive): Fix SecurityManager check, check impl, documentation added.
11986         (send): Check channel mode, documentation added.
11987         (connect): New method.
11988         (disconnect): Implemented.
11989         (getLocalSocketAddress): New method.
11990         (getReceiveBufferSize): Check impl.
11991         (setReuseAddress): Check impl.
11992         (getReuseAddress): Check impl.
11993         (setBroadcast): Check impl.
11994         (getBroadcast): Check impl.
11995         (setTrafficClass): Check impl, Documentation cleared.
11996         (getTrafficClass): Check impl.
11997         (getSendBufferSize): Check impl.
11998         (setReceiveBufferSize): Check impl, documentation added.
11999         (setSendBufferSize): Documentation added.
12000         (setDatagramSocketImplFactory): New method.
12001         * java/net/HttpURLConnection.java
12002         (HTTP_INTERNAL_ERROR): The correct code is 500.
12003         (HTTP_NOT_IMPLEMENTED): Added new constant.
12004         (setFollowRedirects): Documentation added.
12005         (getInstanceFollowRedirects): New method.
12006         (setInstanceFollowRedirects): New method.
12007         (setRequestMethod): Documentation added.
12008         (getResponseCode): Documentation added.
12009         (getResponseMessage): Documentation added.
12010         * java/net/JarURLConnection.java
12011         (JarURLConnection): protected since JDK 1.4.
12012         (getJarEntry): java.io.IOException to IOException, documentation added.
12013         (getJarFile): Documentation added.
12014         * java/net/ServerSocket.java
12015         (ServerSocket): Private to public, exception added.
12016         (ServerSocket): java.io.IOException to IOException, documentation added.
12017         (bind): Check socket address type, documentation added.
12018         (bind): java.io.IOException to IOException, documentation added.
12019         (accept): Documentation added.
12020         (implAccept): Check ch is not non-blocking, documentation added.
12021         (setSoTimeout): Documentation fixed.
12022         (setReceiveBufferSize): Documentation added.
12023         * java/net/Socket.java
12024         (Socket): Documentation added.
12025         (bind): Documentation added.
12026         (connect): Check socket address type, documentation added.
12027         (getRemoteSocketAddress): New method.
12028         (getLocalSocketAddress): New method.
12029         (setSoLinger): Documentation added.
12030         (getReuseAddress): New method.
12031         (setReuseAddress): New method.
12032         (getTrafficClass): New method.
12033         (setTrafficClass): New method.
12034         * java/net/URLStreamHandler.java
12035         (openConnection): java.io.IOException to IOException.
12036         (parseURL): Documentation added.
12037         (sameFile): public to protected, documentation added.
12038         (setURL): Documentation added.
12039         * java/nio/IllegalBlockingModeException.java: New file.
12040         * Makefile.am (ordinary_java_source_files):
12041         added java/nio/IllegalBlockingModeException.java
12042         * Makefile.in: Regenerated.
12043
12044 2002-09-25  Michael Koch  <konqueror@gmx.de>
12045
12046         * java/net/DatagramPacket
12047         (DatagramPacket): Exception documentation added.
12048         (setData): Likewise.
12049         (setSocketAddress): Likewise.
12050         * java/net/DatagramSocketImpl.java
12051         (peek): Documentation addded.
12052         (peekData): Documentation addded.
12053         (send): Documentation addded.
12054         (receive): Documentation addded.
12055         (connect): New method.
12056         (disconnect): New method.
12057         (joinGroup): New abstract method.
12058         (leaveGroup): New abstract method.
12059         * java/net/InetSocketAddress.java
12060         (InetSocketAddress): Documentation added.
12061         (equals): final keyword added.
12062         (getAddress): final keyword added.
12063         (getHostName): final keyword added.
12064         (getPort): final keyword added.
12065         (hashCode): final keyword added.
12066         (isUnresolved): final keyword added.
12067         * java/net/MulticastSocket.java
12068         (MulticastSocket): Documentation added.
12069         (MulticastSocket): New method.
12070         (joinGroup): Documentation added.
12071         (joinGroup): New method.
12072         (leaveGroup): Documentation added.
12073         (leaveGroup): New method.
12074         (send): Documentation added.
12075         * java/net/NetworkInterface.java
12076         (getByName): Documentation added.
12077         (getByInetAddress): Documentation added.
12078         (getNetworkInterfaces): Documentation added.
12079         * java/net/PlainDatagramSocketImpl.java
12080         (connect): New method.
12081         (disconnect): New method.
12082         * java/net/SocketImpl.java
12083         (create): Documentation added.
12084         (shutdownInput): Convert public to protected, as it always was.
12085         (shutdownOutput): Convert public to protected, as it always was.
12086         * java/net/SocketOptions.java
12087         (whole file): Reintented.
12088         * java/net/URLClassLoader.java
12089         (URLClassLoader): SecurityManager check added, documentation added.
12090         (findResources): Documentation added.
12091         (findClass): Documentation added.
12092         (newInstance): More correct method arguments.
12093         * java/net/URLConnection.java
12094         (connect): Documentation added.
12095         (getContent): Documentation added.
12096         (getPermission): Documentation added.
12097         (getInputStream): Documentation added.
12098         (getOutputStream): Documentation added.
12099         (setDoInput): Throw correct exception, documentation added.
12100         (setDoOutput): Throw correct exception, documentation added.
12101         (setAllowUserInteraction): Throw correct exception, documentation added.
12102         (setUseCaches): Throw correct exception, documentation added.
12103         (setIfModifiedSince): Throw correct exception, documentation added.
12104         (setRequestProperty): Throw exception, documentation added.
12105         (addRequestProperty): Throw exception, documentation added.
12106         (getRequestProperty): Throw exception, documentation added.
12107         (getRequestProperties): Documentation added.
12108         (setContentHandlerFactory): Documentation added.
12109         (guessContentTypeFromName): protected to public.
12110         (setFileNameMap): Documentation added.
12111         * java/net/URLDecoder.java
12112         (URLDecoder): New method.
12113         (decode): Documentation added.
12114         (whole file): Reindented.
12115         * java/net/URLEncoder.java
12116         (encode): Documentation added.
12117         * java/net/natPlainDatagramSocketImpl.cc
12118         (connect): New method.
12119         (disconnect): New method.
12120         * javax/naming/RefAddr:
12121         (addrType): addrType was never final.
12122         (equals): Fix typo in method name.
12123         * javax/naming/BinaryRefAddr:
12124         (equals): Fix typo in method name.
12125
12126 2002-09-22  Tom Tromey  <tromey@redhat.com>
12127
12128         Fix for PR libgcj/6576:
12129         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12130         didn't find a given bundle.
12131         (getBundle): Don't require base bundle.
12132         (setParent): Removed old comment.
12133         (tryLocalBundle): Try components even if preceding components were
12134         empty.
12135
12136 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12137
12138         * Makefile.am (all-multi): Fix multilib parallel build.
12139
12140 2002-09-21  Michael Koch  <konqueror@gmx.de>
12141
12142         * java/net/Socket.java
12143         (sendUrgentData): New method.
12144         (getChannel): New method.
12145         * java/net/ServerSocket.java
12146         (getChannel): New method.
12147         (isBound): New method.
12148         * java/net/DatagramSocket.java
12149         (DatagramSocket): Two new methods.
12150         (bind): New method.
12151         (getChannel): New method.
12152         (isBound): New method.
12153         (send): Added newline to to make shorter lines.
12154         * java/net/PlainDatagramSocketImpl.java
12155         (mcastGrp): Added argument.
12156         (join): Use new mcastGrp.
12157         (leave): Use new mcastGrp.
12158         (joinGroup): New method.
12159         (leaveGroup): New method.
12160         * java/net/natPlainDatagramSocketImpl.cc
12161         (mcastGrp): Added argument, no yet really implemented.
12162         (getOption): Added newline for shorter lines.
12163         * java/net/natPlainSocketImpl.cc
12164         (read, setOption, getOption): Added newline for shorter lines.
12165
12166 2002-09-19  Tom Tromey  <tromey@redhat.com>
12167
12168        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12169        newly-created exception.
12170
12171 2002-09-18  Michael Koch  <konqueror@gmx.de>
12172
12173         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12174         java/util/regex/PatternSyntaxException.java:
12175         Merge with classpath, new files.
12176         * Makefile.am (core_java_source_files):
12177         Added java/util/regex/Matcher.java,
12178         java/util/regex/Pattern.java,
12179         java/util/regex/PatternSyntaxException.java
12180         * Makefile.in: Regenerated.
12181         * include/config.h.in: Added HAVE_NET_IF_H.
12182         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12183         Removed #if 0 ... #endif.
12184
12185 2002-09-17  Michael Koch  <konqueror@gmx.de>
12186
12187         * java/net/natNetworkInterface.cc:
12188         Removed unneed and yet wrong includes.
12189
12190 2002-09-17  Michael Koch  <konqueror@gmx.de>
12191
12192         * java/net/NetworkInterface.java: New file.
12193         * java/net/natNetworkInterface.java: New file.
12194         * configure.in: Added check for net/if.h.
12195         * configure: Regenerated.
12196         * Makefile.am
12197         (ordinary_java_source_files): Added NetworkInterface.java.
12198         (nat_source_files): Added natNetworkInterface.cc.
12199         * Makefile.in: Regenerated.
12200
12201 2002-09-16  Tom Tromey  <tromey@redhat.com>
12202
12203         * java/net/URLClassLoader.java (findClass): Code source for a
12204         class from a jar is not necessarily a jar: URL.
12205
12206 2002-09-16  Michael Koch  <konqueror@gmx.de>
12207
12208         * java/lang/AssertionError.java:
12209         Merge with classpath, fixes HTML.
12210         * java/rmi/server/LogStream.java:
12211         Merge with classpath, fixes some constants.
12212         * java/net/server/RemoteServer.java:
12213         Merge with classpath, adds serialVersionUID.
12214         * javax/naming/BinaryRefAddr.java:
12215         Merge with classpath, s/equal/equals/.
12216         * javax/naming/NamingException.java:
12217         Merge with classpath, fixed typo.
12218         * javax/naming/RefAddr.java:
12219         Merge with classpath, s/equal/equals/.
12220         * java/awt/Toolkit.java:
12221         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12222         and typo fixed.
12223
12224 2002-09-15  Adam Megacz <adam@xwt.org>
12225
12226         * java/net/natPlainSocketImpl.cc: fixed typo.
12227
12228 2002-09-15  Adam Megacz <adam@xwt.org>
12229
12230         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12231         which don't work on Win32 (yet).
12232
12233 2002-09-14  Adam Megacz <adam@xwt.org>
12234
12235         * java/net/natPlainDatagramSocket.cc: removed #include
12236         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12237         * include/win32.h: included definition for IP_TOS to satisfy
12238         natPlainDatagramSocket.cc
12239
12240 2002-09-13  Michael Koch  <konqueror@gmx.de>
12241
12242         * java/net/DatagramPacket.java (DatagramPacket):
12243         Added linebreak for 80 chars per line.
12244         * java/net/JarURLConection.java
12245         (getInputStreami, getJarEntry): Likewise.
12246         * java/net/SocketPErmission.java
12247         (SocketPermission class docu, implies): Likewise.
12248         * java/net/URLClassLoader.java (findResources): Likewise.
12249         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12250
12251 2002-09-13  Michael Koch  <konqueror@gmx.de>
12252
12253         * java/nio/channels/DatagramChannel.java,
12254         java/nio/channels/ServerSocketChannel.java
12255         java/nio/channels/SocketChannel.java:
12256         New dummy files to make java.net fully JDK 1.4 compatible
12257         * Makefile.am (ordinary_java_source_files): Added
12258         java/net/DatagramSocketImplFactory.java (long forgotten),
12259         java/nio/SocketChannel.java,
12260         java/nio/ServerSocketChannel.java,
12261         java/nio/DatagramChannel.java
12262         * Makefile.in: Regenrated.
12263
12264 2002-09-12  Michael Koch  <konqueror@gmx.de>
12265
12266         * java/net/DatagramSocketImpl.java
12267         (peekData): New method.
12268         * java/net/PlainDatagramSocketImpl.java
12269         (peekData): New method.
12270         * java/net/natPlainDatagramSocketImpl.cc
12271         (peekData): New method.
12272         * java/net/URLConnection
12273         (getPermission): New method.
12274         (addRequestProperty): New method.
12275         (getRequestProperties): New method.
12276         (guessContentTypeFromStream): New method, not really implemented.
12277         (URLConnection): Added/updated documentation.
12278         (connect): Added/updated documentation.
12279         (getURL): Added/updated documentation.
12280         (getContentLength): Added/updated documentation.
12281         (getContentType: Added/updated documentation.
12282         (getContentEncoding): Added/updated documentation.
12283         (getExpiration): Added/updated documentation.
12284         (getDate): Added/updated documentation.
12285         (getLastModified): Added/updated documentation.
12286         (getHeaderField): Added/updated documentation.
12287         (getHeaderFields): Added/updated documentation.
12288         (getHeaderFieldInt): Added/updated documentation.
12289         (getHeaderFieldDate): Added/updated documentation.
12290         (getHeaderFieldKey): Added/updated documentation.
12291         (getContent): Added/updated documentation.
12292         (getInputStream): Added/updated documentation.
12293         (getOutputStream): Added/updated documentation.
12294         (toString): Added/updated documentation.
12295         (setDoInput): Added/updated documentation.
12296         (getDoInput): Added/updated documentation.
12297         (setDoOutput): Added/updated documentation.
12298         (getDoOutput): Added/updated documentation.
12299         (setAllowUserInteraction): Added/updated documentation.
12300         (getAllowUserInteraction): Added/updated documentation.
12301         (setDefaultAllowUserInteraction): Added/updated documentation.
12302         (getDefaultAllowUserInteraction): Added/updated documentation.
12303         (setUseCaches): Added/updated documentation.
12304         (getUseCaches): Added/updated documentation.
12305         (setIfModifiedSince): Added/updated documentation.
12306         (getIfModifiedSince): Added/updated documentation.
12307         (getDefaultUseCaches): Added/updated documentation.
12308         (setDefaultUseCaches): Added/updated documentation.
12309         (setRequestProperty): Added/updated documentation.
12310         (getRequestProperty): Added/updated documentation.
12311         (setDefaultRequestProperty): Added/updated documentation.
12312         (getDefaultRequestProperty): Added/updated documentation.
12313         (setContentHandlerFactory): Added/updated documentation.
12314         (guessContentTypeFromName): Added/updated documentation.
12315         (getFileNameMap): Added/updated documentation.
12316         (setFileNameMap): Added/updated documentation.
12317
12318 2002-09-11  Michael Koch  <konqueror@gmx.de>
12319
12320         * java/net/Socket.java
12321         (Socket): protected to public (since JDK 1.4). Added @specnote.
12322         (bind): New method.
12323         (connect): Two new methods.
12324         (getKeepalive): Get correct socket option.
12325         (setKeepalive): Set correct socket option.
12326         (getOOBInline): New method.
12327         (setOOBInline): New method.
12328         * java/net/ServerSocket.java
12329         (bind): Two new methods.
12330         (getInetAddress): Reimplemented, catch exception.
12331         (getLocalSocketAddress): New method.
12332         (setReuseAddress): New method.
12333         (getReuseAdress): New method.
12334         (setReceiveBufferSize): New method.
12335         (getReceiveBufferSize): New method.
12336         (toString): Made string JDK 1.4 compliant.
12337
12338 2002-09-10  Michael Koch  <konqueror@gmx.de>
12339
12340         * java/net/SocketImpl.java
12341         (connect): New method.
12342         (supportsUrgentData): New method.
12343         (sendUrgentData): New method.
12344         * java/net/PlainSocketImpl.java
12345         (connect): One new method and two new implementation.
12346         (sendUrgentData): New method.
12347         * java/natPlainSocketImpl.cc
12348         (connect): Arguments changed, added support for timeouts.
12349         (getOption): Another __java_boolean to jboolean.
12350
12351 2002-09-07  Adam Megacz <adam@xwt.org>
12352
12353         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12354         definition of IP_TOS.
12355
12356 2002-09-04  Michael Koch  <konqueror@gmx.de>
12357
12358         * java/net/DatagramSocket.java
12359         (DatagramSocket): Added documentation.
12360         (close): Likewise.
12361         (getLocalAddress): Likewise.
12362         (getLocalPort): Likewise.
12363         (receive): Likewise.
12364         (send): Likewise.
12365         (setSoTimeout): Likewise.
12366         (connect): New method.
12367         (disconnect): New method.
12368         (getInetAddress): New method (FIXME)
12369         (getPort): New method.
12370         (setReuseAddress): New method.
12371         (getReuseAddress): New method.
12372         (setBroadcast): New method.
12373         (getBroadcast): New method.
12374         (setTrafficClass): New method.
12375         (getTrafficClass): New method.
12376         * java/net/MulticastSocket.java):
12377         (getTTL): Added @see in documentation.
12378         (setTTL): Added @see in documentation.
12379         (setLoopbackMode): New method.
12380         (getLoopbackMode): New method.
12381         * java/net/PlainSocketImpl.java:
12382         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12383         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12384         * java/net/PlainDatagramSocketImpl.java
12385         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12386         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12387         * java/net/natPlainSocketImpl.cc
12388         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12389         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12390         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12391         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12392         This should also fix SO_KEEPALIVE
12393         * java/net/natPlainDatagramSocketImpl.cc
12394         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12395         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12396         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12397         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12398
12399 2002-09-04  Michael Koch  <konqueror@gmx.de>
12400
12401         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12402         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12403         IP_MULTICAST_LOOP, IP_TOS
12404
12405 2002-09-03  Tom Tromey  <tromey@redhat.com>
12406
12407         * java/lang/Class.h (_getDeclaredMethod): Declare.
12408         (_getMethod): Now private.
12409         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12410         getDeclaredMethod.  Now returns NULL on failure.
12411         * java/lang/Class.java (_getDeclaredMethod): Declare.
12412         (getDeclaredMethod): No longer native; implements access checks.
12413
12414 2002-09-01  Mark Wielaard  <mark@klomp.org>
12415
12416         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12417         (sanitizeStack): Correctly reset unknown and interpreter counters,
12418         detect interpreter runtime frames.
12419         (demangleInterpreterMethod): New method.
12420         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12421         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12422         filling in addrs[].
12423
12424 2002-09-02  Michael Koch  <konqueror@gmx.de>
12425
12426         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12427         re-indented documentation.
12428
12429 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12430
12431         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12432         public, per 1.4 spec.  Fixes PR libgcj/7785.
12433
12434 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12435
12436         * Makefile.in: Rebuilt.
12437         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12438
12439 2002-08-29  Tom Tromey  <tromey@redhat.com>
12440
12441         * java/net/JarURLConnection.java (getCertificates): New method
12442         from Classpath.
12443         * java/net/URLClassLoader.java (URLClassLoader): Extends
12444         SecureClassLoader.
12445         (definePackage): New method from Classpath.
12446         (getPermissions): Likewise.
12447         (newInstance): Likewise.
12448         (findClass): Construct CodeSource for new class (from Classpath).
12449         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12450         methods.
12451         * java/net/URL.java (getUserInfo): New method.
12452         (set(String,String,int,String,String,String,String,String)): New
12453         method.
12454         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12455         (shutdownInput, shutdownOutput): Declare.
12456         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12457         Define.
12458         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12459         (getOption): Likewise.
12460         (shutdownInput): New method.
12461         (shutdownOutput): Likewise.
12462         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12463         keepalive.
12464         (getOption): Likewise.
12465         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12466         * java/net/Socket.java (setKeepAlive): New method.
12467         (getKeepAlive): Likewise.
12468         (shutdownInput, shutdownOutput): New methods.
12469
12470 2002-08-29  Michael Koch  <konqueror@gmx.de>
12471
12472         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12473         new methods are:
12474         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12475           address),
12476         DatagramPacket(byte[] buf, int length, SocketAddress address),
12477         void setSocketAddress(SocketAddress address)
12478         public SocketAddress getSocketAddress()
12479
12480 2002-08-29  Tom Tromey  <tromey@redhat.com>
12481
12482         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12483         ftruncate is missing.
12484         * configure, include/config.h.in: Rebuilt.
12485         * acconfig.h (HAVE_FTRUNCATE): Mention.
12486         * configure.in: Check for ftruncate.
12487
12488 2002-08-29  Tom Tromey  <tromey@redhat.com>
12489
12490         * include/jvm.h (struct _Jv_frame_info): New structure.
12491         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12492         java-interp.h.
12493         (lookupInterp): New method.
12494         (getAddrAsString): Use _Jv_frame_info.
12495         (dladdrLookup): Likewise.
12496         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12497         interpreted frame.
12498         (lookupInterp): Declare.
12499         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12500         (fillInStackTrace): Collect information on interpreted frames.
12501         Use _Jv_frame_info.
12502         * interpret.cc: Include Thread.h.
12503         (run): Create and push _Jv_MethodChain object.
12504         (_Jv_EndOfInterpreter): New global.
12505         * java/lang/Thread.java (interp_frame): New field.
12506         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12507         Include NameFinder.h.
12508
12509 2002-08-28  Tom Tromey  <tromey@redhat.com>
12510
12511         * java/lang/Class.h: Include Package.h.
12512         (Class::getProtectionDomain): Declare.
12513         (Class::getPackage): Declare.
12514
12515 2002-08-28  Michael Koch <konqueror@gmx.de>
12516
12517         * java/net/InetSocketAddress.java: Added some documentation and argument
12518         checks for the port numbers.
12519         * java/net/DatagramSocketImplFactory.java: New file.
12520
12521 2002-08-28  Michael Koch <konqueror@gmx.de>
12522
12523         * java/net/Authenticator.java: added some documentation.
12524
12525 2002-08-27  Tom Tromey  <tromey@redhat.com>
12526
12527         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12528         class.
12529         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12530
12531 2002-08-27  Michael Koch <konqueror@gmx.de>
12532
12533         * java/net/BindException.java,
12534         java/net/JarURLConnection.java,
12535         java/net/FileNameMap.java,
12536         java/net/HttpURLConnection.java,
12537         java/net/InetSocketAddress.java,
12538         java/net/DatagramPacket.java,
12539         java/net/DatagramSocket.java,
12540         java/net/DatagramSocketImpl.java,
12541         java/net/MulticastSocket.java,
12542         java/net/PasswordAuthentication.java,
12543         java/net/ServerSocket.java,
12544         java/net/Socket.java,
12545         java/net/URLClassLoader.java,
12546         java/net/URLConnection.java: add/update of some @since/@deprecated
12547
12548 2002-08-27  Tony Kimball <alk@pobox.com>
12549             Tom Tromey  <tromey@redhat.com>
12550
12551         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12552         define.
12553         (::close): Removed.
12554         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12555         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12556         (::close): Removed.
12557         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12558         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12559
12560 2002-08-25  Adam Megacz <adam@xwt.org>
12561
12562         * include/win32.h (getcwd): copied function declaration as
12563         temporary fix for header confusion.
12564
12565 2002-08-24  Mark Wielaard <mark@klomp.org>
12566
12567         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12568         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12569         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12570         and natNameFinder.cc.
12571         * Makefile.in: Regenerate.
12572         * prims.cc: Use trace_enabled from VMThrowable.
12573         * name-finder.cc: Removed.
12574         * gcj/javaprims.h: Add class VMThrowable.
12575         * gnu/gcj/runtime/NameFinder.java: New file.
12576         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12577         * include/name-finder.h: Removed.
12578         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12579         method stackTraceString().
12580         (printStackTrace (PrintWriter)): Likewise.
12581         (stackTraceString): Complete rewrite of old printStackTrace using
12582         StringBuffer.
12583         (stackTraceStringBuffer): New helper method for stackTraceString().
12584         (fillInStackTrace): Delegate to VMTrowable.
12585         (getStackTrace): Likewise.
12586         (getStackTrace0): Removed.
12587         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12588         (setStackTrace): Copy given array.
12589         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12590         * java/lang/VMThrowable.java: New class.
12591         * java/lang/natVMThrowable.cc: New file.
12592
12593 2003-08-23  Michael Koch  <konqueror@gmx.de>
12594
12595         * java/net/URLConnection.java,
12596         java/netJarURLConnection.java,
12597         gnu/gcj/protocol/core/Connection.java,
12598         gnu/gcj/protocol/file/Connection.java,
12599         gnu/gcj/protocol/http/Connection.java: Added implementation of
12600         getHeaderFields().
12601
12602 2002-08-22  Tom Tromey  <tromey@redhat.com>
12603
12604         * gij.cc (help): Document -cp and -classpath.
12605         (main): Handle -classpath.
12606
12607 2002-08-21  Tom Tromey  <tromey@redhat.com>
12608
12609         * Makefile.in: Rebuilt.
12610         * Makefile.am (ordinary_java_source_files): Added
12611         SocketAddress.java, InetSocketAddress.java.
12612         * java/net/PortUnreachableException.java: Merged with Classpath.
12613         * java/net/SocketTimeoutException.java: Likewise.
12614         * java/net/URISyntaxException.java: Likewise.
12615         * java/net/SocketAddress.java: New class from Classpath.
12616         * java/net/InetSocketAddress.java: Likewise.
12617
12618 2003-08-21  Michael Koch  <konqueror@gmx.de>
12619
12620         * java/net/Authenticator.java: updated JDK 1.4
12621         * java/net/ContentHandler.java: updated JDK 1.4
12622
12623 2002-08-20  Michael Koch  <konqueror@gmx.de>
12624
12625         * java/net/URISyntaxException.java: New file.
12626         * java/net/SocketTimeoutException.java: New file.
12627         * java/net/PortUnreachableException.java: New file.
12628         * Makefile.am: Updated.
12629         * Makefile.in: Rebuilt.
12630
12631 2002-08-18  Mark Wielaard  <mark@klomp.org>
12632
12633         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12634         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12635         MessageDigestSpi (fixes Classpath bug #783).
12636
12637 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12638
12639         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12640         (startProcess): Allocate path for chdir in async-signal-safe way.
12641
12642 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12643
12644         Fix for PR libgcj/7570 and PR libgcj/7578:
12645         * java/lang/natPosixProcess.cc: Include java/io/File.h.
12646         (startProcess): Handle new `dir' argument.
12647         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12648         argument.
12649         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12650         argument.
12651         (startProcess): Likewise.
12652         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12653         argument.
12654         * java/lang/Runtime.java (execInternal): Added `dir' argument.
12655         (exec): Don't create new environment if ENV==null.  Pass DIR to
12656         execInternal.
12657         * java/lang/natRuntime.cc: Include java/io/File.h.
12658         (execInternal): Added `dir' argument.
12659
12660 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
12661
12662         * java/io/RandomAccessFile.java (skipBytes): Return number of
12663         bytes skipped.
12664
12665 2002-08-01  Mark Wielaard  <mark@klomp.org>
12666
12667         Reenable patch since shared library troubles on powerpc are solved:
12668         * gnu/java/security/provider/Gnu.java: Reference all implementation
12669         classes by using Class.getName().
12670         * gnu/java/security/der/DEREncodingException.java,
12671         gnu/java/security/provider/DERReader.java,
12672         gnu/java/security/provider/DERWriter.java,
12673         gnu/java/security/provider/DSAKeyPairGenerator.java,
12674         gnu/java/security/provider/DSAParameterGenerator.java,
12675         gnu/java/security/provider/DSAParameters.java,
12676         gnu/java/security/provider/DSASignature.java,
12677         gnu/java/security/provider/GnuDSAPrivateKey.java,
12678         gnu/java/security/provider/GnuDSAPublicKey.java,
12679         gnu/java/security/provider/MD5.java,
12680         gnu/java/security/util/Prime.java: New classes
12681         * Makefile.am (ordinary_java_source_files): Add above files.
12682         * Makefile.in: Regenerate.
12683         * gnu/java/security/provider/DefaultPolicy.java
12684         (getPermissions): Don't maintain static class variable of Permissions.
12685         * gnu/java/security/provider/SHA.java
12686         (engineUpdate): algorithm change.
12687         (engineDigest): algorithm change.
12688
12689 2002-08-09  Mark Wielaard  <mark@klomp.org>
12690
12691         * java/awt/image/MemoryImageSource.java: Change constructor to take
12692         int[] not byte[].
12693         * java/awt/Graphics2D.java: Uncomment methods that can now be
12694         compiled.
12695         * java/awt/GridBagLayout.java: New stub implementation.
12696         * javax/swing/text/html/HTML.java: Stub implementation.
12697         * javax/swing/text/html/parser/ParserDelegator.java: New stub
12698         implementation.
12699
12700         * Makefile.am: Add new files.
12701         * Makefile.in: Rebuilt.
12702
12703 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12704
12705         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12706         methods in Graphics2D.
12707
12708 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12709
12710         AWT/Swing merge from GNU Classpath.
12711
12712         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12713         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12714         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12715         java/awt/color/ProfileDataException.java,
12716         java/awt/CompositeContext.java, java/awt/Composite.java,
12717         java/awt/ContainerOrderFocusTraversalPolicy.java,
12718         java/awt/datatransfer/FlavorTable.java,
12719         java/awt/DefaultFocusTraversalPolicy.java,
12720         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12721         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12722         java/awt/dnd/DragGestureListener.java,
12723         java/awt/dnd/DragGestureRecognizer.java,
12724         java/awt/dnd/DragSourceAdapter.java,
12725         java/awt/dnd/DragSourceContext.java,
12726         java/awt/dnd/DragSourceDragEvent.java,
12727         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12728         java/awt/dnd/DragSourceListener.java,
12729         java/awt/dnd/DragSourceMotionListener.java,
12730         java/awt/dnd/DropTarget.java,
12731         java/awt/dnd/InvalidDnDOperationException.java,
12732         java/awt/dnd/peer/DragSourceContextPeer.java,
12733         java/awt/event/AWTEventListenerProxy.java,
12734         java/awt/event/MouseWheelEvent.java,
12735         java/awt/event/MouseWheelListener.java,
12736         java/awt/event/WindowFocusListener.java,
12737         java/awt/event/WindowStateListener.java,
12738         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12739         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12740         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12741         java/awt/geom/FlatteningPathIterator.java,
12742         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12743         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12744         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12745         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12746         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12747         java/awt/image/ImagingOpException.java,
12748         java/awt/image/RasterFormatException.java,
12749         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12750         java/awt/image/VolatileImage.java,
12751         java/awt/image/WritableRenderedImage.java,
12752         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12753         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12754         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12755         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12756         java/awt/PageAttributes.java, java/awt/print/Book.java,
12757         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12758         java/awt/print/Paper.java, java/awt/print/Printable.java,
12759         java/awt/print/PrinterAbortException.java,
12760         java/awt/print/PrinterException.java,
12761         java/awt/print/PrinterGraphics.java,
12762         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12763         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12764         java/awt/Stroke.java, java/awt/TexturePaint.java,
12765         javax/accessibility/AccessibleAction.java,
12766         javax/accessibility/AccessibleBundle.java,
12767         javax/accessibility/AccessibleComponent.java,
12768         javax/accessibility/AccessibleContext.java,
12769         javax/accessibility/AccessibleEditableText.java,
12770         javax/accessibility/AccessibleExtendedComponent.java,
12771         javax/accessibility/AccessibleExtendedTable.java,
12772         javax/accessibility/AccessibleHyperlink.java,
12773         javax/accessibility/AccessibleHypertext.java,
12774         javax/accessibility/AccessibleIcon.java,
12775         javax/accessibility/Accessible.java,
12776         javax/accessibility/AccessibleKeyBinding.java,
12777         javax/accessibility/AccessibleRelation.java,
12778         javax/accessibility/AccessibleRelationSet.java,
12779         javax/accessibility/AccessibleResourceBundle.java,
12780         javax/accessibility/AccessibleRole.java,
12781         javax/accessibility/AccessibleSelection.java,
12782         javax/accessibility/AccessibleState.java,
12783         javax/accessibility/AccessibleStateSet.java,
12784         javax/accessibility/AccessibleTable.java,
12785         javax/accessibility/AccessibleTableModelChange.java,
12786         javax/accessibility/AccessibleText.java,
12787         javax/accessibility/AccessibleValue.java,
12788         javax/swing/AbstractAction.java,
12789         javax/swing/AbstractButton.java,
12790         javax/swing/AbstractCellEditor.java,
12791         javax/swing/AbstractListModel.java,
12792         javax/swing/AbstractSet.java, javax/swing/Action.java,
12793         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12794         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12795         javax/swing/border/CompoundBorder.java,
12796         javax/swing/border/EmptyBorder.java,
12797         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12798         javax/swing/border/LineBorder.java,
12799         javax/swing/border/MatteBorder.java,
12800         javax/swing/border/TitledBorder.java,
12801         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12802         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12803         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12804         javax/swing/CellRendererPane.java,
12805         javax/swing/colorchooser/AbstractColorChooserPanel.java,
12806         javax/swing/colorchooser/ColorChooserComponentFactory.java,
12807         javax/swing/colorchooser/ColorSelectionModel.java,
12808         javax/swing/colorchooser/DefaultColorSelectionModel.java,
12809         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12810         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12811         javax/swing/DefaultBoundedRangeModel.java,
12812         javax/swing/DefaultButtonModel.java,
12813         javax/swing/DefaultCellEditor.java,
12814         javax/swing/DefaultCellRenderer.java,
12815         javax/swing/DefaultComboBoxModel.java,
12816         javax/swing/DefaultDesktopManager.java,
12817         javax/swing/DefaultFocusManager.java,
12818         javax/swing/DefaultListCellRenderer.java,
12819         javax/swing/DefaultListModel.java,
12820         javax/swing/DefaultListSelectionModel.java,
12821         javax/swing/DefaultSingleSelectionModel.java,
12822         javax/swing/DesktopManager.java,
12823         javax/swing/event/AncestorEvent.java,
12824         javax/swing/event/AncestorListener.java,
12825         javax/swing/event/CaretEvent.java,
12826         javax/swing/event/CaretListener.java,
12827         javax/swing/event/CellEditorListener.java,
12828         javax/swing/event/ChangeEvent.java,
12829         javax/swing/event/ChangeListener.java,
12830         javax/swing/event/DocumentEvent.java,
12831         javax/swing/event/DocumentListener.java,
12832         javax/swing/event/EventListenerList.java,
12833         javax/swing/event/HyperlinkEvent.java,
12834         javax/swing/event/HyperlinkListener.java,
12835         javax/swing/event/InternalFrameAdapter.java,
12836         javax/swing/event/InternalFrameEvent.java,
12837         javax/swing/event/InternalFrameListener.java,
12838         javax/swing/event/ListDataEvent.java,
12839         javax/swing/event/ListDataListener.java,
12840         javax/swing/event/ListSelectionEvent.java,
12841         javax/swing/event/ListSelectionListener.java,
12842         javax/swing/event/MenuDragMouseEvent.java,
12843         javax/swing/event/MenuDragMouseListener.java,
12844         javax/swing/event/MenuEvent.java,
12845         javax/swing/event/MenuKeyEvent.java,
12846         javax/swing/event/MenuKeyListener.java,
12847         javax/swing/event/MenuListener.java,
12848         javax/swing/event/MouseInputAdapter.java,
12849         javax/swing/event/MouseInputListener.java,
12850         javax/swing/event/PopupMenuEvent.java,
12851         javax/swing/event/PopupMenuListener.java,
12852         javax/swing/event/SwingPropertyChangeSupport.java,
12853         javax/swing/event/TableColumnModelEvent.java,
12854         javax/swing/event/TableColumnModelListener.java,
12855         javax/swing/event/TableModelEvent.java,
12856         javax/swing/event/TableModelListener.java,
12857         javax/swing/event/TreeExpansionEvent.java,
12858         javax/swing/event/TreeExpansionListener.java,
12859         javax/swing/event/TreeModelEvent.java,
12860         javax/swing/event/TreeModelListener.java,
12861         javax/swing/event/TreeSelectionEvent.java,
12862         javax/swing/event/TreeSelectionListener.java,
12863         javax/swing/event/TreeWillExpandListener.java,
12864         javax/swing/event/UndoableEditEvent.java,
12865         javax/swing/event/UndoableEditListener.java,
12866         javax/swing/filechooser/FileFilter.java,
12867         javax/swing/filechooser/FileSystemView.java,
12868         javax/swing/filechooser/FileView.java,
12869         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12870         javax/swing/Icon.java, javax/swing/ImageIcon.java,
12871         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12872         javax/swing/JApplet.java, javax/swing/JButton.java,
12873         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12874         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12875         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12876         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12877         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12878         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12879         javax/swing/JLayeredPane.java, javax/swing/JList.java,
12880         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12881         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12882         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12883         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12884         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12885         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12886         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
12887         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
12888         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
12889         javax/swing/JTextField.java, javax/swing/JTextPane.java,
12890         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
12891         javax/swing/JToolTip.java, javax/swing/JTree.java,
12892         javax/swing/JViewport.java, javax/swing/JWindow.java,
12893         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
12894         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
12895         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
12896         javax/swing/MenuSelectionManager.java,
12897         javax/swing/MutableComboBoxModel.java,
12898         javax/swing/OverlayLayout.java,
12899         javax/swing/plaf/ActionMapUIResource.java,
12900         javax/swing/plaf/basic/BasicBorders.java,
12901         javax/swing/plaf/basic/BasicButtonUI.java,
12902         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12903         javax/swing/plaf/basic/BasicDefaults.java,
12904         javax/swing/plaf/basic/BasicGraphicsUtils.java,
12905         javax/swing/plaf/basic/BasicIconFactory.java,
12906         javax/swing/plaf/basic/BasicLabelUI.java,
12907         javax/swing/plaf/basic/BasicListUI.java,
12908         javax/swing/plaf/basic/BasicLookAndFeel.java,
12909         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12910         javax/swing/plaf/basic/BasicPanelUI.java,
12911         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12912         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12913         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12914         javax/swing/plaf/basic/BasicTextUI.java,
12915         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12916         javax/swing/plaf/basic/BasicTreeUI.java,
12917         javax/swing/plaf/basic/BasicViewportUI.java,
12918         javax/swing/plaf/BorderUIResource.java,
12919         javax/swing/plaf/ButtonUI.java,
12920         javax/swing/plaf/ColorChooserUI.java,
12921         javax/swing/plaf/ColorUIResource.java,
12922         javax/swing/plaf/ComboBoxUI.java,
12923         javax/swing/plaf/ComponentInputMapUIResource.java,
12924         javax/swing/plaf/ComponentUI.java,
12925         javax/swing/plaf/DesktopIconUI.java,
12926         javax/swing/plaf/DesktopPaneUI.java,
12927         javax/swing/plaf/DimensionUIResource.java,
12928         javax/swing/plaf/FileChooserUI.java,
12929         javax/swing/plaf/FontUIResource.java,
12930         javax/swing/plaf/IconUIResource.java,
12931         javax/swing/plaf/InputMapUIResource.java,
12932         javax/swing/plaf/InsetsUIResource.java,
12933         javax/swing/plaf/InternalFrameUI.java,
12934         javax/swing/plaf/LabelUI.java,
12935         javax/swing/plaf/ListUI.java,
12936         javax/swing/plaf/MenuBarUI.java,
12937         javax/swing/plaf/MenuItemUI.java,
12938         javax/swing/plaf/OptionPaneUI.java,
12939         javax/swing/plaf/PanelUI.java,
12940         javax/swing/plaf/PopupMenuUI.java,
12941         javax/swing/plaf/ProgressBarUI.java,
12942         javax/swing/plaf/RootPaneUI.java,
12943         javax/swing/plaf/ScrollBarUI.java,
12944         javax/swing/plaf/ScrollPaneUI.java,
12945         javax/swing/plaf/SeparatorUI.java,
12946         javax/swing/plaf/SliderUI.java,
12947         javax/swing/plaf/SplitPaneUI.java,
12948         javax/swing/plaf/TabbedPaneUI.java,
12949         javax/swing/plaf/TableHeaderUI.java,
12950         javax/swing/plaf/TableUI.java,
12951         javax/swing/plaf/TextUI.java,
12952         javax/swing/plaf/ToolBarUI.java,
12953         javax/swing/plaf/ToolTipUI.java,
12954         javax/swing/plaf/TreeUI.java,
12955         javax/swing/plaf/UIResource.java,
12956         javax/swing/plaf/ViewportUI.java,
12957         javax/swing/ProgressMonitorInputStream.java,
12958         javax/swing/ProgressMonitor.java,
12959         javax/swing/Renderer.java,
12960         javax/swing/RepaintManager.java,
12961         javax/swing/RootPaneContainer.java,
12962         javax/swing/Scrollable.java,
12963         javax/swing/ScrollPaneConstants.java,
12964         javax/swing/ScrollPaneLayout.java,
12965         javax/swing/SingleSelectionModel.java,
12966         javax/swing/SizeRequirements.java,
12967         javax/swing/SizeSequence.java,
12968         javax/swing/SwingConstants.java,
12969         javax/swing/SwingUtilities.java,
12970         javax/swing/table/AbstractTableModel.java,
12971         javax/swing/table/DefaultTableCellRenderer.java,
12972         javax/swing/table/DefaultTableColumnModel.java,
12973         javax/swing/table/DefaultTableModel.java,
12974         javax/swing/table/TableCellEditor.java,
12975         javax/swing/table/TableCellRenderer.java,
12976         javax/swing/table/TableColumn.java,
12977         javax/swing/table/TableColumnModel.java,
12978         javax/swing/table/TableModel.java,
12979         javax/swing/text/AbstractDocument.java,
12980         javax/swing/text/AttributeSet.java,
12981         javax/swing/text/BadLocationException.java,
12982         javax/swing/text/Caret.java,
12983         javax/swing/text/CharacterIterator.java,
12984         javax/swing/text/ComponentView.java,
12985         javax/swing/text/DefaultCaret.java,
12986         javax/swing/text/DefaultEditorKit.java,
12987         javax/swing/text/Document.java,
12988         javax/swing/text/EditorKit.java,
12989         javax/swing/text/Element.java,
12990         javax/swing/text/GapContent.java,
12991         javax/swing/text/JTextComponent.java,
12992         javax/swing/text/Keymap.java,
12993         javax/swing/text/MutableAttributeSet.java,
12994         javax/swing/text/PlainDocument.java,
12995         javax/swing/text/PlainEditorKit.java,
12996         javax/swing/text/Position.java,
12997         javax/swing/text/Segment.java,
12998         javax/swing/text/StyledDocument.java,
12999         javax/swing/text/StyledEditorKit.java,
13000         javax/swing/text/Style.java,
13001         javax/swing/text/TextAction.java,
13002         javax/swing/text/ViewFactory.java,
13003         javax/swing/text/View.java,
13004         javax/swing/Timer.java,
13005         javax/swing/ToggleButtonModel.java,
13006         javax/swing/ToolTipManager.java,
13007         javax/swing/tree/AbstractLayoutCache.java,
13008         javax/swing/tree/DefaultMutableTreeNode.java,
13009         javax/swing/tree/DefaultTreeCellEditor.java,
13010         javax/swing/tree/DefaultTreeCellRenderer.java,
13011         javax/swing/tree/DefaultTreeModel.java,
13012         javax/swing/tree/DefaultTreeSelectionModel.java,
13013         javax/swing/tree/ExpandVetoException.java,
13014         javax/swing/tree/FixedHeightLayoutCache.java,
13015         javax/swing/tree/MutableTreeNode.java,
13016         javax/swing/tree/RowMapper.java,
13017         javax/swing/tree/TreeCellEditor.java,
13018         javax/swing/tree/TreeCellRenderer.java,
13019         javax/swing/tree/TreeModel.java,
13020         javax/swing/tree/TreeNode.java,
13021         javax/swing/tree/TreePath.java,
13022         javax/swing/tree/TreeSelectionModel.java,
13023         javax/swing/tree/VariableHeightLayoutCache.java,
13024         javax/swing/UIDefaults.java,
13025         javax/swing/UIManager.java,
13026         javax/swing/undo/AbstractUndoableEdit.java,
13027         javax/swing/undo/CannotRedoException.java,
13028         javax/swing/undo/CannotUndoException.java,
13029         javax/swing/undo/CompoundEdit.java,
13030         javax/swing/undo/StateEditable.java,
13031         javax/swing/undo/StateEdit.java,
13032         javax/swing/undo/UndoableEdit.java,
13033         javax/swing/undo/UndoableEditSupport.java,
13034         javax/swing/undo/UndoManager.java,
13035         javax/swing/UnsupportedLookAndFeelException.java,
13036         javax/swing/ViewportLayout.java,
13037         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13038
13039         * java/awt/ActiveEvent.java,
13040         java/awt/Adjustable.java, java/awt/AWTError.java,
13041         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13042         java/awt/AWTException.java, java/awt/AWTPermission.java,
13043         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13044         java/awt/Color.java, java/awt/Component.java,
13045         java/awt/ComponentOrientation.java, java/awt/Container.java,
13046         java/awt/datatransfer/MimeTypeParseException.java,
13047         java/awt/datatransfer/Transferable.java,
13048         java/awt/datatransfer/UnsupportedFlavorException.java,
13049         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13050         java/awt/event/ActionListener.java,
13051         java/awt/event/AdjustmentEvent.java,
13052         java/awt/event/AdjustmentListener.java,
13053         java/awt/event/AWTEventListener.java,
13054         java/awt/event/ComponentAdapter.java,
13055         java/awt/event/ComponentEvent.java,
13056         java/awt/event/ComponentListener.java,
13057         java/awt/event/ContainerAdapter.java,
13058         java/awt/event/ContainerEvent.java,
13059         java/awt/event/ContainerListener.java,
13060         java/awt/event/FocusAdapter.java,
13061         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13062         java/awt/event/HierarchyBoundsAdapter.java,
13063         java/awt/event/HierarchyBoundsListener.java,
13064         java/awt/event/HierarchyEvent.java,
13065         java/awt/event/HierarchyListener.java,
13066         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13067         java/awt/event/InputMethodListener.java,
13068         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13069         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13070         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13071         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13072         java/awt/event/MouseListener.java,
13073         java/awt/event/MouseMotionAdapter.java,
13074         java/awt/event/MouseMotionListener.java,
13075         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13076         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13077         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13078         java/awt/event/WindowListener.java, java/awt/Font.java,
13079         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13080         java/awt/geom/Ellipse2D.java,
13081         java/awt/geom/IllegalPathStateException.java,
13082         java/awt/geom/Line2D.java,
13083         java/awt/geom/NoninvertibleTransformException.java,
13084         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13085         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13086         java/awt/geom/RoundRectangle2D.java,
13087         java/awt/GraphicsConfiguration.java,
13088         java/awt/IllegalComponentStateException.java,
13089         java/awt/image/IndexColorModel.java,
13090         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13091         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13092         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13093         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13094         java/awt/MenuItem.java, java/awt/PaintContext.java,
13095         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13096         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13097         java/awt/PrintJob.java, java/awt/Rectangle.java,
13098         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13099         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13100         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13101
13102         * java/awt/im/spi/InputMethod.java,
13103         java/awt/im/spi/InputMethodContext.java,
13104         java/awt/im/spi/InputMethodDescriptor.java,
13105         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13106         java/awt/image/renderable/ParameterBlock.java,
13107         java/awt/image/renderable/RenderContext.java,
13108         java/awt/image/renderable/RenderableImage.java,
13109         java/awt/image/renderable/RenderableImageOp.java,
13110         java/awt/image/renderable/RenderableImageProducer.java,
13111         java/awt/image/renderable/RenderedImageFactory.java: New files from
13112         classpath.
13113
13114         * gnu/java/awt/EventModifier.java,
13115         gnu/java/awt/image/ImageDecoder.java,
13116         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13117
13118         * gnu/awt/xlib/XGraphicsConfiguration.java,
13119         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13120         API.
13121
13122         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13123         GNU Classpath.
13124
13125         * Makefile.am: Add new files.
13126         * Makefile.in: Rebuilt.
13127
13128 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13129
13130         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13131         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13132         findResource, getResources, findResources): Add javadoc from classpath.
13133         (getSystemResources): Implemented.
13134
13135 2002-08-01  Mark Wielaard  <mark@klomp.org>
13136
13137         Revert patch that breaks libgcj shared library on powerpc:
13138         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13139         implementation classes by using Class.getName(). Uses Strings again.
13140         * gnu/java/security/der/DEREncodingException.java,
13141         gnu/java/security/provider/DERReader.java,
13142         gnu/java/security/provider/DERWriter.java,
13143         gnu/java/security/provider/DSAKeyPairGenerator.java,
13144         gnu/java/security/provider/DSAParameterGenerator.java,
13145         gnu/java/security/provider/DSAParameters.java,
13146         gnu/java/security/provider/DSASignature.java,
13147         gnu/java/security/provider/GnuDSAPrivateKey.java,
13148         gnu/java/security/provider/GnuDSAPublicKey.java,
13149         gnu/java/security/provider/MD5.java,
13150         gnu/java/security/util/Prime.java: Removed.
13151         * Makefile.am (ordinary_java_source_files): Remove above files.
13152         * Makefile.in: Regenerate.
13153         * gnu/java/security/provider/DefaultPolicy.java
13154         (getPermissions): Revert to maintaining static class variable of
13155         Permissions.
13156         * gnu/java/security/provider/SHA.java
13157         (engineUpdate): Revert algorithm change.
13158         (engineDigest): Revert algorithm change.
13159
13160 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13161
13162         * configure.host: Add SH support.
13163         * sysdep/sh/locks.h: New file.
13164
13165 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13166
13167         * java/awt/Frame.java (Frame): Remove println calls.
13168
13169 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13170
13171         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13172         * configure: Rebuilt.
13173
13174 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13175
13176         * sysdep/powerpc/locks.h: Formatting.
13177         (_LARX): Define.
13178         (_STCX): Define.
13179         (compare_and_swap): Use _LARX and _STCX.
13180         (compare_and_swap_release): Likewise.
13181
13182 2002-07-26  Tom Tromey  <tromey@redhat.com>
13183
13184         * java/net/Authenticator.java: New version from Classpath.
13185         * java/net/DatagramSocketImpl.java: New version from Classpath.
13186
13187 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13188
13189         * configure.host: Add powerpc64*-* entry.
13190
13191 2002-07-26  Tom Tromey  <tromey@redhat.com>
13192
13193         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13194         fcntl.h.
13195
13196 2002-07-24  Tom Tromey  <tromey@redhat.com>
13197
13198         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13199         argument to _load.
13200
13201 2002-07-24  Tom Tromey  <tromey@redhat.com>
13202             Tony Kimball <alk@pobox.com>
13203
13204         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13205         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13206         * java/io/RandomAccessFile.java (setLength): New method.
13207         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13208         * java/io/FileDescriptor.java (setLength): New method.
13209
13210 2002-07-24  Mark Wielaard  <mark@klomp.org>
13211
13212         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13213         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13214         field call setAccessible(true).
13215         (setByteField): Likewise.
13216         (setCharField): Likewise.
13217         (setDoubleField): Likewise.
13218         (setFloatField): Likewise.
13219         (setIntField): Likewise.
13220         (setLongField): Likewise.
13221         (setShortField): Likewise.
13222         (setObjectField): Likewise.
13223
13224 2002-07-24  Tom Tromey  <tromey@redhat.com>
13225
13226         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13227         use toString() to format array element.
13228
13229 2002-07-23  Mark Wielaard  <mark@klomp.org>
13230
13231         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13232         MessageDigestSpi (fixes Classpath bug #783).
13233
13234 2002-07-21  Mark Wielaard  <mark@klomp.org>
13235
13236         * gnu/java/security/provider/Gnu.java: Reference all implementation
13237         classes by using Class.getName().
13238
13239 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13240
13241         * java/lang/ieeefp.h: Add x86-64 support.
13242         * configure.in: Likewise.
13243         * configure.host: Likewise.
13244         * configure: Regenerated.
13245         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13246
13247 2002-07-16  Mark Wielaard  <mark@klomp.org>
13248
13249         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13250         (whitespaceChars): call resetChar().
13251
13252 2002-07-15  Tom Tromey  <tromey@redhat.com>
13253
13254         * Makefile.in: Rebuilt.
13255         * Makefile.am (awt_java_source_files): Added new files.
13256         * java/beans/ExceptionListener.java: Merged with Classpath.
13257         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13258         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13259         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13260         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13261         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13262         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13263         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13264
13265 2002-07-14  Mark Wielaard  <mark@klomp.org>
13266
13267         * gnu/java/security/der/DEREncodingException.java,
13268         gnu/java/security/provider/DERReader.java,
13269         gnu/java/security/provider/DERWriter.java,
13270         gnu/java/security/provider/DSAKeyPairGenerator.java,
13271         gnu/java/security/provider/DSAParameterGenerator.java,
13272         gnu/java/security/provider/DSAParameters.java,
13273         gnu/java/security/provider/DSASignature.java,
13274         gnu/java/security/provider/GnuDSAPrivateKey.java,
13275         gnu/java/security/provider/GnuDSAPublicKey.java,
13276         gnu/java/security/provider/MD5.java,
13277         gnu/java/security/util/Prime.java: New files from Classpath.
13278         * Makefile.am (ordinary_java_source_files): Add new files.
13279         * Makefile.in: Regenerate.
13280
13281 2002-07-14  C. Brian Jones <cbj@gnu.org>
13282
13283         * gnu/java/security/provider/DefaultPolicy.java
13284         (getPermissions): do not maintain static class variable of
13285         Permissions
13286         * gnu/java/security/provider/SHA.java
13287         (engineUpdate): algorithm change
13288         (engineDigest): algorithm change
13289
13290 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13291
13292         For PR libgcj/7292:
13293         * java/lang/Character.java (toString(char)): Now static.
13294
13295 2002-07-12  Mark Wielaard  <mark@klomp.org>
13296
13297         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13298         (getStackTrace0): new method.
13299         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13300         (printStackTrace(PrintWriter)): replace with pure java implementation.
13301         (printRawStackTrace): removed.
13302         (getStackTrace0): new method.
13303         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13304         * gcj/javaprims.h: regenerate class list.
13305         * include/name-finder.h (lookup): new returns StackTraceElement*.
13306         (method_name, file_name): fields removed.
13307         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13308         (~_Jv_name_finder): close new descriptors.
13309         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13310         (createStackTraceElement): new method.
13311         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13312
13313 2002-07-10  Tom Tromey  <tromey@redhat.com>
13314
13315         * configure: Rebuilt.
13316         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13317
13318 2002-07-08  Mark Wielaard  <mark@klomp.org>
13319
13320         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13321         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13322         java.sql.DatabaseMetaData.TestJdbc20
13323
13324 2002-07-05  Tony Kimball  <alk@pobox.com>
13325
13326         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13327
13328 2002-07-04  Tom Tromey  <tromey@redhat.com>
13329             Jeff Sturm  <jsturm@one-point.com>
13330
13331         Fix for PR libgcj/7060:
13332         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13333         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13334         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13335         * java/lang/Class.java (getMethod): New Java implementation;
13336         complies with spec.
13337         (_getMethod): New native method.
13338
13339 2002-07-02  Tom Tromey  <tromey@redhat.com>
13340             David Hovemeyer  <daveho@cs.umd.edu>
13341
13342         * java/text/ChoiceFormat.java
13343         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13344         in check loop.
13345         * java/text/MessageFormat.java
13346         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13347         to MessageFormat.
13348
13349 2002-07-01  Tom Tromey  <tromey@redhat.com>
13350
13351         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13352         StringTokenizer on null string.  For PR libgcj/7180.
13353         From daveho@cs.umd.edu.
13354
13355 2002-06-24  Tom Tromey  <tromey@redhat.com>
13356
13357         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13358         (IntegerClass): Likewise.
13359         * java/lang/natClass.cc (CloneableClass): Removed.
13360         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13361         ConstructorClass): Likewise.
13362         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13363         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13364         SerializableClass): Likewise.
13365         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13366         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13367         LongClass, FloatClass, DoubleClass): Likewise.
13368
13369         * verify.cc (branch_prepass): Updated for change to exception
13370         handler type.
13371         (verify_instructions_0): Likewise.
13372         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13373         (handleExceptionTableEntry): Updated for change to exception
13374         handler type.
13375         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13376         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13377         (union _Jv_InterpPC): New.
13378         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13379         (class _Jv_InterpMethod): Added new `prepared' field.
13380         (class _Jv_InterpMethod): Added `compile' method.  Removed
13381         `continue1' and `find_exception'.  Changed arguments to `run'.
13382         * interpret.cc (union insn_slot): New.
13383         (find_exception): Removed.
13384         (run_normal): Removed most logic.
13385         (run_synch_object): Likewise; also, use JvSynchronize.
13386         (run_synch_class): Likewise.
13387         (run): Removed.
13388         (continue1): Renamed as `run'.  Compile bytecode if required.
13389         Add new code to allow refinement of direct-threaded code at
13390         runtime.  Handle exceptions.
13391         (SAVE_PC): Removed.
13392         (compile): New method.
13393         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13394         (NULLARRAYCHECK): Don't use SAVE_PC.
13395         (pc_t): New typedef.
13396         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13397         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13398
13399 2002-06-23  Tom Tromey  <tromey@redhat.com>
13400
13401         * configure: Rebuilt.
13402         * configure.in (INTERPRETER): New subst.
13403         (AM_RUNTESTFLAGS): Don't subst.
13404
13405         * Makefile.in: Rebuilt.
13406         * Makefile.am ($(srcdir)/java/lang/Object.h,
13407         $(srcdir)/java/lang/Class.h): Added dummy targets.
13408
13409 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13410
13411         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13412
13413         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13414         java/sql/Savepoint.java: New files.
13415         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13416         java/sql/Blob.java, java/sql/CallableStatement.java,
13417         java/sql/Clob.java, java/sql/Connection.java,
13418         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13419         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13420         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13421         java/sql/Ref.java, java/sql/ResultSet.java,
13422         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13423         java/sql/SQLException.java, java/sql/SQLInput.java,
13424         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13425         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13426         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13427         (JDK 1.4) specification.
13428         * javax/sql/ConnectionEvent.java,
13429         javax/sql/ConnectionEventListener.java,
13430         javax/sql/ConnectionPoolDataSource.java,
13431         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13432         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13433         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13434         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13435         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13436         javax/sql/XADataSource.java: New files.
13437         * Makefile.am: Add new files.
13438         * Makefile.in: Rebuilt.
13439
13440 2002-06-20  Tom Tromey  <tromey@redhat.com>
13441
13442         For PR libgcj/7073:
13443         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13444         exists.
13445         * defineclass.cc (handleClassBegin): Superclass for interface is
13446         `null'.
13447
13448 2002-06-18  Tom Tromey  <tromey@redhat.com>
13449
13450         * gcj/javaprims.h: Updated class declaration list.
13451         * Makefile.in: Rebuilt.
13452         * Makefile.am (core_java_source_files): Removed
13453         BasicMapEntry.java.
13454         * java/util/BasicMapEntry.java: Removed.
13455
13456 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13457
13458         * java/net/natPlainDatagramSocketImpl.cc (receive):
13459         Check bounds of argument to FD_SET.
13460         (setOption): Throw exception if socket is closed.
13461
13462         * java/net/natPlainSocketImpl.cc (accept, read):
13463         Check bounds of argument to FD_SET.
13464         (setOption): Throw exception if socket is closed.
13465
13466 2002-06-18  Tom Tromey  <tromey@redhat.com>
13467
13468         * gcj/javaprims.h: Updated class declaration list.
13469         * Makefile.in: Rebuilt.
13470         * Makefile.am (core_java_source_files): Added
13471         PropertyPermissionCollection.java.
13472         * java/lang/Thread.java (group, name): Now package-private.
13473         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13474         * java/util/AbstractList.java: Likewise.
13475         * java/util/AbstractMap.java: Likewise.
13476         * java/util/Calendar.java: Likewise.
13477         * java/util/Collections.java: Likewise.
13478         * java/util/HashMap.java: Likewise.
13479         * java/util/Hashtable.java: Likewise.
13480         * java/util/LinkedHashMap.java: Likewise.
13481         * java/util/LinkedList.java: Likewise.
13482         * java/util/List.java: Likewise.
13483         * java/util/ListResourceBundle.java: Likewise.
13484         * java/util/Map.java: Likewise.
13485         * java/util/Observable.java: Likewise.
13486         * java/util/Properties.java: Likewise.
13487         * java/util/PropertyPermission.java: Likewise.
13488         * java/util/PropertyPermissionCollection.java: Likewise.
13489         * java/util/PropertyResourceBundle.java: Likewise.
13490         * java/util/Random.java: Likewise.
13491         * java/util/SimpleTimeZone.java: Likewise.
13492         * java/util/StringTokenizer.java: Likewise.
13493         * java/util/TimerTask.java: Likewise.
13494         * java/util/TreeMap.java: Likewise.
13495         * java/util/WeakHashMap.java: Likewise.
13496         * java/util/jar/Attributes.java: Likewise.
13497         * java/util/jar/JarException.java: Likewise.
13498         * java/util/jar/Manifest.java: Likewise.
13499
13500 2002-06-17  Tom Tromey  <tromey@redhat.com>
13501
13502         * gcj/javaprims.h: Updated class declaration list.
13503         * Makefile.in: Rebuilt.
13504         * Makefile.am (core_java_source_files): Added new file.
13505         * java/util/EventListenerProxy.java: New file.
13506         * java/util/EventListener.java: Re-merge with Classpath.
13507         * java/util/EventObject.java: Re-merge with Classpath.
13508
13509 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13510
13511         * java/lang/ClassNotFoundException.java: New Classpath version.
13512
13513 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13514
13515         * java/rmi/activation/ActivateFailedException.java: Remerge from
13516         Classpath version.
13517         * java/rmi/activation/ActivationException.java: Ditto.
13518         * java/rmi/activation/UnknownGroupException.java: Ditto.
13519         * java/rmi/activation/UnknownObjectException.java: Ditto.
13520         * java/rmi/server/ExportException: Ditto.
13521         * java/rmi/server/ServerCloneException: Ditto.
13522         * java/rmi/server/ServerNotActiveException: Ditto.
13523         * java/rmi/server/SkeletonMismatchException: Ditto.
13524         * java/rmi/server/SkeletonNotFoundException: Ditto.
13525         * java/rmi/server/SocketSecurityException: Ditto.
13526
13527 2002-06-16  Tom Tromey  <tromey@redhat.com>
13528
13529         * gcj/javaprims.h: Updated class declaration list.
13530
13531         * java/io/LineNumberInputStream.java: Merged with Classpath.
13532
13533         * java/lang/RuntimeException.java: Re-merge with Classpath.
13534         * java/util/ArrayList.java: Likewise.
13535         * java/util/Arrays.java: Likewise.
13536         * java/util/BitSet.java: Likewise.
13537         * java/util/Dictionary.java: Likewise.
13538         * java/util/IdentityHashMap.java: Likewise.
13539         * java/util/MissingResourceException.java: Likewise.
13540         * java/util/Observer.java: Likewise.
13541         * java/util/TooManyListenersException.java: Likewise.
13542         * java/util/zip/DataFormatException.java: Likewise.
13543         * java/util/zip/ZipException.java: Likewise.
13544
13545 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13546
13547         * java/rmi/AccessException.java: Remerge from Classpath.
13548         * java/rmi/AlreadyBoundException.java: Ditto.
13549         * java/rmi/ConnectException.java: Ditto.
13550         * java/rmi/ConnectIOException.java: Ditto.
13551         * java/rmi/MarshalException.java: Ditto.
13552         * java/rmi/NoSuchObjectException.java: Ditto.
13553         * java/rmi/NotBoundException.java: Ditto.
13554         * java/rmi/RemoteException.java: Ditto.
13555         * java/rmi/RMISecurityException.java: Ditto.
13556         * java/rmi/ServerError.java: Ditto.
13557         * java/rmi/ServerException.java: Ditto.
13558         * java/rmi/ServerRuntimeException.java: Ditto.
13559         * java/rmi/StubNotFoundException.java: Ditto.
13560         * java/rmi/UnexpectedExcpetion.java: Ditto.
13561         * java/rmi/UnknownHostException.java: Ditto.
13562         * java/rmi/UnmarshalException.java: Ditto.
13563
13564 2002-06-15  Tom Tromey  <tromey@redhat.com>
13565
13566         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13567         * java/lang/ArithmeticException.java: Likewise.
13568         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13569         * java/lang/ArrayStoreException.java: Likewise.
13570         * java/lang/Byte.java: Likewise.
13571         * java/lang/CharSequence.java: Likewise.
13572         * java/lang/ClassCastException.java: Likewise.
13573         * java/lang/ClassCircularityError.java: Likewise.
13574         * java/lang/ClassFormatError.java: Likewise.
13575         * java/lang/CloneNotSupportedException.java: Likewise.
13576         * java/lang/Cloneable.java: Likewise.
13577         * java/lang/Comparable.java: Likewise.
13578         * java/lang/Compiler.java: Likewise.
13579         * java/lang/Error.java: Likewise.
13580         * java/lang/ExceptionInInitializerError.java: Likewise.
13581         * java/lang/IllegalAccessError.java: Likewise.
13582         * java/lang/IllegalAccessException.java: Likewise.
13583         * java/lang/IllegalArgumentException.java: Likewise.
13584         * java/lang/IllegalMonitorStateException.java: Likewise.
13585         * java/lang/IllegalStateException.java: Likewise.
13586         * java/lang/IllegalThreadStateException.java: Likewise.
13587         * java/lang/IncompatibleClassChangeError.java: Likewise.
13588         * java/lang/IndexOutOfBoundsException.java: Likewise.
13589         * java/lang/InheritableThreadLocal.java: Likewise.
13590         * java/lang/InstantiationError.java: Likewise.
13591         * java/lang/InstantiationException.java: Likewise.
13592         * java/lang/InternalError.java: Likewise.
13593         * java/lang/InterruptedException.java: Likewise.
13594         * java/lang/LinkageError.java: Likewise.
13595         * java/lang/NegativeArraySizeException.java: Likewise.
13596         * java/lang/NoClassDefFoundError.java: Likewise.
13597         * java/lang/NoSuchFieldError.java: Likewise.
13598         * java/lang/NoSuchFieldException.java: Likewise.
13599         * java/lang/NoSuchMethodError.java: Likewise.
13600         * java/lang/NoSuchMethodException.java: Likewise.
13601         * java/lang/NullPointerException.java: Likewise.
13602         * java/lang/NumberFormatException.java: Likewise.
13603         * java/lang/OutOfMemoryError.java: Likewise.
13604         * java/lang/Process.java: Likewise.
13605         * java/lang/Runnable.java: Likewise.
13606         * java/lang/RuntimePermission.java: Likewise.
13607         * java/lang/SecurityException.java: Likewise.
13608         * java/lang/Short.java: Likewise.
13609         * java/lang/StackOverflowError.java: Likewise.
13610         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13611         * java/lang/ThreadDeath.java: Likewise.
13612         * java/lang/ThreadLocal.java: Likewise.
13613         * java/lang/UnknownError.java: Likewise.
13614         * java/lang/UnsatisfiedLinkError.java: Likewise.
13615         * java/lang/UnsupportedClassVersionError.java: Likewise.
13616         * java/lang/UnsupportedOperationException.java: Likewise.
13617         * java/lang/VerifyError.java: Likewise.
13618         * java/lang/VirtualMachineError.java: Likewise.
13619         * java/lang/reflect/InvocationTargetException.java: Likewise.
13620         * java/net/BindException.java: Likewise.
13621         * java/net/ConnectException.java: Likewise.
13622         * java/net/MalformedURLException.java: Likewise.
13623         * java/net/NoRouteToHostException.java: Likewise.
13624         * java/net/ProtocolException.java: Likewise.
13625         * java/net/SocketException.java: Likewise.
13626         * java/net/UnknownHostException.java: Likewise.
13627         * java/net/UnknownServiceException.java: Likewise.
13628
13629         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13630         * java/io/CharConversionException.java: Likewise.
13631         * java/io/EOFException.java: Likewise.
13632         * java/io/FileNotFoundException.java: Likewise.
13633         * java/io/IOException.java: Likewise.
13634         * java/io/InterruptedIOException.java: Likewise.
13635         * java/io/InvalidClassException.java: Likewise.
13636         * java/io/InvalidObjectException.java: Likewise.
13637         * java/io/NotActiveException.java: Likewise.
13638         * java/io/NotSerializableException.java: Likewise.
13639         * java/io/ObjectStreamException.java: Likewise.
13640         * java/io/ObjectStreamConstants.java: Likewise.
13641         * java/io/OptionalDataException.java: Likewise.
13642         * java/io/PipedInputStream.java: Likewise.
13643         * java/io/PushbackInputStream.java: Likewise.
13644         * java/io/StreamCorruptedException.java: Likewise.
13645         * java/io/SyncFailedException.java: Likewise.
13646         * java/io/UTFDataFormatException.java: Likewise.
13647         * java/io/UnsupportedEncodingException.java: Likewise.
13648         * java/io/WriteAbortedException.java: Likewise.
13649
13650 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
13651
13652         * java/text/ChoiceFormat.java: Update comments from Classpath.
13653         * java/text/ParseException.java (serialVersionUID): New
13654         field from Classpath.
13655         * java/text/ParseException.java: Update formatting & comments
13656         from Classpath.
13657
13658 2002-06-15  Tom Tromey  <tromey@redhat.com>
13659
13660         * java/util/zip/InflaterInputStream.java (read): Loop if data has
13661         been read but none output by inflater.
13662         * java/util/zip/natDeflater.cc (reset): Set is_finished.
13663         * java/util/zip/natInflater.cc (reset): Set dist_needed and
13664         is_finished.
13665         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13666         version.
13667         * java/util/zip/ZipFile.java: Replaced with Classpath version.
13668         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13669         * java/util/zip/ZipInputStream.java: Replaced with Classpath
13670         version.
13671         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13672
13673 2002-06-13  Tom Tromey  <tromey@redhat.com>
13674
13675         * java/lang/natString.cc (init): Handle case where DONT_COPY is
13676         true and OFFSET!=0.
13677         * java/lang/String.java (String(char[],int,int,boolean): New
13678         constructor.
13679         * java/lang/Long.java: Imported new version from Classpath.
13680         * java/lang/Number.java: Likewise.
13681         * java/lang/Integer.java: Likewise.
13682         * java/lang/Long.java: Likewise.
13683         * java/lang/Float.java: Likewise.
13684         * java/lang/Boolean.java: Likewise.
13685         * java/lang/Double.java: Likewise.
13686         * java/lang/Void.java: Likewise.
13687
13688 2002-06-12  Tom Tromey  <tromey@redhat.com>
13689
13690         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13691         Fixes PR libgcj/6652.
13692
13693 2002-06-10  Tom Tromey  <tromey@redhat.com>
13694
13695         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13696         (Class::getPackagePortion): Likewise.
13697         * java/lang/Class.java (desiredAssertionStatus): New method from
13698         Classpath.
13699         (getPackagePortion): Likewise.
13700         * java/lang/VMClassLoader.java (defaultAssertionStatus,
13701         packageAssertionStatus, classAssertionStatus): New methods from
13702         Classpath.
13703         * java/lang/ClassLoader.java (defaultAssertionStatus,
13704         systemPackageAssertionStatus, packageAssertionStatus,
13705         systemClassAssertionStatus, classAssertionStatus): New fields from
13706         Classpath.
13707         (setDefaultAssertionStatus, setPackageAssertionStatus,
13708         setClassAssertionStatus, clearAssertionStatus): New methods from
13709         Classpath.
13710         * Makefile.in: Rebuilt.
13711         * Makefile.am (core_java_source_files): Added AssertionError.java.
13712         * java/lang/AssertionError.java: New from Classpath.
13713
13714 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13715
13716         * configure.host: Disable hash synchronization and slow_pthread_self
13717         for cygwin.
13718
13719 2002-06-06  Adam Megacz <adam@xwt.org>
13720
13721         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13722         locking, just like the Sun JVM does.
13723
13724 2002-06-05  H.J. Lu  (hjl@gnu.org)
13725
13726         * Makefile.am (libgcj_convenience.la): Revert the last change.
13727         (libgcj.la): Likewise.
13728         * Makefile.in: Regenerated.
13729
13730 2002-06-04  H.J. Lu  (hjl@gnu.org)
13731
13732         * Makefile.am (libgcj_convenience.la): New target.
13733         (libgcj.la): Depend on libgcj_convenience.la.
13734         * Makefile.in: Regenerated.
13735
13736 2002-06-04  H.J. Lu  (hjl@gnu.org)
13737
13738         * configure.in (--with-newlib): New option:
13739         Check ${with_newlib} instead of ${with_cross_host} for newlib.
13740         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13741         Linux.
13742         * configure: Regenerated.
13743
13744 2002-06-04  Tom Tromey  <tromey@redhat.com>
13745
13746         * java/util/natTimeZone.cc: Include <stdio.h>.
13747
13748 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
13749
13750         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13751         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13752         Set SIGNAL_HANDLER=include/s390-linux.h.
13753         * configure: Regenerate.
13754         * include/s390-linux.h: New file.
13755
13756 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13757
13758         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13759         not "stackTrace".
13760
13761 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13762
13763         Merge JDK 1.4 java.security changes from classpath.
13764
13765         * java/security/AccessControlException.java: Merge from Classpath.
13766         * java/security/AccessController.java: Likewise.
13767         * java/security/AllPermission.java: Likewise.
13768         * java/security/BasicPermission.java: Likewise.
13769         * java/security/Certificate.java: Likewise.
13770         * java/security/CodeSource.java: Likewise.
13771         * java/security/DigestException.java: Likewise.
13772         * java/security/DigestOutputStream.java: Likewise.
13773         * java/security/DomainCombiner.java: Likewise.
13774         * java/security/GeneralSecurityException.java: Likewise.
13775         * java/security/Guard.java: Likewise.
13776         * java/security/GuardedObject.java: Likewise.
13777         * java/security/InvalidAlgorithmParameterException.java: Likewise.
13778         * java/security/InvalidKeyException.java: Likewise.
13779         * java/security/InvalidParameterException.java: Likewise.
13780         * java/security/Key.java: Likewise.
13781         * java/security/KeyException.java: Likewise.
13782         * java/security/KeyManagementException.java: Likewise.
13783         * java/security/KeyStoreException.java: Likewise.
13784         * java/security/MessageDigest.java: Likewise.
13785         * java/security/NoSuchAlgorithmException.java: Likewise.
13786         * java/security/NoSuchProviderException.java: Likewise.
13787         * java/security/Permission.java: Likewise.
13788         * java/security/PermissionCollection.java: Likewise.
13789         * java/security/Permissions.java: Likewise.
13790         * java/security/Policy.java: Likewise.
13791         * java/security/Principal.java: Likewise.
13792         * java/security/PrivateKey.java: Likewise.
13793         * java/security/PrivilegedAction.java: Likewise.
13794         * java/security/PrivilegedActionException.java: Likewise.
13795         * java/security/PrivilegedExceptionAction.java: Likewise.
13796         * java/security/ProtectionDomain.java: Likewise.
13797         * java/security/ProviderException.java: Likewise.
13798         * java/security/PublicKey.java: Likewise.
13799         * java/security/SecureClassLoader.java: Likewise.
13800         * java/security/SecurityPermission.java: Likewise.
13801         * java/security/SignatureException.java: Likewise.
13802         * java/security/UnrecoverableKeyException.java: Likewise.
13803         * java/security/UnresolvedPermission.java: Likewise.
13804         * java/security/acl/AclNotFoundException.java: Likewise.
13805         * java/security/acl/LastOwnerException.java: Likewise.
13806         * java/security/acl/NotOwnerException.java: Likewise.
13807         * java/security/cert/CRLException.java: Likewise.
13808         * java/security/cert/CertificateEncodingException.java: Likewise.
13809         * java/security/cert/CertificateException.java: Likewise.
13810         * java/security/cert/CertificateExpiredException.java: Likewise.
13811         * java/security/cert/CertificateFactory.java: Likewise.
13812         * java/security/cert/CertificateNotYetValidException.java: Likewise.
13813         * java/security/cert/CertificateParsingException.java: Likewise.
13814         * java/security/spec/InvalidKeySpecException.java: Likewise.
13815         * java/security/spec/InvalidParameterSpecException.java: Likewise.
13816
13817         * java/security/cert/CertPath.java: New file.
13818         * java/security/cert/CertPathBuilderException.java: New file.
13819         * java/security/cert/CertPathValidatorException.java: New file.
13820         * java/security/cert/CertStoreException.java: New file.
13821
13822         * Makefile.am: Add new CertPath classes.
13823         * Makefile.in: Rebuilt.
13824
13825         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13826
13827 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13828
13829         Merge JDK 1.4 exception chaining support from classpath.
13830
13831         * java/lang/Throwable.java: Merge 1.4 support from classpath.
13832         (stackTraceBytes): Rename from stackTrace.
13833         * java/lang/Exception.java: Merge from classpath.
13834         * java/lang/StackTraceElement: New file from classpath.
13835         * gcj/javaprims.h: Rebuild CNI namespace declarations.
13836         * Makefile.am: Add StackTraceElement.
13837         * Makefile.in: Rebuilt.
13838
13839 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13840
13841         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13842         they build first.
13843         * Makefile.in: Rebuilt.
13844
13845 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13846
13847         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13848         * configure.in: Likewise.
13849         * aclocal.m4: Regenerate.
13850         * configure: Regenerate.
13851
13852 2002-05-13  Tom Tromey  <tromey@redhat.com>
13853
13854         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13855         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13856         Include platform.h.
13857
13858         Fixes PR libgcj/6389:
13859         * Makefile.in: Rebuilt.
13860         * Makefile.am (nat_source_files): Added natTimeZone.cc.
13861         * java/util/natTimeZone.cc: New file.
13862         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13863         * java/lang/System.java: Merged with Classpath.
13864         * java/lang/Runtime.java: Merged with Classpath.
13865         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13866         security check.
13867         (setIn0): Renamed from setIn; don't run security check.
13868         (setOut0): Renamed from setOut; don't run security check.
13869         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13870         init_properties): Moved to natRuntime.cc.
13871         Moved many includes to natRuntime.cc.
13872         (isWordsBigEndian): New method.
13873         * java/lang/natRuntime.cc: Include Long.h, also other includes
13874         previously in natSystem.cc.
13875         (maxMemory): New function.
13876         (exitInternal): Renamed from `_exit'.
13877         (exit): Removed.
13878         (init): Don't set finalize_on_exit.
13879         (exitInternal): Use `finalizeOnExit'.
13880         (file_encoding, getpwuid_adaptor): New functions from
13881         natSystem.cc.
13882         (insertSystemProperties): New method, renamed from
13883         System::init_properties.  Don't set user.timezone.
13884         (_load): Don't call checkLink.
13885         (execInternal): New method.
13886         (availableProcessors): Likewise.
13887         (nativeGetLibname): Likewise.
13888
13889 2002-05-11  Mark Wielaard  <mark@klomp.org>
13890
13891         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
13892         space characters.
13893         (previous_internal): Likewise.
13894
13895 2002-05-09  Tom Tromey  <tromey@redhat.com>
13896
13897         * jni.cc (_Jv_JNIFunctions): Fixed typo.
13898
13899         * java/util/ResourceBundle.java: New version from Classpath.
13900         * java/util/Locale.java: Likewise.
13901
13902 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
13903
13904         * testsuite/lib/libjava.exp (libjava_arguments): Append all
13905         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13906         LD_LIBRARY_PATH.
13907
13908 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
13909
13910         * libjava/Makefile.am (all_java_source_files): New variable.
13911         (all_java_class_files): Likewise.
13912         .java.class: New rule.
13913         (CLEANFILES): Remove tmp-list.
13914         * libjava/Makefile.in: Regenerated.
13915
13916 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
13917
13918         * testsuite/lib/libjava.exp (test_libjava_from_javac):
13919         Append .exe to executable names.  Fix for cygwin.
13920
13921 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
13922
13923         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
13924         script entry, and set LD to it when configuring multilibs.
13925         * configure: Rebuilt.
13926
13927 2002-05-07  Tom Tromey  <tromey@redhat.com>
13928
13929         * java/lang/natString.cc (unintern): Fixed typo.
13930
13931 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
13932
13933         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
13934         with -no-install on *-*-cygwin*.
13935
13936 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
13937
13938         * testsuite/lib/libjava.exp (test_libjava_from_source):
13939         Add comment explaining last patch
13940
13941 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
13942
13943         * testsuite/lib/libjava.exp (test_libjava_from_source):
13944         Append .exe to executable names.  If no suffix is present,
13945         then ".exe" is added by default on win32.  Harmless
13946         elsewhere so always do it.
13947
13948 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
13949             Tom Tromey  <tromey@redhat.com>
13950
13951         * java/lang/natSystem.cc (getSystemTimeZone): Use
13952         HAVE_UNDERSCORE_TIMEZONE.
13953         * include/config.h.in: Rebuilt.
13954         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
13955         * aclocal.m4, configure: Rebuilt.
13956         * acinclude.m4: Run AC_EXEEXT.
13957         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
13958         Add test for `_timezone'.
13959
13960 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
13961
13962         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13963         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
13964         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13965         * Makefile.in: Rebuilt.
13966
13967 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
13968
13969         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
13970         use sigaction instead of __libc_sigaction.
13971
13972 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13973
13974         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
13975         (libjava_init): Use it to find libgcj.spec.
13976         (libjava_arguments): Likewise.
13977
13978 2002-05-02  David S. Miller  <davem@redhat.com>
13979
13980         PR bootstrap/6525
13981         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
13982         __libc_sigaction on Sparc.
13983
13984 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
13985
13986         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
13987         sys/filio.h, if present.
13988
13989 2002-04-30  Tom Tromey  <tromey@redhat.com>
13990
13991         * java/io/BufferedReader.java (fill): Handle case where markPos
13992         point to ignored \n.  Fixes PR libgcj/6301.
13993
13994 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
13995
13996         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
13997
13998 2002-04-29  Adam King <aking@dreammechanics.com>
13999
14000         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14001         of file in APPEND mode.
14002
14003 2002-04-25  David S. Miller  <davem@redhat.com>
14004
14005         PR target/6422
14006         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14007         program counter to next program counter minus 8.  Update
14008         comments in this macro to explain why.
14009
14010 2002-04-26  Tom Tromey  <tromey@redhat.com>
14011
14012         * verify.cc (construct_primitive_array_type) [void_type]: New
14013         case.
14014         (branch_prepass): Added dummy entries for unused instruction
14015         values.
14016         (verify_instructions_0): Likewise.
14017         * interpret.cc (continue1): Comment fix.
14018         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14019         * Makefile.in: Rebuilt.
14020         * Makefile.am: Added -Wswitch-enum.
14021
14022 2002-04-24  Tom Tromey  <tromey@redhat.com>
14023
14024         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14025         correct length of UTF-8 encoded name.  Strip leading `/'.
14026         (_Jv_RegisterResource): Use _Jv_Malloc.
14027
14028 2002-04-23  Adam Megacz <adam@xwt.org>
14029
14030         * win32.cc, include/win32.cc (backtrace): Added this function
14031         because Win32 does not supply it.
14032
14033 2002-04-21  David S. Miller  <davem@redhat.com>
14034
14035         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14036         magic instruction reading sequence.
14037
14038 2002-04-21  Mark Wielaard  <mark@klomp.org>
14039
14040         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14041
14042 2002-04-19  David S. Miller  <davem@redhat.com>
14043
14044         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14045         arg.
14046         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14047         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14048         on Sparc too.
14049         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14050         for 64-bit sparc.
14051         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14052         * sysdeps/sparc/locks.h: New file.
14053         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14054         on all sparc Solaris configurations.  Set to
14055         include/dwarf2-signal.h on sparc Linux.
14056         * configure: Regenerate
14057         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14058
14059 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14060
14061         * configure: Rebuilt.
14062         * configure.in (backtrace): Function doesn't work on IA-64.
14063
14064 2002-04-17  Adam King <aking@dreammechanics.com>
14065
14066         * java/io/File.java (normalizePath): Add Win32 support for auto
14067         conversion of a '/' path separator to Win32's '\' separator.
14068
14069 2002-04-16  Tom Tromey  <tromey@redhat.com>
14070
14071         Fix for PR libgcj/6081:
14072         * Makefile.in: Rebuilt.
14073         * Makefile.am (install-data-local): Use GNU make trick to avoid
14074         shell limit.
14075
14076 2002-04-16  Adam King <aking@dreammechanics.com>
14077             Tom Tromey  <tromey@redhat.com>
14078
14079         * java/io/natFileWin32.cc (performList): Return the correct array
14080         type.  Don't duplicate the creation of a File since it's already
14081         done earlier in the method and the existing code would cause a
14082         ArrayStoreException.  Don't use fixed-size array.
14083         (_access, _stat, attr, getCanonicalPath, performMkdir,
14084         performRenameTo): Don't use fixed-size array.
14085         (getCanonicalPath): Use throw, not _Jv_Throw.
14086
14087 2002-04-15  DJ Delorie  <dj@redhat.com>
14088
14089         * configure.in: Allow building in $srcdir.
14090         * configure: Regenerated.
14091
14092 2002-04-14  Mark Wielaard <mark@klomp.org>
14093
14094         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14095         * java/net/natSocketImpl.cc (close): Likewise.
14096
14097 2002-04-14  Mark Wielaard <mark@klomp.org>
14098
14099         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14100
14101 2002-04-13  Adam King <aking@dreammechanics.com>
14102
14103         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14104         the f/F/d/D modifiers.
14105
14106 2002-04-12  Anthony Green  <green@redhat.com>
14107
14108         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14109         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14110         * Makefile.in: Rebuilt.
14111         * configure.in: Substitute gcc_version.
14112         * configure: Rebuilt.
14113
14114 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14115
14116         * configure.host: Set can_unwind_signal on hosts which support it.
14117         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14118         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14119         exceptions and can_unwind_signal isn't set.
14120         * configure: Rebuilt.
14121
14122 2002-04-11  Tom Tromey  <tromey@redhat.com>
14123
14124         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14125
14126 2002-04-11  Adam King <aking@dreammechanics.com>
14127             Tom Tromey  <tromey@redhat.com>
14128
14129         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14130         _Jv_ThrowNullPointerException): Mark as noreturn.
14131         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14132         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14133         fixes.
14134
14135 2002-04-10  Tom Tromey  <tromey@redhat.com>
14136
14137         * Makefile.in: Rebuilt.
14138         * Makefile.am (java/lang/Thread.h): Mark
14139         _Jv_AttachCurrentThreadAsDaemon as friend.
14140         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14141         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14142         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14143         function.
14144         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14145         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14146         (_Jv_JNI_InvokeFunctions): Added
14147         _Jv_JNI_AttachCurrentThreadAsDaemon.
14148         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14149         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14150         (JNI_CreateJavaVM): Likewise.
14151         (_Jv_JNI_AttachCurrentThread): Likewise.
14152         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14153         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14154         (_Jv_JNIFunctions): Initialize new fields.
14155         (_Jv_JNI_NewDirectByteBuffer): New function.
14156         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14157         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14158         * include/jni.h (JNI_VERSION_1_4): New macro.
14159         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14160         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14161         (JNINativeInterface::NewDirectByteBuffer): New field.
14162         (JNINativeInterface::GetDirectBufferAddress): New field.
14163         (JNINativeInterface::GetDirectBufferCapacity): New field.
14164         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14165         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14166         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14167
14168 2002-04-09  Tom Tromey  <tromey@redhat.com>
14169
14170         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14171
14172 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14173
14174         Fix for PR libgcj/6187:
14175         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14176         distance.
14177
14178 2002-04-07  Mark Wielaard <mark@klomp.org>
14179
14180         * java/util/AbstractMap.java (putAll): Use entrySet size.
14181         (toString): Explicitly use getKey() and getValue().
14182
14183 2002-04-07  Mark Wielaard <mark@klomp.org>
14184
14185         * java/util/Hashtable.java (contains): Remove NullPointer check.
14186         (containsValue): Add NullPointer check.
14187         (remove): Always throw NullPointerException when key
14188         is null.
14189
14190 2002-04-07  Adam King <aking@dreammechanics.com>
14191
14192         * java/lang/natSystem.cc (init_properties): Call new function
14193         _Jv_platform_initProperties.
14194         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14195         support for the System properties os.name, os.arch, os.version,
14196         user.name, user.home, and user.dir.
14197         * include/posix.h, include/win32.h, posix.cc: New function
14198         _Jv_platform_initProperties.
14199
14200 2002-04-06  Mark Wielaard <mark@klomp.org>
14201
14202         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14203
14204 2002-04-06  Mark Wielaard <mark@klomp.org>
14205
14206         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14207         all of the remaining elements.
14208         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14209         (removeRange): If toIndex == fromIndex do
14210         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14211         (removeAll): Always throw NullPointerException when collection is
14212         null.
14213         (retrainAll): Likewise.
14214
14215 2002-04-05  Mark Wielaard <mark@klomp.org>
14216
14217         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14218         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14219
14220 2002-04-05  Adam Megacz <adam@xwt.org>
14221
14222         * exception.cc (abort): added static modifier
14223
14224 2002-04-04  Adam Megacz <adam@xwt.org>
14225
14226         * include/win32.h (_Jv_platform_close_on_exec): added inline
14227         modifier.
14228
14229 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14230
14231         * configure.host: Add case statement to support generic port
14232         properties.  Add *-*-freebsd* section.
14233
14234 2002-04-04  Mark Wielaard  <mark@klomp.org>
14235
14236         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14237         test.
14238         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14239         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14240         that depend on awt code and BufferedByteOutputStream.interrupt.
14241
14242 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14243
14244         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14245         incorrect "hi" value when count > 40.
14246
14247 2002-04-03  Mark Wielaard  <mark@klomp.org>
14248
14249         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14250         ordering.
14251
14252 2002-04-02  Tom Tromey  <tromey@redhat.com>
14253
14254         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14255         not `0'.
14256
14257 2002-04-02  Mark Wielaard  <mark@klomp.org>
14258
14259         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14260         list of testsuite crashers.
14261
14262 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14263
14264         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14265         when resizing table.
14266
14267 2002-04-01  Mark Wielaard  <mark@klomp.org>
14268
14269         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14270         NegativeArraySizeException
14271         (clear(int)): Use sign extended shift.
14272         (flip(int)): Likewise.
14273         (get(int)): Likewise.
14274         (nextClearBit(int)): Likewise.
14275         (nextSetBit(int)): Likewise.
14276         (set(int)): Likewise.
14277
14278 2002-04-01  Mark Wielaard  <mark@klomp.org>
14279
14280         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14281         that can be compiled now and add testsuite crashers to ignore list.
14282
14283 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14284
14285         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14286
14287         * libgcj.spec.in: Override libgcc, not lib.
14288         * libgcj-test.spec.in: Likewise.
14289
14290 2002-03-29  Tom Tromey  <tromey@redhat.com>
14291
14292         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14293         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14294
14295 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14296
14297         * java/net/PlainDatagramSocketImpl.java
14298         (close): Use native implementation.
14299         (finalize): New method.
14300
14301         * java/net/PlainSocketImpl.java (finalize): New method.
14302
14303         * java/net/natPlainDatagramSocketImpl.cc
14304         (java/io/FileDescriptor.h): Don't include.
14305         (close): Implement method here.
14306         (create): Don't assign fd.
14307
14308         * java/net/natPlainSocketImpl.cc
14309         (java/io/FileDescriptor.h): Don't include.
14310         (create): Don't assign fd.
14311         (accept): Likewise.
14312         (close): Synchronize.
14313
14314 2002-03-27  Richard Henderson  <rth@redhat.com>
14315
14316         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14317
14318 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14319
14320         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14321         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14322         instead of syscall on IA-64.
14323         Add FIXME comment.
14324
14325 2002-03-27  Anthony Green  <green@redhat.com>
14326
14327         * libgcj.spec.in: Add CHECKREFSPEC.
14328         * configure.in: Ditto.
14329         * configure.host: Ditto.  Check references for xscale-elf.
14330         * configure: Rebuilt.
14331
14332 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14333
14334         * include/dwarf2-signal.h: Temporarily back out last change.
14335
14336 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14337
14338         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14339
14340 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14341
14342         * configure.in, configure: enable dwarf2-exception-style
14343         exception handling on IA-64.
14344         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14345         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14346         Add FIXME comment.
14347
14348 2002-03-25  Tom Tromey  <tromey@redhat.com>
14349
14350         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14351         (jv_convert_LDFLAGS): Likewise.
14352         (gij_LDFLAGS): Likewise.
14353         (rmic_LDFLAGS): Likewise.
14354         (rmiregistry_LDFLAGS): Likewise.
14355         * configure.in (THREADLDFLAGS): New subst; set correctly for
14356         *BSD.
14357
14358 2002-03-25  Tom Tromey  <tromey@redhat.com>
14359
14360         For PR libgcj/5303:
14361         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14362         and --version.
14363         (help): New method.
14364         (version): Likewise.
14365         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14366         "GNU".
14367         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14368         "GNU".
14369
14370 2002-03-25  Tom Tromey  <tromey@redhat.com>
14371
14372         * java/awt/Component.java (processEvent): Check ComponentEvent
14373         after KeyEvent.
14374
14375 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14376
14377         * java/io/PushbackReader.java: Reformat.
14378
14379         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14380         calculate correct number of bytes skipped.
14381
14382         Based on patch from Intel's ORP team:
14383         * java/io/PushbackInputStream.java (available): Calculate correct
14384         number of bytes in buffer.
14385         (read): Remove redundant bound check. Return bytes from both the
14386         buffer and the stream.
14387
14388 2002-03-24  Tom Tromey  <tromey@redhat.com>
14389
14390         * java/awt/TextComponent.java (TextComponent): Editable by
14391         default.
14392
14393         * java/awt/MenuItem.java (eventMask): No longer private.
14394         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14395         superclass if we didn't handle event.
14396         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14397         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14398         * java/awt/Choice.java (dispatchEventImpl): New method.
14399         * java/awt/List.java (dispatchEventImpl): New method.
14400         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14401         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14402         * java/awt/TextField.java (dispatchEventImpl): New method.
14403
14404 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14405
14406         * java/beans/IntrospectionException.java: Update to 1.4.
14407         * java/beans/PropertyVetoException.java: Ditto.
14408
14409 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14410
14411         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14412         Arrays.equals instead of ArrayHelper.equalsArray.
14413
14414 2002-03-24  C. Brian Jones <cbj@gnu.org>
14415
14416         * java/beans/Introspector.java: added new static final fields
14417         introduced in 1.2, lots of other updates remain to be done
14418
14419 2002-03-24  C. Brian Jones <cbj@gnu.org>
14420
14421         * java/beans/Introspector.java: reformatting
14422
14423 2002-03-24  C. Brian Jones <cbj@gnu.org>
14424
14425         * java/beans/Introspector.java: default beanInfoSearchPath will
14426         not include sun.beans.infos given we provide no such package and
14427         the API doesn't really require it; gnu.java.beans.info is the
14428         default.
14429
14430 2002-03-24  Mark Wielaard  <mark@klomp.org>
14431
14432         Thanks to Orp developers
14433         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14434         switch TRUE and FALSE return values.
14435
14436 2002-03-23  Tom Tromey  <tromey@redhat.com>
14437
14438         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14439         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14440
14441 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14442
14443         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14444         MONTH entry.  Fixes PR libgcj/6045.
14445
14446 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14447
14448         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14449
14450 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14451
14452         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14453         not release_set.
14454         * sysdep/powerpc/locks.h (write_barrier): New function.
14455         * sysdep/i386/locks.h (write_barrier): New function.
14456
14457 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14458
14459         * include/jni.h Use correct C comments.
14460
14461 2002-03-18  Tom Tromey  <tromey@redhat.com>
14462
14463         * include/jni.h (JNIIMPORT): New macro.
14464         (JNIEXPORT): Likewise.
14465         (JNICALL): Likewise.
14466
14467 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14468
14469         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14470         systems.
14471
14472 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14473
14474         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14475         INIT_SEGV: Use old_i386_kernel_sigaction.
14476         INIT_FP: Likewise.
14477
14478 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14479
14480         * java/lang/natSystem.cc (init_properties): Update VM version
14481         properties.
14482         * configure.in: Set GCJVERSION.
14483         * acconfig.h: Add GCJVERSION.
14484         * configure: Rebuilt.
14485         * include/config.h.in: Rebuilt.
14486
14487 2002-03-17  Anthony Green  <green@redhat.com>
14488
14489         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14490
14491 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14492
14493         Build a single libgcj.so, without separate gc and zlib libraries.
14494         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14495         SYS_ZLIBS if system zlib is used.
14496         * configure: Rebuilt.
14497         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14498         * Makefile.in: Rebuilt.
14499         * libtool-version: Increment .so version number.
14500
14501         * Makefile.am: Escape quotes in echo.
14502         * Makefile.in: Rebuilt.
14503
14504 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14505
14506         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14507         * Makefile.in: Rebuilt.
14508
14509 2002-03-15  Anthony Green  <green@redhat.com>
14510
14511         * configure.host (FILE): New macro for specifing File
14512         implementation.
14513         * configure: Rebuilt.
14514         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14515
14516 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14517
14518         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14519         already implicitly brought in from libgcj.la.
14520         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14521         * Makefile.in: Rebuilt.
14522
14523 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14524
14525         * THANKS: Fix punctuation, alphabetization.
14526
14527 2002-03-15  Tom Tromey  <tromey@redhat.com>
14528             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14529
14530         Fix for PR libgcj/5944.
14531         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14532
14533 2002-03-15  Anthony Green  <green@redhat.com>
14534
14535         * configure.in (tool_include_dir): Define.
14536         * configure: Rebuilt.
14537         * gcj/Makefile.am: Install libgcj-config.h relative to
14538         tool_include_dir.
14539         * gcj/Makefile: Rebuilt.
14540         * gcj/libgcj-config.h: Add warning comment.
14541
14542 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14543
14544         * configure.host (powerpc*-darwin*): Enable interpreter.
14545
14546 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14547
14548         * include/posix.h: Add multiple include header protection.
14549         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14550
14551 2002-03-10  Adam Megacz <adam@xwt.org>
14552
14553         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14554
14555 2002-03-10  Tom Tromey  <tromey@redhat.com>
14556
14557         * java/awt/GridLayout.java (layoutContainer): Handle case where
14558         there are no items in container.
14559
14560         * java/lang/Win32Process.java: Added comment.
14561         * include/posix.h (_Jv_platform_close_on_exec): New function.
14562         Include fcntl.h.
14563         * include/win32.h (_Jv_platform_close_on_exec): New function.
14564         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14565         flag.
14566         (accept): Likewise.
14567         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14568         close-on-exec flag.
14569         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14570         flag.
14571
14572 2002-03-09  Tom Tromey  <tromey@redhat.com>
14573
14574         * verify.cc (state::NO_STACK): New constant.
14575         (state::is_unmerged_ret_state): Handle case where stacktop is
14576         NO_STACK.
14577         (state::merge): Handle NO_STACK merges.
14578         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14579         for instruction following jsr.
14580         (stacktop, stackdepth): Removed unused variables.
14581         (pop_jump): Ignore case where all remaining states are skipped.
14582
14583 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14584
14585         * java/awt/ImageMediaEntry: Removed.
14586         * java/awt/MediaEntry: Removed.
14587
14588 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14589
14590         Hashtable synchronization for PowerPC.
14591         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14592         slow_pthread_self. Set up symlink for sysdeps directory.
14593         * configure: Rebuild.
14594         * configure.host: Document more shell variables. Set sysdeps_dir
14595         for most platforms. Set slow_pthread_self for i686. Set
14596         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14597         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14598         that memory barrier is emitted where required.
14599         * prims.cc: 64-bit align static primitive class instances.
14600         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14601         read_barrier() to enforce ordering of reads.
14602         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14603         primitives for PowerPC.
14604         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14605         moved from natObject.cc.
14606         * sysdep/alpha/locks.h: Likewise.
14607         * sysdep/ia64/locks.h: Likewise.
14608         * sysdep/generic/locks.h: Likewise.
14609         * java/lang/natObject.cc: Move thread synchronization primitives to
14610         system-dependent headers.
14611
14612 2002-03-09  Adam Megacz  <adam@xwt.org>
14613
14614         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14615         bytes read and no failure code returned.
14616
14617 2002-03-09  Adam Megacz  <adam@xwt.org>
14618
14619         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14620         definitions to simulate -mthreads.
14621
14622 2002-03-09  Adam Megacz  <adam@xwt.org>
14623
14624         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14625         avoid precision loss.
14626
14627 2002-03-09  Per Bothner  <per@bothner.com>
14628
14629         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14630         * gnu/gcj/xlib/XImage.java:  Likewise.
14631         * gnu/gcj/xlib/XColor.java:  Likewise.
14632
14633 2002-03-09  Adam Megacz  <adam@xwt.org>
14634
14635         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14636         IOException so that Throwable.printStackTrace fails correctly.
14637
14638 2002-03-08  Adam Megacz  <adam@xwt.org>
14639
14640         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14641         fixed.
14642
14643 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14644
14645         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14646         truncated to int.
14647
14648 2002-03-08  Tom Tromey  <tromey@redhat.com>
14649
14650         * include/jni.h: Include stdio.h.
14651
14652 2002-03-08  Tom Tromey  <tromey@redhat.com>
14653
14654         * posix.cc (internal_gettimeofday): New function.
14655         (_Jv_select): Use it.
14656
14657 2002-03-07  Adam Megacz  <adam@xwt.org>
14658
14659         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14660         WIN32, and added thunks for read(), write(), and close().
14661         * java/net/natPlainSocketImpl.cc (accept, read, read):
14662         Disabled timeouts on WIN32 pending discussion.
14663
14664 2002-03-07  Adam Megacz  <adam@xwt.org>
14665
14666         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14667         returns jlong. Added implementation
14668         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14669         returns jlong.
14670         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14671         returns jlong.
14672         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14673         returns jlong.
14674         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14675         _Jv_platform_gettimeofday signature.
14676
14677 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14678
14679         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14680         (read): Call recv() directly, not _Jv_recv().
14681
14682 2002-03-06  Tom Tromey  <tromey@redhat.com>
14683
14684         * java/io/natFileDescriptorEcos.cc (init): Don't use
14685         GetStdHandle.
14686         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14687         is negative.
14688         (init): Don't use GetStdHandle.
14689
14690         * include/config.h.in: Rebuilt.
14691         * configure: Rebuilt.
14692         * Makefile.in: Rebuilt.
14693
14694 2002-03-06  Adam Megacz  <adam@xwt.org>
14695
14696         * java/io/FileDescriptor.java: Initialize in/out/err in init().
14697         * java/io/natFileDescriptorWin32.cc (init()): Added function.
14698         * java/io/natFileDescriptorPosix.cc (init()): Added function.
14699         * java/io/natFileDescriptorEcos.cc (init()): Added function.
14700
14701 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
14702
14703         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14704         the code for generating include/java-chartables.h.
14705         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14706         merge with Classpath.
14707         * scripts/unicode-muncher.pl: Copy from Classpath.
14708         * scritps/MakeCharTables.java: New file.
14709         * gnu/gcj/convert/Blocks-3.txt: New file.
14710         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14711         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14712         * gnu/java/lang/CharData.java: Copy from Classpath.
14713         * Makefile.am (ordinary_java_source_files): Add
14714         gnu/java/lang/CharData.java.
14715         * configure.in: Remove --enable-fast-character option.
14716         * java/lang/Character.java: Merge algorithms and Javadoc with
14717         Classpath.
14718         * java/lang/natCharacter.cc: Implement Unicode lookup table more
14719         efficiently.
14720         * include/java-chardecomp.h: Regenerate.
14721         * include/java-chartables.h: Regenerate.
14722
14723 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14724
14725         * java/awt/MediaTracker.java: Implemented.
14726         * Makefile.am: Add MediaTracker.
14727         * Makefile.in: Rebuilt.
14728
14729 2002-03-05  Tom Tromey  <tromey@redhat.com>
14730
14731         * java/lang/natPosixProcess.cc (fail): Removed.
14732         (startProcess): Simplified error-handling.  Preserve
14733         LD_LIBRARY_PATH across exec.
14734
14735         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14736         AbstractMethodError.
14737
14738 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14739
14740         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14741         * Makefile.in: Rebuilt.
14742
14743 2002-03-03 Mark Wielaard <mark@klomp.org>
14744
14745         * java/util/Timer (TaskQueue.stop): set elements to zero.
14746
14747 2002-02-28  Anthony Green  <green@redhat.com>
14748
14749         * java/lang/reflect/natMethod.cc (result): Add void* element.
14750         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
14751         constructor test.
14752
14753 2002-02-27  Adam Megacz <adam@xwt.org>
14754
14755         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14756         '#undef STRICT'.
14757
14758 2002-02-26  Tom Tromey  <tromey@redhat.com>
14759
14760         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14761         * gij.cc (version): Use __VERSION__.
14762         * include/config.h.in: Rebuilt.
14763         * acconfig.h (GCJVERSION): Removed.
14764         * configure: Rebuilt.
14765         * configure.in (GCJVERSION): Removed.
14766
14767 2002-02-26  Andreas Schwab  <schwab@suse.de>
14768
14769         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14770         glibcpp_CXX, since libjava uses even another CXX.
14771         * aclocal.m4, configure: Regenerated.
14772
14773 2002-02-26  Tom Tromey  <tromey@redhat.com>
14774
14775         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14776         `1'.
14777
14778 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14779
14780         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14781         dependency tracking for .java files.
14782         * Makefile.in: Rebuilt.
14783
14784 2002-02-24  Adam Megacz  <adam@xwt.org>
14785
14786         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14787         typo. Sorry.
14788
14789 2002-02-24  Adam Megacz  <adam@xwt.org>
14790
14791         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14792         for Win32, changed #ifdefs to check WIN32 instead of the
14793         (now-obsolete) USE_WINSOCK, and removed support for socket
14794         timeouts on Win32 pending further discussion.
14795
14796 2002-02-24  Adam Megacz  <adam@xwt.org>
14797
14798         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14799         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14800         delete
14801
14802 2002-02-24  Adam Megacz  <adam@xwt.org>
14803
14804         * java/lang/Win32Process.java: Created a dummy class to allow
14805         build process to run to completion.
14806
14807 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
14808
14809         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14810         Define ffi_result union for ffi_call result.  Cast
14811         ffi_result members to jvalue.
14812
14813 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
14814
14815         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14816         * testsuite/Makefile.in: Likewise.
14817
14818 2002-02-20  Per Bothner  <per@bothner.com>
14819
14820         * java/net/URL.java (getPath):  New JDK 1.3 method.
14821
14822         * java/net/URLStreamHandler.java (parseURL):
14823         It is wrong to prepend '/' to the file part of a relative url.
14824
14825         * java/net/URLStreamHandler.java (parseURL):
14826         Minor optizations - append '/' rather than "/".
14827
14828         * java/net/URLStreamHandler.java (parseURL):
14829         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14830         We probably should canonicalize for a context-relative url, though.
14831         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
14832         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
14833         (sameFile):  New method.  Uses canonicalizeFilename.
14834
14835 2002-02-22  Tom Tromey  <tromey@redhat.com>
14836
14837         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14838         java.vendor and java.vm.vendor.
14839         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14840         recent copyright date.
14841         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14842         * gij.cc (version): Print `Inc'.
14843
14844 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14845
14846         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14847         * aclocal.m4, configure: Rebuilt.
14848
14849 2002-02-20  Per Bothner  <per@bothner.com>
14850
14851         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
14852         and/or output streams immediately here, instead of using File.exists.
14853         (inputStream, outputStream):  New fields to save open streams.
14854         (getInputStream, getOutputStream):  Use already-opened streams.
14855
14856 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14857
14858         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14859         Use it.
14860         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14861         * aclocal.m4, configure, Makefile.in: Rebuilt.
14862
14863 2002-02-19  Tom Tromey  <tromey@redhat.com>
14864
14865         Fix for PR libgcj/5696:
14866         * verify.cc (is_assignable_from_slow): Never call
14867         _Jv_IsAssignableFrom.
14868         (verify_instructions_0): Added new debug statement.
14869         (state::print): Print information about whether local has
14870         changed.
14871         (state::merge): Don't call note_variable when merging locals.
14872         (state::set_exception): Removed old FIXME comment.
14873
14874 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14875
14876         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14877         enable SO_BROADCAST.
14878
14879 2002-02-18  Jason Merrill  <jason@redhat.com>
14880
14881         * name-finder.cc (toHex): Use word mode, not long long.
14882
14883         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14884
14885 2002-02-15  Tom Tromey  <tromey@redhat.com>
14886
14887         Fix for PR libgcj/5695:
14888         * verify.cc (is_assignable_from_slow): Check to see if target is
14889         an Object before checking to see if source is an interface.
14890         (verify_instructions_0) [op_invokeinterface]: Handle case where
14891         we're making an interface call on Object.
14892
14893 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14894
14895         * Makefile.in: Rebuilt with Eric's change below.
14896
14897         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
14898         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
14899         Removed functions which are now implemented in Math.java.
14900
14901 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14902
14903         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14904         * Makefile.am (core_java_source_files): Add
14905         java/lang/StrictMath.java.
14906         * java/lang/Math.java: Merge with Classpath.
14907         * java/lang/StrictMath.java: New file - merge with Classpath.
14908
14909 2002-02-14  Mark Wielaard  <mark@klomp.org>
14910
14911         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14912         package as a workaround for gcj 3.0.x
14913
14914 2002-02-14  Mark Wielaard <mark@klomp.org>
14915
14916         * java/security/BasicPermission.java: extends with fully qualified
14917         classname as workaround for gcj 3.0.4.
14918
14919 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14920
14921         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
14922         around gcj bug of wrong emitted qualifier for inherited method.
14923         * java/net/SocketImpl.java (setOption, getOption): Ditto.
14924         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
14925         constructor to reduce amount of emitted bytecode. While this
14926         happens to work around a jikes 1.15 bug, it is still a useful
14927         patch even for correct compilers.
14928         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
14929         * gnu/java/rmi/server/UnicastRemoteCall.java
14930         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
14931
14932 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14933
14934         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
14935         * java/net/SocketImpl.java: Ditto.
14936         * java/rmi/server/RMIClassLoader.java: Ditto.
14937         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
14938
14939 2002-02-14  Mark Wielaard <mark@klomp.org>
14940
14941         Thanks to Takashi Okamoto
14942         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
14943         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
14944         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
14945
14946 2002-02-13  Todd Stock  <toddastock@yahoo.com>
14947
14948         Fix for PR libgcj/5670:
14949         * verify.cc (is_assignable_from_slow): If `source' is interface,
14950         recursively look for merge with `target'.
14951
14952 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
14953
14954         * include/jni.h: Fix typo.
14955
14956 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
14957
14958         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
14959         correctly.
14960
14961 2002-02-13  Todd Stock  <toddastock@yahoo.com>
14962
14963         Fix for PR libgcj/5671:
14964         * verify.cc (state::merge): Handle case where we're merging
14965         against an interface.
14966
14967 2002-02-12  Tom Tromey  <tromey@redhat.com>
14968
14969         * exception.cc (std::abort): Mark as noreturn.
14970
14971 2002-02-12  Adam Megacz <adam@xwt.org>
14972
14973         * java/lang/Win32Process.java: Filled in a placeholder
14974         implementation so Win32 will build.
14975
14976 2002-02-12  Adam Megacz <adam@xwt.org>
14977
14978         * java/io/natFilePosix.cc: Copied this from natFile.cc.
14979         * java/io/natFile.cc: Removed from repository.
14980         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
14981
14982 2002-02-12  Adam Megacz <adam@xwt.org>
14983
14984         * win32.cc: Added two #includes to make win32.cc compile.
14985
14986 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14987
14988         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
14989         declarations.
14990         (_Jv_InitGC): Don't bother locking, as this is always called from a
14991         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
14992
14993 2002-02-11  Adam Megacz <adam@xwt.org>
14994
14995         * include/win32.h: Added _Jv_platform_gettimeofday.
14996         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
14997
14998 2002-02-11  Adam Megacz <adam@xwt.org>
14999
15000         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15001         Added #undef STRICT to make windows.h and
15002         java/lang/reflect/Modifier.h cooperate.
15003
15004 2002-02-11  Adam Megacz <adam@xwt.org>
15005
15006         * java/io/natFileWin32.cc: Created a placeholder class with lots
15007         of FIXMEs.
15008
15009 2002-02-11  Adam Megacz <adam@xwt.org>
15010
15011         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15012         std::abort() to simply abort(). Also added "fake" std::abort() so
15013         we can #include unwind-pe.h without having to link against
15014         libstdc++-v3.
15015
15016 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15017
15018         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15019
15020 2002-02-08  Tom Tromey  <tromey@redhat.com>
15021
15022         * interpret.cc (convert): New function.
15023         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15024         convert.
15025         Include Long.h.
15026
15027 2002-02-08  Anthony Green  <green@redhat.com>
15028
15029         * configure.host: Add support for xscale-elf embedded target.
15030
15031 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15032
15033         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15034         dereferenced.
15035         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15036         frame.
15037
15038 2002-02-07  Tom Tromey  <tromey@redhat.com>
15039
15040         * java/io/natFile.cc (_access): Use __builtin_alloca.
15041         (_stat): Likewise.
15042         (attr): Likewise.
15043         (getCanonicalPath): Likewise.
15044         (performList): Likewise.
15045         (performMkdir): Likewise.
15046         (performSetReadOnly): Likewise.
15047         (performRenameTo): Likewise.
15048         (performSetLastModified): Likewise.
15049         (performCreate): Likewise.
15050         (performDelete): Likewise.
15051
15052 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15053
15054         * HACKING: Fix URL for the automake-gcj.
15055
15056 2002-02-07  Tom Tromey  <tromey@redhat.com>
15057
15058         * java/lang/natThrowable.cc: Updated copyright.
15059         * java/io/natFileWin32.cc: Updated copyright.
15060         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15061         * win32-threads.cc: Updated copyright.
15062         * name-finder.cc: Updated copyright.
15063         * include/name-finder.h: Updated copyright.
15064
15065         * include/name-finder.h: Conditionally include sys/wait.h.
15066         * include/config.h.in: Rebuilt.
15067
15068         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15069         Size buffer based on real size of string.
15070         (_stat): Likewise.
15071         (attr): Likewise.
15072         (getCanonicalPath): Likewise.
15073         (performList): Likewise.
15074         (performMkdir): Likewise.
15075         (performSetReadOnly): Likewise.
15076         (unixroot): Removed.
15077         (performRenameTo): Likewise.
15078         (performSetLastModified): Likewise.
15079         (performCreate): Likewise.
15080         (performDelete): Likewise.
15081         (performListRoots): Always return new array.
15082
15083         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15084         * win32.cc (win32_exception_handler): Now static.
15085         * include/win32.h (_Jv_platform_initialize): Declare.
15086         (win32_exception_handler): Don't declare.
15087         * java/lang/natSystem.cc (currentTimeMillis): Use
15088         _Jv_platform_gettimeofday.
15089         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15090         (_Jv_select): Use new name.
15091         (_Jv_platform_initialize): New function.
15092         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15093         _Jv_gettimeofday.
15094         (_Jv_platform_initialize): Declare.
15095
15096         * configure: Rebuilt.
15097         * configure.in: Removed unnecessary parens.
15098
15099 2002-02-06  Adam Megacz <adam@xwt.org>
15100
15101        * configure.in: Changed mingw) to *mingw*).
15102        * win32.cc: Created this file.
15103        * win32.h: Created this file.
15104        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15105        win32_exception_handler from prims.cc to win32.cc, added
15106        header in win32.h.
15107        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15108        longer needed now that we have platform.h
15109
15110 2002-02-06  Adam Megacz <adam@xwt.org>
15111
15112         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15113         use uint<n>_t instead of LONG and BYTE
15114
15115 2002-02-06  Adam Megacz <adam@xwt.org>
15116
15117         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15118
15119 2002-02-06  Anthony Green  <green@redhat.com>
15120
15121         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15122         Implement missing method stubs.
15123         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15124         targets.
15125         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15126         concept of timezones.
15127         (init_properties): Don't refer to _Jv_Environment_Properties
15128         when this feature is not available.
15129         * include/config.h.in: Rebuilt.
15130         * acconfig.h: Add DISABLE_MAIN_ARGS.
15131         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15132         * configure: Rebuilt.
15133         * configure.in: Add --disable-main-args option.  Test for
15134           opendir function.  Replace AC_CHECK_SIZEOF with
15135           AC_COMPILE_CHECK_SIZEOF.
15136         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15137         * aclocal.m4: Rebuilt.
15138         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15139
15140 2002-02-06  Tom Tromey  <tromey@redhat.com>
15141
15142         * verify.cc (require_array_type): If argument is a null array of
15143         references, return null as the element type.
15144
15145 2002-02-06  Mark Wielaard  <mark@klomp.org>
15146
15147         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15148         duplicate of a wide type.
15149
15150 2002-02-06  Tom Tromey  <tromey@redhat.com>
15151
15152         * verify.cc (type::isnull): New method.
15153         (require_array_type): Handle case where array is null.
15154         (verify_instructions_0) [op_arraylength]: Likewise.
15155
15156 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15157
15158         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15159         Symlink PLATFORMH to platform.h.
15160         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15161         PLATFORMOBJS.
15162         * java/lang/natSystem.cc: #include platform.h not posix.h.
15163         * Makefile.in: Rebuilt with libgcj automake.
15164         * configure: Rebuilt.
15165
15166 2002-02-05  Richard Henderson  <rth@redhat.com>
15167
15168         * Makefile.in: Undo munging last change.
15169
15170 2002-02-04  Adam Megacz <adam@xwt.org>
15171
15172         * win32.cc: Created it.
15173         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15174         which is set to posix.cc or win32.cc.
15175         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15176
15177 2002-02-04  Adam Megacz <adam@xwt.org>
15178
15179         * configure.in: Corrected mingw case branches; added * before
15180         and after.
15181
15182 2002-02-04  Adam Megacz <adam@xwt.org>
15183
15184         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15185         if compiling for win32
15186
15187 2002-02-04  Adam Megacz <adam@xwt.org>
15188
15189         * win32-threads.cc: #undef STRICT after gc.h inclusion
15190
15191 2002-02-02  Tom Tromey  <tromey@redhat.com>
15192
15193         * Makefile.in: Rebuilt.
15194
15195 2002-02-02  Jason Merrill  <jason@redhat.com>
15196
15197         * Makefile.am (clean-nat): New target.
15198
15199 2002-02-02  Tom Tromey  <tromey@redhat.com>
15200
15201         * java/io/natFile.cc: Removed old "FIXME" comments.
15202
15203 2002-02-01  Tom Tromey  <tromey@redhat.com>
15204
15205         * java/lang/natPosixProcess.cc (myclose): New function.
15206         (fail): Use it.
15207         (startProcess): Likewise.
15208
15209 2002-02-01  Adam Megacz <adam@xwt.org>
15210
15211         * prims.cc: Added #undef STRICT after #include<windows.h>.
15212
15213 2002-02-01  Adam Megacz <adam@xwt.org>
15214
15215         * prims.cc
15216         (_Jv_CreateJavaVM): We now use WIN32 instead of
15217         USE_WIN32_SIGNALLING and USE_WINSOCK.
15218         (win32_exception_handler): Now throws an exception out of
15219         the signal handler; assumes SJLJ.
15220
15221 2002-02-01  Adam Megacz <adam@xwt.org>
15222
15223         * win32-threads.cc:
15224         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15225         wait() algorithm to make it safe.
15226         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15227         Added lazy creation of Win32 Events for better performance
15228         (really_start): This now uses GC_CreateThread so boehm-gc
15229         knows about new threads even when statically linked.
15230
15231 2002-02-01  Adam Megacz <adam@xwt.org>
15232
15233         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15234         enable safer wait() algorithm.
15235         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15236         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15237         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15238         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15239         instead of mutex.
15240         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15241
15242 2002-02-01  Adam Megacz <adam@xwt.org>
15243
15244         * configure.in: Added support for mingw.
15245         * java/lang/Win32Process.java: Created as empty file.
15246         * java/lang/natWin32Process.cc: Created as empty file.
15247
15248 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15249
15250         PR java/4972
15251         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15252         for libiconv in LIBICONV variable.
15253         * configure: Regenerated.
15254
15255 2002-01-31  Tom Tromey  <tromey@redhat.com>
15256
15257         * verify.cc (state::enter_subroutine): New method.
15258         (handle_jsr_insn): Use it.
15259         (state::merge): When processing a `ret', correctly use
15260         subroutine's state to determine which local variables have
15261         changed.
15262         (push_exception_jump): Don't let stack overflow.
15263
15264 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15265
15266         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15267         --version output.
15268
15269 2002-01-30  Tom Tromey  <tromey@redhat.com>
15270
15271         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15272         parameter for `recv' return type.
15273
15274         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15275         (state::merge): ... not here.
15276         (subr_entry_info): New structure.
15277         (entry_points): New field.
15278         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15279         entry_points.
15280
15281 2002-01-29  Tom Tromey  <tromey@redhat.com>
15282
15283         * java/awt/List.java (addNotify): Correctly check to see if peer
15284         does not exist.
15285
15286         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15287         to compute height of each cell, and number of columns to compute
15288         width of each cell.
15289         * java/awt/Window.java (getOwnedWindows): Don't return null.
15290         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15291         of component.  Increment x using horizontal gap, not vertical
15292         gap.
15293
15294 2002-01-28  Tom Tromey  <tromey@redhat.com>
15295
15296         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15297         `nargs' byte is number of words, not number of arguments.
15298
15299 2002-01-27  Tom Tromey  <tromey@redhat.com>
15300
15301         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15302         (when): Likewise.
15303         * java/awt/event/InputEvent.java (modifiers, when): Now
15304         package-private.
15305
15306         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15307         and to-do list.
15308         (state::merge): Use current class' class loader.
15309         (state::print): Print subroutine.
15310         (state::merge): Don't look at subroutine of unmerged `ret'.
15311
15312 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15313
15314         * nogc.cc: Remove warnings.
15315         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15316         New functions.
15317
15318 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15319
15320         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15321         int, int):  Remove empty "if" statement to work around compiler bug.
15322         (newPixels(int[], ColorModel, int, int): Likewise.
15323
15324 2002-01-25  Per Bothner  <per@bothner.com>
15325
15326         * verify.cc (verify_fail):  Change from being a top-level function
15327         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15328         Pass the current verifier to type: and state: methods as needed,
15329         for better error messages, and for resolve.
15330         (resolve):  Pass current class's loader for Class.forName and
15331         _Jv_FindClassFromSignature, rather than using the default loader.
15332         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15333         (get_type_val_for_signature):  Make non-static.
15334         (various methods):  Pass start_PC implicitly, not explicitly.
15335
15336 2002-01-25  Tom Tromey  <tromey@redhat.com>
15337
15338         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15339         loop termination condition.
15340         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15341         width.
15342
15343 2002-01-24  Tom Tromey  <tromey@redhat.com>
15344
15345         * java/awt/Shape.java: Merged with Classpath.
15346         * java/awt/Scrollbar.java: Merged with Classpath.
15347
15348         * java/awt/Container.java (addNotify): Unconditionally call
15349         addNotifyContainerChildren and superclass addNotify.
15350
15351         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15352         getAlpha, not getBlue.
15353
15354 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15355
15356         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15357
15358         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15359         (grabPixels(long)): Wait to be notified that the ImageProducer has
15360         completed.
15361
15362 2002-01-24  Per Bothner  <per@bothner.com>
15363
15364         * verify.cc (is_assignable_from_slow): If target is an interface,
15365         we must still check the source's superclass before giving up.
15366
15367 2002-01-24  Tom Tromey  <tromey@redhat.com>
15368
15369         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15370
15371 2002-01-23  Tom Tromey  <tromey@redhat.com>
15372
15373         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15374         `else'.
15375
15376         * Makefile.in: Rebuilt.
15377         * Makefile.am (awt_java_source_files): Added new files.
15378         * java/awt/Toolkit.java: Merged with Classpath.
15379         * java/awt/PrintGraphics.java: New file from Classpath.
15380         * java/awt/PrintJob.java: New file from Classpath.
15381         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15382         * java/awt/datatransfer/ClipboardOwner.java: New file from
15383         Classpath.
15384         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15385         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15386         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15387         Classpath.
15388         * java/awt/datatransfer/StringSelection.java: New file from
15389         Classpath.
15390         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15391         Classpath.
15392         * java/awt/datatransfer/Transferable.java: New file from
15393         Classpath.
15394         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15395         from Classpath.
15396
15397         * Makefile.in: Rebuilt.
15398         * Makefile.am (awt_java_source_files): Added new files.
15399         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15400         Classpath.
15401         * java/awt/image/CropImageFilter.java: New file from Classpath.
15402         * java/awt/image/FilteredImageSource.java: New file from
15403         Classpath.
15404         * java/awt/image/ImageFilter.java: New file from Classpath.
15405         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15406         * java/awt/image/PixelGrabber.java: New file from Classpath.
15407         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15408         * java/awt/image/ReplicateScaleFilter.java: New file from
15409         Classpath.
15410         * java/awt/image/ImageProducer.java: Replaced with Classpath
15411         version.
15412         * java/awt/image/ImageObserver.java: Replaced with Classpath
15413         version.
15414         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15415         version.
15416         * java/awt/GridBagConstraints.java (clone): Catch
15417         CloneNotSupportedException.
15418
15419 2002-01-23  Per Bothner  <per@bothner.com>
15420
15421         * java/lang/reflect/natField.cc (setAddr):  New function.
15422         Calls getAddr and then checks that the field isn't final.
15423         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15424         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15425         (set):  Call setAddr before check that new value has right type,
15426         to better match specified semantics.
15427
15428 2002-01-22  Tom Tromey  <tromey@redhat.com>
15429
15430         * java/awt/TextField.java: Replaced with Classpath version.
15431         * java/awt/TextArea.java: Replaced with Classpath version.
15432         * java/awt/TextComponent.java: Replaced with Classpath version.
15433
15434         * java/awt/GridBagConstraints.java: Updated copyright.
15435
15436 2002-01-22  Mark Wielaard <mark@klomp.org>
15437
15438         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15439         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15440         java/awt/Dialog.java java/awt/FileDialog.java
15441         java/awt/Font.java java/awt/FontMetrics.java
15442         java/awt/Image.java java/awt/ImageMediaEntry.java
15443         java/awt/Insets.java java/awt/List.java
15444         java/awt/MediaEntry.java java/awt/MediaTracker.java
15445         java/awt/Menu.java java/awt/MenuBar.java
15446         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15447         java/awt/PaintContext.java java/awt/Panel.java
15448         java/awt/PopupMenu.java java/awt/SystemColor.java
15449         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15450         java/awt/peer/CheckboxMenuItemPeer.java
15451         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15452         java/awt/peer/ComponentPeer.java
15453         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15454         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15455         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15456         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15457         java/awt/peer/MenuBarPeer.java
15458         java/awt/peer/MenuComponentPeer.java
15459         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15460         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15461         java/awt/peer/ScrollPanePeer.java
15462         java/awt/peer/ScrollbarPeer.java
15463         java/awt/peer/TextAreaPeer.java
15464         java/awt/peer/TextComponentPeer.java
15465         java/awt/peer/TextFieldPeer.java
15466         java/awt/peer/WindowPeer.java: Add license clarification.
15467
15468 2002-01-22  Mark Wielaard <mark@klomp.org>
15469
15470         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15471         gnu/gcj/runtime/StringBuffer.java
15472         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15473         gnu/java/awt/ComponentDataBlitOp.java
15474         gnu/java/awt/GLightweightPeer.java
15475         gnu/java/beans/BeanInfoEmbryo.java
15476         gnu/java/beans/EmptyBeanInfo.java
15477         gnu/java/beans/ExplicitBeanInfo.java
15478         gnu/java/beans/IntrospectionIncubator.java
15479         gnu/java/beans/editors/ColorEditor.java
15480         gnu/java/beans/editors/FontEditor.java
15481         gnu/java/beans/editors/NativeBooleanEditor.java
15482         gnu/java/beans/editors/NativeByteEditor.java
15483         gnu/java/beans/editors/NativeDoubleEditor.java
15484         gnu/java/beans/editors/NativeFloatEditor.java
15485         gnu/java/beans/editors/NativeIntEditor.java
15486         gnu/java/beans/editors/NativeLongEditor.java
15487         gnu/java/beans/editors/NativeShortEditor.java
15488         gnu/java/beans/editors/StringEditor.java
15489         gnu/java/beans/info/ComponentBeanInfo.java
15490         gnu/java/io/ClassLoaderObjectInputStream.java
15491         gnu/java/io/NullOutputStream.java
15492         gnu/java/io/ObjectIdentityWrapper.java
15493         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15494         gnu/java/lang/reflect/TypeSignature.java
15495         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15496         gnu/java/locale/Calendar_en.java
15497         gnu/java/locale/Calendar_nl.java
15498         gnu/java/locale/LocaleInformation.java
15499         gnu/java/locale/LocaleInformation_de.java
15500         gnu/java/locale/LocaleInformation_en.java
15501         gnu/java/locale/LocaleInformation_nl.java
15502         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15503         gnu/java/rmi/registry/RegistryImpl.java
15504         gnu/java/rmi/rmic/Compile_gcj.java
15505         gnu/java/rmi/rmic/Compiler.java
15506         gnu/java/rmi/rmic/CompilerProcess.java
15507         gnu/java/rmi/rmic/RMIC.java
15508         gnu/java/rmi/rmic/TabbedWriter.java
15509         gnu/java/rmi/server/ProtocolConstants.java
15510         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15511         gnu/java/rmi/server/RMIHashes.java
15512         gnu/java/rmi/server/RMIObjectInputStream.java
15513         gnu/java/rmi/server/RMIObjectOutputStream.java
15514         gnu/java/rmi/server/UnicastConnection.java
15515         gnu/java/rmi/server/UnicastConnectionManager.java
15516         gnu/java/rmi/server/UnicastRef.java
15517         gnu/java/rmi/server/UnicastRemoteCall.java
15518         gnu/java/rmi/server/UnicastRemoteStub.java
15519         gnu/java/rmi/server/UnicastServer.java
15520         gnu/java/rmi/server/UnicastServerRef.java
15521         gnu/java/security/provider/DefaultPolicy.java
15522         gnu/java/security/provider/Gnu.java
15523         gnu/java/security/provider/SHA.java
15524         gnu/java/security/provider/SHA1PRNG.java
15525         gnu/java/text/BaseBreakIterator.java
15526         gnu/java/text/CharacterBreakIterator.java
15527         gnu/java/text/LineBreakIterator.java
15528         gnu/java/text/SentenceBreakIterator.java
15529         gnu/java/text/WordBreakIterator.java
15530         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15531         java/applet/AppletContext.java java/applet/AppletStub.java
15532         java/applet/AudioClip.java java/awt/AWTError.java
15533         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15534         java/awt/AWTException.java java/awt/AWTPermission.java
15535         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15536         java/awt/Button.java java/awt/Canvas.java
15537         java/awt/CardLayout.java java/awt/Checkbox.java
15538         java/awt/CheckboxGroup.java java/awt/Component.java
15539         java/awt/ComponentOrientation.java java/awt/Container.java
15540         java/awt/Dimension.java java/awt/Event.java
15541         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15542         java/awt/FlowLayout.java java/awt/Frame.java
15543         java/awt/Graphics.java java/awt/Graphics2D.java
15544         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15545         java/awt/IllegalComponentStateException.java
15546         java/awt/ItemSelectable.java java/awt/Label.java
15547         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15548         java/awt/MenuComponent.java java/awt/MenuItem.java
15549         java/awt/Paint.java java/awt/Point.java
15550         java/awt/Rectangle.java java/awt/RenderingHints.java
15551         java/awt/Transparency.java java/awt/Window.java
15552         java/awt/color/ColorSpace.java
15553         java/awt/color/ICC_ColorSpace.java
15554         java/awt/color/ICC_Profile.java
15555         java/awt/event/HierarchyBoundsAdapter.java
15556         java/awt/event/HierarchyBoundsListener.java
15557         java/awt/event/HierarchyEvent.java
15558         java/awt/event/HierarchyListener.java
15559         java/awt/geom/AffineTransform.java
15560         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15561         java/awt/geom/IllegalPathStateException.java
15562         java/awt/geom/Line2D.java
15563         java/awt/geom/NoninvertibleTransformException.java
15564         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15565         java/awt/geom/Rectangle2D.java
15566         java/awt/geom/RectangularShape.java
15567         java/awt/geom/RoundRectangle2D.java
15568         java/awt/image/BufferedImage.java
15569         java/awt/image/ColorModel.java
15570         java/awt/image/ComponentColorModel.java
15571         java/awt/image/ComponentSampleModel.java
15572         java/awt/image/DataBuffer.java
15573         java/awt/image/DataBufferByte.java
15574         java/awt/image/DataBufferInt.java
15575         java/awt/image/DataBufferUShort.java
15576         java/awt/image/DirectColorModel.java
15577         java/awt/image/PackedColorModel.java
15578         java/awt/image/Raster.java java/awt/image/RasterOp.java
15579         java/awt/image/SampleModel.java
15580         java/awt/image/SinglePixelPackedSampleModel.java
15581         java/awt/image/WritableRaster.java
15582         java/beans/AppletInitializer.java
15583         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15584         java/beans/Beans.java java/beans/Customizer.java
15585         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15586         java/beans/FeatureDescriptor.java
15587         java/beans/IndexedPropertyDescriptor.java
15588         java/beans/IntrospectionException.java
15589         java/beans/Introspector.java java/beans/MethodDescriptor.java
15590         java/beans/ParameterDescriptor.java
15591         java/beans/PropertyChangeEvent.java
15592         java/beans/PropertyChangeListener.java
15593         java/beans/PropertyChangeSupport.java
15594         java/beans/PropertyDescriptor.java
15595         java/beans/PropertyEditor.java
15596         java/beans/PropertyEditorManager.java
15597         java/beans/PropertyEditorSupport.java
15598         java/beans/PropertyVetoException.java
15599         java/beans/SimpleBeanInfo.java
15600         java/beans/VetoableChangeListener.java
15601         java/beans/VetoableChangeSupport.java
15602         java/beans/Visibility.java
15603         java/beans/beancontext/BeanContext.java
15604         java/beans/beancontext/BeanContextChild.java
15605         java/beans/beancontext/BeanContextChildComponentProxy.java
15606         java/beans/beancontext/BeanContextChildSupport.java
15607         java/beans/beancontext/BeanContextContainerProxy.java
15608         java/beans/beancontext/BeanContextEvent.java
15609         java/beans/beancontext/BeanContextMembershipEvent.java
15610         java/beans/beancontext/BeanContextMembershipListener.java
15611         java/beans/beancontext/BeanContextProxy.java
15612         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15613         java/beans/beancontext/BeanContextServiceProvider.java
15614         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15615         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15616         java/beans/beancontext/BeanContextServiceRevokedListener.java
15617         java/beans/beancontext/BeanContextServices.java
15618         java/beans/beancontext/BeanContextServicesListener.java
15619         java/io/BufferedInputStream.java
15620         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15621         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15622         java/io/ByteArrayOutputStream.java
15623         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15624         java/io/CharConversionException.java java/io/DataInput.java
15625         java/io/DataInputStream.java java/io/DataOutput.java
15626         java/io/EOFException.java java/io/Externalizable.java
15627         java/io/FileFilter.java java/io/FileNotFoundException.java
15628         java/io/FilePermission.java java/io/FileReader.java
15629         java/io/FileWriter.java java/io/FilenameFilter.java
15630         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15631         java/io/FilterReader.java java/io/FilterWriter.java
15632         java/io/IOException.java java/io/InputStream.java
15633         java/io/InterruptedIOException.java
15634         java/io/InvalidClassException.java
15635         java/io/InvalidObjectException.java
15636         java/io/NotActiveException.java
15637         java/io/NotSerializableException.java java/io/ObjectInput.java
15638         java/io/ObjectInputStream.java
15639         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15640         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15641         java/io/ObjectStreamConstants.java
15642         java/io/ObjectStreamException.java
15643         java/io/ObjectStreamField.java
15644         java/io/OptionalDataException.java java/io/OutputStream.java
15645         java/io/PipedInputStream.java java/io/PipedOutputStream.java
15646         java/io/PipedReader.java java/io/PipedWriter.java
15647         java/io/PrintWriter.java java/io/PushbackInputStream.java
15648         java/io/PushbackReader.java java/io/Reader.java
15649         java/io/SequenceInputStream.java java/io/Serializable.java
15650         java/io/SerializablePermission.java
15651         java/io/StreamCorruptedException.java
15652         java/io/StreamTokenizer.java
15653         java/io/StringBufferInputStream.java java/io/StringReader.java
15654         java/io/StringWriter.java java/io/SyncFailedException.java
15655         java/io/UTFDataFormatException.java
15656         java/io/UnsupportedEncodingException.java
15657         java/io/WriteAbortedException.java java/io/Writer.java
15658         java/lang/AbstractMethodError.java
15659         java/lang/ArithmeticException.java
15660         java/lang/ArrayIndexOutOfBoundsException.java
15661         java/lang/ArrayStoreException.java java/lang/Boolean.java
15662         java/lang/Byte.java java/lang/CharSequence.java
15663         java/lang/ClassCastException.java
15664         java/lang/ClassCircularityError.java
15665         java/lang/ClassFormatError.java
15666         java/lang/ClassNotFoundException.java
15667         java/lang/CloneNotSupportedException.java
15668         java/lang/Cloneable.java java/lang/Comparable.java
15669         java/lang/Compiler.java java/lang/Double.java
15670         java/lang/Error.java java/lang/Exception.java
15671         java/lang/ExceptionInInitializerError.java
15672         java/lang/Float.java java/lang/IllegalAccessError.java
15673         java/lang/IllegalAccessException.java
15674         java/lang/IllegalArgumentException.java
15675         java/lang/IllegalMonitorStateException.java
15676         java/lang/IllegalStateException.java
15677         java/lang/IllegalThreadStateException.java
15678         java/lang/IncompatibleClassChangeError.java
15679         java/lang/IndexOutOfBoundsException.java
15680         java/lang/InheritableThreadLocal.java
15681         java/lang/InstantiationError.java
15682         java/lang/InstantiationException.java java/lang/Integer.java
15683         java/lang/InternalError.java
15684         java/lang/InterruptedException.java
15685         java/lang/LinkageError.java java/lang/Long.java
15686         java/lang/NegativeArraySizeException.java
15687         java/lang/NoClassDefFoundError.java
15688         java/lang/NoSuchFieldError.java
15689         java/lang/NoSuchFieldException.java
15690         java/lang/NoSuchMethodError.java
15691         java/lang/NoSuchMethodException.java
15692         java/lang/NullPointerException.java java/lang/Number.java
15693         java/lang/NumberFormatException.java
15694         java/lang/OutOfMemoryError.java java/lang/Package.java
15695         java/lang/Process.java java/lang/Runnable.java
15696         java/lang/RuntimeException.java
15697         java/lang/RuntimePermission.java
15698         java/lang/SecurityException.java
15699         java/lang/SecurityManager.java java/lang/Short.java
15700         java/lang/StackOverflowError.java java/lang/StringBuffer.java
15701         java/lang/StringIndexOutOfBoundsException.java
15702         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15703         java/lang/ThreadLocal.java java/lang/UnknownError.java
15704         java/lang/UnsatisfiedLinkError.java
15705         java/lang/UnsupportedClassVersionError.java
15706         java/lang/UnsupportedOperationException.java
15707         java/lang/VerifyError.java java/lang/VirtualMachineError.java
15708         java/lang/Void.java java/lang/ref/PhantomReference.java
15709         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15710         java/lang/ref/SoftReference.java
15711         java/lang/ref/WeakReference.java
15712         java/lang/reflect/AccessibleObject.java
15713         java/lang/reflect/InvocationTargetException.java
15714         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15715         java/lang/reflect/ReflectPermission.java
15716         java/math/BigDecimal.java java/math/BigInteger.java
15717         java/net/Authenticator.java java/net/BindException.java
15718         java/net/ConnectException.java java/net/ContentHandler.java
15719         java/net/ContentHandlerFactory.java
15720         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15721         java/net/FileNameMap.java java/net/MalformedURLException.java
15722         java/net/MulticastSocket.java java/net/NetPermission.java
15723         java/net/NoRouteToHostException.java
15724         java/net/PasswordAuthentication.java
15725         java/net/ProtocolException.java java/net/ServerSocket.java
15726         java/net/Socket.java java/net/SocketException.java
15727         java/net/SocketImpl.java java/net/SocketImplFactory.java
15728         java/net/SocketOptions.java java/net/SocketPermission.java
15729         java/net/URLDecoder.java java/net/URLEncoder.java
15730         java/net/URLStreamHandlerFactory.java
15731         java/net/UnknownHostException.java
15732         java/net/UnknownServiceException.java
15733         java/rmi/AccessException.java
15734         java/rmi/AlreadyBoundException.java
15735         java/rmi/ConnectException.java
15736         java/rmi/ConnectIOException.java
15737         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15738         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15739         java/rmi/NotBoundException.java
15740         java/rmi/RMISecurityException.java
15741         java/rmi/RMISecurityManager.java java/rmi/Remote.java
15742         java/rmi/RemoteException.java java/rmi/ServerError.java
15743         java/rmi/ServerException.java
15744         java/rmi/ServerRuntimeException.java
15745         java/rmi/StubNotFoundException.java
15746         java/rmi/UnexpectedException.java
15747         java/rmi/UnknownHostException.java
15748         java/rmi/UnmarshalException.java
15749         java/rmi/activation/Activatable.java
15750         java/rmi/activation/ActivateFailedException.java
15751         java/rmi/activation/ActivationDesc.java
15752         java/rmi/activation/ActivationException.java
15753         java/rmi/activation/ActivationGroup.java
15754         java/rmi/activation/ActivationGroupDesc.java
15755         java/rmi/activation/ActivationGroupID.java
15756         java/rmi/activation/ActivationID.java
15757         java/rmi/activation/ActivationInstantiator.java
15758         java/rmi/activation/ActivationMonitor.java
15759         java/rmi/activation/ActivationSystem.java
15760         java/rmi/activation/Activator.java
15761         java/rmi/activation/UnknownGroupException.java
15762         java/rmi/activation/UnknownObjectException.java
15763         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15764         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15765         java/rmi/registry/Registry.java
15766         java/rmi/registry/RegistryHandler.java
15767         java/rmi/server/ExportException.java
15768         java/rmi/server/LoaderHandler.java
15769         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15770         java/rmi/server/Operation.java
15771         java/rmi/server/RMIClassLoader.java
15772         java/rmi/server/RMIClientSocketFactory.java
15773         java/rmi/server/RMIFailureHandler.java
15774         java/rmi/server/RMIServerSocketFactory.java
15775         java/rmi/server/RMISocketFactory.java
15776         java/rmi/server/RemoteCall.java
15777         java/rmi/server/RemoteObject.java
15778         java/rmi/server/RemoteRef.java
15779         java/rmi/server/RemoteServer.java
15780         java/rmi/server/RemoteStub.java
15781         java/rmi/server/ServerCloneException.java
15782         java/rmi/server/ServerNotActiveException.java
15783         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15784         java/rmi/server/SkeletonMismatchException.java
15785         java/rmi/server/SkeletonNotFoundException.java
15786         java/rmi/server/SocketSecurityException.java
15787         java/rmi/server/UID.java
15788         java/rmi/server/UnicastRemoteObject.java
15789         java/rmi/server/Unreferenced.java
15790         java/security/AccessControlContext.java
15791         java/security/AccessControlException.java
15792         java/security/AccessController.java
15793         java/security/AlgorithmParameterGenerator.java
15794         java/security/AlgorithmParameterGeneratorSpi.java
15795         java/security/AlgorithmParameters.java
15796         java/security/AlgorithmParametersSpi.java
15797         java/security/AllPermission.java
15798         java/security/BasicPermission.java
15799         java/security/Certificate.java java/security/CodeSource.java
15800         java/security/DigestException.java
15801         java/security/DigestInputStream.java
15802         java/security/DigestOutputStream.java
15803         java/security/DomainCombiner.java
15804         java/security/DummyKeyPairGenerator.java
15805         java/security/DummyMessageDigest.java
15806         java/security/DummySignature.java
15807         java/security/GeneralSecurityException.java
15808         java/security/Guard.java java/security/GuardedObject.java
15809         java/security/Identity.java java/security/IdentityScope.java
15810         java/security/InvalidAlgorithmParameterException.java
15811         java/security/InvalidKeyException.java
15812         java/security/InvalidParameterException.java
15813         java/security/Key.java java/security/KeyException.java
15814         java/security/KeyFactory.java java/security/KeyFactorySpi.java
15815         java/security/KeyManagementException.java
15816         java/security/KeyPair.java java/security/KeyPairGenerator.java
15817         java/security/KeyPairGeneratorSpi.java
15818         java/security/KeyStore.java
15819         java/security/KeyStoreException.java
15820         java/security/KeyStoreSpi.java
15821         java/security/MessageDigest.java
15822         java/security/MessageDigestSpi.java
15823         java/security/NoSuchAlgorithmException.java
15824         java/security/NoSuchProviderException.java
15825         java/security/Permission.java
15826         java/security/PermissionCollection.java
15827         java/security/Permissions.java java/security/Policy.java
15828         java/security/Principal.java java/security/PrivateKey.java
15829         java/security/PrivilegedAction.java
15830         java/security/PrivilegedActionException.java
15831         java/security/PrivilegedExceptionAction.java
15832         java/security/ProtectionDomain.java
15833         java/security/Provider.java
15834         java/security/ProviderException.java
15835         java/security/PublicKey.java
15836         java/security/SecureClassLoader.java
15837         java/security/SecureRandom.java
15838         java/security/SecureRandomSpi.java java/security/Security.java
15839         java/security/SecurityPermission.java
15840         java/security/Signature.java
15841         java/security/SignatureException.java
15842         java/security/SignatureSpi.java
15843         java/security/SignedObject.java java/security/Signer.java
15844         java/security/UnrecoverableKeyException.java
15845         java/security/UnresolvedPermission.java
15846         java/security/acl/Acl.java java/security/acl/AclEntry.java
15847         java/security/acl/AclNotFoundException.java
15848         java/security/acl/Group.java
15849         java/security/acl/LastOwnerException.java
15850         java/security/acl/NotOwnerException.java
15851         java/security/acl/Owner.java java/security/acl/Permission.java
15852         java/security/cert/CRL.java
15853         java/security/cert/CRLException.java
15854         java/security/cert/Certificate.java
15855         java/security/cert/CertificateEncodingException.java
15856         java/security/cert/CertificateException.java
15857         java/security/cert/CertificateExpiredException.java
15858         java/security/cert/CertificateFactory.java
15859         java/security/cert/CertificateFactorySpi.java
15860         java/security/cert/CertificateNotYetValidException.java
15861         java/security/cert/CertificateParsingException.java
15862         java/security/cert/X509CRL.java
15863         java/security/cert/X509CRLEntry.java
15864         java/security/cert/X509Certificate.java
15865         java/security/cert/X509Extension.java
15866         java/security/interfaces/DSAKey.java
15867         java/security/interfaces/DSAKeyPairGenerator.java
15868         java/security/interfaces/DSAParams.java
15869         java/security/interfaces/DSAPrivateKey.java
15870         java/security/interfaces/DSAPublicKey.java
15871         java/security/interfaces/RSAKey.java
15872         java/security/interfaces/RSAPrivateCrtKey.java
15873         java/security/interfaces/RSAPrivateKey.java
15874         java/security/interfaces/RSAPublicKey.java
15875         java/security/spec/AlgorithmParameterSpec.java
15876         java/security/spec/DSAParameterSpec.java
15877         java/security/spec/DSAPrivateKeySpec.java
15878         java/security/spec/DSAPublicKeySpec.java
15879         java/security/spec/EncodedKeySpec.java
15880         java/security/spec/InvalidKeySpecException.java
15881         java/security/spec/InvalidParameterSpecException.java
15882         java/security/spec/KeySpec.java
15883         java/security/spec/PKCS8EncodedKeySpec.java
15884         java/security/spec/RSAKeyGenParameterSpec.java
15885         java/security/spec/RSAPrivateCrtKeySpec.java
15886         java/security/spec/RSAPrivateKeySpec.java
15887         java/security/spec/RSAPublicKeySpec.java
15888         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
15889         java/sql/BatchUpdateException.java java/sql/Blob.java
15890         java/sql/CallableStatement.java java/sql/Clob.java
15891         java/sql/Connection.java java/sql/DataTruncation.java
15892         java/sql/DatabaseMetaData.java java/sql/Date.java
15893         java/sql/Driver.java java/sql/DriverManager.java
15894         java/sql/DriverPropertyInfo.java
15895         java/sql/PreparedStatement.java java/sql/Ref.java
15896         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
15897         java/sql/SQLData.java java/sql/SQLException.java
15898         java/sql/SQLInput.java java/sql/SQLOutput.java
15899         java/sql/SQLWarning.java java/sql/Statement.java
15900         java/sql/Struct.java java/sql/Time.java
15901         java/sql/Timestamp.java java/sql/Types.java
15902         java/text/Annotation.java
15903         java/text/AttributedCharacterIterator.java
15904         java/text/AttributedString.java
15905         java/text/AttributedStringIterator.java
15906         java/text/BreakIterator.java java/text/CharacterIterator.java
15907         java/text/ChoiceFormat.java java/text/Collator.java
15908         java/text/DateFormat.java java/text/DateFormatSymbols.java
15909         java/text/DecimalFormat.java
15910         java/text/DecimalFormatSymbols.java
15911         java/text/FieldPosition.java java/text/Format.java
15912         java/text/MessageFormat.java java/text/NumberFormat.java
15913         java/text/ParseException.java java/text/ParsePosition.java
15914         java/text/SimpleDateFormat.java
15915         java/text/StringCharacterIterator.java
15916         java/util/AbstractCollection.java java/util/AbstractList.java
15917         java/util/AbstractMap.java
15918         java/util/AbstractSequentialList.java
15919         java/util/AbstractSet.java java/util/ArrayList.java
15920         java/util/Arrays.java java/util/BasicMapEntry.java
15921         java/util/BitSet.java java/util/Calendar.java
15922         java/util/Collection.java java/util/Collections.java
15923         java/util/Comparator.java
15924         java/util/ConcurrentModificationException.java
15925         java/util/Date.java java/util/Dictionary.java
15926         java/util/EmptyStackException.java java/util/Enumeration.java
15927         java/util/EventListener.java java/util/EventObject.java
15928         java/util/GregorianCalendar.java java/util/HashMap.java
15929         java/util/HashSet.java java/util/Hashtable.java
15930         java/util/IdentityHashMap.java java/util/Iterator.java
15931         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
15932         java/util/LinkedList.java java/util/List.java
15933         java/util/ListIterator.java java/util/ListResourceBundle.java
15934         java/util/Locale.java java/util/Map.java
15935         java/util/MissingResourceException.java
15936         java/util/NoSuchElementException.java
15937         java/util/Observable.java java/util/Observer.java
15938         java/util/Properties.java java/util/PropertyPermission.java
15939         java/util/PropertyResourceBundle.java java/util/Random.java
15940         java/util/RandomAccess.java java/util/ResourceBundle.java
15941         java/util/Set.java java/util/SimpleTimeZone.java
15942         java/util/SortedMap.java java/util/SortedSet.java
15943         java/util/Stack.java java/util/StringTokenizer.java
15944         java/util/TimeZone.java java/util/Timer.java
15945         java/util/TimerTask.java
15946         java/util/TooManyListenersException.java
15947         java/util/TreeMap.java java/util/TreeSet.java
15948         java/util/Vector.java java/util/WeakHashMap.java
15949         java/util/jar/Attributes.java java/util/jar/JarEntry.java
15950         java/util/jar/JarException.java java/util/jar/JarFile.java
15951         java/util/jar/JarInputStream.java
15952         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
15953         java/util/zip/Adler32.java java/util/zip/CRC32.java
15954         java/util/zip/CheckedInputStream.java
15955         java/util/zip/CheckedOutputStream.java
15956         java/util/zip/Checksum.java
15957         java/util/zip/DataFormatException.java
15958         java/util/zip/Deflater.java
15959         java/util/zip/DeflaterOutputStream.java
15960         java/util/zip/GZIPInputStream.java
15961         java/util/zip/GZIPOutputStream.java
15962         java/util/zip/Inflater.java
15963         java/util/zip/InflaterInputStream.java
15964         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
15965         java/util/zip/ZipException.java java/util/zip/ZipFile.java
15966         java/util/zip/ZipInputStream.java
15967         java/util/zip/ZipOutputStream.java
15968         javax/naming/BinaryRefAddr.java
15969         javax/naming/InvalidNameException.java javax/naming/Name.java
15970         javax/naming/NamingException.java javax/naming/RefAddr.java
15971         javax/naming/StringRefAddr.java: Add license clarification.
15972
15973 2002-01-22  Tom Tromey  <tromey@redhat.com>
15974
15975         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
15976         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
15977         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
15978         version.
15979         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
15980         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
15981         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
15982         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
15983         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
15984         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
15985         * java/awt/peer/FontPeer.java: Replace with Classpath version.
15986         * java/awt/peer/FramePeer.java: Replace with Classpath version.
15987         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
15988         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
15989         * java/awt/peer/ListPeer.java: Replace with Classpath version.
15990         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
15991         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
15992         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
15993         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
15994         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
15995         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
15996         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
15997         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
15998         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
15999         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16000         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16001         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16002         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16003         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16004         (minimumSize, preferredSize, reshape): Likewise.
16005         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16006         getColorModel): New methods.
16007         * java/awt/PopupMenu.java: Merged with Classpath.
16008         * java/awt/MenuBar.java: Merged with Classpath.
16009         * java/awt/SystemColor.java: Replace with Classpath version.
16010         * java/awt/Panel.java: Merged with Classpath.
16011         * java/awt/PaintContext.java: Updated copyright.
16012         * java/awt/MenuShortcut.java: Merged with Classpath.
16013         * java/awt/MenuContainer.java: Merged with Classpath.
16014         * java/awt/Menu.java: Merged with Classpath.
16015         * java/awt/MediaEntry.java: New file from Classpath.
16016         * java/awt/MediaTracker.java: New file from Classpath.
16017         * java/awt/List.java: Merged with Classpath version.
16018         * java/awt/Insets.java: Merged with Classpath version.
16019         * java/awt/ImageMediaEntry.java: New file from Classpath.
16020         * java/awt/Image.java: Replaced with Classpath version.
16021         * java/awt/FontMetrics.java: Merged with Classpath version.
16022         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16023         constant.
16024         * java/awt/Font.java: Merged with Classpath version.
16025         * java/awt/Dialog.java: Merged with Classpath version.
16026         * java/awt/Color.java: Merged with Classpath version.
16027         * java/awt/Choice.java: Merged with Classpath version.
16028         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16029         * java/awt/Adjustable.java: Replace with Classpath version.
16030         * java/awt/MenuItem.java (paramString): Don't include class name
16031         or brackets.  Call superclass paramString.
16032         * java/awt/MenuComponent.java (toString): Call paramString.
16033         (paramString): Compute string; don't call toString.
16034         * java/awt/Label.java (paramString): Don't include class name
16035         or brackets.  Call superclass paramString.
16036         * java/awt/Checkbox.java (paramString): Don't include class name
16037         or brackets.  Call superclass paramString.
16038         * java/awt/Button.java (paramString): Don't include class name or
16039         brackets.  Call superclass paramString.
16040         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16041
16042 2002-01-20  Andreas Schwab  <schwab@suse.de>
16043
16044         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16045         function and of parameter recv_func to ssize_t, as specified by
16046         POSIX.
16047
16048 2002-01-19  Per Bothner  <per@bothner.com>
16049
16050         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16051         uncompressed_size in readiness for next entry.
16052
16053 2002-01-18  Tom Tromey  <tromey@redhat.com>
16054
16055         * java/net/natPlainSocketImpl.cc: Include
16056         IllegalArgumentException.h.
16057         (_Jv_recv): New template function.
16058         (BooleanClass): Removed.
16059         (read): Use _Jv_recv.
16060         (setOption): Use Boolean::class$.  Throw exception if object is
16061         not Boolean or Integer.
16062
16063 2002-01-17  Tom Tromey  <tromey@redhat.com>
16064
16065         * java/awt/MenuComponent.java: Merged with Classpath.
16066         * java/awt/MenuItem.java: Merged with Classpath.
16067         * java/awt/Button.java: Merged with Classpath.
16068
16069         * java/awt/ActiveEvent.java: Updated copyright.
16070
16071         * java/awt/AWTError.java: Replaced with Classpath version.
16072         * java/awt/AWTException.java: Replaced with Classpath version.
16073         * java/awt/IllegalComponentStateException.java: Replaced with
16074         Classpath version.
16075
16076 2002-01-16  Tom Tromey  <tromey@redhat.com>
16077
16078         * java/awt/Canvas.java (serialVersionUID): New constant.
16079         Updated copyright.  Added javadoc from Classpath.
16080         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16081
16082         * java/awt/CheckboxGroup.java: Merged with Classpath.
16083         * java/awt/Checkbox.java: Merged with Classpath.
16084
16085         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16086         Classpath.
16087         * java/awt/Point.java: Updated copyright.
16088
16089         * java/awt/Point.java (toString): Use getClass().getName().
16090         Added javadoc.
16091
16092         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16093         commented code.
16094         (hash): Correctly compute initial value for `h'.
16095
16096         * java/awt/Label.java: Merged with Classpath.
16097
16098 2002-01-15  Tom Tromey  <tromey@redhat.com>
16099
16100         * java/awt/AWTPermission.java: Updated copyright.
16101
16102         * java/awt/LayoutManager2.java: Merged with Classpath.
16103         * java/awt/LayoutManager.java: Merged with Classpath.
16104         * java/awt/GridLayout.java: Updated copyright and javadoc.
16105         (getSize): Use `parent.ncomponents'.  Handle insets.
16106         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16107         there are fewer children than columns.  Correctly compute size of
16108         each cell in the grid.  Handle case where there isn't enough
16109         space.
16110         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16111         all users.
16112         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16113         before calling setVisible() on it.  Last item is `num - 1', not
16114         `num'.
16115         (layoutContainer): Hoist invariants out of loop.
16116
16117         Start of AWT merge with Classpath:
16118         * Makefile.in: Rebuilt.
16119         * Makefile.am (awt_java_source_files): Reference files in
16120         gnu/java/awt, not gnu/gcj/awt.
16121         * java/awt/image/BufferedImage.java: Updated copyright.
16122         * java/awt/image/ComponentColorModel.java: Updated copyright.
16123         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16124         * java/awt/image/DataBuffer.java: Updated copyright.
16125         * java/awt/image/DataBufferByte.java: Updated copyright.
16126         * java/awt/image/DataBufferInt.java: Updated copyright.
16127         * java/awt/image/DataBufferUShort.java: Updated copyright.
16128         * java/awt/image/IndexColorModel.java: Updated copyright.
16129         * java/awt/image/PackedColorModel.java: Updated copyright.
16130         * java/awt/image/Raster.java: Updated copyright.
16131         * java/awt/image/RasterOp.java: Updated copyright.
16132         * java/awt/image/SampleModel.java: Updated copyright.
16133         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16134         * java/awt/image/WritableRaster.java: Updated copyright.
16135         * java/awt/color/ColorSpace.java: Updated copyright.
16136         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16137         * java/awt/color/ICC_Profile.java: Updated copyright.
16138         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16139         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16140         * java/awt/event/HierarchyEvent.java: Updated copyright.
16141         * java/awt/event/HierarchyListener.java: Updated copyright.
16142         * java/awt/geom/AffineTransform.java: Updated copyright.
16143         * java/awt/geom/Dimension2D.java: Updated copyright.
16144         * java/awt/geom/Ellipse2D.java: Updated copyright.
16145         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16146         * java/awt/geom/Line2D.java: Updated copyright.
16147         * java/awt/geom/NoninvertibleTransformException.java: Updated
16148         copyright.
16149         * java/awt/geom/PathIterator.java: Updated copyright.
16150         * java/awt/geom/Point2D.java: Updated copyright.
16151         * java/awt/geom/Rectangle2D.java: Updated copyright.
16152         * java/awt/geom/RectangularShape.java: Updated copyright.
16153         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16154         * java/awt/Toolkit.java: Updated import for file moves.
16155         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16156         Classpath.
16157         (hashCode): New method from Classpath.
16158         * java/awt/Graphics2D.java: Updated copyright.
16159         * java/awt/Transparency.java: Updated copyright.
16160         * java/awt/Paint.java: Updated copyright.
16161         * java/awt/Graphics.java: New version from Classpath.
16162         * java/awt/EventDispatchThread.java: Updated copyright.
16163         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16164         children.
16165         (gotoComponent): Wrap around on next/previous.
16166         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16167         * gnu/gcj/awt/Buffers.java: Removed.
16168         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16169         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16170         * gnu/java/awt/BitMaskExtent.java: Added.
16171         * gnu/java/awt/Buffers.java: Added.
16172         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16173         * gnu/java/awt/GLightweightPeer.java: Added.
16174         * java/awt/geom/Line2D.java (clone): Ignore
16175         CloneNotSupportedException.
16176         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16177         * java/awt/Frame.java: Merged with Classpath.
16178         * java/awt/RenderingHints.java: Copyright update.
16179         * java/awt/Paint.java: Copyright update.
16180         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16181         * java/awt/image/ColorModel.java: Merged with Classpath.
16182         * java/awt/Window.java (show): New Implementation from Classpath.
16183         (isShowing): Use super.isShowing().
16184         * java/awt/EventQueue.java: Merged with Classpath.
16185         * java/awt/AWTEventMulticaster.java (save): Throw
16186         RuntimeException.
16187         (saveInternal): Likewise.
16188         * java/awt/AWTEvent.java: Now implements Serializable.
16189         * java/awt/Event.java: Copyright update.
16190         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16191         * java/awt/image/BufferedImage.java: Copyright update.
16192         * java/awt/GraphicsConfiguration.java: Copyright update.
16193         * java/awt/Component.java: (addNotify): Don't call
16194         addNotifyContainerChildren().
16195         (addNotifyContainerChildren): Removed.
16196         (setPeer): New method from Classpath.
16197         (setTreeLock): Likewise.
16198         (setVisible): Rewrote.
16199         (show): Use it.
16200         (hide): Likewise.
16201         (validate): Set `valid'.
16202         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16203         (createImage(ImageProducer)): Likewise.
16204         (prepareImage): Likewise.
16205         * java/awt/Container.java (addImpl): Handle case where constraint
16206         is not a String.  Post event via system event queue.
16207         (remove): Post event via system event queue.
16208         (validateTree): Only validate child if it is invalid.
16209         (getAlignmentX): Call super method as default.
16210         (getAlignmentY): Likewise.
16211         (addContainerListener): Now synchronized.
16212         (removeContainerListener): Likewise.
16213         (addNotifyContainerChildren): Now private.
16214         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16215         @author.
16216         * java/awt/FlowLayout.java (serialVersionUID): New field.
16217         (setAlignment): Better exception message.
16218         (layoutContainer): Don't compute component's preferred size unless
16219         we're going to use it.
16220         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16221         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16222         (firstLine, lastLine, firstItem, lastItem): New fields.
16223         (addLayoutComponent): Handle case where constraints is null.
16224         Also, handle relative locations.
16225         (removeLayoutComponent): Handle relative locations.
16226         (MIN, MAX, PREF): New constants.
16227         (calcCompSize): New method.
16228         (calcSize): New method.
16229         (minimumLayoutSize): Use it.
16230         (preferredLayoutSize): Likewise.
16231         (maximumLayoutSize): Likewise.
16232         (toString): Include more information.
16233         (setBounds): New method.
16234         (layoutContainer): Use libgcj implementation; extended to handle
16235         relative locations.
16236
16237 2002-01-15  Tom Tromey  <tromey@redhat.com>
16238
16239         * java/lang/Float.java (equals): Preserve old code.
16240         * java/lang/Double.java (equals): Preserve old code.
16241
16242 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16243
16244         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16245         * java/lang/Float.java (equals, compare): Ditto.
16246
16247 2002-01-13  Mark Wielaard  <mark@klomp.org>
16248
16249         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16250         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16251         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16252         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16253
16254 2002-01-11  Mark Wielaard  <mark@klomp.org>
16255
16256         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16257         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16258         InetAddress.
16259         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16260         * java/net/Socket.java: Merge with Classpath.
16261         * java/net/ServerSocket.java: Likewise.
16262
16263 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16264
16265         * interpret.cc (NULLARRAYCHECK): New macro.
16266         (SAVE_PC): Just store `pc'.
16267         (find_exception): Subtract one from `pc' here.
16268         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16269         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16270         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16271         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16272         don't call SAVE_PC.
16273         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16274         call SAVE_PC.
16275
16276 2002-01-11  Tom Tromey  <tromey@redhat.com>
16277
16278         * java/lang/natSystem.cc (init_properties): Only look for default
16279         locale if LC_MESSAGES is defined.
16280         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16281         * configure.in: Call AM_LC_MESSAGES.
16282         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16283
16284 2002-01-10  Tom Tromey  <tromey@redhat.com>
16285
16286         For PR libgcj/5303:
16287         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16288         --version.  Recognize GNU-style long options.  Print GNU-style
16289         error messages.
16290         (usage): Print GNU-style help.  Exit with status 0.
16291         (error): New method.
16292         (run): Print error message if no class names found.
16293         (main): Don't print usage on error.
16294
16295 2002-01-09  Tom Tromey  <tromey@redhat.com>
16296
16297         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16298         property.
16299         (help, version): Use println(), not println("").
16300
16301         For PR libgcj/5303:
16302         * gnu/gcj/convert/Convert.java (error): Program is called
16303         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16304         -1.
16305         (main): Handle --help and --version.
16306         (help): New method.
16307         (version): Likewise.
16308
16309 2002-01-08  Tom Tromey  <tromey@redhat.com>
16310
16311         * Makefile.in: Rebuilt.
16312         * Makefile.am (ordinary_java_source_files): Added new files.
16313         * gnu/java/locale/LocaleInformation.java: Extend
16314         LocaleInformation_en.
16315         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16316         and time/date formats.
16317         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16318         generated.
16319         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16320         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16321         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16322         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16323         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16324         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16325         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16326         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16327         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16328         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16329         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16330         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16331         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16332         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16333         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16334         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16335         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16336         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16337         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16338         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16339         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16340         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16341         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16342         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16343         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16344         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16345         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16346         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16347         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16348         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16349         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16350         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16351         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16352         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16353         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16354         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16355         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16356         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16357         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16358         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16359         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16360         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16361         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16362         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16363         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16364         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16365         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16366         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16367         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16368         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16369         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16370         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16371         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16372         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16373         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16374         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16375         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16376         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16377         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16378         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16379         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16380         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16381         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16382         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16383         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16384         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16385         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16386         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16387         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16388         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16389         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16390         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16391         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16392         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16393         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16394         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16395         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16396         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16397         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16398         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16399         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16400         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16401         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16402         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16403         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16404         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16405         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16406         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16407         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16408         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16409         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16410         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16411         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16412         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16413         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16414         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16415         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16416         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16417         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16418         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16419         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16420         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16421         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16422         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16423         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16424         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16425         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16426         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16427         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16428         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16429         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16430         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16431         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16432         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16433         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16434         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16435         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16436         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16437         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16438         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16439         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16440         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16441         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16442         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16443         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16444         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16445         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16446         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16447         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16448         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16449
16450         For PR libgcj/5031:
16451         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16452         choose default locale.
16453
16454         * Makefile.in: Rebuilt.
16455         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16456
16457 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16458
16459         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16460         sockets.
16461         (close): New function closes the socket.
16462         (write): New functions for output to socket.
16463         (read): New functions for reading from socket.
16464         * java/net/PlainSocketImpl.java: Glue for new timeout
16465         implementation.
16466         (write): Call the native impl.
16467         (read): Likewise.
16468         (getInputStream): Get a stream to read from the socket.
16469         (getOutputStream): Get a stream to write to the socket.
16470
16471 2002-01-08  Tom Tromey  <tromey@redhat.com>
16472
16473         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16474
16475 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16476
16477         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16478         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16479
16480 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16481
16482         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16483         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16484         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16485         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16486         insn_bastore, insn_castore, insn_sastore]: Use it.
16487         (continue1) [insn_arraylength]: Check for null array.
16488
16489 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16490
16491         * configure, include/config.h.in: Rebuilt.
16492         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16493         * configure.in: Call AC_STRUCT_TIMEZONE.
16494
16495 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16496
16497         * configure.host: Disable the interpreter for Darwin.
16498
16499 2002-01-04  Tom Tromey  <tromey@redhat.com>
16500
16501         * java/lang/Thread.java (stop): No longer synchronized.
16502         (start): Likewise.
16503
16504 2002-01-02  Tom Tromey  <tromey@redhat.com>
16505
16506         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16507         patch.
16508
16509 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16510
16511         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16512         PPC Darwin, not for all of Darwin.