OSDN Git Service

2003-11-27 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-11-27  Michael Koch  <konqueror@gmx.de>
2
3         * javax/swing/UIDefaults.java:
4         Reformated to match classpath's version.
5
6 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
7
8         * javax/swing/UIManager.java (getDefaults, getDimension,
9         getIcon, getInsets, getInstalledLookAndFeels, getInt,
10         getLookAndFeel, getString, getSystemLookAndFeelClassName):
11         Declare as public.
12
13 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
14
15         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
16         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
17         isSignificant): Likewise.
18
19 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
20
21         * javax/swing/undo/CompoundEdit.java: Re-format, document.
22         (inProgress): Set initial value to true.
23         (undo, redo, die, canUndo, canRedo): Also call inherited
24         implementation; simplify code structure.
25         (getPresentationName, getUndoPresentationName,
26         getRedoPresentationName): Make behavior dependent on lastEdit.
27         (addEdit, isSignificant): Completely re-written.
28
29 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
30
31         * javax/swing/undo/StateEdit.java: Re-format, document.
32         (undo, redo): Also call inherited implementation.
33
34 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
35
36         * javax/swing/undo/StateEditable.java: Re-format, document.
37
38 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
39
40         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
41         (AbstractUndoableEdit): Initialize hasBeenDone to true.
42         (canUndo, canRedo): Simplify.
43         (getUndoPresentationName, getRedoPresentationName): Support
44         localized message; call getPresentationName() only once.
45
46 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
47
48         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
49         (ZipFile(File,int)): Likewise.
50
51 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
52
53         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
54         (putAllInternal): Likewise.
55         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
56         (putAllInternal): Likewise.
57
58 2003-11-26  Michael Koch  <konqueror@gmx.de>
59
60         * java/net/URLStreamHandler.java
61         (parseURL): Added comment in catch statement.
62         (canonicalizeFilename): Add documentation.
63         (sameURL): Completed documentation.
64         (equals): Likewise.
65         (hostsEqual): Likewise.
66         (getDefaulPort): Likewise.
67         (hashCode): Likewise.
68         (toExternalForm): Likewise.
69         (getHostName): Fix empty hostname check, completed documentation.
70
71 2003-11-26  Tom Tromey  <tromey@redhat.com>
72
73         * java/lang/natDouble.cc (parseDouble): Reverted patch of
74         2003-11-13.
75
76 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
77             Mark Wielaard  <mark@klomp.org>
78
79         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
80         ('@' should be checked to distinguish port from userinfo).
81         (toExternalForm): Add @ userInfo if necessary.
82
83
84 2003-11-26  Michael Koch  <konqueror@gmx.de>
85
86         * java/net/DatagramSocket.java
87         (DategramSocket, bind): Moved binding code from DatagramSocket
88         constructor to bind method.
89
90 2003-11-26  Michael Koch  <konqueror@gmx.de>
91
92         * java/net/DatagramSocket.java
93         (impl): Made private.
94         (bound): New private member variable.
95         (DatagramSocket): Fixed documentation, use getImpl().
96         (getImpl): New package-private method.
97         (isClosed): Use getImpl().
98         (getLocalAddress): Completed documentation, use getImpl().
99         (getLocalPort): Use getImpl().
100         (getSoTimeout): Likewise.
101         (setSoTimeout): Likewise.
102         (getSendBufferSize): Likewise.
103         (setSendBufferSize): Likewise.
104         (getReceiveBufferSize): Likewise.
105         (setReceiveBufferSize): Likewise.
106         (connect): Likewise.
107         (disconnect): Likewise.
108         (receive): Likewise.
109         (send): Likewise.
110         (setReuseAddress): Likewise.
111         (setTrafficClass): Likewise.
112         (bind): Added message to exception.
113         (isClosed): Completed documentation.
114         (getChannel): Likewise.
115         (connect): Added missing exception, refined exception message.
116         (isBound): Completed documentation, just return bound.
117         (isConnected): Completed documentation.
118         (getRemoteSocketAddress): Likewise.
119         (getReuseAddress): Completed documentation, use getImpl().
120         (setSoBroadcast): Likewise.
121         (getSoBroadcast): Likewise.
122         (getTrafficClass): Likewise.
123         (getLocalSocketAddress): Simplified.
124         * java/net/MulticastSocket.java
125         (MulticastSocket): Removed comment not applying anymore.
126         (getInterface): Use getImpl().
127         (getTTL): Likewise.
128         (getTimeToLive): Likewise.
129         (setInterface): Likewise.
130         (setNetworkInterface): Likewise.
131         (getNetworkInterface): Likewise.
132         (setLoopback): Likewise.
133         (getLoopback): Likewise.
134         (setTTL): Likewise.
135         (setTimeToLive): Likewise.
136         (joinGroup): Likewise.
137         (leaveGroup): Likewise.
138         (send): Likewise.
139
140 2003-11-26  Michael Koch  <konqueror@gmx.de>
141
142         * java/net/Socket.java
143         (implCreated): Dont set default value explicitely, added
144         documentation.
145         (inputShutdown): Likewise.
146         (outputShutdown): Likewise.
147         (bound): New private member variable.
148         (bind): Set bound to true.
149         (close): Set bound to false.
150         (isBound): Return bound.
151         * java/net/ServerSocket.java
152         (bound): New private member variable.
153         (bind): Set bound to true.
154         (close): Set bound to false.
155         (isBound): Return bound.
156
157 2003-11-26  Michael Koch  <konqueror@gmx.de>
158
159         * java/net/URL.java
160         (URL): Fixed documentation to be HTML compliant.
161         (getContent): Completed documentation.
162         (getFile): Likewise.
163         (getPath): Likewise.
164         (getAuthority): Likewise.
165         (getHost): Likewise.
166         (getDefaultPort): Likewise.
167         (getProtocol): Likewise.
168         (hashCode): Likewise.
169         (openConnection): Likewise.
170         (openStream): Likewise.
171         (set): Likewise.
172         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
173
174 2003-11-26  Michael Koch  <konqueror@gmx.de>
175
176         * java/net/InetSocketAddress.java
177         (hostname): Made private, added documentation.
178         (addr): Likewise.
179         (port): Likewise.
180         (equals): Completed documentation.
181         (getAddress): Likewise.
182         (getHostName): Likewise.
183         (getPort): Likewise.
184         (hashCode): Likewise.
185         (isUnresolved): Likewise.
186         (toString): Likewise.
187
188 2003-11-26  Michael Koch  <konqueror@gmx.de>
189
190         * gnu/java/net/protocol/file/Handler.java
191         (Handler): New explicit constructor.
192         (openConnection): Added documentation.
193         * gnu/java/net/protocol/jar/Handler.java
194         (Handler): New explicit constructor.
195         (openConnection): Added documentation.
196
197 2003-11-26  Michael Koch  <konqueror@gmx.de>
198
199         * java/net/DatagramPacket.java
200         (DatagramPacket): Fixed documentation to become legal HTML.
201
202 2003-11-25  Michael Koch  <konqueror@gmx.de>
203
204         * gcj/javaprims.h: Added missing java.util.Currency.
205
206 2003-11-25  Michael Koch  <konqueror@gmx.de>
207
208         * testsuite/libjava.mauve/xfails:
209         Removed these two tests, they mystically pass now:
210         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
211         test_params failed - 5getInetAddress did not return proper values
212         (number 1)
213         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
214         test_BasicServer failed - 11 exception was thrown :Illegal seek
215         (number 1)
216
217 2003-11-25  Michael Koch  <konqueror@gmx.de>
218
219         * java/net/DatagramSocket.java
220         (factory): Made private.
221         (closed): Removed.
222         (DatagramSocket): Check impl argument, use constructor with
223         SocketAddress argument.
224         (close): Set impl to null, use isClosed().
225         (isClosed): Check for impl == null.
226         (getLocalAddress): Use isClosed().
227         (getLocalPort): Check if socket is closed.
228         (getSoTimeout): Likewise.
229         (setSoTimeout): Likewise.
230         (getSendBufferSize): Likewise.
231         (setSendBufferSize): Likewise.
232         (getReceiveBufferSize): Likewise.
233         (setReceiveBufferSize): Likewise.
234         (receive): Likewise.
235         (send): Likewise.
236         (bind): Likewise.
237         (connect): Likewise.
238         (setReuseAddress): Likewise.
239         (getReuseAddress): Likewise.
240         (setBroadcast): Likewise.
241         (getBroadcast): Likewise.
242         (setTrafficClass): Likewise.
243         (getTrafficClass): Likewise.
244         * java/net/MulticastSocket.java
245         (getInterface): Check if socket is closed.
246         (getTTL): Likewise.
247         (getTimeToLive): Likewise.
248         (setInterface): Likewise.
249         (setNetworkInterface): Likewise.
250         (getNetworkInterface): Likewise.
251         (setLoopbackMode): Likewise.
252         (setTTL): Likewise.
253         (setTimeToLive): Likewise.
254         (joinGroup): Likewise.
255         (leaveGroup): Likewise.
256         (send): Likewise.
257         * java/net/ServerSocket.java
258         (closed): Removed.
259         (close): Check if socket is closed, set impl to null.
260         (isClosed): Check impl == null;
261         (ServerSocket): Check impl argument.
262         (getInetAddress): Check if socket is bound.
263         (getLocalPort): Likewise.
264         (getLocalSocketAddress): Likewise.
265         (bind): Check if socket is closed.
266         (implAccept): Likewise.
267         (setSoTimeout): Likewise.
268         (getSoTimeout): Likewise.
269         (setReuseAddress): Likewise.
270         (getReuseAddress): Likewise.
271         (setReceiveBufferSize): Likewise.
272         (getReceiveBufferSize): Likewise.
273         (toString): Make output compliant to JDK 1.4.2.
274         * java/net/Socket.java
275         (closed): Removed.
276         (Socket): Fixed documentation.
277         (connect): Check if socket is closed, changed exception text,
278         fixed documentation.
279         (getInputStream): Check of socket is closed  and connected.
280         (getOutputStream): Likewise.
281         (bind): Check if socket is closed.
282         (setTcpNoDelay): Likewise.
283         (getTcpNoDelay): Likewise.
284         (setSoLinger): Likewise.
285         (getSoLinger): Likewise.
286         (sendUrgentData): Likewise.
287         (setOOBInline): Likewise.
288         (getOOBInline): Likewise.
289         (setSoTimeout): Likewise.
290         (getSoTimeout): Likewise.
291         (setSendBufferSize): Likewise.
292         (getSendBufferSize): Likewise.
293         (setReceiveBufferSize): Likewise.
294         (getReceiveBufferSize): Likewise.
295         (setKeepAlive): Likewise.
296         (getKeepAlive): Likewise.
297         (close): Likewise.
298         (shutdownInput): Likewise.
299         (shutdownOutput): Likewise.
300         (getReuseAddress): Likewise.
301         (getTrafficClass): Likewise.
302         (setTrafficClass): Likewise.
303         (isClosed): Check impl == null.
304         (toString): Added missing ']'.
305
306 2003-11-24  Tom Tromey  <tromey@redhat.com>
307
308         * Makefile.in: Rebuilt.
309         * Makefile.am (propdir): New macro.
310         (install-data-local): Install logging.properties.
311         (core_java_source_files): Added java.util.logging.*.
312         * java/util/logging/logging.properties: New file.
313
314 2003-11-25  Michael Koch  <konqueror@gmx.de>
315
316         * java/net/DatagramSocket.java
317         (DatagramSocket): Move binding code to bind(), simplify constructors.
318         * java/net/MulticastSocket.java
319         (MulticastSocket): Call parent constructor with null argument,
320         bind socket after setReuseAddress is called, simplify constructors.
321
322 2003-11-24  Michael Koch  <konqueror@gmx.de>
323
324         * javax/swing/BoxLayout.java
325         (serialVersionUIR): New member variable.
326         (X_AXIS, Y_AXIS): Documentation added.
327         (LINE_AXIS, PAGE_AXIS): New constants.
328         (grid): Renamed from gridbag.
329         (BoxLayout): Use new constants, throw exception if invalid value for
330         way, added documentation.
331         (BoxLayout): Removed.
332         (addLayoutComponent): Use new constants, added documentation.
333         (removeLayoutComponent): Likewise.
334         (addLayoutContainer): Added documentation.
335         (preferredLayoutSize): Added documentation, check given argument.
336         (minimumLayoutSize): Likewise.
337         (layoutContainer): Likewise.
338         (getLayoutAlignmentX): Likewise.
339         (getLayoutAlignmentY): Likewise.
340         (invalidateLayout): Likewise.
341         (maximumLayoutSize): Likewise.
342
343 2003-11-22  Michael Koch  <konqueror@gmx.de>
344
345         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
346         (peekData): Use offset and maximal free space in datagram packet.
347         (receive): Likewise.
348         (send): Use offset in datagram packet.
349
350 2003-11-22  Michael Koch  <konqueror@gmx.de>
351
352         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
353         (peekData): Use offset and maximal free space in datagram packet.
354         (receive): Likewise.
355         (send): Use offset in datagram packet.
356
357 2003-11-22  Michael Koch  <konqueror@gmx.de>
358
359         * gnu/java/nio/DatagramChannelImpl.java
360         (getNativeFD): Use getPlainDatagramSocketImpl().
361         * gnu/java/nio/NIODatagramSocket.java
362         (getPlainDatagramSocketImpl): Renamed from getImpl().
363         * gnu/java/nio/NIOSocket.java
364         (getPlainSocketImpl): Renamed from getImpl().
365         (setChannel): Use getPlainSocketImpl().
366         * gnu/java/nio/SocketChannelImpl.java
367         (SocketChannelImpl): Use getPlainSocketImpl().
368         (getPlainSocketImpl): Renamed from getImpl().
369         (getNativeFD): Use getPlainSocketImpl().
370
371 2003-11-18  Graydon Hoare  <graydon@redhat.com>
372
373         * javax/swing/JLayeredPane.java: Implement.
374         * javax/swing/JFrame.java (getContentPane): Make public
375         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
376         Use JLayeredPane.FRAME_CONTENT_LAYER.
377
378 2003-11-21  Mark Wielaard  <mark@klomp.org>
379
380         * java/lang/Float.java (static): Removed.
381
382 2003-11-18  Graydon Hoare  <graydon@redhat.com>
383
384         * java/awt/font/TextLayout.java: Implement simple layouts
385         using attributed strings and glyph vectors.
386
387 2003-11-17  Graydon Hoare  <graydon@redhat.com>
388
389         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
390         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
391         (GdkFontLineMetrics): New inner class.
392         (getLineMetrics): Return new GdkFontLineMetrics.
393         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
394         (layoutGlyphVector): Create GdkGlyphVector.
395         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
396         (GdkGraphics2D): Initialize state via mathod calls.
397         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
398         (cairoTranslate, cairoScale, cairoRotate): Remove.
399         (various methods): use setTransform for special transform cases.
400         (DrawState): New inner class.
401         (stateSave): New method.
402         (stateRestore): New method.
403         (various methods): use stateSave, stateRestore.
404         (getClipInDevSpace): New method.
405         (clip, clipRect, setClip, getClip, getClipBounds): 
406         Follow spec more closely.
407         (getTransform): Return clone of transform.
408         (setStroke): Set linewidth to passed width / 2.0.
409         (setPaintMode): Set SrcOver rather than Xor.
410         (setColor): Set paint to passed color.
411         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
412         transform from image to user space.
413         (drawRenderedImage, drawRenderableImage): Implement.
414         (getFontRenderContext, getFontMetrics, drawString, getFont): 
415         Implement
416         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
417         Implement.
418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
419         Match changes to java side.
420         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
421         Release resources.
422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
423         Don't use pango for metrics.
424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
425         New file.
426
427 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
428             Jim Pick  <jim@kaffe.org>
429
430         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
431         methods.
432
433 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
434
435         * java/text/DecimalFormatSymbols.java (getCurrency,
436         setCurrency): New methods.
437
438 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
439
440         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
441         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
442         Describe how the implementation works.
443
444 2003-11-19  Michael Koch  <konqueror@gmx.de>
445
446         * java/net/Socket.java
447         (implCreated): New variable that indicates created impl.
448         (getImpl): New method.
449         (toString): Return more SUN compliant string representation.
450         (various): Use getImpl() instead of impl.
451
452 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
453
454         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
455         the right libgcc. Add -multiply_defined suppress and -bind_at_load
456         flags.
457
458 2003-11-18  Tom Tromey  <tromey@redhat.com>
459
460         PR libgcj/13026:
461         * verify.cc (state::copy): Only set local_changed if we're in a
462         subroutine.  Correctly copy local variables which were modified
463         by the subroutine.
464         (push_jump_merge): Added more debugging output.
465
466         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
467         is null.
468
469 2003-11-17  Graydon Hoare  <graydon@redhat.com>
470
471         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
472         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
473
474 2003-11-16  Tom Tromey  <tromey@redhat.com>
475
476         PR libgcj/13062:
477         * java/io/StreamTokenizer.java (commentChar): Clear other
478         attributes for character.
479         (quoteChar): Likewise.
480
481 2003-11-14  Tom Fitzsimmons  <fitzsim@redhat.com>
482
483         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
484         zero-length int arrays when layoutInfo is null.
485         (getLayoutWeights): Return array of two zero-length double arrays when
486         layoutInfo is null.
487
488 2003-11-13  Tom Tromey  <tromey@redhat.com>
489
490         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
491         JvGetStringUTFRegion.
492         * java/lang/natPosixProcess.cc (new_string): Pass length of string
493         to JvGetStringUTFRegion.
494         * java/lang/natDouble.cc (parseDouble): Pass length of string to
495         JvGetStringUTFRegion.
496         * java/lang/natWin32Process.cc (startProcess): Pass length of
497         string to JvGetStringUTFRegion.
498         * java/lang/natClass.cc (forName): Pass length of string to
499         JvGetStringUTFRegion.
500         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
501         of string to JvGetStringUTFRegion.
502         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
503         JvGetStringUTFRegion.
504         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
505         to JvGetStringUTFRegion.
506         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
507         string to JvGetStringUTFRegion.
508
509 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
510
511         * gnu/java/nio/natSelectorImplPosix.cc
512         (helper_put_filedescriptors): Change to static linkage.
513         (helper_get_filedescriptors): Likewise.
514
515 2003-11-12  Tom Fitzsimmons  <fitzsim@redhat.com>
516
517         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
518         null check.
519         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
520         * java/awt/Component.java (prepareImage): Likewise.
521
522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
523         Rename to nativeSetAlignment.
524
525 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
526
527         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
528         (JNI_GetCreatedJavaVMs): Likewise.
529         (JNI_GetDefaultJavaVMInitArgs): Likewise.
530         * include/jni.h (JNIIMPEXP): Remove definition
531         and replace with...
532         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
533         symbols,
534         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
535
536 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
537
538         * Makefile.am: Add GdkPixbufDecoder.java and
539         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
540         * Makefile.in: Regenerate.
541         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
542         New constructor.
543         (startProduction): Create ByteArrayInputStream when url and filename are
544         null.
545         (produce): Declare stream parameter as InputStream.
546         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
547         as InputStream.
548         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
549         (GdkPixbufDecoder(byte[],int,int)): New constructor.
550         (produce): Declare stream parameter as InputStream.
551         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
552         if image is null.  Set image's observer before running PrepareImage
553         thread.  Pass image to startProduction.
554         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
555         source's member functions.
556         (observer): New field.
557         (setObserver): New method.
558         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
559         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
560         new GtkImage.
561         (prepareImage): Implement.
562         * java/awt/Component.java: Add static fields incrementalDraw and
563         redrawRate.
564         (imageUpdate): Implement.
565         (createImage): Call Toolkit's createImage if peer is null.
566         (prepareImage): Throw NPE if image is null.
567         * java/awt/MediaTracker.java: Fix return value.
568
569 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
570
571         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
572         (create(String, float)): New method.
573         (setText): Make native.
574         (nativeSetAlignment): New method.
575         (setAlignment): Call nativeSetAlignment.
576         (getArgs): Remove method.
577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
578         (find_fg_color_widget, find_bg_color_widget): New functions.
579         (gtkWidgetSetForeground): Call find_fg_color_widget.
580         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
581         prelight colors.
582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
583         widget in event box.
584         (setText, setAlignment): Implement new native methods.
585
586 2003-11-11  Michael Koch  <konqueror@gmx.de>
587
588         * java/awt/Font.java,
589         java/awt/datatransfer/DataFlavor.java,
590         java/math/BigInteger.java,
591         java/net/Inet4Address.java,
592         java/net/Inet6Address.java,
593         java/rmi/MarshalledObject.java,
594         java/rmi/server/RMIClassLoader.java,
595         java/security/cert/CertStore.java,
596         java/sql/Timestamp.java,
597         java/text/SimpleDateFormat.java,
598         javax/naming/CompoundName.java:
599         Removed some redundant obj == null checks.
600
601 2003-11-11  Michael Koch  <konqueror@gmx.de>
602
603         * java/nio/ByteBuffer.java
604         (equals): Remove redundant obj == null check.
605
606 2003-11-11  Michael Koch  <konqueror@gmx.de>
607
608         * gnu/java/nio/natPipeImpl.cc,
609         gnu/java/nio/natSelectorImpl.cc: Removed
610         * gnu/java/nio/natPipeImplEcos.cc,
611         gnu/java/nio/natPipeImplPosix.cc,
612         gnu/java/nio/natPipeImplWin32.cc,
613         gnu/java/nio/natSelectorImplEcos.cc,
614         gnu/java/nio/natSelectorImplPosix.cc,
615         gnu/java/nio/natSelectorImplWin32.cc: New files
616         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
617         gnu/java/nio/natSelectorImpl.cc
618         * configure: Regenerated.
619
620 2003-11-11  Micheal Koch  <konqueror@gmx.de>
621
622         * java/net/URLStreamHandler.java (toExternalForm): Print port only
623         if host is printed too and port was really given to URL.
624
625 2003-11-10  Gary Benson  <gbenson@redhat.com>
626
627         * java/sql/Timestamp.java (valueOf): Correctly handle
628         nanoseconds.
629
630 2003-11-09  Tom Tromey  <tromey@redhat.com>
631
632         * java/net/Inet4Address.java (serialVersionUID): Updated.
633
634 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
635
636         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
637         New fields.
638
639 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
640
641         * java/io/ByteArrayOutputStream.java (resize):
642         Fix off-by-one error.
643
644 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
645
646         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
647         public.
648
649 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
650
651         PR libgcj/12231
652         * java/lang/Win32Process.java (hasExited) Changed from
653         public to private.
654         (startProcess): Likewise.
655         (cleanup): Likewise.
656         * java/lang/natWin32Process.cc (cleanup) Don't close
657         input, output and error streams.
658         (ChildProcessPipe): New helper class.
659         (startProcess): Refactored to use ChildProcessPipe.
660         Use CREATE_NO_WINDOW when launching child process.
661
662 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
663
664         * include/win32.h (_Jv_platform_close_on_exec): Changed
665         signature and declared extern.
666         * win32.cc (_Jv_platform_close_on_exec): Implemented.
667         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
668         (create): Use new signature of _Jv_platform_close_on_exec.
669         * gnu/java/net/natPlainSocketImplWin32.cc 
670         (create): Eliminated a few typecasts
671         Use new signature of _Jv_platform_close_on_exec.
672         (accept): Eliminated a few typecasts
673         Use new signature of _Jv_platform_close_on_exec.
674         * java/io/natFileDescriptorWin32.cc (open): Use
675         _Jv_platform_close_on_exec.
676
677 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
678
679         * java/lang/natClass.cc (newInstance): Throw InstantiationException
680         if class has no null-argument constructor.
681
682 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
683
684         PR libgcj/12647:
685         * win32-threads.cc (_Jv_CondWait): Respect mutex's
686         refcount when releasing and reacquiring it.
687
688 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
689
690         * win32.cc: (dirExists) Internal helper function to
691         test for directory existence.
692         (getUserHome) New helper function refactored out
693         of _Jv_platform_initProperties. Uses USERPROFILE
694         instead of HOMEDIR and attempts to support Win9X and NT.
695         (_Jv_platform_initProperties) Use getUserHome.
696
697 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
698
699         PR libgcj/11521:
700         * gnu/java/net/natPlainSocketImplWin32.cc
701         (bind): Don't use SO_REUSEADDR
702
703 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
704
705         PR libgcj/6652:
706         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
707
708 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
709
710         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
711         dispatch for final methods.
712
713 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
714
715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
716         word wrapping.
717
718 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
719
720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
721         scrolled window's size request.
722
723 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
724
725         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
726         * java/awt/geom/QuadCurve2D.java: Likewise.
727
728 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
729
730         * java/awt/geom/CubicCurve2D.java: Added documentation.
731         * java/awt/geom/QuadCurve2D.java: Likewise.
732
733         * java/awt/geom/doc-files/QuadCurve2D-4.png,
734         java/awt/geom/doc-files/QuadCurve2D-5.png,
735         java/awt/geom/doc-files/CubicCurve2D-4.png,
736         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
737
738 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
739
740         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
741         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
742         (subdivide(double[],int,double[],int,double[],int)): Implement.
743
744 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
745
746         * java/awt/geom/doc-files/CubicCurve2D-1.png,
747         java/awt/geom/doc-files/CubicCurve2D-2.png,
748         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
749
750 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
751
752         * java/text/DecimalFormat.java
753         (scanFormat) corrected so that '%' may appear in a pattern.
754
755 2003-10-29  Mark Wielaard  <mark@klomp.org>
756
757         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
758         * java/text/DateFormat.java (Field): New public static inner class.
759         * java/text/Format.java (Field): Likewise.
760         (formatToCharacterIterator): New method.
761         * java/text/FormatCharacterIterator.java: New file.
762
763 2003-10-29  Mark Wielaard  <mark@klomp.org>
764
765         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
766         * java/util/Currency.java: New file.
767
768 2003-10-29  Michael Koch  <konqueror@gmx.de>
769
770         * Makefile.am (ordinary_java_source_files): Added
771         java/text/FormatCharacterIterator.java and java/util/Currency.java.
772         * Makefile.in: Regenerated.
773
774 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
775
776         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
777         static methods.
778
779 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
780
781         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
782         getObjectInstance() with Object, Name, Context and environment
783         Hashtable from exception. Call fillInStackTrace() on exception when
784         rethrown.
785         * javax/naming/InitialContext.java (lookup(Name)): When a
786         CannotProceedException is thrown use the ContinuationContext.
787         (lookup(String)): Likewise.
788         (close): Clear myProps and defaultInitCtx.
789
790 2003-10-29  Michael Koch  <konqueror@gmx.de>
791
792         * java/net/InetAddress.java
793         (equals): Remove redundant obj == null check.
794         * java/net/SocketPermission.java
795         (equals): Likewise.
796         * java/net/URL.java
797         (equals): Likewise.
798         (getURLStreamHandler): Likewise.
799
800 2003-10-29  Michael Koch  <konqueror@gmx.de>
801
802         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
803         (setOption): Directly return if no error occured.
804         * gnu/java/net/natPlainSocketImplPosix.cc
805         (setOption): Likewise.
806
807 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
808
809         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
810         vtable slot for final methods. Add FIXME comment.
811
812 2003-10-28  David S. Miller  <davem@redhat.com>
813
814         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
815
816 2003-10-26  Mark Wielaard  <mark@klomp.org>
817
818         Reported by Helmer Kraemer <hkraemer@freenet.de>
819         * java/util/jar/JarInputStream.java (readManifest): Don't call
820         closeEntry().
821
822         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
823         (finish): Use inbufWrite().
824         (write(int)): Likewise.
825         (write(byte[],int,int)): Likewise.
826
827 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
828
829         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
830         Don't check for AccessibleObject. Update javadocs.
831         
832         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
833
834 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
835
836         * java/lang/reflect/Constructor.java (toString): Avoid extra 
837         whitespace on constructor with no modifiers.
838         * java/lang/reflect/natConstructor.java (newInstance): Look up
839         caller and perform accessibility check only if constructor is
840         non-public and accessible flag is not set.
841
842 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
843
844         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
845         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
846         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
847         is_virtual_call argument.
848         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
849         natClass.cc.
850         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
851         _Jv_isVirtualMethod.
852         * java/lang/reflect/natMethod.cc (invoke): Don't use 
853         _Jv_LookupDeclaredMethod.
854         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
855         look up method in target object's vtable.
856
857 2003-10-25  Graydon Hoare  <graydon@redhat.com>
858
859         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
860         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
861         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
862         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
863         New concrete implementation of ClasspathFontPeer, with native part.
864         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
865         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
866         New class, with native part.
867         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
868         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
869         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
870
871 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
872
873         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
874         on method with no modifiers.
875
876 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
877
878         PR libgcj/11780:
879         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
880         accessibility check only if target is non-public and accessible flag
881         is not set.
882         * java/lang/reflect/natField.cc (getAddr): Likewise.
883
884 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
885
886         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
887         Remove method.
888         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
889         New method.
890         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
891         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
892         (dispose): Post WINDOW_CLOSED event.
893         (addWindowFocusListener, addWindowStateListener): Assign result
894         of multicaster add back to window listener.
895         (removeWindowFocusListener, removeWindowStateListener): Assign
896         result of multicaster remove back to window listener.
897         (dispatchEventImpl): Add null checks for focus and state
898         listeners.
899         (processWindowEvent): Handle case where windowListener is null
900         but state or focus listeners exist.
901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
902         glue for postWindowEvent.
903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
904         (window_delete_cb, window_destroy_cb, window_show_cb,
905         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
906         window_get_new_state): New functions.
907         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
908         macros.  Declare postWindowEventID.
909
910 2003-10-24  Anthony Green  <green@redhat.com>
911
912         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
913         we have no interpreter.
914
915 2003-10-22  Andrew Haley  <aph@redhat.com>
916
917         * java/lang/natClass.cc (initializeClass): Call
918         _Jv_linkExceptionClassTable.
919         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
920         _Jv_Defer_Resolution on a method whose ncode is NULL.
921         (_Jv_linkExceptionClassTable): New function.
922         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
923         entry, look it up.
924         * java/lang/Class.h (struct _Jv_CatchClass): New.
925         (_Jv_linkExceptionClassTable): New friend.
926         (_Jv_Defer_Resolution): New friend.
927         (class Class.catch_classes): New field.
928         * include/java-interp.h (Jv_Defer_Resolution): New method.
929         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
930         (_Jv_MethodBase.deferred): New field.
931         (_Jv_Defer_Resolution): New function.
932         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
933         * exception.cc (get_ttype_entry): Change return type to void**.
934         (PERSONALITY_FUNCTION): Remove all code related to using a
935         Utf8Const* for a match type.  Change match type to be a pointer to
936         a pointer, rather than a pointer to a Class.
937         * defineclass.cc (handleCodeAttribute): Initialize
938         method->deferred.
939         (handleMethodsEnd): Likewise.
940
941 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
942
943         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
944         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
945
946 2003-10-22  Tom Tromey  <tromey@redhat.com>
947
948         PR libgcj/12416:
949         * java/lang/Class.h: Updated.
950         * java/lang/natClass.cc (_getFields): Removed.
951         (getFields): Likewise.
952         (getDeclaredFields): Added `public_only' parameter.
953         * java/lang/Class.java (getFields): Now implemented in java; from
954         Classpath.
955         (getDeclaredFields): Likewise.
956         (getDeclaredFields(boolean)): Declare.
957         (_getFields): Removed.
958         (internalGetFields): New method, from Classpath.
959
960         PR libgcj/12656:
961         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
962         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
963
964 2003-10-22  David Daney  <ddaney@avtrex.com)
965
966         * include/mips-signal.h: New file.
967         * sysdep/dwarf2-backtrace.cc: New file.
968         * sysdep/mips: New directory.
969         * sysdep/mips/locks.h: New file.
970         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
971         added to libgcj.
972         (extra_cc_source_files): Ditto.
973         * configure.host(disable_dladdr):  New shell variable passed to
974         configure.
975         (mips*-*-linux*): sysdeps_dir=mips,
976         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
977         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
978         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
979         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
980         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
981         (EXTRA_CC_FILES): New, to support conditional addition of
982         sysdep/dwarf2-backtrace.cc.
983         * configure: Regenerated.
984         * Makefile.in: Regenerated.
985         * gcj/Makefile.in: Regenerated.
986         * include/config.h.in: Regenerated.
987         * include/Makefile.in: Regenerated.
988         * testsuite/Makefile.in: Regenerated.
989         
990 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
991
992         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
993         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
994
995 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
996
997         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
998         * java/awt/geom/doc-files: New directory.
999         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1000         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1001         
1002 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1003
1004         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1005
1006 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1007
1008         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1009
1010 2003-10-22  Michael Koch  <konqueror@gmx.de>
1011
1012         * java/io/File.java
1013         (equals): Removed redundant obj == null check.
1014         (createTempFile): Merged comments from classpath.
1015
1016 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1017
1018         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1019         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1020         (error): Synchronize on instance, not class.
1021
1022 2003-10-21  Mark Wielaard  <mark@klomp.org>
1023
1024         Reported by M.Negovanovic
1025         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1026         method.
1027         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1028
1029 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1030
1031         Fix for Classpath bug #6076.
1032         * java/awt/geom/GeneralPath.java (append): Re-written.
1033
1034 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1035
1036         Fix for Classpath bug #6089.
1037         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1038         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1039
1040 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1041
1042         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1043         point, not start of subpath.  Fixes Classpath bug #6075.
1044
1045 2003-10-21  Michael Koch  <konqueror@gmx.de>
1046
1047         * java/nio/ByteOrder.java,
1048         java/nio/DirectByteBufferImpl.java,
1049         java/nio/channels/FileChannelImpl.java:
1050         Add code to load library with code for native methods if needed.
1051
1052 2003-10-21  Michael Koch  <konqueror@gmx.de>
1053
1054         * gnu/java/net/PlainDatagramSocketImpl.java,
1055         gnu/java/net/PlainSocketImpl.java,
1056         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1057         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1058         gnu/java/net/natPlainSocketImplPosix.cc,
1059         gnu/java/net/natPlainSocketImplWin32.cc:
1060         Renamed fnum to native_fd to match classpath more.
1061
1062 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1063
1064         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1065         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1066         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1067         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1068         _Jv_PthreadCheckMonitor.  Simplify code.
1069         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1070         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1071         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1072         * java/lang/Thread.java (holdsLock): New.
1073         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1074         without JV_HASH_SYNCHRONIZATION.
1075         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1076
1077 2003-10-20  Michael Koch  <konqueror@gmx.de>
1078
1079         * java/text/RuleBasedCollator.java
1080         (RuleBasedCollator): Check rules not empty, fixed search in already
1081         existing collation elements.
1082         (is_special): Removed common whitespace characters.
1083         (text_argument): Dont return on whitespaces, add characters between
1084         two ' to string buffer.
1085
1086 2003-10-18  Michael Koch  <konqueror@gmx.de>
1087
1088         * gnu/java/net/protocol/file/Connection.java,
1089         gnu/java/net/protocol/file/Handler.java,
1090         gnu/java/net/protocol/http/Connection.java,
1091         gnu/java/net/protocol/http/Handler.java,
1092         gnu/java/net/protocol/jar/Connection.java,
1093         gnu/java/net/protocol/jar/Handler.java:
1094         Merged copyright text from classpath to make
1095         it possible to merge the classes.
1096
1097 2003-10-18  Mark Wielaard  <mark@klomp.org>
1098
1099         Reported by M.Negovanovic
1100         * java/beans/IndexedPropertyDescriptor.java
1101         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1102
1103 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1104
1105         * win32.cc (_Jv_pipe): Implemented.
1106         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1107         _Jv_pipe instead of ::pipe.
1108         * include/posix.h (_Jv_pipe): New inline.
1109         * include/win32.h (_Jv_pipe): New declaration.
1110         
1111 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1112
1113         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1114         (append, substring, insert): Likewise.
1115         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1116         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1117         
1118 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1119
1120         * java/lang/natString.cc (getChars):
1121         Fix validation of array indexes.
1122         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1123         * testsuite/libjava.lang/String_overflow.java: New file.
1124         * testsuite/libjava.lang/String_overflow.out: New file.
1125
1126 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1127
1128         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1129         overflow a jint.
1130         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1131         check for overflowing size_t, since the lower level functions
1132         take a jint.
1133         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1134         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1135         
1136 2003-10-15  Michael Koch  <konqueror@gmx.de>
1137
1138         * java/text/RuleBasedCollator.java
1139         (RuleBasedCollator): Moved around, documentation added.
1140         (compare): Documentation added.
1141         (equals): Likewise.
1142         (getCollationElementIterator): Likewise.
1143         (getCollationKey): Likewise.
1144         (getRules): Likewise.
1145         (hashCode): Likewise.
1146
1147 2003-10-15  Michael Koch  <konqueror@gmx.de>
1148
1149         * java/text/RuleBasedCollator.java
1150         (CollationElement): Renamed from RBCElement and moved into
1151         RuledBasedCollator as inner class.
1152
1153 2003-10-15  Michael Koch  <konqueror@gmx.de>
1154
1155         * java/text/CollationElementIterator.java
1156         (CollationElementIterator): Moved, documenatation added, call setText.
1157         (next): Reformated.
1158         (reset): Reformated.
1159         (setText): New method.
1160         (getOffset): New method.
1161         * java/text/CollationKey.java
1162         (getSourceString): Reformated.
1163         (hashCode): Reformated.
1164         (toByteArray): Reformated.
1165
1166 2003-10-15  Michael Koch  <konqueror@gmx.de>
1167
1168         * java/util/zip/InflaterInputStream.java
1169         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1170         added description to exception, check for inf == null and size < 0.
1171
1172 2003-10-15  Michael Koch  <konqueror@gmx.de>
1173
1174         * java/text/AttributedCharacterIterator.java,
1175         java/text/CharacterIterator.java: Reformated.
1176
1177 2003-10-15  Michael Koch  <konqueror@gmx.de>
1178
1179         * javax/swing/UIDefaults.java (putDefaults):
1180         Readded accidently removed "public" modifier.
1181
1182 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1183
1184         * interpret.cc (_Jv_InterpMethod::run): Don't
1185         use libffi types, they were meant to be internal.
1186         * gcj/javaprims.h (_Jv_ulong): New typedef.
1187
1188 2003-10-13  Tom Tromey  <tromey@redhat.com>
1189
1190         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1191         (defineClass): Updated.
1192         (_Jv_NewClass): Likewise.
1193         * prims.cc (_Jv_InitPrimClass): Don't call
1194         _Jv_InitNewClassFields.
1195
1196 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1197
1198         PR libgcj/12592
1199         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1200         not just \n.
1201
1202 2003-10-13  Michael Koch  <konqueror@gmx.de>
1203
1204         * java/io/File.java: Reformated.
1205         (equals): Check for obj == null.
1206
1207 2003-10-13  Michael Koch  <konqueror@gmx.de>
1208
1209         * java/net/JarURLConnection.java
1210         (jarFileURL): Added dcoumentation.
1211         (jarFileURLConnection): Reformated documentation.
1212         (entryName): Renamed from "element", documentation rewritten.
1213         (connectionCache): Renamed from "conn_cache", documentation
1214         reformated.
1215         (JarURLConnection): Check URL protocol.
1216         (getEntryName): Use entryName.
1217         (connect): Use connectionCache.
1218         (getInputStream): Use entryName, fixed comment.
1219         (getJarEntry): Use entryName.
1220         (getHeaders): Use entryName.
1221         * java/net/URLConnection.java
1222         (addRequestProperty): Fixed documentation.
1223         (setDefaultRequestProptery): Added comment that it does nothing since
1224         JDK 1.3.
1225         (getDefaultRequestProperty): Likewise.
1226
1227 2003-10-13  Michael Koch  <konqueror@gmx.de>
1228
1229         * java/net/java/net/URLStreamHandlerFactory.java
1230         (createURLStreamHandler): Removed redundant "public" modifier.
1231         * java/sql/DatabaseMetaData.java:
1232         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1233         * java/sql/ParameterMetaData.java:
1234         (ParameterMetaData): Readded accidently removed "public" modifier.
1235         * java/sql/PreparedStatement.java:
1236         (PreparedStatement): Readded accidently removed "public" modifier.
1237         * java/sql/Ref.java:
1238         (Ref): Readded accidently removed "public" modifier.
1239
1240 2003-10-13  Michael Koch  <konqueror@gmx.de>
1241
1242         * java/nio/Buffer.java
1243         (hasRemaining): Made implementation more clear.
1244         * java/nio/MappedByteBuffer.java
1245         (loaded): New member variable.
1246         (force): Added comment.
1247         (isLoaded): Return value of loaded.
1248         (load): Set loaded to true, added comment.
1249
1250 2003-10-12  Michael Koch  <konqueror@gmx.de>
1251
1252         * gnu/java/nio/PipeImpl.java
1253         (SourceChannelImpl): New inner class.
1254         (SinkChannelImpl): New inner class.
1255         (sink): New member variable.
1256         (source): New member variable.
1257         (PipeImpl): Add SelectorProvider argument, implemented.
1258         (nativeInit): New method.
1259         (sink): Return sink channel.
1260         (source): Return source channel.
1261         * gnu/java/nio/SelectorProviderImpl.java
1262         (openPipe): Give provider as argument to PipeImpl constructor.
1263         * java/nio/channels/spi/SelectorProvider.java
1264         (pr): Removed.
1265         (systemDefaultProvider): New member variable.
1266         (provider): Made it synchronized, use property
1267         java.nio.channels.spi.SelectorProvider.
1268         * gnu/java/nio/natPipeImpl.cc: New file.
1269         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1270         * Makefile.in: Regenerated.
1271
1272 2003-10-12  Michael Koch  <konqueror@gmx.de>
1273
1274         * javax/swing/table/DefaultTableModel.java,
1275         javax/swing/table/TableCellEditor.java,
1276         javax/swing/table/TableCellRenderer.java,
1277         javax/swing/table/TableColumnModel.java,
1278         javax/swing/table/TableModel.java,
1279         javax/swing/text/AbstractDocument.java,
1280         javax/swing/text/Document.java,
1281         javax/swing/text/MutableAttributeSet.java,
1282         javax/swing/text/StyledDocument.java,
1283         javax/swing/text/ViewFactory.java,
1284         javax/swing/tree/DefaultMutableTreeNode.java,
1285         javax/swing/tree/MutableTreeNode.java,
1286         javax/swing/tree/RowMapper.java,
1287         javax/swing/tree/TreeCellEditor.java,
1288         javax/swing/tree/TreeCellRenderer.java,
1289         javax/swing/tree/TreeModel.java,
1290         javax/swing/tree/TreeNode.java,
1291         javax/swing/tree/TreeSelectionModel.java,
1292         javax/swing/undo/StateEditable.java,
1293         javax/swing/undo/UndoableEdit.java:
1294         Removed redundant modifiers.
1295
1296 2003-10-12  Michael Koch  <konqueror@gmx.de>
1297
1298         * javax/swing/event/AncestorListener.java,
1299         javax/swing/event/CaretListener.java,
1300         javax/swing/event/CellEditorListener.java,
1301         javax/swing/event/ChangeListener.java,
1302         javax/swing/event/DocumentEvent.java,
1303         javax/swing/event/DocumentListener.java,
1304         javax/swing/event/HyperlinkListener.java,
1305         javax/swing/event/InternalFrameListener.java,
1306         javax/swing/event/ListDataListener.java,
1307         javax/swing/event/ListSelectionListener.java,
1308         javax/swing/event/MenuDragMouseListener.java,
1309         javax/swing/event/MenuKeyListener.java,
1310         javax/swing/event/MenuListener.java,
1311         javax/swing/event/MouseInputListener.java,
1312         javax/swing/event/PopupMenuListener.java,
1313         javax/swing/event/TableColumnModelListener.java,
1314         javax/swing/event/TableModelListener.java,
1315         javax/swing/event/TreeExpansionListener.java,
1316         javax/swing/event/TreeModelListener.java,
1317         javax/swing/event/TreeSelectionListener.java,
1318         javax/swing/event/TreeWillExpandListener.java,
1319         javax/swing/event/UndoableEditListener.java,
1320         javax/swing/plaf/UIResource.java,
1321         javax/swing/plaf/metal/MetalLookAndFeel.java:
1322         Removed redundant modifiers.
1323
1324 2003-10-12  Michael Koch  <konqueror@gmx.de>
1325
1326         * javax/swing/Action.java,
1327         javax/swing/BoundedRangeModel.java,
1328         javax/swing/CellEditor.java,
1329         javax/swing/ComboBoxEditor.java,
1330         javax/swing/ComboBoxModel.java,
1331         javax/swing/DesktopManager.java,
1332         javax/swing/JComboBox.java,
1333         javax/swing/ListCellRenderer.java,
1334         javax/swing/ListSelectionModel.java,
1335         javax/swing/MenuElement.java,
1336         javax/swing/MutableComboBoxModel.java,
1337         javax/swing/Renderer.java,
1338         javax/swing/RootPaneContainer.java,
1339         javax/swing/ScrollPaneConstants.java,
1340         javax/swing/SingleSelectionModel.java,
1341         javax/swing/SpinnerModel.java,
1342         javax/swing/SwingConstants.java,
1343         javax/swing/UIDefaults.java,
1344         javax/swing/WindowConstants.java,
1345         javax/swing/border/Border.java,
1346         javax/swing/colorchooser/ColorSelectionModel.java:
1347         Removed redundant modifiers.
1348
1349 2003-10-11  Michael Koch  <konqueror@gmx.de>
1350
1351         * javax/transaction/Status.java,
1352         javax/transaction/Synchronization.java,
1353         javax/transaction/Transaction.java,
1354         javax/transaction/TransactionManager.java,
1355         javax/transaction/UserTransaction.java,
1356         javax/transaction/xa/XAResource.java,
1357         javax/transaction/xa/Xid.java:
1358         Removing redundant modifiers.
1359
1360 2003-10-11  Michael Koch  <konqueror@gmx.de>
1361
1362         * javax/print/attribute/Attribute.java,
1363         javax/print/attribute/AttributeSet.java,
1364         javax/print/attribute/PrintRequestAttributeSet.java:
1365         Removing redundant modifiers.
1366
1367 2003-10-11  Michael Koch  <konqueror@gmx.de>
1368
1369         * javax/sql/ConnectionEventListener.java,
1370         javax/sql/ConnectionPoolDataSource.java,
1371         javax/sql/DataSource.java,
1372         javax/sql/PooledConnection.java,
1373         javax/sql/RowSet.java,
1374         javax/sql/RowSetInternal.java,
1375         javax/sql/RowSetListener.java,
1376         javax/sql/RowSetMetaData.java,
1377         javax/sql/RowSetReader.java,
1378         javax/sql/RowSetWriter.java,
1379         javax/sql/XAConnection.java,
1380         javax/sql/XADataSource.java:
1381         Removing redundant modifiers.
1382
1383 2003-10-11  Michael Koch  <konqueror@gmx.de>
1384
1385         * javax/naming/Context.java,
1386         javax/naming/Name.java,
1387         javax/naming/NameParser.java,
1388         javax/naming/NamingEnumeration.java,
1389         javax/naming/Referenceable.java,
1390         javax/naming/directory/Attribute.java,
1391         javax/naming/directory/Attributes.java,
1392         javax/naming/directory/DirContext.java,
1393         javax/naming/event/EventContext.java,
1394         javax/naming/event/EventDirContext.java,
1395         javax/naming/event/NamespaceChangeListener.java,
1396         javax/naming/event/NamingListener.java,
1397         javax/naming/event/ObjectChangeListener.java,
1398         javax/naming/ldap/Control.java,
1399         javax/naming/ldap/ExtendedRequest.java,
1400         javax/naming/ldap/ExtendedResponse.java,
1401         javax/naming/ldap/HasControls.java,
1402         javax/naming/ldap/LdapContext.java,
1403         javax/naming/ldap/UnsolicitedNotification.java,
1404         javax/naming/ldap/UnsolicitedNotificationListener.java,
1405         javax/naming/spi/DirObjectFactory.java,
1406         javax/naming/spi/DirStateFactory.java,
1407         javax/naming/spi/InitialContextFactory.java,
1408         javax/naming/spi/InitialContextFactoryBuilder.java,
1409         javax/naming/spi/ObjectFactory.java,
1410         javax/naming/spi/ObjectFactoryBuilder.java,
1411         javax/naming/spi/Resolver.java,
1412         javax/naming/spi/StateFactory.java:
1413         Removing redundant modifiers.
1414
1415 2003-10-11  Michael Koch  <konqueror@gmx.de>
1416
1417         * java/security/Key.java,
1418         * java/security/PrivateKey.java,
1419         * java/security/PublicKey.java,
1420         * java/security/acl/Acl.java,
1421         * java/security/acl/AclEntry.java,
1422         * java/security/acl/Group.java,
1423         * java/security/acl/Owner.java,
1424         * java/security/acl/Permission.java,
1425         * java/security/cert/X509Extension.java,
1426         * java/security/interfaces/DSAKey.java,
1427         * java/security/interfaces/DSAKeyPairGenerator.java,
1428         * java/security/interfaces/DSAParams.java,
1429         * java/security/interfaces/DSAPrivateKey.java,
1430         * java/security/interfaces/DSAPublicKey.java,
1431         * java/security/interfaces/RSAKey.java,
1432         * java/security/interfaces/RSAPrivateCrtKey.java,
1433         * java/security/interfaces/RSAPrivateKey.java,
1434         * java/security/interfaces/RSAPublicKey.java:
1435         Removed redundant modifiers.
1436
1437 2003-10-11  Michael Koch  <konqueror@gmx.de>
1438
1439         * gnu/java/rmi/server/ProtocolConstants.java,
1440         gnu/java/security/der/DER.java:
1441         Removing redundant modifiers.
1442
1443 2003-10-11  Michael Koch  <konqueror@gmx.de>
1444
1445         * java/util/Map.java,
1446         java/util/Observer.java,
1447         java/util/zip/Checksum.java,
1448         java/util/zip/ZipConstants.java:
1449         Removed redundant modifiers.
1450
1451 2003-10-11  Michael Koch  <konqueror@gmx.de>
1452
1453         * java/text/AttributedCharacterIterator.java,
1454         java/text/CharacterIterator.java:
1455         Removed redundant modifiers.
1456
1457 2003-10-11  Michael Koch  <konqueror@gmx.de>
1458
1459         * java/sql/Array.java,
1460         java/sql/Blob.java,
1461         java/sql/CallableStatement.java,
1462         java/sql/Clob.java,
1463         java/sql/Connection.java,
1464         java/sql/DatabaseMetaData.java,
1465         java/sql/Driver.java,
1466         java/sql/ParameterMetaData.java,
1467         java/sql/PreparedStatement.java,
1468         java/sql/Ref.java,
1469         java/sql/ResultSet.java,
1470         java/sql/ResultSetMetaData.java,
1471         java/sql/SQLData.java,
1472         java/sql/SQLInput.java,
1473         java/sql/SQLOutput.java,
1474         java/sql/Savepoint.java,
1475         java/sql/Statement.java,
1476         java/sql/Struct.java:
1477         Removed redundant modifiers.
1478
1479 2003-10-11  Michael Koch  <konqueror@gmx.de>
1480
1481         * java/nio/channels/Channel.java,
1482         java/nio/channels/GatheringByteChannel.java,
1483         java/nio/channels/ReadableByteChannel.java,
1484         java/nio/channels/ScatteringByteChannel.java,
1485         java/nio/channels/WritableByteChannel.java:
1486         Removed redundant modifiers.
1487
1488 2003-10-11  Michael Koch  <konqueror@gmx.de>
1489
1490         * java/rmi/activation/ActivationInstantiator.java,
1491         java/rmi/activation/ActivationMonitor.java,
1492         java/rmi/activation/ActivationSystem.java,
1493         java/rmi/activation/Activator.java,
1494         java/rmi/dgc/DGC.java,
1495         java/rmi/registry/Registry.java,
1496         java/rmi/registry/RegistryHandler.java,
1497         java/rmi/server/LoaderHandler.java,
1498         java/rmi/server/RMIClientSocketFactory.java,
1499         java/rmi/server/RMIFailureHandler.java,
1500         java/rmi/server/RMIServerSocketFactory.java,
1501         java/rmi/server/RemoteCall.java,
1502         java/rmi/server/RemoteRef.java,
1503         java/rmi/server/ServerRef.java,
1504         java/rmi/server/Skeleton.java,
1505         java/rmi/server/Unreferenced.java:
1506         Removed redundant modifiers.
1507
1508 2003-10-11  Michael Koch  <konqueror@gmx.de>
1509
1510         * java/net/ContentHandlerFactory.java,
1511         java/net/DatagramSocketImplFactory.java,
1512         java/net/FileNameMap.java,
1513         java/net/SocketImplFactory.java,
1514         java/net/SocketOptions.java,
1515         java/net/URLStreamHandlerFactory.java:
1516         Removed redundant modifiers.
1517
1518 2003-10-11  Michael Koch  <konqueror@gmx.de>
1519
1520         * java/io/Externalizable.java,
1521         java/io/FileFilter.java,
1522         java/io/FilePermission.java,
1523         java/io/ObjectInput.java,
1524         java/io/ObjectInputValidation.java,
1525         java/io/ObjectOutput.java,
1526         java/io/ObjectStreamClass.java,
1527         java/io/ObjectStreamConstants.java,
1528         java/io/Serializable.java:
1529         Removed redundant modifiers.
1530
1531 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1532
1533         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1534         codebase and context classloader.
1535
1536 2003-10-11  Michael Koch  <konqueror@gmx.de>
1537
1538         * java/beans/beancontext/BeanContext.java,
1539         java/beans/beancontext/BeanContextChild.java,
1540         java/beans/beancontext/BeanContextChildComponentProxy.java,
1541         java/beans/beancontext/BeanContextChildSupport.java,
1542         java/beans/beancontext/BeanContextContainerProxy.java,
1543         java/beans/beancontext/BeanContextMembershipListener.java,
1544         java/beans/beancontext/BeanContextProxy.java,
1545         java/beans/beancontext/BeanContextServiceProvider.java,
1546         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1547         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1548         java/beans/beancontext/BeanContextServices.java,
1549         java/beans/beancontext/BeanContextServicesListener.java:
1550         Removed redundant modifiers.
1551
1552 2003-10-11  Michael Koch  <konqueror@gmx.de>
1553
1554         * java/beans/AppletInitializer.java,
1555         java/beans/BeanInfo.java,
1556         java/beans/Customizer.java,
1557         java/beans/DesignMode.java,
1558         java/beans/PropertyEditor.java,
1559         java/beans/Visibility.java:
1560         Removed redundant modifiers.
1561
1562 2003-10-11  Michael Koch  <konqueror@gmx.de>
1563
1564         * java/awt/print/Pageable.java,
1565         * java/awt/print/Printable.java,
1566         java/awt/print/PrinterGraphics.java:
1567         Removed redundant modifiers.
1568
1569 2003-10-11  Michael Koch  <konqueror@gmx.de>
1570
1571         * java/awt/peer/ButtonPeer.java,
1572         java/awt/peer/CheckboxMenuItemPeer.java,
1573         java/awt/peer/CheckboxPeer.java,
1574         java/awt/peer/ChoicePeer.java,
1575         java/awt/peer/ComponentPeer.java,
1576         java/awt/peer/ContainerPeer.java,
1577         java/awt/peer/DialogPeer.java,
1578         java/awt/peer/FileDialogPeer.java,
1579         java/awt/peer/FramePeer.java,
1580         java/awt/peer/LabelPeer.java,
1581         java/awt/peer/ListPeer.java,
1582         java/awt/peer/MenuBarPeer.java,
1583         java/awt/peer/MenuComponentPeer.java,
1584         java/awt/peer/MenuItemPeer.java,
1585         java/awt/peer/MenuPeer.java,
1586         java/awt/peer/PopupMenuPeer.java,
1587         java/awt/peer/RobotPeer.java,
1588         java/awt/peer/ScrollPanePeer.java,
1589         java/awt/peer/ScrollbarPeer.java,
1590         java/awt/peer/TextAreaPeer.java,
1591         java/awt/peer/TextComponentPeer.java,
1592         java/awt/peer/TextFieldPeer.java,
1593         java/awt/peer/WindowPeer.java:
1594         Removed redundant modifiers.
1595
1596 2003-10-11  Michael Koch  <konqueror@gmx.de>
1597
1598         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1599         * gnu/java/nio/ServerSocketChannelImpl.java
1600         (serverSocket): Made it a NIOServerSocket.
1601         (impl): Removed.
1602         (ServerSocketChannelImpl): Initialize only serverSocket.
1603         (initServerSocket): Removed.
1604         (getNativeFD): Rewritten.
1605         (implConfigureBlocking): Set socket timeout and removed comment.
1606         (accept): Rewritten.
1607         * gnu/java/nio/SocketChannelImpl.java
1608         (impl): New variable.
1609         (connected): Removed.
1610         (SocketChannelImpl): Initialize impl too.
1611         (getImpl): New method.
1612         (isConnected): Rewritten.
1613         (read): Rewritten, set position in buffer correctly.
1614         (write): Set position in buffer correctly.
1615         * java/net/ServerSocket.java (getImpl): New method.
1616         * gnu/java/nio/NIOServerSocket.java,
1617         gnu/java/nio/natNIOServerSocket.cc: New files.
1618         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1619         * Makefile.am
1620         (ordinary_java_source_files):
1621         Added gnu/java/nio/NIOServerSocket.java.
1622         (nat_source_files):
1623         Removed gnu/java/nio/natServerSocketChannelImpl.cc
1624         and added gnu/java/nio/natNIOServerSocket.cc.
1625         * Makefile.in: Regenerated.
1626
1627 2003-10-11  Michael Koch  <konqueror@gmx.de>
1628
1629         * java/awt/ActiveEvent.java,
1630         java/awt/datatransfer/ClipboardOwner.java,
1631         java/awt/datatransfer/FlavorMap.java,
1632         java/awt/datatransfer/Transferable.java,
1633         java/awt/dnd/Autoscroll.java,
1634         java/awt/dnd/peer/DragSourceContextPeer.java,
1635         java/awt/dnd/peer/DropTargetContextPeer.java,
1636         java/awt/dnd/peer/DropTargetPeer.java,
1637         java/awt/font/MultipleMaster.java,
1638         java/awt/font/OpenType.java,
1639         java/awt/im/spi/InputMethodDescriptor.java,
1640         java/awt/image/ImageObserver.java,
1641         java/awt/image/ImageConsumer.java,
1642         java/awt/image/ImageProducer.java,
1643         java/awt/image/RGBImageFilter.java,
1644         java/awt/image/RasterOp.java,
1645         java/awt/image/renderable/RenderableImage.java:
1646         Removed redundant modifiers.
1647
1648 2003-10-11  Michael Koch  <konqueror@gmx.de>
1649
1650         * gnu/awt/j2d/DirectRasterGraphics.java,
1651         gnu/java/awt/EmbeddedWindowSupport.java:
1652         Removed redundant modifiers.
1653
1654 2003-10-09  Michael Koch  <konqueror@gmx.de>
1655
1656         * gnu/java/nio/SelectorImpl.java (register):
1657         Use ServerSocketChannelSelectionKey for server socket channels,
1658         removed unneeded comments.
1659         * gnu/java/nio/ServerSocketChannelImpl.java
1660         (ServerSocketChannelImpl): Made class public final.
1661         (impl): New member variable.
1662         (ServerSocketChannelImpl): Initialize member variables correctly.
1663         (initServerSocket): New method.
1664         (getNativeFD): Likewise.
1665         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1666         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1667         * Makefile.am (ordinary_java_source_files):
1668         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1669         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1670         * Makefile.in: Regenrated.
1671
1672 2003-10-09  Michael Koch  <konqueror@gmx.de>
1673
1674         * java/nio/channels/spi/AbstractSelectableChannel.java
1675         (registered): Made private.
1676         (blocking): Likewise.
1677         (LOCK): Likewise.
1678         (provider): Likewise.
1679         (keys): Made it a private LinkedList.
1680         (AbstractSelectableChannel): Initialize keys.
1681         (isRegistered): New implementation.
1682         (locate): Rewritten.
1683         (register): Rewritten.
1684         * java/nio/channels/spi/AbstractSelectionKey.java
1685         (ok): Removed.
1686         (cancelled): New member variable.
1687         (cancel): Rewritten.
1688         (isValid): Rewritten.
1689         * java/nio/channels/spi/AbstractSelector.java:
1690         Some methods moved.
1691         (closed): Make private.
1692         (provider): Likewise.
1693         (cancelledKeys): New member variable.
1694         (AbstractSelector): Initialize cancelledKeys.
1695         (cancelKey): New method.
1696
1697 2003-10-09  Tom Tromey  <tromey@redhat.com>
1698
1699         * java/lang/ClassLoader.java (setSigners): Implemented.
1700         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1701         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1702         Initialize new fields.
1703         * java/lang/Class.java (getSigners): Now native.
1704         (setSigners): Declare.
1705         * java/lang/natClass.cc (getSigners): New method.
1706         (getSigners): Likewise.
1707         * java/lang/Class.h (Class::signers): New field.
1708         (Class::setSigners): New method.
1709
1710 2003-10-09  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/rmi/server/RMIClassLoader.java:
1713         Removed unused imports, little reformatings.
1714         (getClassLoader): New method, implementation was part of old loadCLass
1715         method.
1716         (loadClass): Simplified by moving functionality to new method and
1717         reworking the code a bit.
1718         (getClassAnnotation): Merged documentation from classpath.
1719
1720 2003-10-09  Michael Koch  <konqueror@gmx.de>
1721
1722         * java/math/BigInteger.java
1723         (add): Removed unused local variable len.
1724
1725 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1726
1727         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1728         modality check.
1729         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1730         Initialize insets to use latest insets.
1731         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1732         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1733         field.
1734         (postConfigureEvent): Update latestInsets field when insets
1735         change.  Remove call to setSize.  Move validate call outside of
1736         if blocks.
1737         (setVisible): Call setBounds before showing window.
1738         (nativeSetVisible): New native method.
1739         * java/awt/Window.java (show): Show visible owned windows.
1740         (hide): Hide visible owned windows.
1741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1742         (awt_event_handler): Implement modality using GTK grabs.
1743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1744         (global_gtk_window_group): New global variable.
1745         (gtkInit): Initialize global_gtk_window_group.
1746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1747         Clamp width and height values to at least 1.  Add this window to
1748         the global GTK window group.
1749         (setVisible): Rename to nativeSetVisible.
1750         (setup_window): Remove function.
1751         (setSize): Clamp width and height values to at least 1.
1752         (nativeSetBounds): Likewise.
1753         (gdk_window_get_root_geometry): Remove function.
1754         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1755         and setup_window declarations.  Declare global_gtk_window_group.
1756
1757         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1758         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1759         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1760         (gtkWidgetSetForeground): New method.
1761         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1762         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1763         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1764         (setBackground, setForeground): Implement.
1765         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1766         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1767         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1768         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1769         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1771         Position PangoLayout relative to text's baseline.
1772         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1773
1774         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1775         for CENTER and RIGHT alignments.
1776
1777 2003-10-08  Michael Koch  <konqueror@gmx.de>
1778
1779         * java/security/Security.java: Reformated.
1780
1781 2003-10-08  Michael Koch  <konqueror@gmx.de>
1782
1783         * java/text/SimpleDateFormat.java
1784         (compileFormat): Replace Character.isLetter() test with
1785         Character.isLowerCase() || Character.isUpperCase().
1786
1787 2003-10-08  Tom Tromey  <tromey@redhat.com>
1788
1789         * java/lang/StrictMath.java (toDegrees): Multiply before
1790         dividing.
1791         (toRadians): Likewise.
1792
1793 2003-10-08  C. Brian Jones  <cbj@gnu.org>
1794
1795         * java/lang/Math.java
1796         (toRadians): multiply before dividing to reduce decimal error
1797         (toDegrees): ditto
1798
1799 2003-10-08  Michael Koch  <konqueror@gmx.de>
1800
1801         * gnu/gcj/protocol/core/Connection.java,
1802         gnu/gcj/protocol/core/CoreInputStream.java,
1803         gnu/gcj/protocol/core/Handler.java,
1804         gnu/gcj/protocol/core/natCoreInputStream.cc,
1805         gnu/gcj/protocol/file/Connection.java,
1806         gnu/gcj/protocol/file/Handler.java,
1807         gnu/gcj/protocol/gcjlib/Connection.java,
1808         gnu/gcj/protocol/gcjlib/Handler.java,
1809         gnu/gcj/protocol/http/Connection.java,
1810         gnu/gcj/protocol/http/Handler.java,
1811         gnu/gcj/protocol/jar/Connection.java,
1812         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
1813         * gnu/java/net/protocol/core/Connection.java,
1814         gnu/java/net/protocol/core/CoreInputStream.java,
1815         gnu/java/net/protocol/core/Handler.java,
1816         gnu/java/net/protocol/core/natCoreInputStream.cc,
1817         gnu/java/net/protocol/file/Connection.java,
1818         gnu/java/net/protocol/file/Handler.java,
1819         gnu/java/net/protocol/gcjlib/Connection.java,
1820         gnu/java/net/protocol/gcjlib/Handler.java,
1821         gnu/java/net/protocol/http/Connection.java,
1822         gnu/java/net/protocol/http/Handler.java,
1823         gnu/java/net/protocol/jar/Connection.java,
1824         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
1825         * gnu/gcj/runtime/FirstThread.java,
1826         java/net/URL.java: Use moved protocol handlers.
1827         * Makefile.am
1828         (ordinary_java_source_files): Moved files.
1829         (nat_source_files): Likewise.
1830         * Makefile.in: Regenerated.
1831
1832 2003-10-08  Michael Koch  <konqueror@gmx.de>
1833
1834         * gnu/java/nio/SocketChannelImpl.java
1835         (read): Write only read data to buffer.
1836
1837 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1838
1839         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
1840         out.
1841         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
1842         (JCL_free): Attach "unused" attribute to env parameter.
1843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1844         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1845         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1846         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1847         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1848         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1849         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1851         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
1852         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1853         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1854         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1855         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
1856         parameters.
1857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
1858         (initNativeState): Pass 0 as info argument to
1859         gtk_selection_add_target.
1860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1861         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
1862         unused method implementations.
1863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1864         (awt_event_handler): Add break statement after default label.
1865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
1866         (drawPixels): Remove unused variable i.
1867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1868         (setEnabled): Remove method implementation.
1869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1870         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
1871         argument.
1872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
1873         unused function.
1874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
1875         (menu_pos): Assign TRUE to push_in.
1876         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
1877         argument.
1878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1879         (create): Remove unused variable layout.
1880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1881         Pass window_widget, rather than window, to
1882         gtk_widget_set_size_request.
1883         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
1884         structure initialization with NULL values.
1885         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
1886
1887 2003-10-08  Michael Koch  <konqueror@gmx.de>
1888
1889         * java/util/LinkedList.java:
1890         Removed whitespace to match classpath's version again.
1891
1892 2003-10-08  Michael Koch  <konqueror@gmx.de>
1893
1894         * java/util/prefs/Preferences.java
1895         (defaultFactoryClass): Fixed class name.
1896         (getFactory): Create instance of class returned by Class.forName(),
1897         reformated code.
1898
1899 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
1900
1901         * javax/swing/table/AbstractTableModel.java
1902         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
1903         helped stop pulling my hair on this +1 then -1 tricky thing!
1904
1905 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1906
1907         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
1908         Remove unused parameters.
1909         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
1910         Likewise.
1911         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1912         (keyevent_state_to_awt_mods): Export function.
1913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1914         (getCaretPosition): Fix TextArea case.
1915         (textcomponent_commit_cb): Get exact event time and modifier
1916         state.
1917         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
1918
1919 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
1920
1921         * java/net/InetSocketAddress.java
1922         (InetSocketAddress): Made exception more clear.
1923         (equals): Handle case when addr is null.
1924         (toString): Likewise.
1925         * java/net/NetworkInterface.java
1926         (static): Load native library.
1927         (getNetworkInterfaces): Rewritten.
1928
1929 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1930
1931         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
1932         field.
1933         (initializeInsets): New method.
1934         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
1935         setBounds unconditionally.
1936         (setBounds): Convert coordinates if parent is a Window.
1937         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
1938         field to GtkComponentPeer.
1939         (GtkContainerPeer): Don't initialize insets.
1940         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1941         New method.
1942         (create): Call new GtkWindowPeer create method.
1943         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
1944         New method.
1945         (create): Call new GtkWindowPeer create method.
1946         (setBounds): Remove method.
1947         (postConfigureEvent): Likewise.
1948         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
1949         type constants with GDK window type constants.
1950         (create(int,boolean,int,int,GtkWindowPeer)): New method.
1951         (create(int,boolean)): Likewise.
1952         (create()): Call create(int,boolean).
1953         (nativeSetBounds): New native method declaration.
1954         (setBounds): Call native method declaration.
1955         (setSize): New native method declaration.
1956         (setBoundsCallback): Likewise.
1957         (postConfigureEvent): Handle change in insets.  Call setSize and
1958         setBoundsCallback methods.
1959         * java/awt/Window.java (Window): Set visible to false.
1960         (setBoundsCallback): New method.
1961         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1962         (gtkWidgetGetLocationOnScreen): If this component is not a
1963         container, adjust the location returned based on the peer's
1964         allocation.
1965         (set(String,boolean)): Revert change from 2003-09-19.
1966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1967         (awt_event_handler): Fix inset calculation.
1968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1969         glue for Window.setBoundsCallback.
1970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1971         Set up stacking order, window decorations and window manager
1972         hints.
1973         (setBoundsCallback): New method.
1974         (setSize): New method.
1975         (nativeSetBounds): New method.
1976         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
1977
1978 2003-10-02  Tom Tromey  <tromey@redhat.com>
1979
1980         * java/lang/VMClassLoader.java (loadClass): Now native.
1981         * java/lang/natClassLoader.cc (loadClass): Implement.
1982         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
1983
1984 2003-10-02  Michael Koch  <konqueror@gmx.de>
1985
1986         * java/net/InetAddress.java
1987         (zeros): Removed.
1988         (ANY_IF): Initalizie in static block.
1989         (static): Load library with native methods here and initialize ANY_IF.
1990         (isAnyLocalAddress): Check if equal to ANY_IF.
1991         (equals): Use addr directly instead of addr1. Simplify for loop.
1992         (toString): Rename "result" to "host" and add IP address allways.
1993         (getLocalHost): Merged documentation from classpath.
1994         * java/net/ServerSocket.java
1995         (ServerSocket): New package-private constructor used by java.nio.
1996         * java/net/URLConnection.java
1997         (getRequestProperties): Check if already connected.
1998
1999 2003-10-02  Michael Koch  <konqueror@gmx.de>
2000
2001         * java/nio/ByteBufferHelper.java:
2002         Rewrote all methods by suggestions from Eric Blake.
2003
2004 2003-10-02  Michael Koch  <konqueror@gmx.de>
2005
2006         * java/net/URL.java
2007         (DEFAULT_SEARCH_PATH): New static variable.
2008         (ph_cache): Made it a HashMap.
2009         (getURLStreamHandler): Rename propVal to ph_search_path and use
2010         DEFAULT_SEARCH_PATH.
2011
2012 2003-10-02  Michael Koch  <konqueror@gmx.de>
2013
2014         * javax/swing/table/AbstractTableModel.java
2015         (findColumnName): Prevent from NullPointerException if argument
2016         columnName is null.
2017
2018 2003-10-02  Michael Koch  <konqueror@gmx.de>
2019
2020         * javax/swing/table/AbstractTableModel.java:
2021         This patch is based on a patch done by Arnaud Vandyck
2022         <arnaud.vandyck@ulg.ac.be>.
2023         (getColumnName): Fixed method documentation.
2024         (findColumn): Likewise.
2025         (getColumnClass): Likewise.
2026         (isCellEditable): Likewise.
2027         (setValueAt): Likewise.
2028         (addTableModelListener): Likewise.
2029         (removeTableModelListener): Likewise.
2030         (getTableModelListeners): New method.
2031
2032 2003-10-02  Michael Koch  <konqueror@gmx.de>
2033
2034         * javax/swing/table/AbstractTableModel.java:
2035         Reformated.
2036
2037 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2038
2039         Fix PR libgcj/12475
2040         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2041         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2042
2043 2003-10-01  Tom Tromey  <tromey@redhat.com>
2044
2045         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2046
2047 2003-10-01  Andrew Haley  <aph@redhat.com>
2048
2049         * java/lang/natClass.cc (initializeClass): Check for otable and
2050         atable.
2051         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2052         loops using for().  Search superinterfaces.  Check for fields as
2053         well as methods.  Initialize atable as well as otable: check for
2054         static methods as well as virtual methods.
2055         * java/lang/Class.h (struct _Jv_AddressTable): New.
2056         (atable): New.
2057         (atable_syms): New.
2058         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2059         * prims.cc (_Jv_equalUtf8Consts): constify.
2060
2061 2003-09-29  Tom Tromey  <tromey@redhat.com>
2062
2063         PR libgcj/10596:
2064         * include/jvm.h (_Jv_FinalizeString,
2065         _Jv_RegisterStringFinalizer): Declare.
2066         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2067         unintern.
2068         (intern): Updated.
2069         (_Jv_NewStringUtf8Const): Likewise.
2070         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2071         Add special case when finalizing a String.
2072         (in_hash): New function.
2073         (_Jv_RegisterStringFinalizer): Likewise.
2074         (maybe_add_finalize): Likewise.
2075
2076 2003-09-29  Michael Koch  <konqueror@gmx.de>
2077
2078         * java/net/InetAddress.java:
2079         (isMulticastAddress): Dont use local variable to store address length.
2080         Let the compiler optimize this.
2081         (getHostName): Merged dcoumentation from classpath.
2082         (getAddress): Likewise.
2083         (getHostAddress): Likewise.
2084         (hashCode): Likewise.
2085         (equals): Likewise.
2086         (toString): Likewise.
2087         (getByName): Likewise.
2088         (getAllByName): Likewise.
2089
2090 2003-09-29  Michael Koch  <konqueror@gmx.de>
2091
2092         * java/awt/image/IndexColorModel.java: Reformated.
2093
2094 2003-09-29  Michael Koch  <konqueror@gmx.de>
2095
2096         * java/net/InetAddress.java,
2097         java/net/URL.java: Reformated.
2098
2099 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2100
2101         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2102         significant bit of descriptor. Include the vtable and sync_info 
2103         fields.
2104
2105 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2106
2107         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2108         if `obj' is not a Number or Date instance.
2109         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2110         instead of Vector.
2111
2112 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2113
2114         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2115         Don't call setTimeZone on calendar.
2116
2117 2003-09-27  Michael Koch  <konqueror@gmx.de>
2118
2119         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2120
2121 2003-09-27  Michael Koch  <konqueror@gmx.de>
2122
2123         * java/net/URL.java (getURLStreamHandler):
2124         Check if we have to use cache before trying to retrieve handler from
2125         cache. Rename facName to clsName to match classpath more. Reformated
2126         some little pieces.
2127
2128 2003-09-27  Michael Koch  <konqueror@gmx.de>
2129
2130         * gnu/java/nio/SelectionKeyImpl.java
2131         (ch): Make package-private again. Jikes found this bug.
2132         Jeff Sturm submitted PR12426 for this to bugzilla
2133         to fix this bug in gcj.
2134
2135 2003-09-26  Michael Koch  <konqueror@gmx.de>
2136
2137         * java/rmi/server/RMIClassLoader.java:
2138         Reformatted file, no functional code changes.
2139
2140 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2141
2142         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2143         Save space for some pixels at the buffer end.  Added Javadoc.
2144
2145 2003-09-26  Tom Tromey  <tromey@redhat.com>
2146
2147         * java/io/ObjectOutputStream.java (writeFields): Fixed
2148         indentation.
2149         (putFields): Likewise.
2150
2151 2003-09-26  Michael Koch  <konqueror@gmx.de>
2152
2153         * java/nio/ByteBufferHelper.java:
2154         Totally reworked with help from Eric Blake.
2155
2156 2003-09-26  Tom Tromey  <tromey@redhat.com>
2157
2158         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2159         * java/awt/geom/PathIterator.java: Documentation fixes.
2160
2161 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2162
2163         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2164         (select): Likewise.
2165         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2166
2167 2003-09-25  Michael Koch  <konqueror@gmx.de>
2168
2169         * gnu/java/nio/DatagramChannelImpl.java
2170         (getNativeFD): New method.
2171         * gnu/java/nio/SelectionKeyImpl.java
2172         (SelectionKeyImpl): Class made abstract.
2173         (fd): Removed.
2174         (SelectionKeyImpl): Remove fd argument.
2175         (getNativeFD): New method.
2176         * gnu/java/nio/SocketChannelImpl.java
2177         (getNativeFD): New method.
2178         gnu/java/nio/DatagramChannelSelectionKey.java,
2179         * gnu/java/nio/SocketChannelSelectionKey.java:
2180         New files.
2181         * Makefile.am (ordinary_java_source_files):
2182         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2183         gnu/java/nio/SocketChannelSelectionKey.java.
2184         * Makefile.in: Regenerated.
2185
2186 2003-09-25  Michael Koch  <konqueror@gmx.de>
2187
2188         * java/lang/reflect/Proxy.java
2189         (getProxyClass): Remove workaround for gcj 3.0.x.
2190
2191 2003-09-25  Michael Koch  <konqueror@gmx.de>
2192
2193         * gnu/java/net/PlainDatagramSocketImpl.java
2194         (finalize): Moved to directly after constructor.
2195         (getNativeFD): New method.
2196         * gnu/java/net/PlainSocketImpl.java
2197         (getNativeFD): New method.
2198
2199 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2200
2201         * java/io/ObjectOutputStream.java:
2202         Allow putFields be called more than once.
2203
2204 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2205
2206         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2207         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2208         * java/awt/image/BufferedImage.java (toString): Implement.
2209
2210 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2211
2212         * aclocal.m4: Rebuilt.
2213         * configure: Rebuilt.
2214
2215 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2216
2217         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2218         field.
2219
2220 2003-09-25  Michael Koch  <konqueror@gmx.de>
2221
2222         * gnu/java/nio/SelectorImpl.java
2223         (implSelect): Renamed from java_do_select.
2224         (select): Call native implSelect() and add support for Thread
2225         interruption.
2226         * gnu/java/nio/natSelectorImpl.cc
2227         (implSelect): Renamed from java_do_select.
2228
2229 2003-09-25  Michael Koch  <konqueror@gmx.de>
2230
2231         * gnu/java/nio/SelectorImpl.java
2232         (selectNow): Made final, throws IOException.
2233         (select): Likewise.
2234         (getFDsAsArray): Made final.
2235         (selectedKeys): Likewise.
2236         (wakeup): Likewise.
2237         (deregisterCancelledKeys): Likewise.
2238         (register): Likewise.
2239         (ass): Removed.
2240         (add_selected): Removed.
2241         * gnu/java/nio/natSelectorImpl.cc:
2242         No need to include bstring.h or gcj/cni.h.
2243         (helper_put_filedescriptors): Rewritten.
2244         (helper_get_filedescriptors): Rewritten.
2245
2246 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2247
2248         * java/awt/font/FontRenderContext.java (getTransform): Return
2249         copy of internal transform object. Add Javadoc.
2250         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2251         winding rule as Sun J2SE.
2252         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2253
2254 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2255
2256         * java/rmi/Naming.java:
2257         Added comments, now accepts pseudo protocol "rmi".
2258
2259 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2260
2261         * java/text/DecimalFormat.java (format): Don't immediatly round
2262         baseNumber to long.
2263         (setMinimumIntegerDigits): Call super.
2264         (setMinimumFractionDigits): Likewise.
2265         (setMaximumIntegerDigits): Likewise.
2266         (setMaximumFractionDigits): Likewise.
2267
2268 2003-09-25  Michael Koch  <konqueror@gmx.de>
2269
2270         * gnu/java/nio/DatagramChannelImpl.java
2271         (DatagramChannelImpl): Made class final.
2272         (blocking): Made private.
2273         (socket): Made it a NIODatagramSocket and private.
2274         (DatagramChannelImpl): create NIODatagramSocket instead of
2275         DatagramSocket.
2276         (implConfigureBlocking): Set socket timeout.
2277         (connect): Check that channel is not closed.
2278         (write): Implemented.
2279         (write): Rewritten.
2280         (read): Implemented.
2281         (read): Rewritten.
2282         (receive): Implemented.
2283         (send): Implemented.
2284         * gnu/java/nio/SelectionKeyImpl.java
2285         (readyOps): Made private.
2286         (interestOps): Made private.
2287         (impl): Made private.
2288         (ch): Made private.
2289         (readyOps): Check if selection key is valid.
2290         (interestOps): Likewise.
2291         * gnu/java/nio/SelectorImpl.java
2292         (closed): Removed.
2293         (keys): Made private.
2294         (selected): Made private.
2295         (finalize): New method.
2296         (implCloseSelector): Rewritten.
2297         (keys): Return unmodifiable Set.
2298         (deregisterCancelledKeys): Fixed typo in method name.
2299         * gnu/java/nio/SocketChannelImpl.java
2300         (SocketChannelImpl): Made class final.
2301         (socket): Made it a NIOSocket and private.
2302         (blocking): Made private.
2303         (connected): Made private.
2304         (connectionPending): New member variable.
2305         (SocketChannelImpl): New implementation.
2306         (finalizer): Use isConnected().
2307         (connect): Rewritten.
2308         (finishConnect): Throws IOException, implemented.
2309         (isConnectionPending): Return connectionPending.
2310         (read): Rewritten.
2311         (write): Rewritten.
2312         * gnu/java/nio/NIOConstants.java: New file.
2313         * Makefile.am (ordinary_java_source_files):
2314         Added gnu/java/nio/NIOConstants.java.
2315         * Makefile.in: Regenerated.
2316
2317 2003-09-25  Michael Koch  <konqueror@gmx.de>
2318
2319         * java/net/InetAddress.java:
2320         Reorder imports, remove implementation comment.
2321         (isMulticastAddress): Merged documentation from classpath.
2322         * java/net/URLConnection.java
2323         (setRequestProperty): Check key for null, fix documentation.
2324         (adREquestProperty): Check key for null, remove wrong implementation
2325         and replace it with comment to overwrite this method in subclasses,
2326         fix documentation.
2327
2328 2003-09-25  Tom Tromey  <tromey@redhat.com>
2329
2330         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2331         domain code.
2332         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2333         argument.
2334         (linkClass0): Now in VMClassLoader.
2335         (markClassErrorState0): Likewise.
2336         (getSystemClassLoaderInternal): New method.
2337         * java/lang/natClass.cc (initializeClass): Use
2338         VMClassLoader::resolveClass.
2339         * java/lang/ClassLoader.java: New version, from Classpath.
2340         * java/lang/Class.java (getProtectionDomain):
2341         protectionDomainPermission and unknownProtectionDomain now in
2342         VMClassLoader.
2343         * java/lang/Class.h: VMClassLoader now a friend class.
2344         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2345         package-private.
2346         * gcj/javaprims.h: Regenerated class list.
2347         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2348         * java/lang/VMClassLoader.java: New version from Classpath;
2349         modified for libgcj use.
2350
2351 2003-09-25  Michael Koch  <konqueror@gmx.de>
2352
2353         * java/nio/ByteBufferHelper.java:
2354         New file.
2355         * java/nio/ByteBufferImpl.java,
2356         java/nio/DirectByteBufferImpl.java,
2357         java/nio/MappedByteBufferImpl.java
2358         (getType,putType): Use new helper class ByteBufferHelper.
2359         * Makefile.am (ordinary_java_source_files):
2360         Added java/nio/ByteBufferHelper.java.
2361         * Makefile.in: Regenerated.
2362
2363 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2364
2365         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2366         PR libgcj/12388.
2367
2368 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2369
2370         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2371         Strings, even if buffer is already shared.
2372
2373 2003-09-24  Michael Koch  <konqueror@gmx.de>
2374
2375         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2376
2377 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2378
2379         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2380         (write): Likewise.
2381         (SocketInputStream): Declare `read' and `write' methods native.
2382         Remove implementations which called back into PlainSocketImpl.
2383         Remove unneccessary overridden methods.
2384         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2385         to inner class PlainSocketImpl.SocketInputStream.
2386         (write): Likewise.
2387         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2388         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2389         * gnu/java/net/SocketInputStream.java: Remove unused file.
2390         * gnu/java/net/SocketOutputStream.java: Likewise.
2391         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2392         and SocketOutputStream.
2393         * Makefile.in: Rebuilt.
2394
2395 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2396
2397         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2398
2399         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2400         markers.
2401
2402 2003-09-22  Anthony Green  <green@redhat.com>
2403
2404         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2405         * configure: Rebuilt.
2406
2407 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2408
2409         PR java/12350:
2410         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2411
2412 2003-09-22  Michael Koch  <konqueror@gmx.de>
2413
2414         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2415         compiler warning but produces a different one now.
2416
2417 2003-09-22  Michael Koch  <konqueror@gmx.de>
2418
2419         * java/net/InetAddress.java:
2420         Moves around some code, reformats and adds documentation.
2421         No functional changes.
2422
2423 2003-09-22  Michael Koch  <konqueror@gmx.de>
2424
2425         * java/net/JarURLConnection.java
2426         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2427         (getCertificates): Made it more error prone.
2428         (getMainAttributes): Likewise.
2429         (getAttributes): Implemented.
2430         (getManifest): Reformatted code.
2431
2432 2003-09-20  Tom Tromey  <tromey@redhat.com>
2433
2434         * java/awt/Component.java: Indentation cleanup from Classpath.
2435
2436 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2437
2438        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2439        checking to follow 1.4.2 spec.
2440
2441 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2442
2443         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2444         is compatible in case client and server are running in the same VM
2445         (remerged from Classpath on 2003-09-20)
2446
2447 2003-09-19  David Daney <ddaney@avtrex.com>
2448
2449         * java/lang/ref/Reference.java (clear): Set referent to null and
2450         synchronize.
2451
2452 2003-09-19  Michael Koch  <konqueror@gmx.de>
2453
2454         * gnu/java/nio/NIODatagramSocket.java,
2455         gnu/java/nio/NIOSocket.java: New files.
2456         * Makefile.am (ordinary_java_source_files):
2457         Added gnu/java/nio/NIODatagramSocket.java and
2458         gnu/java/nio/NIOSocket.java.
2459         * Makefile.in: Regenerated.
2460
2461 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2462
2463         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2464         top-level GTK window.
2465         (getArgs): Add "title" property.
2466         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2467         "allow_shrink" and "allow_grow" properties.
2468         * java/awt/Dialog.java: Initialize resizable to true and change
2469         comments accordingly.  Initialize visible to false in
2470         constructors.
2471         * java/awt/Frame.java (dispose): Remove method.
2472         * java/awt/Window.java (ownedWindows): New field.
2473         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2474         owner's ownedWindows vector.
2475         (finalize): Remove method.
2476         (hide): Hide owned windows.
2477         (dispose): Dispose of owned windows.
2478         (getOwnedWindows): Implement.
2479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2480         unused GtkArg code.
2481         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2482         to TRUE or FALSE.
2483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2484         (create): Set window's size requisition.
2485         (connectHooks): Fix indentation.
2486         (setResizable): Remove function.
2487         (static setBounds): Likewise.
2488         (setBounds): Replace call to setBounds with GTK size requisition
2489         and resize calls.
2490
2491 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2492
2493         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2494         function for lazy initialization of an auto-reset event.
2495         (_Jv_CondWait) Added thread interrupt support.
2496         (_Jv_ThreadInitData) Added initialization of interrupt support
2497         members.
2498         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2499         (_Jv_ThreadStart) Removed unused code.
2500         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2501         to an external caller.
2502         (_Jv_ThreadInterrupt) Implemented.
2503         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2504         event for interrupt support as well as a mutex which regulates
2505         access to this.
2506         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2507         event to an external caller.
2508         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2509         process.
2510         (waitFor) Added interrupt support.
2511
2512 2003-09-19  Michael Koch  <konqueror@gmx.de>
2513
2514         * java/net/DatagramSocket.java (getLocalAddress):
2515         Renamed result variable to localAddr.
2516         * java/net/MulticastSocket.java:
2517         No need to import gnu.java.net.PlainDatagramSocketImpl.
2518
2519 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2520
2521         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2522         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2523
2524 2003-09-18  Tom Tromey  <tromey@redhat.com>
2525
2526         * javax/naming/InitialContext.java: Reindented.
2527
2528 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2529             Helmer Kraemer <hkraemer@freenet.de>
2530
2531         * javax/naming/spi/NamingManager.java (getURLContext,
2532         getObjectInstance, getStateToBind): Always use current thread's
2533         context class loader when calling Class.forName.
2534
2535 2003-09-18  Michael Koch  <konqueror@gmx.de>
2536
2537         * java/util/Timer.java (finalize): Added "throws Throwable".
2538
2539 2003-09-18  Michael Koch  <konqueror@gmx.de>
2540
2541         * java/net/DatagramSocket.java
2542         (ch): Removed.
2543         (receive): Use getChannel() instead of ch.
2544         (send): Likewise.
2545         (getChannel): Return null.
2546         * java/net/ServerSocket.java
2547         (ch): Removed.
2548         (setChannel): Removed.
2549         (implAccept): Use getChannel() instead of ch.
2550         (close): Likewise.
2551         (getChannel): Return null.
2552         * java/net/Socket.java
2553         (ch): Removed.
2554         (connect): Use getChannel() instead of ch.
2555         (setChannel): Removed.
2556         (getChannel): Return null.
2557
2558 2003-09-18  Mark Wielaard  <mark@klomp.org>
2559
2560         Reported by Guilhem Lavaux and Julian Dolby
2561         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2562         field "serialPersistentFields", not "getSerialPersistentFields".
2563
2564 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2565
2566         * java/util/TimeZone.java: Initialize lazily.
2567         * java/util/Locale.java (readManifest): Fix check for country.
2568         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2569         traceable 
2570         * java/util/Calendar.java: Make use of ResourceBundle better
2571         traceable.
2572
2573 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2574
2575         * java/sql/Timestamp.java
2576         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2577
2578 2003-09-18  David P Grove  <groved@us.ibm.com>
2579
2580         * java/io/LineNumberReader (read): Don't reset pos & limit when
2581         markPos is 0.
2582
2583 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2584
2585         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2586         constant.
2587         (computeArguments): use computeTypicalArguments.
2588
2589         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2590         Compile_jikes.java and RMICException.java.
2591         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2592         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2593         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2594  
2595         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2596  
2597         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2598         (computeTypicalArguments): New method.
2599         (compile): Print compiler output to System.out. Collect compiler
2600         error output and use it in exception message.
2601  
2602         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2603         (destination): Initialize to null.
2604         (run): Replace file separator with '.' when processing class.
2605         (processClass): Replace '.' with file separator when compiling
2606         classes.
2607         (findClass): Use SystemClassLoader to load class.
2608         (generateStub): Use full class name for generated stub, that puts
2609         it in right path.  Replace '.' with file separator when generating
2610         stub file name. Write just the stub class name without package
2611         information as class name, and constructor name. Write only
2612         interface names for interfaces extending java.rmi.Remote as
2613         implemented.
2614         (generateSkel): Use full class name for generated skel, that puts
2615         it in right path.  Replace '.' with file separator when generating
2616         stub file name. Write just the stub class name without package
2617         information as class name.
2618
2619 2003-09-18  Michael Koch  <konqueror@gmx.de>
2620
2621         * Makefile.am (rmi_java_source_files):
2622         Added gnu/java/rmi/rmic/Compile_kjc.java,
2623         gnu/java/rmi/rmic/Compile_jikes.java and
2624         gnu/java/rmi/rmic/RMICException.java
2625         * Makefile.in: Regenerated.
2626
2627 2003-09-17  Graydon Hoare  <graydon@redhat.com>
2628
2629         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2630         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2631         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2632         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
2633         New files.
2634
2635 2003-09-16  Graydon Hoare  <graydon@redhat.com>
2636
2637         * java/awt/BufferedImage.java (setData): Support non-component
2638         sample models.
2639         (getData): Same.
2640
2641 2003-09-10  Graydon Hoare  <graydon@redhat.com>
2642
2643         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2644         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2645
2646 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
2647
2648         * configure.in: Standardized help text case of
2649         --enable-hash-synchronization
2650         New configure switch --enable-libgcj-multifile and corresponding
2651         automake conditional ONESTEP.
2652         * configure: Rebuilt.
2653         * Makefile.am: Use automake conditional ONESTEP to determine
2654         whether classfiles should be compiled individually or all
2655         at once.
2656         * Makefile.in: Rebuilt.
2657
2658 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2659
2660         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2661         Remove method declaration.
2662         (create()): Call native create.
2663         (create(int)): New method.
2664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2665         (create): Add window_id parameter.  Call gtk_plug_new with
2666         window_id parameter.
2667         (construct): Remove method implementation.
2668
2669 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
2670
2671         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2672         (mostlyclean-local): New target patterned after clean-local
2673         which recursively deletes all libtool objects using 'libtool rm'.
2674         (clean-local): Slightly modified comment to alleviate monotony.
2675         (distclean-local): New target patterned after clean-local
2676         which recursively deletes all .d files.
2677         * Makefile.in: Rebuilt.
2678
2679 2003-09-11  Tom Tromey  <tromey@redhat.com>
2680
2681         * java/net/URLStreamHandler.java (parseURL): If original file
2682         ends with "/", so must canonical result.
2683         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2684         with nul-termination and finding previous "/".
2685
2686 2003-09-11  Michael Koch  <konqueror@gmx.de>
2687
2688         * acconfig.h: Removed most items.
2689         * configure.in: Added descriptions to AC_DEFINE macros that where in
2690         acconfig.h before.
2691         * include/config.h.in: Regenerated.
2692
2693 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
2694
2695         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2696         if one is installed. Improve Javadoc.
2697         (getSystemEventQueueImpl): Improve Javadoc.
2698
2699 2003-09-11  Tom Tromey  <tromey@redhat.com>
2700
2701         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2702         file does not exist.
2703
2704 2003-09-10  Anthony Green  <green@redhat.com>
2705
2706         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2707         Specify full name when referencing ::java::net::InetAddress.
2708         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2709         Fix argument type.
2710
2711 2003-09-10  Michael Koch  <konqueror@gmx.de>
2712
2713         * acconfig.h (__NO_MATH_INLINES): Removed.
2714         * configure.in: Removed check for g++ math inlining bug from 2000.
2715         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2716         libgcj_cxxflags.
2717         * configure: Regenerated.
2718
2719 2003-09-10  David Daney <ddaney@avtrex.com>
2720
2721         * java/util/Arrays.java (equals(all variants)): Quit using
2722         NullPointerException catching to detect null valued parameters.
2723
2724 2003-09-10  Michael Koch  <konqueror@gmx.de>
2725
2726         * java/net/DatagramSocket.java,
2727         java/net/MulticastSocket.java,
2728         java/net/ServerSocket.java,
2729         java/net/Socket.java:
2730         Use gnu.java.net.Plain*SocketImpl instead of
2731         java.net.PlainSocketImpl.
2732         * java/net/PlainDatagramSocketImpl.java,
2733         java/net/PlainSocketImpl.java,
2734         java/net/SocketInputStream.java,
2735         java/net/SocketOutputStream.java,
2736         java/net/natPlainDatagramSocketImplNoNet.cc,
2737         java/net/natPlainDatagramSocketImplPosix.cc,
2738         java/net/natPlainDatagramSocketImplWin32.cc,
2739         java/net/natPlainSocketImplNoNet.cc,
2740         java/net/natPlainSocketImplPosix.cc,
2741         java/net/natPlainSocketImplWin32.cc:
2742         Removed.
2743         * gnu/java/net/PlainDatagramSocketImpl.java,
2744         gnu/java/net/PlainSocketImpl.java,
2745         gnu/java/net/SocketInputStream.java,
2746         gnu/java/net/SocketOutputStream.java,
2747         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2748         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2749         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2750         gnu/java/net/natPlainSocketImplNoNet.cc,
2751         gnu/java/net/natPlainSocketImplPosix.cc,
2752         gnu/java/net/natPlainSocketImplWin32.cc:
2753         New files (moved from java/net).
2754         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2755         instead of java/net/natPlain*SocketImpl.cc.
2756         * configure: Regenerated.
2757         * Makefile.am: Moved files from java/net to gnu/java/net.
2758         * Makefile.in: Regenerated.
2759
2760 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2761
2762         * configure: Regenerate.
2763
2764 2003-09-04  Tom Tromey  <tromey@redhat.com>
2765
2766         * configure.host: Removed erroneous comment.
2767
2768         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2769         lvalue cast; use correct rvalue cast.
2770
2771 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2772
2773         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2774         and height arguments to GtkWindowPeer.create method call.
2775         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2776         (create(int,int,int)): New method.
2777         (create(int)): Add call to new create method.
2778         (create()): Add width and height arguments to create method
2779         call.
2780         (GtkWindowPeer): Remove call to setBounds.
2781         * java/awt/Frame.java (Frame(String)): Initialize visible field
2782         to false.
2783         (Frame(GraphicsConfiguration)): Likewise.
2784         (Frame(String,GraphicsConfiguration)): Likewise.
2785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2786         Add width and height parameters.  Call
2787         gtk_window_set_default_size.
2788         (connectHooks): Remove unused name variable.
2789         (static setBounds): Call gtk_window_resize not
2790         gtk_widget_set_usize.
2791         (setBounds): Remove unused nchildren variable.
2792
2793 2003-08-31  Ingo Proetel  <proetel@aicas.com>
2794
2795         * java/util/logging/Logger.java: provide class and method information
2796         * java/util/logging/LogManager.java: create handlers
2797         * java/util/logging/SimpleFormatter.java: print souceClassName and
2798         sourceMethodName
2799
2800 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2801
2802         * win32.cc: fixed tab, indentation and whitespace
2803         inconsistencies
2804         removed jvm.h include
2805         added includes java/lang/UnsupportedOperationException.h,
2806         java/io/IOException.h, java/net/SocketException.h
2807         (WSAEventWrapper): class implementation
2808         (_Jv_WinStrError): implemented both overloads
2809         (_Jv_ThrowIOException): implemented both overloads
2810         (_Jv_ThrowSocketException): implemented both overloads
2811         (_Jv_select): implemented
2812         * include/win32.h: fixed tab, indentation and whitespace
2813         inconsistencies
2814         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
2815         added jvm.h include
2816         (WSAEventWrapper): added class declaration
2817         (_Jv_WinStrError): added both overload declarations
2818         (_Jv_ThrowIOException): added both overload declarations
2819         (_Jv_ThrowSocketException): added both overload declarations
2820         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
2821         (_Jv_select): added declaration
2822         (_Jv_socket): removed
2823         (_Jv_connect): removed
2824         (_Jv_close): removed
2825         (_Jv_bind): removed
2826         (_Jv_accept): removed
2827         (_Jv_listen): removed
2828         (_Jv_write): removed
2829         (_Jv_read): removed
2830         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
2831         whitespace inconsistencies
2832         replaced <windows.h> #include with <platform.h>
2833         removed jvm.h include
2834         (testCanUseGetHandleInfo): new function which tests whether Win32
2835         GetHandleInformation() call can be used with console buffer handles
2836         (only supported on >=WinNT 5.0)
2837         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
2838         (valid): rewrote implementation using GetHandleInformation()
2839         (sync):         changed exception throwing to use error string and exception
2840         helper methods declared in include/win32.h
2841         (open): likewise
2842         (write): likewise
2843         (setLength): likewise
2844         (close): likewise
2845         (seek): likewise
2846         (getFilePointer): likewise
2847         (read): likewise
2848         * java/io/natFileWin32.cc: fixed tab, indentation and
2849         whitespace inconsistencies
2850         replaced <windows.h> #include with <platform.h>
2851         removed jvm.h include
2852         (_access): use JV_TEMP_UTF_STRING
2853         (_stat): likewise
2854         (performMkDir): use JV_TEMP_UTF_STRING
2855         (performRenameTo): likewise
2856         (performDelete): likewise
2857         (performCreate): likewise
2858         (performSetReadOnly): likewise
2859         (performSetLastModified): likewise
2860         * java/lang/natWin32Process.cc: fixed tab, indentation and
2861         whitespace inconsistencies
2862         replaced <windows.h> #include with <platform.h>
2863         removed includes gcj/cni.h, jvm.h
2864         (new_string): removed
2865         (startProcess): use JV_TEMP_UTF_STRING,
2866         changed exception throwing to use error string and exception
2867         helper methods declared in include/win32.h
2868         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
2869         whitespace inconsistencies
2870         replaced <windows.h> #include with <platform.h>
2871         removed jvm.h include
2872         removed DISABLE_JAVA_NET conditional code
2873         removed POSIX conditional code not relevant to Win32
2874         (aton): use JV_TEMP_UTF_STRING
2875         removed POSIX conditional code not relevant to Win32
2876         (lookup): likewise
2877         (getLocalHostName): likewise
2878         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
2879         whitespace inconsistencies
2880         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
2881         removed DISABLE_JAVA_NET conditional code
2882         removed POSIX conditional code not relevant to Win32
2883         (winsock2GetRealNetworkInterfaces): new function to compute network
2884         interfaces via Winsock2 API
2885         (determineGetRealNetworkInterfacesFN): new function for returning
2886         a function pointer to the function used to compute network interfaces.
2887         (getRealNetworkInterfaces): implemented
2888         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
2889         whitespace inconsistencies
2890         removed gcj/cni.h include
2891         removed DISABLE_JAVA_NET conditional code
2892         removed POSIX conditional code not relevant to Win32
2893         changed net POSIXisms to Win32isms
2894         replaced _Jv socket-related calls with their real Win32 equivalents
2895         changed exception throwing to use error string and exception
2896         helper methods declared in include/win32.h
2897         (peekData): implemented timeout support
2898         (receive): likewise
2899         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
2900         whitespace inconsistencies
2901         removed gcj/cni.h and gcj/javaprims.h includes
2902         removed DISABLE_JAVA_NET conditional code
2903         removed POSIX conditional code not relevant to Win32
2904         changed net POSIXisms to Win32isms
2905         replaced _Jv socket-related calls with their real Win32
2906         equivalents
2907         changed exception throwing to use error string and exception
2908         helper methods declared in include/win32.h
2909         (throwConnectException): helper function for connect()
2910         (connect): implemented timeout support
2911         (accept): likewise
2912         (doRead): new helper function common to both read() method overloads,
2913         includes timeout support
2914         (read): implemented both overloads in terms of doRead()
2915         (available): implemented using ioctlsocket()
2916
2917 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2918
2919         * java/net/natInetAddressWin32.cc,
2920         java/net/natNetworkInterfaceWin32.cc,
2921         java/net/natPlainDatagramSocketImplWin32.cc,
2922         java/net/natPlainSocketImplWin32.cc:
2923         Readded code enclosed in DISABLE_JAVA_NET defines
2924         in preparation for MinGW cleanup / networking
2925         patch
2926
2927 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2928
2929         * Makefile.am: Fixed problems with parallel makes.
2930         (all_java_class_files): Readded definition.
2931         (all_java_class_files): New target which depends on
2932         libgcj-@gcc_version@.jar
2933         * Makefile.in: Rebuilt
2934
2935 2003-08-28  Tom Tromey  <tromey@redhat.com>
2936
2937         * Makefile.in: Rebuilt.
2938         * Makefile.am (ordinary_java_source_files): Added new files.
2939         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
2940         friend.
2941         * java/net/URLClassLoader.java (findClass): Don't use
2942         findURLResource.  Use loader's getClass method.
2943         (URLLoader.getClass): New method.
2944         (addURL): Handle `gcjlib' URLs.
2945         (SoURLLoader): New class.
2946         (SoResource): Likewise.
2947         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
2948         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
2949         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
2950         (_Jv_RegisterCoreHook): Declare.
2951         (_Jv_FindCore): Declare.
2952         * gnu/gcj/runtime/SharedLibHelper.java: New file.
2953         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
2954         typedef.
2955         (core_hook): New function.
2956         (struct SharedLibDummy) [saved_core]: New field.
2957         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
2958         (register_hook): Set protection domain and class loader on new
2959         class.
2960         (finalize): Free core chain.
2961         * gnu/gcj/Core.java (Core): New constructor.
2962         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
2963         SharedLibHelper.
2964         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
2965         (_Jv_create_core): New function.
2966         (create): Use it.
2967         (default_register_resource): New function.
2968         (_Jv_RegisterCoreHook): New global.
2969         (_Jv_RegisterResource): Use it.
2970         (core_chain_struct): Removed.
2971         (_Jv_FindCore): New function.
2972         (_Jv_FreeCoreChain): New function.
2973
2974 2003-08-29  Michael Koch  <konqueror@gmx.de>
2975
2976         * java/net/natInetAddressWin32.cc,
2977         java/net/natNetworkInterfaceWin32.cc,
2978         java/net/natPlainDatagramSocketImplWin32.cc,
2979         java/net/natPlainSocketImplWin32.cc:
2980         Removed code enclosed in DISABLE_JAVA_NET defines.
2981
2982 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
2983
2984         * Makefile.am: (write_entries_to_file) New parameterized
2985         function for writing entries to a file one line at a time.
2986         (all_java_class_files): Removed definition.
2987         (.java.class) Removed.target.
2988         (libgcj-@gcc_version@.jar): Changed dependency to
2989         $(all_java_source_files); added compilation step which compiles
2990         all changed source files in one pass.
2991         (libgcj.la) Refactored to use write_entries_to_file.
2992         (lib-gnu-awt-xlib.la) Likewise.
2993         (install-data-local) Likewise.
2994         (write-entries-to-file-check) New target which tests write_entries_to_file.
2995         (all-recursive): Changed dependency from $(all_java_class_files)
2996         to libgcj-@gcc_version@.jar
2997         * Makefile.in: Rebuilt.
2998
2999 2003-08-26  Tom Tromey  <tromey@redhat.com>
3000
3001         * java/lang/StrictMath.java: Typo fix.
3002         * java/lang/Math.java: Typo fix.
3003
3004 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3005
3006         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3007         of the removed Thread.
3008
3009 2003-08-26  Mark Wielaard  <mark@klomp.org>
3010
3011         Reported by David Holmes <dholmes@dltech.com.au>.
3012         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3013         Collections.synchronizedMap.
3014         * java/lang/ThreadLocal.java (valueMap): Likewise.
3015
3016 2003-08-26  Mark Wielaard  <mark@klomp.org>
3017
3018         * java/security/acl/Acl.java: Fix broken p tag.
3019         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3020         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3021         * javax/swing/plaf/TreeUI.java: Likewise.
3022         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3023         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3024         documentation.
3025         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3026         tag.
3027
3028 2003-08-26  Tom Tromey  <tromey@redhat.com>
3029
3030         * Makefile.in: Rebuilt.
3031         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3032
3033         * java/lang/ref/Reference.java (get): Indentation fix.
3034         (clear): Comment fix.
3035         (enqueue): Likewise.
3036         (lock): Likewise.
3037         (referent): Likewise.
3038
3039 2003-08-26  Tom Tromey  <tromey@redhat.com>
3040
3041         PR java/12058:
3042         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3043
3044         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3045         (ProxyData.getPackage): New method.
3046         (ProxyData.getProxyData): Use package name, not Package.
3047         (ClassFactory.ClassFactory): Updated.
3048
3049 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3050         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3051         * Makefile.in: re-generated.
3052         * gnu/awt/j2d/IntegerGraphicsState.java
3053         (ScreenCoupledImage): new interface.
3054         (drawImage): detect ScreenCoupledImage instances.
3055         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3056         * gnu/awt/xlib/XEventLoop.java
3057         (createEvent): re-formatted, and rearranged to avoid null pointer.
3058         * gnu/awt/xlib/XGraphics.java
3059         (drawImage): added XOffScreenImage handling.
3060         * gnu/awt/xlib/XOffScreenImage.java: new file.
3061         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3062         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3063         * gnu/gcj/xlib/XAnyEvent.java
3064         (TYPE_KEY_PRESS): new constant.
3065         (TYPE_KEY_RELEASE): new constant.
3066         (TYPE_MOTION_NOTIFY): new constant.
3067         (TYPE_ENTER_NOTIFY): new constant.
3068         (TYPE_LEAVE_NOTIFY): new constant.
3069         (TYPE_FOCUS_IN): new constant.
3070         (TYPE_FOCUS_OUT): new constant.
3071         (TYPE_KEYMAP_NOTIFY): new constant.
3072         (TYPE_GRAPHICS_EXPOSE): new constant.
3073         (TYPE_NO_EXPOSE): new constant.
3074         (TYPE_VISIBILITY_NOTIFY): new constant.
3075         (TYPE_CREATE_NOTIFY): new constant.
3076         (TYPE_DESTROY_NOTIFY): new constant.
3077         (TYPE_MAP_REQUEST): new constant.
3078         (TYPE_CONFIGURE_REQUEST): new constant.
3079         (TYPE_GRAVITY_NOTIFY): new constant.
3080         (TYPE_RESIZE_REQUEST): new constant.
3081         (TYPE_CIRCULATE_NOTIFY): new constant.
3082         (TYPE_CIRCULATE_REQUEST): new constant.
3083         (TYPE_PROPERTY_NOTIFY): new constant.
3084         (TYPE_SELECTION_CLEAR): new constant.
3085         (TYPE_SELECTION_REQUEST): new constant.
3086         (TYPE_SELECTION_NOTIFY): new constant.
3087         (TYPE_COLORMAP_NOTIFY): new constant.
3088         (TYPE_MAPPING_NOTIFY): new constant.
3089         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3090         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3091         * java/awt/Component.java (createImage): changed to use peer method.
3092
3093 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3094
3095         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3096         name, not XLFD, to native drawString.
3097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3098         Replace XLFD-based implementation with Pango-based
3099         implementation.
3100
3101 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3102
3103         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3104         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3105
3106 2003-08-21  David Daney  <ddaney@avtrex.com>
3107
3108         Fix for PR libgcj/12013:
3109         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3110         Check `cleared' field.
3111         * java/lang/ref/Reference.java (copy): Updated comments.
3112         (cleared): New field.
3113         (clear): Rewrote.
3114
3115 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3116             Thomas Fitzsimmons  <fitzsim@redhat.com>
3117
3118         * Makefile.am (gtk_awt_peer_sources): Add
3119         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3120         gnu/java/awt/GLightweightPeer.java.
3121         * gnu/java/awt/GLightweightPeer.java: Remove file.
3122         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3123         * java/awt/Component.java (getToolkit): Add comment about
3124         lightweight components.
3125         * java/awt/Toolkit.java (createComponent): Return
3126         gnu.java.awt.peer.GLightweightPeer.
3127
3128 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3129
3130         * configure.in: Fix detection of gcj when building with newlib.
3131         * configure: Regenerated.
3132
3133 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3134
3135         * jni.cc: Replace "cheating" pointer-casting code with
3136         extract_from_jvalue<> template.
3137
3138 2003-08-20  Andrew Haley  <aph@redhat.com>
3139
3140         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3141         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3142         (classAt): Break out class lookup function into getClass().
3143         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3144         handlers when using -fno-assume-compiled.
3145
3146 2003-08-20  Tom Tromey  <tromey@redhat.com>
3147
3148         Fix for PR libgcj/9125:
3149         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3150         object outside of loop.  Respect lib_control setting.
3151         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3152         field.
3153         (lib_control): New field.
3154         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3155         (VMClassLoader): Initialize new field.
3156
3157         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3158         Set `list->reference' to DELETED_REFERENCE when removing dead
3159         object.
3160         (find_slot): Added an assert.
3161         (DELETED_REFERENCE): New define.
3162         (add_to_hash): Check for DELETED_REFERENCE.
3163         (remove_from_hash): Just return if found slot isn't ours.
3164
3165 2003-08-19  Andrew Haley  <aph@redhat.com>
3166
3167         * prims.cc (unblock_signal): New function.
3168         (catch_segv): Use it.
3169         (catch_fpe): Likewise.
3170
3171 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3172
3173         PR libgcj/11575
3174         * java/io/natFileDescriptorWin32.cc (open): Set create
3175         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3176         Honor EXCL when openning with WRITE flag. 
3177
3178 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3179
3180         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3181         getting a temporary C string from a jstring)
3182         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3183         but uses a stack buffer if the string length is less than 256
3184         bytes.
3185
3186 2003-08-18  Tom Tromey  <tromey@redhat.com>
3187
3188         PR libgcj/11951:
3189         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3190         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3191         value.  Added is_jni_call argument; only wrap exception if not a
3192         JNI call.  Use descriptive message if operation not supported.
3193         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3194         array class.
3195         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3196         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3197         _Jv_CallAnyMethodA.
3198         (_Jv_JNI_CallAnyMethodA): Likewise.
3199         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3200         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3201
3202 2003-08-13  Tom Tromey  <tromey@redhat.com>
3203
3204         * gij.cc (help): Document -? and -X.
3205
3206 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3207
3208         * java/awt/Font.java: 
3209         Stub out more recent API. 
3210
3211 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3212
3213         * java/awt/Color.java (getAlpha): 
3214         Prevent sign-extended alpha values.
3215
3216 2003-08-12  Tom Tromey  <tromey@redhat.com>
3217
3218         * gij.cc (main): Handle -? and -X.
3219
3220 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3221
3222         * java/awt/Container.java
3223         (getPreferredSize): Call preferredSize.
3224         (preferredSize): Moved body of getPreferredSize here.
3225         (getMinimumSize): Call minimumSize.
3226         (minimumSize): Moved body of getMinimumSize here.
3227
3228 2003-08-11  Tom Tromey  <tromey@redhat.com>
3229
3230         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3231         (postEvent): Removed FIXME comment.
3232         (isDispatchThread): Documented.
3233         (getCurrentEvent): New method.
3234         (dispatchEvent): Set currentEvent and lastWhen.
3235         (getMostRecentEventTime): Rewrote.
3236         (invokeLater): Documented.
3237
3238 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3239
3240         * java/io/PrintStream.java (print): Always flush if auto_flush is
3241         set. Don't check for newline characters.
3242         (write (int)): Implement without using a temporary array.
3243         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3244         check for newline characters.
3245         Fixes PR libgcj/11778.
3246
3247 2003-08-08  Andrew Haley  <aph@redhat.com>
3248
3249         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3250         * Makefile.in: Rebuild.
3251         * java/lang/natRuntime.cc (insertSystemProperties): Add
3252         "sun.boot.class.path".
3253
3254 2003-08-07  Andrew Haley  <aph@redhat.com>
3255
3256         * java/io/PrintStream.java: Don't crash on a null string.
3257         
3258 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3259
3260         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3261         * configure: Regenerate.
3262
3263 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3264
3265         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3266         SocketImpl. Update Javadoc.
3267         (bind): Call close() not impl.close() in event of exception.
3268         (connect): Likewise.
3269         Remove superfluous null checks throughout.
3270         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3271         Don't create an extra socket. Fix for PR libgcj/10868.
3272         (bind): Clean up exception handling.
3273         Remove superfluous null checks throughout.
3274
3275 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3276             Bryce McKinlay  <bryce@mckinlay.net.nz>
3277
3278         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3279         ready-to-write argument to _Jv_Select. Reset the socket back to 
3280         non-blocking state after connecting.
3281         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3282         Throw SocketTimeoutException not InterruptedIOException.
3283         (read): Throw SocketTimeoutException not InterruptedIOException.
3284
3285 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3286
3287         * java/lang/Thread.java (Thread): Check for null "name" from
3288         start of private constructor, not after calling the private
3289         constructor.
3290
3291 2003-08-06  Tom Tromey  <tromey@redhat.com>
3292
3293         * java/io/FilePermission.java (equals): Use correct index for
3294         last character of path.
3295
3296 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3297
3298         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3299         * configure.in: Compare with_cross_host to build_alias, not build.
3300         * aclocal.m4: Regenerate.
3301         * configure: Regenerate.
3302
3303 2003-08-05  Tom Tromey  <tromey@redhat.com>
3304
3305         Fix for PR libgcj/11779:
3306         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3307         class.
3308
3309         * java/lang/reflect/Method.java: Updated status comment.
3310         Imported javadoc from Classpath and re-ordered methods.
3311         * java/lang/reflect/Constructor.java: Reindented.  Updated
3312         status comment.  Imported javadoc from Classpath and re-ordered
3313         methods.
3314
3315 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3316
3317         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3318         Add keyLocation parameter.
3319         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3320         string.
3321         (paramString): Generate keyChar string according to keyChar, not
3322         keyCode.
3323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3324         (state_to_awt_mods): Handle ALT key.
3325         (keyevent_state_to_awt_mods): New function.
3326         (get_first_keyval_from_keymap): New function.
3327         (keysym_to_awt_keycode): Get virtual key code from keymap.
3328         Handle missing VK_ values.
3329         (keysym_to_awt_keylocation): New function.
3330         (keyevent_to_awt_keychar): New function.
3331         (generates_key_typed_event): Handle non-text-component case.
3332         Handle GDK_KP_Delete and GDK_KP_Enter.
3333         (awt_event_handler): Call new functions to get postKeyEvent
3334         parameters.
3335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3336         Update postKeyEvent method signature.
3337         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3338         VK_ defines.
3339
3340 2003-08-05  Matthias Klose  <doko@debian.org>
3341
3342         * aclocal.m4: check for libart-config binary
3343           under the name libart2-config as well.
3344         * configure: regenerated.
3345
3346 2003-08-04  David P Grove  <groved@us.ibm.com>
3347
3348         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3349         when groupingSize is 0.
3350         (parse): Likewise.
3351
3352 2003-08-04  Matthias Klose  <doko@debian.org>
3353
3354         * libart.m4: check for libart-config binary
3355           under the name libart2-config as well.
3356         * configure, aclocal.m4: regenerated.
3357
3358 2003-08-02  Michael Koch  <konqueror@gmx.de>
3359
3360         * java/nio/ByteBufferImpl.java
3361         (getChar): Check remaining bytes, fixed comment about endianess.
3362         (putChar): Likewise.
3363         (getShort): Likewise.
3364         (putShort): Likewise.
3365         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3366         endianess.
3367         (putInt): Likewise.
3368         (getLong): Likewise.
3369         (putLong): Likewise.
3370         (getFloat): Likewise.
3371         (putFloat): Likewise.
3372         (getDouble): Likewise.
3373         (putDouble): Likewise.
3374         * java/nio/DirectByteBufferImpl.java
3375         (getChar): Wrapped code, fixed comment about endianess.
3376         (putchar): Likewise.
3377         (getShort): Likewise.
3378         (putShort): Likewise.
3379         (getInt): Fixed conversion, fixed comment about endianess.
3380         (putInt): Likewise.
3381         (getLong): Likewise.
3382         (putLong): Likewise.
3383         (getFloat): Likewise.
3384         (putFloat): Likewise.
3385         (getDouble): Likewise.
3386         (putDouble): Likewise.
3387         * java/nio/MappedByteBufferImpl.java
3388         (compact): Implemented.
3389         (getChar): Implemented.
3390         (putChar): Implemented.
3391         (getDouble): Implemented.
3392         (putdouble): Implemented.
3393         (getFloat): Implemented.
3394         (putFloat): Implemented.
3395         (getInt): Implemented.
3396         (putInt): Implemented.
3397         (getLong): Implemented.
3398         (putLong): Implemented.
3399         (getShort): Implemented.
3400         (putShort): Implemented.
3401         * java/nio/channels/FileChannelImpl.java
3402         (read): Set position where to access file.
3403         (write): Likewise.
3404         (transferTo): Flip buffer after read and before write.
3405         (transferFrom): Likewise.
3406
3407 2003-08-02  Michael Koch  <konqueror@gmx.de>
3408
3409         * gnu/java/lang/ArrayHelper.java
3410         (equalsArray): Reformated, added method documentation.
3411
3412 2003-08-02  Michael Koch  <konqueror@gmx.de>
3413
3414         * java/net/URL.java
3415         (URL): Added paragraph about the
3416         gnu.java.net.nocache_protocol_handlers property.
3417         (ph_cache): Renamed from handlers to match classpath's implementation.
3418         Reordered it with factory and serialVersionUID member variables.
3419         (cache_handlers): New member variable.
3420         (static): New static initializer to initialize cache_handlers from
3421         gnu.java.net.nocache_protocol_handlers property.
3422         (URL): Use ph_cache instead of handlers, reformatted some code to
3423         match classpath's implementation.
3424
3425 2003-08-01  Tom Tromey  <tromey@redhat.com>
3426
3427         Fix for PR libgcj/11241:
3428         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3429         initialCapacity is 0, set it to 1.
3430
3431 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3432
3433         * java/net/SocketImpl.java (toString): Display the remote address
3434         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3435
3436 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3437
3438         * javax/swing/border/BevelBorder.java,
3439         javax/swing/border/EtchedBorder.java,
3440         javax/swing/border/LineBorder.java,
3441         javax/swing/border/MatteBorder.java,
3442         javax/swing/border/SoftBevelBorder.java,
3443         javax/swing/plaf/BorderUIResource.java,
3444         javax/swing/plaf/ComponentUI.java,
3445         javax/swing/plaf/TreeUI.java,
3446         javax/swing/plaf/basic/BasicBorders.java,
3447         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3448         javax/swing/plaf/basic/BasicTreeUI.java:
3449         Prepend "doc-files" to all paths to embedded Javadoc images, so
3450         that the generated documentation contains the correct URL.
3451
3452 2003-08-01  Tom Tromey  <tromey@redhat.com>
3453
3454         * configure: Rebuilt.
3455         * configure.in (tool_include_dir): Redefine to match gcc.
3456
3457 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3458             Mark Wielaard  <mark@klomp.org>
3459             
3460         * java/math/BigDecimal (divide): Correctly handle
3461         ROUND_HALF_EVEN when amount is greater than 0.5.
3462         Simplify and optimize code.
3463
3464 2003-07-31  Tom Tromey  <tromey@redhat.com>
3465
3466         More for PR libgcj/11737:
3467         * java/io/ObjectInputStream.java (processResolution): Use
3468         getMethod.
3469         (getMethod): Make method accessible.
3470         (getField): Make field accessible.
3471         (setBooleanField): Don't call setAccessible here.
3472         (setByteField, setCharField, setDoubleField, setFloatField,
3473         setIntField, setLongField, setShortField, setObjectField):
3474         Likewise.
3475         (callReadMethod): Don't check whether method is null.  Catch
3476         NoSuchMethodException.
3477         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3478         cause on thrown exceptions.
3479
3480 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3481
3482         Fix for PR libgcj/11728:
3483         * java/util/HashMap.java (readObject): Set size.
3484
3485 2003-07-31  Tom Tromey  <tromey@redhat.com>
3486
3487         Fix for PR libgcj/11737:
3488         * java/io/ObjectOutputStream.java (getMethod): Make method
3489         accessible.
3490         (getField): Likewise.
3491         (writeObject): Use getMethod.
3492         Import PrivilegedAction and AccessController.
3493         (callWriteMethod): Don't check whether m is null.  Catch
3494         NoSuchMethodException.
3495
3496         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3497         (containsAngle): Likewise.
3498         (getStartPoint): Rewrote.
3499         (getEndPoint): Likewise.
3500         (setAngleStart(Point2D)): Likewise.
3501
3502 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3503             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3504
3505         * configure.in: Add new THREADCXXFLAGS variable.
3506         Handle POSIX threads on alpha*-dec-osf*.
3507         * configure: Regenerate.
3508         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3509         * Makefile.in: Regenerate.
3510
3511 2003-07-08  Andrew Haley  <aph@redhat.com>
3512
3513         * include/i386-signal.h (RESTORE): New.
3514         (INIT_SEGV): Set restorer.
3515         (INIT_FPE): Likewise.
3516
3517 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3518
3519         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3520         than getXLFD.
3521         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3522         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3524         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3526         Likewise.
3527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3528         Likewise.
3529
3530 2003-07-29  Tom Tromey  <tromey@redhat.com>
3531
3532         * defineclass.cc (handleField): Throw exception if field name is
3533         duplicated.
3534         (handleMethod): Throw exception for duplicate method.
3535
3536 2003-07-29  Tom Tromey  <tromey@redhat.com>
3537
3538         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3539         output buffer is too small.
3540
3541 2003-07-28  Tom Tromey  <tromey@redhat.com>
3542
3543         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3544         New method.
3545         Include gnu/gcj/runtime/StringBuffer.h.
3546         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3547         native method.
3548         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3549
3550 2003-07-27  Anthony Green  <green@redhat.com>
3551
3552         * configure.in: Fix newlib check.
3553         * configure: Rebuilt.
3554
3555 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3556
3557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3558         Create vbox and layout for GtkPlug.
3559
3560 2003-07-27  Michael Koch  <konqueror@gmx.de>
3561
3562         * java/awt/Window.java
3563         (Window): Removed now unused constructor. It became oboslete with the
3564         new embedded window patch.
3565
3566 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3567             Michael Koch  <konqueror@gmx.de>
3568
3569         * gnu/java/awt/EmbeddedWindow.java
3570         (EmbeddedWindow): Extends Frame instead of Window.
3571         (window_id): New member variable to store the native window handle.
3572         (create): Removed.
3573         (EmbeddedWindow): New constructor.
3574         (addNotify): New method.
3575         (getHandler): Likewise.
3576         (setWindowPeer): New native method.
3577         * gnu/java/awt/EmbeddedWindowSupport.java
3578         (EmbeddedWindowSupport): Fixed documentation.
3579         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3580         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3581         window data.
3582         * gnu/java/awt/natEmbeddedWindow.cc
3583         (create): Removed.
3584         (setWindowPeer): New method.
3585         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3586         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3587         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3588         New files
3589         * gnu/java/awt/peer/gtk/GtkToolkit.java
3590         (GtkToolkit): Implements EmbeddedWindowSupport.
3591         (createEmbeddedWindow): New method.
3592         * java/awt/Window.java
3593         (Window): Removed.
3594         * Makefile.am
3595         (java_source_files): Added EmbeddedWindowPeer.java.
3596         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3597         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3598         * Makefile.in: Regenerated.
3599
3600 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
3601
3602         * java/lang/Win32Process.java (ConcreteProcess): Surround
3603         a command line element with quotes if it contains an
3604         embedded space or tab.
3605         * java/lang/natWin32Process.cc (startProcess): Do not
3606         surround command line elements with quotes here.
3607
3608         * configure.host: Use -fcheck-references and 
3609         -fuse-divide-subroutine for MinGW until we fix
3610         win32_exception_handler( ) in win32.cc w.r.t. Win32 
3611         Structured Exception Handling (SEH).
3612
3613         * win32.cc (_Jv_platform_initProperties): Use generic names
3614         like "x86" for the "os.arch" property to be consistent with
3615         what Sun's JDK produces. Use the wProcessorArchitecture
3616         member of the Win32 SYSTEM_INFO structure, filled in a call 
3617         to GetSystemInfo( ), instead of dwProcessorType.
3618
3619 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
3620             Ranjit Mathew  <rmathew@hotmail.com>
3621
3622         * Makefile.am: Use cross-compiling gcjh from the path for
3623         a crossed-native build.
3624         * Makefile.in: Rebuilt.
3625         * configure.in: Include libltdl in non-newlib builds.
3626         Moved determination of gcj used to build libraries to
3627         its own section. Fixed cross-compilation issues for
3628         non-newlib builds.
3629         * configure: Rebuilt.
3630
3631 2003-07-25  Tom Tromey  <tromey@redhat.com>
3632
3633         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3634         (write): Likewise.
3635         (read): Likewise.
3636         (read): Likewise.
3637
3638 2003-07-25  Mark Wielaard  <mark@klomp.org>
3639
3640         * java/lang/natRuntime.cc (_load): Add library name to
3641         UnsatisfiedLinkError when thrown.
3642
3643 2003-07-25  Mark Wielaard  <mark@klomp.org>
3644
3645         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3646         added.
3647         * Makefile.in: Likewise.
3648
3649 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
3650
3651         * java/awt/Component.java
3652         (getPreferredSize): Call preferredSize.
3653         (preferredSize): Moved body of getPreferredSize here.
3654         (getMinimumSize): Call minimumSize.
3655         (minimumSize): Moved body of getMinimumSize here.
3656         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3657         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3658         pass -1
3659         * java/awt/Container.java
3660         (validate): Don't validate if there is no peer.
3661         (update): Clear background before calling paint.
3662         * java/awt/GridBagLayout.java
3663         Completed the implementation and fixed several bugs.
3664         * java/awt/MediaTracker.java
3665         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3666         combine flags.
3667         * java/awt/Window.java
3668         (Window): Don't call setVisible(false). Windows are invisible by
3669         default and calling virtual methods from constructor causes
3670         compatibility problems (e.g. subclasses may assume that the peer
3671         already exists).
3672
3673 2003-07-25  Michael Koch  <konqueror@gmx.de>
3674
3675         * java/awt/GridBagLayout.java:
3676         Totally reworked and partly implemented.
3677         * java/awt/GridBagLayoutInfo.java:
3678         New file.
3679
3680 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3681
3682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3683         Don't pack label in an event box.
3684
3685 2003-07-24  Tom Tromey  <tromey@redhat.com>
3686
3687         For PR libgcj/7482:
3688         * verify.cc (ref_intersection): New class.
3689         (type_val): Removed unresolved_reference_type,
3690         uninitialized_unresolved_reference_type.
3691         (is_assignable_from_slow): Rewrote.
3692         (type::data): Removed.
3693         (type::klass): New field.
3694         (type::type): Added verifier argument.
3695         (type::resolve): Removed.
3696         (type::set_uninitialized): Updated for change to type_val.
3697         (type::set_initialized): Likewise.
3698         (type::isinitialized): Likewise.
3699         (type::print): Likewise.
3700         (construct_primitive_array_type): Likewise.
3701         (type::compatible): Updated for change to type_val and to use
3702         ref_intersection.
3703         (type::isarray): Updated to use ref_intersection.
3704         (type::isinterface): Likewise.
3705         (type::element_type): Likewise.
3706         (type::to_array): Likewise.
3707         (type::verify_dimensions): Rewrote.
3708         (type::merge): Likewise.
3709         (check_class_constant): Updated for type constructor change.
3710         (check_constant): Likewise.
3711         (check_field_constant): Likewise.
3712         (get_one_type): Likewise.
3713         (initialize_stack): Likewise.
3714         (verify_instructions_0): Likewise.
3715         (verify_instructions_0) [op_invokeinterface]: Removed special
3716         case.
3717         (isect_list): New field.
3718         (_Jv_BytecodeVerifier): Initialize it.
3719         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
3720
3721 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
3722
3723         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3724         unless field size is 2.
3725
3726 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3727
3728         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3729         (connectHooks): New method.
3730         (handleEvent): Remove.
3731         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3732         (createHooks): Remove declaration.
3733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3734         (generates_key_typed_event): Change to handle only certain
3735         keyvals.
3736         (awt_event_handler): Add special handling for GtkTextView.
3737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3738         (textcomponent_commit_cb): New function.
3739         (textcomponent_changed_cb): Likewise.
3740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3741         (connectHooks): Remove.
3742
3743 2003-07-23  Tom Tromey  <tromey@redhat.com>
3744
3745         * java/lang/natSystem.cc (arraycopy): Check for overflow.
3746
3747         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3748
3749 2003-07-22  Tom Tromey  <tromey@redhat.com>
3750
3751         * boehm.cc (_Jv_BuildGCDescr): Wrote.
3752         Include limits.h.
3753
3754 2003-07-22  Tom Tromey  <tromey@redhat.com>
3755
3756         * java/awt/Window.java (getWarningString): Just return the
3757         string.
3758         (Window): Set warningString; check with security manager.
3759
3760 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
3761
3762         * gnu/awt/xlib/XGraphicsConfiguration.java
3763         (FontMetricsCache): Made static.
3764  
3765 2003-07-22  Tom Tromey  <tromey@redhat.com>
3766
3767         * java/net/URLEncoder.java (encode(String)): Use platform default
3768         encoding.
3769         (encode(String,String)): Convert to 2-digit upper-case hex
3770         number.
3771         (hex): New field.
3772
3773 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3774
3775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3776         (create): Remove unused method implementation.
3777         (connectHooks): Remove debug messages.
3778
3779 2003-07-20  Anthony Green  <green@redhat.com>
3780
3781         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3782         CloneNotSupportedException.
3783         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3784         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3785         * gnu/gcj/xlib/GC.java (clone): Ditto.
3786         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3787         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3788
3789         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3790         handler.
3791         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3792
3793 2003-07-20  Steve Pribyl <steve@netfuel.com.>
3794
3795         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3796         String.  Put dlerror() message into exception.
3797         Include UnsatisfiedLinkError.
3798         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3799         String.  Now native.
3800
3801 2003-07-20  Tom Tromey  <tromey@redhat.com>
3802
3803         * java/lang/Runtime.java: Comment fix.
3804         * java/lang/ClassLoader.java (isAncestorOf): New method.
3805         (getParent): Uncommented security check.  Use isAncestorOf.
3806         * include/jvm.h (_Jv_CheckAccess): Declare.
3807         * java/lang/reflect/natConstructor.cc (newInstance): Perform
3808         access check.
3809         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
3810         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
3811         class loader to _Jv_GetArrayClass.
3812         Include ArrayIndexOutOfBoundsException.h.
3813         * java/lang/reflect/Field.java: Update comment to reflect status.
3814         (equals): Fixed indentation.
3815         * java/lang/Class.h (Class): Declare memberAccessCheck, not
3816         checkMemberAccess.  Make _Jv_CheckAccess a friend.
3817         * java/lang/Class.java (memberAccessCheck): New method from
3818         Classpath.
3819         (checkMemberAccess): Removed.
3820         (getDeclaredMethod): Use memberAccessCheck.
3821         (getField): Likewise.
3822         (getMethod): Likewise.
3823         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
3824         (_Jv_SearchMethodInClass): Likewise.
3825         * prims.cc (_Jv_CheckAccess): New function.
3826         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
3827         (_Jv_JNI_GetAnyFieldID): Likewise.
3828         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
3829         (getClassLoader): Added security check.
3830         (getConstructor): Call memberAccessCheck.
3831         (getDeclaredClasses): Likewise.
3832         (getDeclaredField): Likewise.
3833         (getDeclaredFields): Likewise.
3834         (_getConstructors): Likewise.
3835         (getDeclaredConstructor): Likewise.
3836         (getDeclaredMethods): Likewise.
3837         (getFields): Likewise.
3838         (getMethods): Likewise.
3839         (newInstance): Likewise.
3840         (_Jv_MakeVTable): Put method name in exception.
3841         * java/lang/reflect/natMethod.cc (getType): Use
3842         getClassLoaderInternal.
3843         (_Jv_GetTypesFromSignature): Likewise.
3844         (invoke): Perform access check.
3845         (_Jv_CallAnyMethodA): Removed old FIXME comments.
3846         Include ArrayIndexOutOfBoundsException.h.
3847         * java/lang/reflect/natField.cc (getType): Use
3848         getClassLoaderInternal.
3849         (_Jv_CheckFieldAccessibility): Removed.
3850         (getAddr): Use _Jv_CheckAccess; find caller.
3851         Include ArrayIndexOutOfBoundsException.h.
3852
3853 2003-07-20  Michael Koch  <konqueror@gmx.de>
3854
3855         * java/net/URL.java
3856         (URL): Fixed documentation to name an argument correcty, Reformatted
3857         one method declaration.
3858         (getURLStreamHandler): Added documentation from classpath.
3859
3860 2003-07-19  Tom Tromey  <tromey@redhat.com>
3861
3862         * mauve-libgcj: Don't run CollationElementIterator tests.
3863
3864 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
3865
3866         * java/net/URLClassLoader.java (addURL): Moved implementation to
3867         private addURLImpl() to avoid calling addURL from the constructor.
3868         (addURLImpl): Contains the code that was previously in addURL.
3869         (addURLs): Call addURLImpl(), not addURL().
3870
3871 2003-07-18  Graydon Hoare  <graydon@redhat.com>
3872
3873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
3874         Handle missing event cases, connect to "value-changed" signal.
3875
3876 2003-07-18  Graydon Hoare  <graydon@redhat.com>
3877
3878         * java/awt/geom/CubicCurve2D.java,
3879         java/awt/geom/Line2D.java,
3880         java/awt/geom/QuadCurve2D.java,
3881         java/awt/geom/Rectangle2D.java: 
3882         Fix path some calculations, make path iterators follow
3883         a consistent style.
3884
3885 2003-07-18  Mark Wielaard  <mark@klomp.org>
3886
3887         * java/util/logging/Handler.java (isLoggable): Check record level
3888         smaller or equal.
3889
3890 2003-07-17  Michael Koch  <konqueror@gmx.de>
3891
3892         * gnu/java/awt/peer/gtk/GtkToolkit.java:
3893         Reworked imports.
3894
3895 2003-07-14  Michael Koch  <konqueror@gmx.de>
3896
3897         * gnu/java/rmi/server/UnicastServerRef.java:
3898         New version from classpath.
3899
3900 2003-07-14  Michael Koch  <konqueror@gmx.de>
3901
3902         * java/awt/image/MemoryImageSource.java,
3903         java/beans/PropertyEditorManager.java,
3904         javax/naming/CompoundName.java,
3905         javax/naming/spi/NamingManager.java,
3906         javax/swing/AbstractButton.java,
3907         javax/swing/ButtonModel.java,
3908         javax/swing/SwingUtilities.java,
3909         javax/swing/UIManager.java,
3910         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3911         javax/swing/event/AncestorEvent.java,
3912         javax/swing/event/InternalFrameEvent.java,
3913         java/util/zip/ZipFile.java:
3914         New versions from classpath.
3915
3916 2003-07-13  Michael Koch  <konqueror@gmx.de>
3917
3918         * gnu/java/nio/FileChannelImpl.java,
3919         gnu/java/nio/natFileChannelImpl.cc: Removed.
3920         * java/io/FileInputStream.java,
3921         java/io/FileOutputStream.java,
3922         java/io/RandomAccessFile.java,
3923         java/nio/MappedByteBufferImpl.java:
3924         Import java.nio.channels.FileChannelImpl instead of
3925         gnu.java.nio.FileChannelImpl.
3926         * java/nio/channels/FileChannelImpl.java,
3927         java/nio/channels/natFileChannelImpl.cc:
3928         New files.
3929         * Makefile.am
3930         (ordinary_java_source_files):
3931         Removed gnu/java/nio/FileChannelImpl.java and added
3932         java/nio/channels/FileChannelImpl.java.
3933         (nat source_files):
3934         Removed gnu/java/nio/natFileChannelImpl.cc and added
3935         java/nio/channels/natFileChannelImpl.cc.
3936         * Makefile.in: Regenerated.
3937
3938 2003-07-13  Michael Koch  <konqueror@gmx.de>
3939
3940         * javax/swing/plaf/basic/BasicBorders.java,
3941         javax/swing/plaf/basic/BasicLabelUI.java,
3942         javax/swing/plaf/basic/BasicLookAndFeel.java,
3943         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3944         javax/swing/plaf/basic/BasicTextUI.java,
3945         javax/swing/plaf/metal/MetalLookAndFeel.java:
3946         New versions from classpath.
3947
3948 2003-07-13  Michael Koch  <konqueror@gmx.de>
3949
3950         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3951         * gnu/java/awt/peer/gtk/GdkGraphics.java
3952         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
3953         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
3954         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
3955         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
3956         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
3957         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3958         * gnu/java/awt/peer/gtk/GtkClipboard.java
3959         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
3960         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3961         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3962         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
3963         * gnu/java/awt/peer/gtk/GtkImage.java
3964         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3965         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
3966         * gnu/java/awt/peer/gtk/GtkListPeer.java
3967         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3968         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3969         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3970         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
3971         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
3972         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3973         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
3974         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3975         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
3976         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
3977         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3978         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3979
3980 2003-07-13  Michael Koch  <konqueror@gmx.de>
3981
3982         * gnu/java/locale/LocaleInformation_de.java
3983         * gnu/java/locale/LocaleInformation_en.java
3984         * gnu/java/locale/LocaleInformation_nl.java
3985
3986 2003-07-13  Michael Koch  <konqueror@gmx.de>
3987
3988         * gnu/java/awt/EmbeddedWindow.java,
3989         gnu/java/awt/EmbeddedWindowSupport.java,
3990         gnu/java/awt/natEmbeddedWindow.cc:
3991         New files.
3992         * java/awt/Window.java
3993         (Window): New constructor to support embedded windows.
3994         * Makefile.am
3995         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
3996         gnu/java/awt/EmbeddedWindowSupport.java.
3997         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
3998         * Makefile.in: Regenerated.
3999
4000 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4001
4002         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4003         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4004         * java/awt/im/InputContext.java: Remove a redundant
4005         partial line.
4006
4007 2003-07-09  Tom Tromey  <tromey@redhat.com>
4008
4009         * Makefile.in: Rebuilt.
4010         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4011
4012 2003-07-09  Mark Wielaard  <mark@klomp.org>
4013
4014         * java/io/ObjectOutputStream.java (writeObject): break after
4015         calling writeClassDescriptor().
4016
4017 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4018
4019         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4020
4021 2003-07-09  Michael Koch  <konqueror@gmx.de>
4022
4023         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4024         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4025         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4026         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4027         Explicitly import used classes.
4028         * java/awt/Container.java: New version from classpath.
4029
4030 2003-07-09  Michael Koch  <konqueror@gmx.de>
4031
4032         * libgcj.pc.in: New file.
4033         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4034         * Makefile.in: Regenerated.
4035         * configure: Regenrated.
4036         * configure.in: Create libgcj.pc from libgcj.pc.in.
4037
4038 2003-07-08  Mark Wielaard <mark@klomp.org>
4039
4040         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4041
4042         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4043         * java/lang/fdlibm.h: Likewise.
4044
4045 2003-07-07  Adam Megacz <adam@xwt.org>
4046
4047         * posix.cc: added #include<stdio.h>
4048                 
4049 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4050
4051         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4052         formatting.
4053
4054         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4055         (setCaretPosition, setEditable): Rely entirely on native
4056         implementation.
4057         (getArgs): Remove.
4058         (postTextEvent): New method.
4059         (handleEvent): New method.
4060         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4061         method.
4062         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4063         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4064         (keysym_to_awt_keycode): Fix range checks.
4065         (generates_key_typed_event): New function.
4066         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4067         queue.
4068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4069         (gtkInit): Store TextComponent's postTextEvent method ID.
4070         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4071         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4072
4073 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4074
4075         * configure.in: Check for usleep declaration.
4076         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4077         * configure: Regenerate.
4078         * include/config.h.in: Likewise.
4079         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4080
4081 2003-07-01  Michael Koch  <konqueror@gmx.de>
4082
4083         * gnu/gcj/convert/natIconv.cc
4084         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4085         handle.
4086
4087 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4088
4089         * glib-2.0.m4: New file.
4090         * gtk-2.0.m4: New file.
4091         * glib.m4: Remove.
4092         * gtk.m4: Remove.
4093         * configure.in: Update AM_PATH_GTK macro call to
4094         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4096         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4097         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4098         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4099         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4100         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4101         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4102         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4103         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4104         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4105         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4106         jni/gtk-peer/gthread-jni.c,
4107         jni/gtk-peer/gthread-jni.h:
4108         New versions from classpath.
4109         * aclocal.m4: Regenerate.
4110         * configure: Regenerate.
4111         * Makefile.in: Regenerate.
4112         * gcj/Makefile.in: Regenerate.
4113         * include/Makefile.in: Regenerate.
4114         * testsuite/Makefile.in: Regenerate.
4115
4116 2003-06-30  Gary Benson  <gbenson@redhat.com>
4117
4118         For PR libgcj/11349:
4119         * javax/naming/spi/NamingManager.java (getURLContext): Use
4120         correct name for factory class.
4121
4122 2003-06-28  Michael Koch  <konqueror@gmx.de>
4123
4124         * java/io/PrintStream.java
4125         (checkError): Call flush() instead of direct flushing of the Writer
4126         object.
4127         (print): Call print(String) instead of direct print method of the
4128         Writer Object.
4129         (println): Call println(String) instead of direct println method of the
4130         Writer Object.
4131         (write): Simplified.
4132
4133 2003-06-28  Michael Koch  <konqueror@gmx.de>
4134
4135         * java/net/ServerSocket.java
4136         (setChannel): New method.
4137         * java/net/Socket.java
4138         (setChannel): New method.
4139
4140 2003-06-27  Michael Koch  <konqueror@gmx.de>
4141
4142         * java/beans/beancontext/BeanContextSupport.java:
4143         New version from classpath.
4144
4145 2003-06-27  Michael Koch  <konqueror@gmx.de>
4146
4147         * java/awt/Window.java,
4148         java/awt/font/GraphicAttribute.java,
4149         java/awt/font/ImageGraphicAttribute.java,
4150         java/awt/image/DataBufferByte.java,
4151         java/awt/image/DataBufferInt.java,
4152         java/awt/image/DataBufferUShort.java,
4153         java/awt/image/DirectColorModel.java,
4154         java/awt/image/PixelGrabber.java:
4155         New versions from classpath.
4156
4157 2003-06-27  Michael Koch  <konqueror@gmx.de>
4158
4159         * java/security/Certificate.java
4160         (getGuarantor): Removed wrong @deprecated tag.
4161         (getPrincipal): Likewise.
4162         (getPublicKey): Likewise.
4163         (encode): Likewise.
4164         (decode): Likewise.
4165         (getFormat): Likewise.
4166         (toString): Likewise.
4167         * java/security/cert/PolicyQualifierInfo.java
4168         (PolicyQualifierInfo): Made final.
4169         * javax/security/auth/x500/X500Principal.java
4170         (serialVersionUID): New member variable.
4171
4172 2003-06-27  Michael Koch  <konqueror@gmx.de>
4173
4174         * java/text/Format.java
4175         (serialVersionUID): Fixed value.
4176
4177 2003-06-27  Michael Koch  <konqueror@gmx.de>
4178
4179         * java/net/Inet4Address.java
4180         (Inet4Address): Made package-private.
4181         * java/net/Inet6Address.java
4182         (Inet4Address): Made package-private.
4183
4184 2003-06-27  Michael Koch  <konqueror@gmx.de>
4185
4186         * java/io/RandomAccessFile.java
4187         (readLine): Removed wrong @deprecated tag.
4188         (getChannel): Made final.
4189
4190 2003-06-27  Michael Koch  <konqueror@gmx.de>
4191
4192         * gnu/java/nio/FileChannelImpl.java
4193         (write): Removed.
4194
4195 2003-06-27  Michael Koch  <konqueror@gmx.de>
4196
4197         * java/nio/ByteBufferImpl.java
4198         (ByteBufferImpl): Made it a package-private class
4199         * java/nio/CharBufferImpl.java
4200         (CharBufferImpl): Made it a package-private class
4201         * java/nio/DirectByteBufferImpl.java
4202         (DirectByteBufferImpl): Made it a package-private class
4203         * java/nio/DoubleBufferImpl.java
4204         (DoubleBufferImpl): Made it a package-private class
4205         * java/nio/FloatBufferImpl.java
4206         (FloatBufferImpl): Made it a package-private class
4207         * java/nio/IntBufferImpl.java
4208         (IntBufferImpl): Made it a package-private class
4209         * java/nio/LongBufferImpl.java
4210         (LongBufferImpl): Made it a package-private class
4211         * java/nio/ShortBufferImpl.java
4212         (ShortBufferImpl): Made it a package-private class
4213         * java/nio/channels/FileChannel.java
4214         (write): Made final.
4215         * java/nio/channels/ServerSocketChannel.java
4216         (ServerSocketChanne): Made protected.
4217
4218 2003-06-27  Michael Koch  <konqueror@gmx.de>
4219
4220         * javax/naming/CompositeName.java
4221         (serialVersionUID): New member variable.
4222         * javax/naming/CompoundName.java
4223         (serialVersionUID): New member variable.
4224         * javax/naming/InitialContext.java
4225         (InitialContext): Throws NamingException.
4226         (init): Likewise.
4227         * javax/naming/LinkRef.java
4228         (serialVersionUID): New member variable.
4229         (gteLinkName): Throws NamingException.
4230         * javax/naming/NamingException.java
4231         (serialVersionUID): New member variable.
4232         * javax/naming/NamingSecurityException.java
4233         (NamingSecurityException): Made abstract.
4234         (serialVersionUID): New member variable.
4235         * javax/naming/ReferralException.java
4236         (serialVersionUID): New member variable.
4237         * javax/naming/StringRefAddr.java
4238         (serialVersionUID): New member variable.
4239         * javax/naming/directory/BasicAttribute.java:
4240         Reworked imports.
4241         (serialVersionUID): New member variable.
4242         (get): Throws NamingException.
4243         (getAll): Throws NamingException.
4244         * javax/naming/directory/BasicAttributes.java:
4245         Reworked imports.
4246         (serialVersionUID): New member variable.
4247         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4248         (serialVersionUID): New member variable.
4249
4250 2003-06-27  Michael Koch  <konqueror@gmx.de>
4251
4252         * Makefile.am
4253         (awt_java_source_files): Added new files:
4254         javax/swing/Popup.java,
4255         javax/swing/PopupFactory.java
4256         * Makefile.in: Regenerated.
4257
4258 2003-06-27  Michael Koch  <konqueror@gmx.de>
4259
4260         * javax/swing/JWindow.java,
4261         javax/swing/event/AncestorEvent.java,
4262         javax/swing/event/HyperlinkEvent.java,
4263         javax/swing/event/InternalFrameEvent.java,
4264         javax/swing/event/ListDataEvent.java,
4265         javax/swing/event/TableModelEvent.java,
4266         javax/swing/plaf/PopupMenuUI.java,
4267         javax/swing/plaf/SplitPaneUI.java,
4268         javax/swing/plaf/TabbedPaneUI.java,
4269         javax/swing/plaf/TextUI.java,
4270         javax/swing/plaf/TreeUI.java,
4271         javax/swing/plaf/basic/BasicTextUI.java,
4272         javax/swing/plaf/basic/BasicTreeUI.java:
4273         New versions from classpath.
4274         * javax/swing/Popup.java,
4275         javax/swing/PopupFactory.jav:
4276         New source files from classpath.
4277         * javax/swing/plaf/doc-files/TreeUI-1.png:
4278         New binary files from classpath.
4279
4280 2003-06-25  Michael Koch  <konqueror@gmx.de>
4281
4282         * Makefile.am
4283         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4284         * Makefile.in: Regenerated.
4285
4286 2003-06-25  Michael Koch  <konqueror@gmx.de>
4287
4288         * javax/swing/plaf/ActionMapUIResource.java,
4289         javax/swing/plaf/BorderUIResource.java,
4290         javax/swing/plaf/ButtonUI.java,
4291         javax/swing/plaf/ColorChooserUI.java,
4292         javax/swing/plaf/ColorUIResource.java,
4293         javax/swing/plaf/ComboBoxUI.java,
4294         javax/swing/plaf/ComponentInputMapUIResource.java,
4295         javax/swing/plaf/ComponentUI.java,
4296         javax/swing/plaf/DesktopIconUI.java,
4297         javax/swing/plaf/DesktopPaneUI.java,
4298         javax/swing/plaf/DimensionUIResource.java,
4299         javax/swing/plaf/FileChooserUI.java,
4300         javax/swing/plaf/FontUIResource.java,
4301         javax/swing/plaf/IconUIResource.java,
4302         javax/swing/plaf/InputMapUIResource.java,
4303         javax/swing/plaf/InsetsUIResource.java,
4304         javax/swing/plaf/InternalFrameUI.java,
4305         javax/swing/plaf/LabelUI.java,
4306         javax/swing/plaf/ListUI.java,
4307         javax/swing/plaf/MenuBarUI.java,
4308         javax/swing/plaf/MenuItemUI.java,
4309         javax/swing/plaf/OptionPaneUI.java,
4310         javax/swing/plaf/PanelUI.java,
4311         javax/swing/plaf/ProgressBarUI.java,
4312         javax/swing/plaf/RootPaneUI.java,
4313         javax/swing/plaf/ScrollBarUI.java,
4314         javax/swing/plaf/ScrollPaneUI.java,
4315         javax/swing/plaf/SeparatorUI.java,
4316         javax/swing/plaf/SliderUI.java,
4317         javax/swing/plaf/TableHeaderUI.java,
4318         javax/swing/plaf/TableUI.java,
4319         javax/swing/plaf/ToolBarUI.java,
4320         javax/swing/plaf/ToolTipUI.java,
4321         javax/swing/plaf/ViewportUI.java:
4322         New versions from classpath.
4323         * javax/swing/plaf/SpinnerUI.java: 
4324         New file from classpath
4325
4326 2003-06-25  Michael Koch  <konqueror@gmx.de>
4327
4328         * java/awt/image/ColorModel.java:
4329         New version from classpath.
4330
4331 2003-06-25  Michael Koch  <konqueror@gmx.de>
4332
4333         * java/net/PlainDatagramSocketImpl.java:
4334         Partly merged with classpath, this mainly adds documentation.
4335
4336 2003-06-25  Michael Koch  <konqueror@gmx.de>
4337
4338         * java/io/ObjectInputStream.java
4339         (readClassDescriptor): New method.
4340         (readObject): Moved functionality to readClassDescriptor().
4341         * java/io/ObjectOutputStream.java
4342         (writeClassDescriptor): New method.
4343         (writeObject): Moved functionality to writeClassDescriptor().
4344
4345 2003-06-25  Michael Koch  <konqueror@gmx.de>
4346
4347         * javax/swing/plaf/basic/BasicListUI.java,
4348         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4349         Added missing methods.
4350
4351 2003-06-25  Michael Koch  <konqueror@gmx.de>
4352
4353         * javax/swing/event/AncestorEvent.java
4354         javax/swing/event/HyperlinkEvent.java
4355         javax/swing/event/InternalFrameEvent.java
4356         javax/swing/event/ListDataEvent.java
4357         javax/swing/event/TableModelEvent.java:
4358         Compile fixes.
4359
4360 2003-06-24  Michael Koch  <konqueror@gmx.de>
4361
4362         * java/net/URL.java:
4363         Renamed "handler" to "ph" in the whole file to match classpaths
4364         version.
4365         * java/net/URLStreamHandler.java:
4366         (equals): Renamed "handler" to "ph".
4367
4368 2003-06-24  Michael Koch  <konqueror@gmx.de>
4369
4370         * javax/swing/event/AncestorEvent.java,
4371         javax/swing/event/HyperlinkEvent.java,
4372         javax/swing/event/InternalFrameEvent.java,
4373         javax/swing/event/ListDataEvent.java,
4374         javax/swing/event/TableModelEvent.java,
4375         javax/swing/event/TreeWillExpandListener.java,
4376         javax/swing/plaf/ComponentUI.java,
4377         javax/swing/plaf/DesktopIconUI.java,
4378         javax/swing/plaf/DesktopPaneUI.java,
4379         javax/swing/plaf/DimensionUIResource.java,
4380         javax/swing/plaf/FileChooserUI.java,
4381         javax/swing/plaf/FontUIResource.java,
4382         javax/swing/plaf/IconUIResource.java,
4383         javax/swing/plaf/InputMapUIResource.java,
4384         javax/swing/plaf/InsetsUIResource.java,
4385         javax/swing/plaf/InternalFrameUI.java,
4386         javax/swing/plaf/LabelUI.java,
4387         javax/swing/plaf/ListUI.java,
4388         javax/swing/plaf/MenuBarUI.java,
4389         javax/swing/plaf/MenuItemUI.java,
4390         javax/swing/plaf/OptionPaneUI.java,
4391         javax/swing/plaf/PanelUI.java,
4392         javax/swing/plaf/ProgressBarUI.java,
4393         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4394         javax/swing/plaf/doc-files/ComponentUI-1.png:
4395         New versions from classpath.
4396
4397 2003-06-24  Michael Koch  <konqueror@gmx.de>
4398
4399         * java/nio/Buffer.java
4400         (cap): Made package-private.
4401         (pos): Likewise.
4402         (limit): Likewise.
4403         (mark): Likewise.
4404
4405 2003-06-24  Michael Koch  <konqueror@gmx.de>
4406
4407         * java/net/SocketImpl.java
4408         (shutdownInput): Made it non-abstract method throwing an exception
4409         like in SUNs JRE.
4410         (shutdownOutput): Likewise.
4411         * java/net/SocketInputStream.java,
4412         java/net/SocketOutputStream.java:
4413         New files from classpath.
4414
4415 2003-06-24  Michael Koch  <konqueror@gmx.de>
4416
4417         * java/awt/Font.java,
4418         java/awt/Window.java,
4419         java/awt/color/ColorSpace.java,
4420         java/awt/datatransfer/StringSelection.java,
4421         java/awt/image/ColorModel.java:
4422         New versions from classpath.
4423
4424 2003-06-24  Michael Koch  <konqueror@gmx.de>
4425
4426         * Makefile.am
4427         (awt_java_source_files): Added new files:
4428         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4429         javax/swing/plaf/basic/BasicSplitPaneUI.java
4430         * Makefile.in: Regenerated.
4431
4432 2003-06-24  Michael Koch  <konqueror@gmx.de>
4433
4434         * javax/swing/text/JTextComponent.java:
4435         New version from classpath.
4436
4437 2003-06-24  Michael Koch  <konqueror@gmx.de>
4438
4439         * javax/swing/Timer.java,
4440         javax/swing/plaf/ActionMapUIResource.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/basic/BasicBorders.java:
4447         New versions from classpath.
4448         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4449         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4450         New file from classpath.
4451         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4452         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4453         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4454         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4455         javax/swing/plaf/doc-files/ComponentUI-1.png:
4456         New binary files from classpath.
4457
4458 2003-06-24  Michael Koch  <konqueror@gmx.de>
4459
4460         * java/io/LineNumberReader.java
4461         (skip): Dont do line number accounting here as this is already done in
4462         read(), simplified.
4463
4464 2003-06-21  Michael Koch  <konqueror@gmx.de>
4465
4466         * java/io/File.java
4467         (static): Load javaio lib if existing (only in classpath).
4468         (File): Revised documentation to show the correct argument name.
4469         (createTempFile): Partly merged with classpath.
4470         (compareTo): Simplified.
4471         (lastModified): Throw exception if time < 0.
4472         (deleteOnExit): Revised documentation.
4473
4474 2003-06-21  Michael Koch  <konqueror@gmx.de>
4475
4476         * java/net/PlainSocketImpl.java:
4477         Reformatted.
4478         (PlainSocketImpl): Merged class documentaion with classpath.
4479         (in): Moved.
4480         (out): Moved.
4481         (PlainSocketImpl): New empty constructor.
4482         (finalize): Moved.
4483         (setOption): Merged documentation from classpath.
4484         (getOption): Likewise.
4485         (create): Likewise.
4486         (connect): Likewise.
4487         (bind): Likewise.
4488         (listen): Likewise.
4489         (accept): Likewise.
4490         (available): Likewise.
4491         (close): Likewise.
4492         (read): Likewise.
4493         (write): Likewise.
4494         (getInputStream): Made synchronozed to get sure that only one stream
4495         object can be created for this socket, merged documentation from
4496         classpath.
4497         (getOutputStream): Likewise.
4498
4499 2003-06-21  Michael Koch  <konqueror@gmx.de>
4500
4501         * java/net/PlainSocketImpl.java:
4502         Reformatting.
4503         (static): New implicit method.
4504         (read): Made package private.
4505         (write): Likewise.
4506
4507 2003-06-21  Michael Koch  <konqueror@gmx.de>
4508
4509         * java/util/SimpleTimeZone.java:
4510         Removed unneeded import, reformatting.
4511
4512 2003-06-21  Michael Koch  <konqueror@gmx.de>
4513
4514         * java/text/DateFormat.java,
4515         java/text/SimpleDateFormat.java,
4516         java/util/Locale.java:
4517         New versions from classpath.
4518
4519 2003-06-21  Michael Koch  <konqueror@gmx.de>
4520
4521         * javax/swing/SpinnerModel.java:
4522         New file from classpath.
4523         * javax/swing/border/LineBorder.java,
4524         javax/swing/border/SoftBevelBorder.java,
4525         javax/swing/plaf/BorderUIResource.java,
4526         javax/swing/plaf/basic/BasicBorders.java:
4527         New versions from classpath.
4528         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4529         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4530         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4531         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4532         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4533         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4534         New binary files from classpath.
4535
4536 2003-06-21  Michael Koch  <konqueror@gmx.de>
4537
4538         * java/util/logging/LogRecord.java,
4539         java/util/logging/Logger.java,
4540         java/util/logging/SocketHandler.java,
4541         java/util/logging/SimpleFormatter.java,
4542         java/util/logging/Formatter.java,
4543         java/util/logging/ErrorManager.java,
4544         java/util/logging/Handler.java,
4545         java/util/logging/FileHandler.java,
4546         java/util/logging/LogManager.java,
4547         java/util/logging/Level.java,
4548         java/util/logging/ConsoleHandler.java,
4549         java/util/logging/StreamHandler.java,
4550         java/util/logging/LoggingPermission.java,
4551         java/util/logging/Filter.java,
4552         java/util/logging/MemoryHandler.java,
4553         java/util/logging/XMLFormatter.java:
4554         New files from classpath.
4555
4556 2003-06-20  Michael Koch  <konqueror@gmx.de>
4557
4558         * java/io/ObjectStreamField.java
4559         (unshared): new member variable.
4560         (ObjectStreamField): New constructor.
4561         (isUnshared): New method.
4562
4563 2003-06-20  Michael Koch  <konqueror@gmx.de>
4564
4565         * java/net/URLStreamHandler.java
4566         (hostsEqual): Rewritten.
4567
4568 2003-06-20  Michael Koch  <konqueror@gmx.de>
4569
4570         * gnu/java/nio/MappedByteFileBuffer.java,
4571         gnu/java/nio/natMappedByteFileBuffer.cc:
4572         Removed
4573         * java/nio/MappedByteBufferImpl.java:
4574         New file.
4575         * gnu/java/nio/FileChannelImpl.java:
4576         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4577         * Makefile.am
4578         (ordinary_java_source_files): Removed
4579         gnu/java/nio/MappedByteFileBuffer.java and added
4580         java/nio/MappedByteBufferImpl.java.
4581         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4582         * Makefile.in: Regenerated.
4583
4584 2003-06-19  Michael Koch  <konqueror@gmx.de>
4585
4586         * gnu/java/nio/DatagramChannelImpl.java
4587         (fd): Removed.
4588         (blocking): New member variable.
4589         (socket): Likewise.
4590         (DatagramChannelImpl): Throws IOException, initialize socket.
4591         (socket):Implemented.
4592         (implCloseSelectableChannel): Throws IOException, implemented.
4593         (implConfigureBlocking): Likewise.
4594         (connect): Likewise.
4595         (disconnect): Likewise.
4596         (isConnected): Likewise.
4597         (write): Likewise.
4598         (read): Likewise.
4599         (receive): Throws IOException.
4600         (send): Likewise.
4601         * gnu/java/nio/SocketChannelImpl.java
4602         (read): Implemented.
4603         (write): Implemented.
4604
4605 2003-06-19  Michael Koch  <konqueror@gmx.de>
4606
4607         * javax/swing/JComponent.java,
4608         javax/swing/JInternalFrame.java,
4609         javax/swing/MenuSelectionManager.java,
4610         javax/swing/SwingUtilities.java,
4611         javax/swing/ToggleButtonModel.java:
4612         New versions from classpath.
4613
4614 2003-06-19  Michael Koch  <konqueror@gmx.de>
4615
4616         * java/text/CollationElementIterator.java
4617         (NULLORDER): Initialize with -1 as JDK documentation says.
4618
4619 2003-06-19  Michael Koch  <konqueror@gmx.de>
4620
4621         * java/net/HttpURLConnection.java,
4622         java/net/Inet4Address.java,
4623         java/net/Inet6Address.java,
4624         java/net/SocketImpl.java,
4625         java/net/URLClassLoader.java:
4626         Reworked import statements.
4627         * java/net/InetAddress.java
4628         (getByAddress): Simplified.
4629         * java/net/ServerSocket.java
4630         (ServerSocket): Moved special handling during bind operation to
4631         bind().
4632         (bind): Handle different cases when trying to bind a socket.
4633         * java/net/URLConnection.java
4634         (getHeaderFieldDate): Merged with classpath.
4635         (getHeaderFieldInt): Likewise.
4636
4637 2003-06-19  Michael Koch  <konqueror@gmx.de>
4638
4639         * java/util/zip/InflaterInputStream.java
4640         (InflaterInputStream): Throw NullPointerException if in is null (as
4641         JDK does).
4642
4643 2003-06-19  Michael Koch  <konqueror@gmx.de>
4644
4645         * java/awt/Font.java
4646         javax/swing/UIManager.java
4647         javax/swing/border/AbstractBorder.java
4648         javax/swing/border/BevelBorder.java
4649         javax/swing/border/Border.java
4650         javax/swing/border/CompoundBorder.java
4651         javax/swing/border/EmptyBorder.java
4652         javax/swing/border/EtchedBorder.java
4653         javax/swing/border/LineBorder.java
4654         javax/swing/border/MatteBorder.java
4655         javax/swing/border/TitledBorder.java
4656         javax/swing/plaf/BorderUIResource.java
4657         javax/swing/plaf/basic/BasicBorders.java
4658         javax/swing/plaf/basic/BasicButtonUI.java
4659         javax/swing/plaf/basic/BasicCheckBoxUI.java
4660         javax/swing/plaf/basic/BasicGraphicsUtils.java
4661         javax/swing/plaf/basic/BasicLabelUI.java
4662         javax/swing/plaf/basic/BasicRadioButtonUI.java
4663         javax/swing/plaf/basic/BasicToggleButtonUI.java:
4664         New versions from classpath.
4665         * javax/swing/border/SoftBevelBorder.java:
4666         New file from classpath.
4667         * javax/swing/border/doc-files/LineBorder-1.png,
4668         javax/swing/border/doc-files/BevelBorder-1.png,
4669         javax/swing/border/doc-files/BevelBorder-2.png,
4670         javax/swing/border/doc-files/BevelBorder-3.png,
4671         javax/swing/border/doc-files/EmptyBorder-1.png,
4672         javax/swing/border/doc-files/EtchedBorder-1.png,
4673         javax/swing/border/doc-files/EtchedBorder-2.png,
4674         javax/swing/border/doc-files/MatteBorder-1.png,
4675         javax/swing/border/doc-files/MatteBorder-2.png,
4676         javax/swing/border/doc-files/MatteBorder-3.png,
4677         javax/swing/border/doc-files/MatteBorder-4.png,
4678         javax/swing/border/doc-files/MatteBorder-5.png,
4679         javax/swing/border/doc-files/MatteBorder-6.png,
4680         javax/swing/border/doc-files/SoftBevelBorder-1.png,
4681         javax/swing/border/doc-files/SoftBevelBorder-2.png,
4682         javax/swing/border/doc-files/SoftBevelBorder-3.png,
4683         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4684         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4685         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4686         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4687         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4688         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4689         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4690         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4691         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4692         New binary files from classpath.
4693         * Makefile.am
4694         (awt_java_source_files): Added
4695         javax/swing/border/SoftBevelBorder.java.
4696         * Makefile.in: Regenerated.
4697
4698 2003-06-19  Michael Koch  <konqueror@gmx.de>
4699
4700         * gnu/java/security/x509/X509Certificate.java
4701         (writeReplace): Merged from classpath.
4702
4703 2003-06-19  Michael Koch  <konqueror@gmx.de>
4704
4705         * gnu/java/nio/FileChannelImpl.java
4706         (map_address): Made public.
4707         (FileChannelImpl): Merged with classpath.
4708         * gnu/java/nio/natFileChannelImpl.cc
4709         (nio_mmap_file): Commented out unused arguments.
4710         (nio_unmmap_file): Likewise.
4711         (niu_msync): Likewise.
4712
4713 2003-06-19  Michael Koch  <konqueror@gmx.de>
4714
4715         * java/awt/image/IndexColorModel.java:
4716         New version from classpath.
4717
4718 2003-06-18  Tom Tromey  <tromey@redhat.com>
4719
4720         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4721         on arrays.
4722         (isLoopbackAddress): Likewise.
4723         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4724         on arrays.
4725
4726 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
4727
4728         * java/lang/natVMSecurityManager.cc (getClassContext):
4729         Use maxlen instead of len for loop bound.
4730
4731 2003-06-18  Michael Koch  <konqueror@gmx.de>
4732
4733         * gnu/java/nio/SelectorImpl.java
4734         (register): Use fd with value 0 for now, will be fixed later.
4735         * gnu/java/nio/ServerSocketChannelImpl.java
4736         (fd): Removed.
4737         (local_port): Removed.
4738         (InetSocketAddress): Removed.
4739         (ServerSocketChannelImpl): Just initialize internal socket object.
4740         (implCloseSelectableChannel): Close internal socket object.
4741         (implConfigureBlocking): Added comment.
4742         (accept): Use jaba.net stuff to accept socket.
4743         * gnu/java/nio/SocketChannelImpl.java
4744         (fd): Removed.
4745         (local_port): Removed.
4746         (InetSocketAddress): Removed.
4747         (SocketCreate): Removed.
4748         (SocketConnect): Removed.
4749         (SocketBind): Removed.
4750         (SocketListen): Removed.
4751         (SocketAvailable): Removed.
4752         (SocketClose): Removed.
4753         (SocketRead): Removed.
4754         (SocketWrite): Removed.
4755         (SocketChannelImpl): Just initialize internal socket object.
4756         (implCloseSelectableChannel): Close internal socket object.
4757         (implConfigureBlocking): Fixed implementation, added comment.
4758         (connect): Use internal socket object to connect.
4759         (socket): No need for sanity checks.
4760         (read): Comment out some stuff, this will be reimplemented in the next
4761         commit.
4762         (write): Likewise.
4763         * gnu/java/nio/natFileChannelImpl.cc
4764         (nio_mmap_file): Line wrapped.
4765         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
4766         * Makefile.am
4767         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
4768         * Makefile.in: Regenerated.
4769
4770 2003-06-18  Michael Koch  <konqueror@gmx.de>
4771
4772         * java/util/Locale.java
4773         (equals): Merged from classpath.
4774
4775 2003-06-18  Michael Koch  <konqueror@gmx.de>
4776
4777         * java/net/InetAddress.java:
4778         Reformatted to better match classpath's version.
4779         * java/net/URL.java
4780         (equals): Simplified.
4781         * java/net/URLConnection.java
4782         (setDoInput): Revised documentation.
4783         (getDefaultUseCaches): Likewise.
4784         (setRequestProperty): Added @since tag.
4785
4786 2003-06-17  Michael Koch  <konqueror@gmx.de>
4787
4788         * java/net/InetSocketAddress.java
4789         (InetSocketAddress): Use wildcard address if addr is null.
4790         (InetSocketAddress): Dont duplicate implementation.
4791         (InetSocketAddress): Throw exception when hostname is null.
4792         * java/net/Socket.java:
4793         Reworked imports.
4794         (Socket): Throw exception when raddr is null, handle case when laddr
4795         is null.
4796
4797 2003-06-17  Michael Koch  <konqueror@gmx.de>
4798
4799         * java/nio/DirectByteBufferImpl.java
4800         (address): Made package private.
4801         (DirectByteBufferImpl): New constructor.
4802         * java/nio/natDirectByteBufferImpl.cc
4803         (allocateImpl): Moved to java.nio namespace, implemented.
4804         (freeImpl): Likewise.
4805         (getImpl): Likewise.
4806         (putImpl): Likewise.
4807         * jni.cc
4808         (_Jv_JNI_NewDirectByteBuffer): Implemented.
4809         (_Jv_JNI_GetDirectBufferAddress): Implemented.
4810         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
4811
4812 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4813
4814         * include/powerpc-signal.h: New File.
4815         * configure.in: Use it.
4816         * configure: Regenerated.
4817
4818 2003-06-17  Michael Koch  <konqueror@gmx.de>
4819
4820         * java/util/Locale.java
4821         (getDisplayLanguage): Made it final.
4822         (getDisplayCountry): Likewise.
4823         (getDisplayVariant): Likewise.
4824         (getDisplayName): Likewise.
4825
4826 2003-06-17  Michael Koch  <konqueror@gmx.de>
4827
4828         * java/util/PropertyResourceBundle.java:
4829         Removed unneeded import.
4830
4831 2003-06-17  Michael Koch  <konqueror@gmx.de>
4832
4833         * java/util/prefs/AbstractPreferences.java,
4834         java/util/prefs/PreferencesFactory.java:
4835         Reworked imports, removed unused imports.
4836         * java/util/prefs/Preferences.java
4837         (systemNodeForPackage): Method takes a Class not an Object.
4838         (userNodeForPackage): Likewise.
4839         (nodeForPackage): Likewise.
4840
4841 2003-06-17  Michael Koch  <konqueror@gmx.de>
4842
4843         * gnu/java/security/x509/X509Certificate.java:
4844         Explicitely import used classes.
4845
4846 2003-06-17  Michael Koch  <konqueror@gmx.de>
4847
4848         * java/util/zip/ZipEntry.java,
4849         java/util/zip/ZipFile.java,
4850         java/util/zip/ZipInputStream.java,
4851         java/util/zip/ZipOutputStream.java:
4852         Reworked imports, only import used classes.
4853
4854 2003-06-17  Michael Koch  <konqueror@gmx.de>
4855
4856         * gnu/java/lang/ArrayHelper.java,
4857         gnu/java/lang/ClassHelper.java:
4858         Reformatted to match classpath's versions.
4859
4860 2003-06-14  Michael Koch  <konqueror@gmx.de>
4861
4862         * gnu/java/nio/FileChannelImpl.java
4863         (map_address): Removed incorrect comment.        
4864         * gnu/java/nio/SelectorImpl.java
4865         (register): Remove code duplication and code for file channel handling.        
4866         * gnu/java/nio/ServerSocketChannelImpl.java
4867         (serverSocket): Renamed from sock_object.
4868         (ServerSocketChannel): Initialize serverSocket.
4869         (socket): Return serverSocket.
4870         * gnu/java/nio/SocketChannelImpl.java
4871         (socket): Renamed from sock_object.
4872         (isConnectionPenging): Simplified.
4873         (socket): Return socket.
4874 2003-06-14  Michael Koch  <konqueror@gmx.de>
4875
4876         * java/security/BasicPermission.java:
4877         New version from classpath.
4878
4879 2003-06-14  Michael Koch  <konqueror@gmx.de>
4880
4881         * javax/naming/directory/Attribute.java:
4882         New version from classpath.
4883
4884 2003-06-14  Michael Koch  <konqueror@gmx.de>
4885
4886         * java/io/BufferedReader.java,
4887         java/io/FileOutputStream.java:
4888         New versions from classpath.
4889
4890 2003-06-12  Andrew Haley  <aph@redhat.com>
4891
4892         * prims.cc (catch_segv): Create exception in handler.
4893         (catch_fpe): Likewise.  
4894         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
4895         (_Jv_ThrowSignal): Remove.
4896
4897         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
4898         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
4899         to nullp and arithexception.
4900         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4901         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4902         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4903         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4904         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4905
4906 2003-06-11  Andrew Haley  <aph@redhat.com>
4907
4908         * jni.cc (_Jv_JNI_check_types): New.
4909         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
4910         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
4911         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
4912         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
4913         
4914         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
4915         infinite loop.
4916
4917 2003-06-11  Tom Tromey  <tromey@redhat.com>
4918
4919         * java/lang/ClassLoader.java (loadClass): Not deprecated.
4920         * java/io/PrintStream.java: Not deprecated.
4921
4922 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
4923
4924         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
4925         (fillOval): implemented
4926         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
4927         (fillArc): implemented.
4928         * gnu/gcj/xlib/GC.java (drawArc): added native method.
4929         (fillArc): added native method.
4930         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
4931         (fillArc): added native method.
4932
4933 2003-06-11  Michael Koch  <konqueror@gmx.de>
4934
4935         * java/awt/im/InputSubset.java:
4936         New version from classpath.
4937
4938 2003-06-11  Michael Koch  <konqueror@gmx.de>
4939
4940         * javax/swing/AbstractAction.java,
4941         javax/swing/AbstractButton.java,
4942         javax/swing/AbstractCellEditor.java,
4943         javax/swing/AbstractListModel.java,
4944         javax/swing/BorderFactory.java,
4945         javax/swing/Box.java,
4946         javax/swing/BoxLayout.java,
4947         javax/swing/ButtonGroup.java,
4948         javax/swing/DefaultButtonModel.java,
4949         javax/swing/DefaultListModel.java,
4950         javax/swing/DefaultListSelectionModel.java,
4951         javax/swing/FocusManager.java,
4952         javax/swing/ImageIcon.java,
4953         javax/swing/InputMap.java,
4954         javax/swing/JApplet.java,
4955         javax/swing/JButton.java,
4956         javax/swing/JCheckBox.java,
4957         javax/swing/JCheckBoxMenuItem.java,
4958         javax/swing/JColorChooser.java,
4959         javax/swing/JComboBox.java,
4960         javax/swing/JComponent.java,
4961         javax/swing/JDesktopPane.java,
4962         javax/swing/JDialog.java,
4963         javax/swing/JEditorPane.java,
4964         javax/swing/JFileChooser.java,
4965         javax/swing/JFormattedTextField.java,
4966         javax/swing/JFrame.java,
4967         javax/swing/JLabel.java,
4968         javax/swing/JLayeredPane.java,
4969         javax/swing/JList.java,
4970         javax/swing/JMenuBar.java,
4971         javax/swing/JMenuItem.java,
4972         javax/swing/JOptionPane.java,
4973         javax/swing/JPanel.java,
4974         javax/swing/JPasswordField.java,
4975         javax/swing/JPopupMenu.java,
4976         javax/swing/JProgressBar.java,
4977         javax/swing/JRadioButton.java,
4978         javax/swing/JRadioButtonMenuItem.java,
4979         javax/swing/JRootPane.java,
4980         javax/swing/JScrollBar.java,
4981         javax/swing/JScrollPane.java,
4982         javax/swing/JSeparator.java,
4983         javax/swing/JSlider.java,
4984         javax/swing/JTabbedPane.java,
4985         javax/swing/JTable.java,
4986         javax/swing/JTextField.java,
4987         javax/swing/JToggleButton.java,
4988         javax/swing/JToolBar.java,
4989         javax/swing/JToolTip.java,
4990         javax/swing/JTree.java,
4991         javax/swing/JViewport.java,
4992         javax/swing/JWindow.java,
4993         javax/swing/KeyStroke.java,
4994         javax/swing/ListSelectionModel.java,
4995         javax/swing/LookAndFeel.java,
4996         javax/swing/RepaintManager.java,
4997         javax/swing/ScrollPaneLayout.java,
4998         javax/swing/SizeRequirements.java,
4999         javax/swing/SwingConstants.java,
5000         javax/swing/Timer.java,
5001         javax/swing/UIDefaults.java,
5002         javax/swing/UIManager.java,
5003         javax/swing/border/AbstractBorder.java,
5004         javax/swing/border/CompoundBorder.java,
5005         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5006         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5007         javax/swing/colorchooser/ColorSelectionModel.java,
5008         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5009         javax/swing/event/AncestorEvent.java,
5010         javax/swing/event/HyperlinkEvent.java,
5011         javax/swing/event/InternalFrameAdapter.java,
5012         javax/swing/event/InternalFrameEvent.java,
5013         javax/swing/event/ListDataEvent.java,
5014         javax/swing/event/MouseInputAdapter.java,
5015         javax/swing/event/SwingPropertyChangeSupport.java,
5016         javax/swing/event/TableModelEvent.java,
5017         javax/swing/event/TreeWillExpandListener.java,
5018         javax/swing/event/UndoableEditEvent.java,
5019         javax/swing/filechooser/FileFilter.java,
5020         javax/swing/filechooser/FileSystemView.java,
5021         javax/swing/filechooser/FileView.java,
5022         javax/swing/plaf/BorderUIResource.java,
5023         javax/swing/plaf/basic/BasicDefaults.java,
5024         javax/swing/table/AbstractTableModel.java,
5025         javax/swing/table/DefaultTableCellRenderer.java,
5026         javax/swing/table/DefaultTableColumnModel.java,
5027         javax/swing/table/DefaultTableModel.java,
5028         javax/swing/table/TableColumn.java,
5029         javax/swing/text/JTextComponent.java,
5030         javax/swing/tree/AbstractLayoutCache.java,
5031         javax/swing/tree/DefaultMutableTreeNode.java,
5032         javax/swing/tree/DefaultTreeCellEditor.java,
5033         javax/swing/tree/DefaultTreeCellRenderer.java,
5034         javax/swing/tree/DefaultTreeModel.java,
5035         javax/swing/tree/DefaultTreeSelectionModel.java,
5036         javax/swing/tree/FixedHeightLayoutCache.java,
5037         javax/swing/tree/TreeCellEditor.java,
5038         javax/swing/tree/TreeModel.java,
5039         javax/swing/tree/TreeNode.java,
5040         javax/swing/tree/TreePath.java,
5041         javax/swing/tree/TreeSelectionModel.java,
5042         javax/swing/tree/VariableHeightLayoutCache.java,
5043         javax/swing/undo/AbstractUndoableEdit.java,
5044         javax/swing/undo/CompoundEdit.java,
5045         javax/swing/undo/StateEdit.java,
5046         javax/swing/undo/UndoManager.java,
5047         javax/swing/undo/UndoableEditSupport.java:
5048         New versions from classpath.
5049         * javax/swing/table/JTableHeader.java:
5050         New file from classpath.
5051         * Makefile.am
5052         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5053         * Makefile.in: Regenerated.
5054
5055 2003-06-11  Michael Koch  <konqueror@gmx.de>
5056
5057         * java/nio/MappedByteBuffer.java,
5058         java/nio/channels/Channels.java,
5059         java/nio/channels/ServerSocketChannel.java,
5060         java/nio/channels/spi/AbstractSelector.java:
5061         Removed unneeded imports.
5062
5063 2003-06-11  Michael Koch  <konqueror@gmx.de>
5064
5065         * java/net/DatagramSocket.java:
5066         Partly merged with classpath.
5067
5068 2003-06-11  Michael Koch  <konqueror@gmx.de>
5069
5070         * java/awt/Frame.java,
5071         java/awt/Graphics.java,
5072         java/awt/Menu.java,
5073         java/awt/Robot.java,
5074         java/awt/image/ColorModel.java:
5075         New versions from classpath.
5076
5077 2003-06-10  Michael Koch  <konqueror@gmx.de>
5078
5079         * java/io/PrintStream.java:
5080         Merged version from classpath.
5081         (close): Removed sychronized keyword. This class is not garantied to
5082         be thread-safe.
5083         (write): Likewise.
5084
5085 2003-06-09  Tom Tromey  <tromey@redhat.com>
5086
5087         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5088         field.
5089         (getDescent): Likewise, for "descent".
5090
5091 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5092
5093         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5094         (getMaxDescent): adjusted return value.
5095         (getAscent): modified to use metrics for 'O'.
5096         (getDescent): modified to use metrics for 'y'.
5097
5098 2003-06-08  Anthony Green  <green@redhat.com>
5099
5100         * java/net/URLStreamHandler.java (sameFile): Fix port value
5101         comparison.
5102         * java/net/URL.java (handler): Make package private.
5103         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5104
5105 2003-06-07  Tom Tromey  <tromey@redhat.com>
5106
5107         For PR libgcj/11085:
5108         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5109         Limit number of characters in numeric field when required.
5110         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5111         Respect maximumIntegerDigits.
5112
5113 2003-06-08  Michael Koch  <konqueror@gmx.de>
5114
5115         * java/net/Socket.java
5116         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5117         call bind() and connect() to actually do the bind and connect tasks.
5118         (bind): Connect to canonical address if bindpoint is null, create
5119         socket and bind it to bindpoint.
5120         (connect): Check for exceptions.
5121
5122 2003-06-08  Michael Koch  <konqueror@gmx.de>
5123
5124         * java/net/DatagramSocket.java
5125         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5126         into the Multicast constructors.
5127         * java/net/DatagramSocketImpl.java
5128         (getOption): Removed.
5129         (setOption): Removed.
5130         * java/net/MulticastSocket.java
5131         (MulticastSocket): Call setReuseAddress (true).
5132         * java/net/SocketImpl.java
5133         (getOption): Removed.
5134         (setOption): Removed.
5135
5136 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5137
5138         PR libgcj/10886:
5139         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5140         Test for empty vector.
5141
5142 2003-06-06  Mark Wielaard  <mark@klomp.org>
5143
5144         * java/security/Security.java (secprops): Initialize.
5145         (loadProviders): Return boolean.
5146         (static): Check result of loadProvider calls. If necessary
5147         display WARNING and fallback to Gnu provider.
5148
5149 2002-06-06  James Clark  <jjc@jclark.com>
5150
5151         Fix for PR libgcj/8738:
5152         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5153         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5154         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5155         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5156         (write): Always decrease avail when count is increased.
5157         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5158         and whether output buffer is full before increasing size.
5159
5160 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5161
5162         * java/io/PrintStream.java (writeChars(char[],int, int)):
5163         Check converter.havePendingBytes().
5164         (writeChars(String,int,int)): Likewise.
5165         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5166         Check converter.havePendingBytes() and flush buffer when stalled.
5167
5168 2003-06-07  Michael Koch  <konqueror@gmx.de>
5169
5170         * include/posix.h
5171         (O_DSYNC): Define O_DSYNC on platforms not
5172         supporting O_FSYNC (newlib).
5173
5174 2003-06-06  Mark Wielaard  <mark@klomp.org>
5175
5176         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5177         AWTError.
5178
5179 2003-06-06  Michael Koch  <konqueror@gmx.de>
5180
5181         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5182         More compile fixes from my stupid work yesterday.
5183
5184 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5185
5186         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5187         if _IEEE_LIBM is undefined.
5188
5189 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5190
5191         * libjava/include/posix.h (O_SYNC): Define if not available
5192         and a reasonable, perhaps more conservative, replacement exists.
5193         (O_DSYNC): Likewise.
5194         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5195
5196 2003-06-05  Michael Koch  <konqueror@gmx.de>
5197
5198         * javax/swing/plaf/BorderUIResource.java,
5199         javax/swing/plaf/basic/BasicDefaults.java,
5200         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5201         More compile fixes for latest Border commit. I should not commit
5202         something in this heat here ...
5203
5204 2003-06-05  Michael Koch  <konqueror@gmx.de>
5205
5206         * javax/swing/border/BevelBorder.java
5207         (BevelBorder): Removed.
5208         * javax/swing/border/EmptyBorder.java:
5209         Reformatted.
5210         (EmptyBorder): Removed.
5211         (getBorderInsets): Dont use l, r, t and b.
5212         * javax/swing/border/EtchedBorder.java
5213         (EtchedBorder): Removed.
5214         * javax/swing/border/LineBorder.java
5215         (LineBorder): Removed.
5216         * javax/swing/border/MatteBorder.java
5217         (MatteBorder): Removed.
5218         * javax/swing/border/TitledBorder.java
5219         (defaultBorder): Use other default for now.
5220         (defaultFont): Likewise.
5221         (defaultColor): Likewise.
5222
5223 2003-06-05  Michael Koch  <konqueror@gmx.de>
5224
5225         * javax/swing/border/Border.java:
5226         New version from classpath.
5227
5228 2003-06-05  Michael Koch  <konqueror@gmx.de>
5229
5230         * javax/swing/border/AbstractBorder.java,
5231         javax/swing/border/BevelBorder.java,
5232         javax/swing/border/CompoundBorder.java,
5233         javax/swing/border/EmptyBorder.java,
5234         javax/swing/border/EtchedBorder.java,
5235         javax/swing/border/LineBorder.java,
5236         javax/swing/border/MatteBorder.java,
5237         javax/swing/border/TitledBorder.java:
5238         New versions from Classpath.
5239
5240 2003-06-05  Michael Koch  <konqueror@gmx.de>
5241
5242         * java/awt/Button.java,
5243         java/awt/Checkbox.java,
5244         java/awt/CheckboxMenuItem.java,
5245         java/awt/Choice.java,
5246         java/awt/Container.java,
5247         java/awt/Dialog.java,
5248         java/awt/EventQueue.java,
5249         java/awt/FileDialog.java,
5250         java/awt/Frame.java,
5251         java/awt/Label.java,
5252         java/awt/List.java,
5253         java/awt/Menu.java,
5254         java/awt/MenuItem.java,
5255         java/awt/Panel.java,
5256         java/awt/PopupMenu.java,
5257         java/awt/Rectangle.java,
5258         java/awt/ScrollPane.java,
5259         java/awt/Scrollbar.java,
5260         java/awt/TextArea.java,
5261         java/awt/TextField.java,
5262         java/awt/Window.java,
5263         java/awt/datatransfer/DataFlavor.java,
5264         java/awt/dnd/DragSource.java,
5265         java/awt/dnd/DragSourceContext.java,
5266         java/awt/event/HierarchyEvent.java,
5267         java/awt/event/MouseWheelEvent.java,
5268         java/awt/im/InputContext.java,
5269         java/awt/image/BufferedImage.java,
5270         java/awt/image/ComponentColorModel.java,
5271         java/awt/image/Raster.java,
5272         java/awt/image/WritableRaster.java,
5273         java/awt/peer/ComponentPeer.java,
5274         java/awt/print/PageFormat.java,
5275         java/awt/print/PrinterJob.java:
5276         New versions from Classpath.
5277
5278 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5279
5280         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5281         numberFormat.setParseIntegerOnly(true).
5282
5283 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5284
5285         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5286
5287 2003-06-03  Andrew Haley  <aph@redhat.com>
5288
5289         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5290         stack volatile to prevent optimization from removing it.
5291
5292 2003-05-27  Michael Koch  <konqueror@gmx.de>
5293
5294         * java/util/zip/Deflater.java
5295         (FILTERED): Merged documentation from classpath.
5296         * java/util/zip/DeflaterOutputStream.java
5297         (DeflaterOutputStream): Merged documentation and argument validity
5298         check from classpath.
5299         (deflate): Merged documentation from classpath.
5300         (finish): Likewise.
5301         * java/util/zip/Inflater.java
5302         (Inflater): Merged class documentation from classpath.
5303         (zstream): Reordered.
5304         (is_finished): Reordered.
5305         (dict_needed): Reordered.
5306         (Inflater): Reordered, merged documentation from classpath.
5307         (end): Likewise.
5308         (finalize): Merged documentation from classpath.
5309         (finished): Likewise.
5310         (getAdler): Likewise.
5311         (getRemaining): Likewise.
5312         (getTotalIn): Likewise.
5313         (getTotalOut): Likewise.
5314         (inflate): Likewise.
5315         (needsDictionary): Likewise.
5316         (needsInput): Likewise.
5317         (reset): Likewise.
5318         (setDictionary): Likewise.
5319         (setInput): Likewise.
5320
5321 2003-05-27  Michael Koch  <konqueror@gmx.de>
5322
5323         * java/net/URLConnection.java
5324         (getHeaderFieldInt): Merged with classpath.
5325
5326 2003-05-27  Michael Koch  <konqueror@gmx.de>
5327
5328         * java/io/PrintStream.java
5329         (PrintStream): Reformatted.
5330         (PrintStream): New method, merged from classpath.
5331         (write): Reformatted.
5332
5333 2003-05-27  Michael Koch  <konqueror@gmx.de>
5334
5335         * java/lang/System.java:
5336         Explicitely import needed classes.
5337
5338 2003-05-26  Michael Koch  <konqueror@gmx.de>
5339
5340         * java/net/NetPermission.java,
5341         java/net/NetworkInterface.java,
5342         java/net/PasswordAuthentication.java,
5343         java/net/SocketPermission.java:
5344         New versions from classpath.
5345
5346 2003-05-25  Michael Koch  <konqueror@gmx.de>
5347
5348         * java/io/PushbackInputStream.java,
5349         java/net/Authenticator.java,
5350         java/net/ContentHandler.java,
5351         java/net/ContentHandlerFactory.java,
5352         java/net/DatagramSocket.java,
5353         java/net/DatagramSocketImpl.java,
5354         java/net/DatagramSocketImplFactory.java,
5355         java/net/FileNameMap.java,
5356         java/net/SocketImplFactory.java,
5357         java/net/SocketOptions.java,
5358         java/net/URLStreamHandlerFactory.java:
5359         Merged new versions from classpath.
5360
5361 2003-05-25  Michael Koch  <konqueror@gmx.de>
5362
5363         * java/awt/Checkbox.java,
5364         java/awt/Dialog.java,
5365         java/awt/Font.java,
5366         java/awt/Frame.java,
5367         java/awt/ScrollPaneAdjustable.java,
5368         java/awt/Scrollbar.java,
5369         java/awt/Window.java:
5370         New versions from classpath.
5371
5372 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5373
5374         PR libgcj/10838:
5375         * java/io/ObjectInputStream (enableResolveObject):
5376         Fixed spelling of permission name.
5377
5378 2003-05-20  Michael Koch  <konqueror@gmx.de>
5379
5380         * java/io/DataInputStream.java
5381         (convertFromUTF): Merged comment from classpath.
5382         * java/io/PrintStream.java
5383         (error_occured): Renamed from error, merged comment from classpath.
5384         (PrintStream): No need to initialized error.
5385         (checkError): Replace error with error_occurred.
5386         (setError): Likewise.
5387
5388 2003-05-20  Michael Koch  <konqueror@gmx.de>
5389
5390         * java/io/DataInputStream.java:
5391         Reformatted, Replaced < and & with html entitites in documentation.
5392         * java/io/File.java:
5393         Reformatted.
5394         * java/io/PrintWriter.java:
5395         Moved class documentation.
5396
5397 2003-05-20  Michael Koch  <konqueror@gmx.de>
5398
5399         * gnu/java/nio/ByteBufferImpl.java,
5400         gnu/java/nio/CharBufferImpl.java,
5401         gnu/java/nio/CharViewBufferImpl.java,
5402         gnu/java/nio/DirectByteBufferImpl.java,
5403         gnu/java/nio/DoubleBufferImpl.java,
5404         gnu/java/nio/DoubleViewBufferImpl.java,
5405         gnu/java/nio/FloatBufferImpl.java,
5406         gnu/java/nio/FloatViewBufferImpl.java,
5407         gnu/java/nio/IntBufferImpl.java,
5408         gnu/java/nio/IntViewBufferImpl.java,
5409         gnu/java/nio/LongBufferImpl.java,
5410         gnu/java/nio/LongViewBufferImpl.java,
5411         gnu/java/nio/natDirectByteBufferImpl.cc,
5412         gnu/java/nio/ShortBufferImpl.java,
5413         gnu/java/nio/ShortViewBufferImpl.java:
5414         Moved files to java/nio.
5415         * gnu/java/nio/SocketChannelImpl.java
5416         
5417         * java/nio/ByteBuffer.java,
5418         java/nio/CharBuffer.java,
5419         java/nio/DoubleBuffer.java,
5420         java/nio/FloatBuffer.java,
5421         java/nio/IntBuffer.java,
5422         java/nio/LongBuffer.java,
5423         java/nio/ShortBuffer.java:
5424         Dont import anything.
5425         * java/nio/ByteBufferImpl.java,
5426         java/nio/CharBufferImpl.java,
5427         java/nio/CharViewBufferImpl.java,
5428         java/nio/DirectByteBufferImpl.java,
5429         java/nio/DoubleBufferImpl.java,
5430         java/nio/DoubleViewBufferImpl.java,
5431         java/nio/FloatBufferImpl.java,
5432         java/nio/FloatViewBufferImpl.java,
5433         java/nio/IntBufferImpl.java,
5434         java/nio/IntViewBufferImpl.java,
5435         java/nio/LongBufferImpl.java,
5436         java/nio/LongViewBufferImpl.java,
5437         java/nio/natDirectByteBufferImpl.cc,
5438         java/nio/ShortBufferImpl.java,
5439         java/nio/ShortViewBufferImpl.java:
5440         Moved from gnu/java/nio.
5441         * Makefile.am
5442         (ordinary_java_source_files): Moved files from gnu/java/nio to
5443         java/nio.
5444         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5445         to java/nio.
5446         * Makefile.in: Regenerated.
5447
5448 2003-05-19  Michael Koch  <konqueror@gmx.de>
5449
5450         * java/util/Calendar.java
5451         (get): Not final anymore since JDK 1.4
5452         (set): Likewise.
5453
5454 2003-05-19  Michael Koch  <konqueror@gmx.de>
5455
5456         * java/text/CollationKey.java:
5457         Merged copyright and dat from classpath.
5458         * java/text/RuleBasedCollator.java:
5459         Merged class documentation from classpath.
5460
5461 2003-05-19  Michael Koch  <konqueror@gmx.de>
5462
5463         * java/nio/CharBuffer.java
5464         (toString): Compile fix.
5465
5466 2003-05-19  Michael Koch  <konqueror@gmx.de>
5467
5468         * gnu/java/nio/ByteBufferImpl.java
5469         (putLong): Fixed conversion to bytes.
5470         (putDouble): Fixed conversion to bytes.
5471         * gnu/java/nio/DirectByteBufferImpl.java
5472         (putLong): Fixed conversion to bytes.
5473         (putDouble): Fixed conversion to bytes.
5474         * gnu/java/nio/FileLockImpl.java
5475         (isValid): Reformatted.
5476         * java/nio/Buffer.java
5477         (Buffer): Fixed off-by-one bug in handling mark.
5478         * java/nio/ByteBuffer.java:
5479         Added newline.
5480         * java/nio/CharBuffer.java
5481         (toString): Don't use relative get to get string data.
5482
5483 2003-05-16  Michael Koch  <konqueror@gmx.de>
5484
5485         * java/io/natFileDescriptorPosix.cc
5486         (open): Commented out the O_SYNC and O_DSYNC usage until its better
5487         tested.
5488
5489 2003-05-14  Michael Koch  <konqueror@gmx.de>
5490
5491         * gnu/java/nio/FileLockImpl.java
5492         (released): New member variable.
5493         (FileLockImpl): Initialize released.
5494         (releaseImpl): New native method.
5495         (release): Implemented.
5496         * gnu/java/nio/SelectorImpl.java: Reformatted.
5497         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5498         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5499         (accept): Throws IOException.
5500         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5501         (implConfigureBlocking): Throws IOException.
5502         (connect): Likewise.
5503         (read): Likewise.
5504         (write): Likewise.
5505         * gnu/java/nio/natFileLockImpl.cc: New file.
5506         * java/nio/channels/FileLock.java: Reformatted.
5507         * Makefile.am:
5508         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5509         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5510         * Makefile.in: Regenerated.
5511
5512 2003-05-13  Michael Koch  <konqueror@gmx.de>
5513
5514         * gnu/java/nio/CharViewBufferImpl.java
5515         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5516         (get): Shift bits to the right direction.
5517         (put): Likewise.
5518         * gnu/java/nio/DoubleViewBufferImpl.java
5519         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5520         (get): Shift bits to the right direction.
5521         (put): Likewise.
5522         * gnu/java/nio/FloatViewBufferImpl.java
5523         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5524         (get): Shift bits to the right direction.
5525         (put): Likewise.
5526         * gnu/java/nio/IntViewBufferImpl.java
5527         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5528         (get): Shift bits to the right direction.
5529         (put): Likewise.
5530         * gnu/java/nio/LongViewBufferImpl.java
5531         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5532         (get): Shift bits to the right direction.
5533         (put): Likewise.
5534         * gnu/java/nio/ShortViewBufferImpl.java
5535         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5536         (get): Shift bits to the right direction.
5537         (put): Likewise.
5538
5539 2003-05-13  Michael Koch  <konqueror@gmx.de>
5540
5541         * gnu/java/nio/natDirectByteBufferImpl.cc
5542         (allocateImpl): jlong -> RawData*.
5543         (freeImpl): Likewise.
5544
5545 2003-05-13  Michael Koch  <konqueror@gmx.de>
5546
5547         * java/nio/channels/FileChannel.java
5548         (MapMode.m): Made it package-private to match JDK 1.4.
5549         * java/nio/charset/Charset.java
5550         (decode): Made it final to match JDK 1.4.
5551
5552 2003-05-13  Michael Koch  <konqueror@gmx.de>
5553
5554        * java/io/FileDescriptor.java
5555        (SYNC): New constant.
5556        (DSYNC): Likewise.
5557        (getLength): Renamed from lenght() to match classpath's
5558        FileDescriptor.java.
5559        * java/io/RandomAccessFile.java
5560        (RandomAccessFile): Removed unneeded mode check, implemented mode
5561        "rws" and "rwd", merged documentation from classpath.
5562        (setLength): Reformatted.
5563        (length): Use new getLength() of FileDescriptor.
5564        * java/io/natFileDescriptorEcos.cc
5565        (getLength): Renamed from length().
5566        * java/io/natFileDescriptorPosix.cc
5567        (open): Implemented support for SYNC and DSYNC.
5568        (seek): Use getLength() instead of length().
5569        (getLength): Renamed from length().
5570        * java/io/natFileDescriptorWin32.cc
5571        (getLength): Renamed from length().
5572        (seek): Use getLength() instead of length().
5573        (available): Likewise.
5574        * gnu/java/nio/natFileChannelImpl.cc
5575        (size): Use getLength() instead of length().
5576
5577 2003-05-13  Michael Koch  <konqueror@gmx.de>
5578
5579         * gnu/java/nio/ByteBufferImpl.java
5580         (ByteBufferImpl): All constructors revised.
5581         (slice): Reimplemented.
5582         (duplicate): Reimplemented.
5583         (asReadOnlyBuffer): Reimplemented.
5584         * java/nio/ByteBuffer.java:
5585         Reformatted.
5586         (array_offset): Renamed from "offset" to match all other buffer
5587         classes.
5588         (ByteBuffer): All constructors revised.
5589         (allocateDirect): Implemented.
5590         (allocate): New implementation, documentation reworked.
5591         (wrap): Likewise.
5592         (get): Documentation reworked.
5593         (put): New implementation, documentation reworked.
5594         (hasArray): Documentation reworked.
5595         (arrayOffset): Likewise.
5596         (hashCode): Likewise.
5597         (equals): Likewise.
5598         (compareTo): Likewise.
5599         (order): Likewise.
5600         (compact): Likewise.
5601         (isDirect): Likewise.
5602         (slice): Likewise.
5603         (duplicate): Likewise.
5604         (asReadOnlyBuffer): Likewise.
5605         * Makefile.am
5606         (ordinary_java_source_files):
5607         Added gnu/java/nio/DirectByteBufferImpl.java.
5608         (nat_source_files):
5609         Added gnu/java/nio/natDirectByteBufferImpl.cc.
5610         * Makefile.in: Regenerated.
5611
5612 2003-05-12  Michael Koch  <konqueror@gmx.de>
5613
5614         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5615         (nio_get_*): Removed.
5616         (nio_put_*): Removed.
5617         (as*Buffer): Implemented.
5618         (compact): Implemented.
5619         (get): Documentation added.
5620         (put): Documentation added.
5621         (get*): Newly implemented.
5622         (put*): Newly implemented.
5623         * gnu/java/nio/CharBufferImpl.java: Reformatted.
5624         (CharBufferImpl): Revised.
5625         (slice): New implementation.
5626         (duplicate): New implementation.
5627         (compact): New implementation.
5628         (asReadOnlyBuffer): New implementation.
5629         (get): Documentation revised.
5630         (order): Return native byte order.
5631         * gnu/java/nio/DirectByteBufferImpl.java
5632         (allocateDirect): objects can be null not 0.
5633         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5634         (DoubleBufferImpl): Revised.
5635         (slice): New implementation.
5636         (duplicate): New implementation.
5637         (compact): New implementation.
5638         (asReadOnlyBuffer): New implementation.
5639         (get): Documentation revised.
5640         (order): Return native byte order.
5641         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5642         (FloatBufferImpl): Revised.
5643         (slice): New implementation.
5644         (duplicate): New implementation.
5645         (compact): New implementation.
5646         (asReadOnlyBuffer): New implementation.
5647         (get): Documentation revised.
5648         (order): Return native byte order.
5649         * gnu/java/nio/IntBufferImpl.java: Reformatted.
5650         (IntBufferImpl): Revised.
5651         (slice): New implementation.
5652         (duplicate): New implementation.
5653         (compact): New implementation.
5654         (asReadOnlyBuffer): New implementation.
5655         (get): Documentation revised.
5656         (order): Return native byte order.
5657         * gnu/java/nio/LongBufferImpl.java: Reformatted.
5658         (LongBufferImpl): Revised.
5659         (slice): New implementation.
5660         (duplicate): New implementation.
5661         (compact): New implementation.
5662         (asReadOnlyBuffer): New implementation.
5663         (get): Documentation revised.
5664         (order): Return native byte order.
5665         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5666         (ShortBufferImpl): Revised.
5667         (slice): New implementation.
5668         (duplicate): New implementation.
5669         (compact): New implementation.
5670         (asReadOnlyBuffer): New implementation.
5671         (get): Documentation revised.
5672         (order): Return native byte order.
5673         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5674         (CharBuffer): Revised.
5675         (order): Removed.
5676         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5677         (DoubleBuffer): Revised.
5678         (allocateDirect): Removed.
5679         (order): Removed.
5680         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5681         (FloatBuffer): Revised.
5682         (allocateDirect): Removed.
5683         (order): Removed.
5684         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5685         (IntBuffer): Revised.
5686         (allocateDirect): Removed.
5687         (order): Removed.
5688         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5689         (LongBuffer): Revised.
5690         (allocateDirect): Removed.
5691         (order): Removed.
5692         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5693         (ShortBuffer): Revised.
5694         (allocateDirect): Removed.
5695         (order): Removed.
5696         * gnu/java/nio/natByteBufferImpl.cc: Removed.
5697         * gnu/java/nio/natCharBufferImpl.cc: Removed.
5698         * Makefile.am
5699         (ordinary_java_source_files): Added the following files:
5700         gnu/java/nio/CharViewBufferImpl.java,
5701         gnu/java/nio/DoubleViewBufferImpl.java,
5702         gnu/java/nio/FloatViewBufferImpl.java,
5703         gnu/java/nio/IntViewBufferImpl.java,
5704         gnu/java/nio/LongViewBufferImpl.java,
5705         gnu/java/nio/ShortViewBufferImpl.java
5706         (nat_source_files): Removed the following files:
5707         gnu/java/nio/natByteBufferImpl.cc,
5708         gnu/java/nio/natCharBufferImpl.cc
5709         * Makefile.in: Regenerated.
5710
5711 2003-05-12  Michael Koch  <konqueror@gmx.de>
5712
5713         * gnu/java/nio/CharViewBufferImpl.java,
5714         gnu/java/nio/DirectByteBufferImpl.java,
5715         gnu/java/nio/DoubleViewBufferImpl.java,
5716         gnu/java/nio/FloatViewBufferImpl.java,
5717         gnu/java/nio/IntViewBufferImpl.java,
5718         gnu/java/nio/LongViewBufferImpl.java,
5719         gnu/java/nio/ShortViewBufferImpl.java,
5720         gnu/java/nio/natDirectByteBufferImpl.cc:
5721         New files, not yet to be compiled.
5722
5723 2003-05-10  Michael Koch  <konqueror@gmx.de>
5724
5725         * javax/swing/plaf/ButtonUI.java,
5726         javax/swing/plaf/ColorUIResource.java,
5727         javax/swing/plaf/ComponentUI.java,
5728         javax/swing/plaf/DimensionUIResource.java,
5729         javax/swing/plaf/FontUIResource.java,
5730         javax/swing/plaf/IconUIResource.java,
5731         javax/swing/plaf/InsetsUIResource.java,
5732         javax/swing/plaf/LabelUI.java,
5733         javax/swing/plaf/ListUI.java,
5734         javax/swing/plaf/OptionPaneUI.java,
5735         javax/swing/plaf/PanelUI.java,
5736         javax/swing/plaf/TabbedPaneUI.java,
5737         javax/swing/plaf/TextUI.java,
5738         javax/swing/plaf/TreeUI.java,
5739         javax/swing/plaf/ViewportUI.java,
5740         javax/swing/plaf/basic/BasicBorders.java,
5741         javax/swing/plaf/basic/BasicButtonUI.java,
5742         javax/swing/plaf/basic/BasicCheckBoxUI.java,
5743         javax/swing/plaf/basic/BasicDefaults.java,
5744         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5745         javax/swing/plaf/basic/BasicIconFactory.java,
5746         javax/swing/plaf/basic/BasicLabelUI.java,
5747         javax/swing/plaf/basic/BasicListUI.java,
5748         javax/swing/plaf/basic/BasicOptionPaneUI.java,
5749         javax/swing/plaf/basic/BasicPanelUI.java,
5750         javax/swing/plaf/basic/BasicRadioButtonUI.java,
5751         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5752         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5753         javax/swing/plaf/basic/BasicTextUI.java,
5754         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5755         javax/swing/plaf/basic/BasicTreeUI.java,
5756         javax/swing/plaf/basic/BasicViewportUI.java,
5757         javax/swing/plaf/metal/MetalLookAndFeel.java:
5758         New versions from classpath. This adds copyrights to all files and
5759         some serialVersionUIDs.
5760
5761 2003-05-10  Michael Koch  <konqueror@gmx.de>
5762
5763         * java/nio/CharBuffer.java
5764         (offset): Make it package-private.
5765         (backing_buffer): Likewise.
5766         * java/nio/DoubleBuffer.java
5767         (offset): Make it package-private.
5768         (backing_buffer): Likewise.
5769         (put): Reformatted.
5770         * java/nio/FloatBuffer.java
5771         (offset): Make it package-private.
5772         (backing_buffer): Likewise.
5773         * java/nio/IntBuffer.java
5774         (offset): Make it package-private.
5775         (backing_buffer): Likewise.
5776         * java/nio/LongBuffer.java
5777         (offset): Make it package-private.
5778         (backing_buffer): Likewise.
5779         * java/nio/ShortBuffer.java
5780         (offset): Make it package-private.
5781         (backing_buffer): Likewise.
5782
5783 2003-05-10  Michael Koch  <konqueror@gmx.de>
5784
5785         * java/nio/CharBuffer.java
5786         (put): Fixed precondtion check.
5787         (toString): Make it work without backing array.
5788         (put): Skip one level of method calling.
5789
5790 2003-05-10  Michael Koch  <konqueror@gmx.de>
5791
5792         * java/security/Identity.java,
5793         java/security/IdentityScope.java,
5794         java/security/Key.java,
5795         java/security/KeyPair.java,
5796         java/security/PrivateKey.java,
5797         java/security/Provider.java,
5798         java/security/PublicKey.java,
5799         java/security/SecureRandom.java,
5800         java/security/SecureRandomSpi.java,
5801         java/security/SignedObject.java,
5802         java/security/Signer.java,
5803         java/security/cert/Certificate.java,
5804         java/security/cert/PKIXCertPathBuilderResult.java,
5805         java/security/cert/X509Certificate.java:
5806         New versions from classpath.
5807
5808 2003-05-09  Tom Tromey  <tromey@redhat.com>
5809
5810         * Makefile.in: Rebuilt.
5811         * Makefile.am (nat_source_files): Removed old files.
5812         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
5813         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
5814         * gnu/java/nio/natIntBufferImpl.cc: Removed.
5815         * gnu/java/nio/natLongBufferImpl.cc: Removed.
5816         * gnu/java/nio/natShortBufferImpl.cc: Removed.
5817
5818 2003-05-09  Michael Koch  <konqueror@gmx.de>
5819
5820         * gnu/java/nio/ByteBufferImpl.java
5821         (nio_cast): Removed.
5822         (ByteBufferImpl): Removed.
5823         (nio_get_Byte): Removed.
5824         (nio_put_Byte): Removed.
5825         (asByteBuffer): Removed.
5826         (asCharBuffer): Removed implementation and throw exception.
5827         (asShortBuffer): Likewise.
5828         (asIntBuffer): Likewise.
5829         (asLongBuffer): Likewise.
5830         (asFloatBuffer): Likewise.
5831         (asDoubleBuffer): Likewise.
5832         * gnu/java/nio/CharBufferImpl.java
5833         (CharBufferImpl): Removed.
5834         (nio_get_Byte): Removed.
5835         (nio_put_Byte): Removed.
5836         (asByteBuffer): Removed.
5837         * gnu/java/nio/DoubleBufferImpl.java
5838         (DoubleBufferImpl): Removed.
5839         (nio_get_Byte): Removed.
5840         (nio_put_Byte): Removed.
5841         (asByteBuffer): Removed.
5842         * gnu/java/nio/FloatBufferImpl.java
5843         (FloatBufferImpl): Removed.
5844         (nio_get_Byte): Removed.
5845         (nio_put_Byte): Removed.
5846         (asByteBuffer): Removed.
5847         * gnu/java/nio/IntBufferImpl.java
5848         (IntBufferImpl): Removed.
5849         (nio_get_Byte): Removed.
5850         (nio_put_Byte): Removed.
5851         (asByteBuffer): Removed.
5852         * gnu/java/nio/LongBufferImpl.java
5853         (LongBufferImpl): Removed.
5854         (nio_get_Byte): Removed.
5855         (nio_put_Byte): Removed.
5856         (asByteBuffer): Removed.
5857         * gnu/java/nio/ShortBufferImpl.java
5858         (ShortBufferImpl): Removed.
5859         (nio_get_Byte): Removed.
5860         (nio_put_Byte): Removed.
5861         (asByteBuffer): Removed.
5862         * gnu/java/nio/natByteBufferImpl.cc
5863         (nio_cast): Removed.
5864         (nio_get_Byte): Removed.
5865         (nio_put_Byte): Removed.
5866         * gnu/java/nio/natCharBufferImpl.cc
5867         (nio_get_Byte): Removed.
5868         (nio_put_Byte): Removed.
5869
5870 2003-05-09  Michael Koch  <konqueror@gmx.de>
5871
5872         * java/net/JarURLConnection.java
5873         (getJarEntry): Merged documentation from classpath.
5874         (getJarFile): Likewise.
5875         (getMainAttributes): Likewise.
5876         (getAttributes): Likewise.
5877         (getManifest): Likewise.
5878         (getCertificates): Reformatted.
5879         * java/net/URLConnection.java:
5880         Little classpath merge.
5881
5882 2003-05-09  Michael Koch  <konqueror@gmx.de>
5883
5884         * java/io/DataOutputStream.java
5885         (writeShort): Made it synchronized.
5886         (writeChar): Likewise.
5887         (writeInt): Likewise.
5888         (writeLong): Liekwise.
5889         (writeUTF): Made it synchronized, renamed argument to match classpath.
5890         * java/io/InputStreamReader.java
5891         (converter): Added documentation.
5892         (read): Merged documentation from classpath.
5893         * java/io/OutputStreamWriter.java
5894         (OutputStreamWriter): Merged documentation from classpath.
5895         (close): Reformatted.
5896         (getEncoding): Likewise.
5897         (flush): Likewise.
5898         (write): Merged documentation from classpath, reformatted.
5899
5900 2003-05-08  Tom Tromey  <tromey@redhat.com>
5901
5902         * configure.host <powerpc64*-*>: Set with_libffi_default and
5903         libgcj_interpreter to "yes".
5904
5905 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
5906
5907         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
5908         
5909 2003-05-06  Tom Tromey  <tromey@redhat.com>
5910
5911         * verify.cc: Reverted previous patch.
5912
5913 2003-05-06  Michael Koch  <konqueror@gmx.de>
5914
5915         * java/io/DataOutputStream.java
5916         (write): Renamed argument to "value", merged documentation from
5917         classpath.
5918         (writeBoolean): Likewise.
5919         (writeByte): Likewise.
5920         (writeShort): Likewise.
5921         (writeChar): Likewise.
5922         (writeInt): Likewise.
5923         (writeLong): Likewise.
5924         (writeFloat): Likewise.
5925         (writeDouble): Likewise.
5926         (writeBytes): Likewise.
5927         (writeChars): Likewise.
5928         (writeUTF): Likewise.
5929         * java/io/File.java
5930         (performDelete): Added documentation.
5931         (performList): Likewise.
5932         (performMkdir): Likewise.
5933         (performSetReadOnly): Likewise.
5934         (performRenameTo): Likewise.
5935         (performSetLastModified): Likewise.
5936         (delete): Made it sychronized.
5937         (renameTo): Made it sychronized.
5938         (equals): Reformatted.
5939         (isHidden): Likewise.
5940         (listFiles): Likewise.
5941         (setReadOnly): Likewise.
5942         (listRoots): Likewise.
5943         (setLastModified): Likewise.
5944         (checkRead): Likewise.
5945         (checkWrite): Likewise.
5946         * java/io/FileInputStream.java
5947         (skip): Made it sychronized, merged from classpath.
5948         * java/io/FileOutputStream.java
5949         (write): Merged from classpath.
5950         * java/io/InputStreamReader.java:
5951         (InputStreamReader): Merged documentation from classpath.
5952
5953 2003-05-05  Michael Koch  <konqueror@gmx.de>
5954
5955         * java/net/NetworkInterface.java
5956         (networkInterfaces): Removed.
5957         (getByName): Use getRealNetworkInterfaces() instead of
5958         networkInterfaces.
5959         (getByInetAddress): Likewise.
5960         (getNetworkInterfaces): Likewise.
5961         (toString): Fix output of addresses of an interface.
5962
5963 2003-05-05  Michael Koch  <konqueror@gmx.de>
5964
5965         * java/io/DataInputStream.java:
5966         Merged new documentation from classpath.
5967
5968 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
5969
5970         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
5971         "version".
5972         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
5973         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
5974         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
5975         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
5976         * gnu/awt/gtk/GtkMainThread.java: Likewise.
5977         * gnu/awt/gtk/GtkToolkit.java: Likewise.
5978         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
5979         * java/security/Key.java: Likewise.
5980         * java/security/PrivateKey.java: Likewise.
5981         * java/security/Provider.java: Likewise.
5982         * java/security/PublicKey.java: Likewise.
5983
5984 2003-05-02  Michael Koch  <konqueror@gmx.de>
5985
5986         * java/net/URI.java
5987         (create): Doesnt throws any exceptions.
5988         * java/net/URLConnection.java
5989         (URLConnection): Commend added.
5990         (getExpiration): The header field is called "expires" not
5991         "expiration".
5992         (getHeaderField): Merged documentation with classpath.
5993         (getHeaderFieldInt): Likewise.
5994         (getHeaderFieldDate): Likewise.
5995         (getHeaderFieldKey): Likewise.
5996         (getPermission): Likewise.
5997         (setDefaultUseCaches): Likewise.
5998         (setRequestProperty): Likewise.
5999         (addRequestProperty): Likewise.
6000         (getRequestProperty): Likewise.
6001         (getRequestProperties): Likewise.
6002         (setDefaultRequestProperty): Likewise.
6003         (getDefaultRequestProperty): Likewise.
6004         (guessContentTypeFromStream): Likewise.
6005         (getFileNameMap): Likewise.
6006         (setFileNameMap): Likewise.
6007         (setDoInput): Merged implementation and documentation with classpath.
6008         (setDoOutput): Likewise.
6009         (setAllowUserInteraction): Likewise.
6010         (setDefaultAllowUserInteraction): Likewise.
6011         (setContentHandlerFactory): Made it synchronized, merged documentation
6012         with classpath.
6013         (guessContentTypeFromName): Renamed argument fname to filename to
6014         match classpath, merged documentation with classpath.
6015
6016 2003-05-02  Michael Koch  <konqueror@gmx.de>
6017
6018         * java/net/JarURLConnection.java
6019         (JarURLConnection): Class documentation merged with classpath.
6020         (getJarFileURL): Moved and documentation merged with classpath.
6021         (getEntryName): Likewise.
6022         (JarURLConnection): Documentation merged with classpath.
6023         (getJarEntry): Likewise.
6024         (getJarFile): Likewise.
6025         * java/net/PlainDatagramSocketImpl.java:
6026         Class documentation moved.
6027         * java/net/URLConnection.java
6028         (fileNameMap): Moved and documentation merged with classpath.
6029         (factory): Likewise.
6030         (defaultAllowUserInteraction): Likewis.
6031         (defaultUseCaches): Likewise.
6032         (allowUserInteraction): Likewise.
6033         (connected): Likewise.
6034         (url): Likewise.
6035         (connect): Documentation merged with classpath.
6036         (getURL): Likewise.
6037         (getContentLength): Likewise.
6038         (getContentType): Likewise.
6039         (getContentEncoding): Likewise.
6040         (getExpiration): Likewise.
6041         (getDate): Likewise.
6042         (getLastModified): Likewise.
6043         (getHeaderField): Likewise.
6044         (getContent): Likewise.
6045         (getPermission): Likewise.
6046         (getInputStream): Likewise.
6047         (getOutputStream): Likewise.
6048         (toString): Likewise.
6049         (getDoInput): Likewise.
6050         (getDoOutput): Likewise.
6051         (setAllowUserInteraction): Likewise.
6052         (getAllowUserInteraction): Likewise.
6053         (setDefaultAllowUserInteraction): Likewise.
6054         (getDefaultAllowUserInteraction): Likewise.
6055         (setUseCaches): Likewise.
6056         (getUseCaches): Likewise.
6057         (setIfModifiedSince): Likewise.
6058         (getIfModifiedSince): Likewise.
6059         (setDefaultRequestProperty): Likewise.
6060         (getDefaultRequestProperty): Likewise.
6061         (setContentHandlerFactory): Likewise.
6062         (setFileNameMap): Likewise.
6063
6064 2003-05-02  Michael Koch  <konqueror@gmx.de>
6065
6066         * java/net/InetAddress.java:
6067         Merged class documentation with classpath.
6068         * java/net/JarURLConnection.java:
6069         Explicitely import all used classes.
6070         * java/net/URL.java:
6071         Reformatting.
6072         * java/net/ServerSocket.java,
6073         java/net/Socket.java:
6074         New versions from classpath.
6075
6076 2003-05-02  Michael Koch  <konqueror@gmx.de>
6077
6078         * gnu/java/nio/FileChannelImpl.java
6079         (read): New implementation.
6080         (implRead): New methods.
6081         (write): New implementation, call other write insteal of read method.
6082         (implWrite): New methods.
6083         (map): Added comment.
6084         (transferFrom): Implemented.
6085         (transferTo): Implemented.
6086         (lock): Added checks to throw exceptions.
6087         (truncate): Added check to throw exception.
6088         * gnu/java/nio/natFileChannelImpl.cc
6089         (implRead): New method.
6090         (implWrite): New method.
6091         * java/nio/ByteBuffer.java
6092         (hashCode): Fixed comment.
6093         (get): Fixed exception documentation.
6094         (put): Fixed exception documentation.
6095         * java/nio/CharBuffer.java:
6096         Added comment for later optimizations.
6097
6098 2003-04-30  Tom Tromey  <tromey@redhat.com>
6099
6100         PR libgcj/10582:
6101         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6102         Removed.
6103         (type::compatible): Use _Jv_IsAssignableFrom.
6104         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6105         (_Jv_IsAssignableFrom): Work even when source or target class is
6106         not prepared.
6107
6108 2003-04-30  Michael Koch  <konqueror@gmx.de>
6109
6110         * java/text/BreakIterator.java
6111         (clone): New method.
6112
6113 2003-04-30  Michael Koch  <konqueror@gmx.de>
6114
6115         * java/text/CollationElementIterator.java,
6116         java/text/CollationKey.java,
6117         java/text/RuleBasedCollator.java:
6118         Merged copyright and documentation from classpath and
6119         rearranged some code. No code changes done.
6120
6121 2003-04-30  Michael Koch  <konqueror@gmx.de>
6122
6123         * java/util/regex/Matcher.java
6124         (pattern): New member variable.
6125         (appendReplacement): New method.
6126         (appendTail): New method.
6127         (end): New method.
6128         (find): New method.
6129         (group): New method.
6130         (replaceFirst): Added documentation.
6131         (replaceAll): Added documentation.
6132         (groupCount): New method.
6133         (lookingAt): New method.
6134         (matches): New method.
6135         (reset): New method.
6136         (start): New method.
6137         * java/util/regex/Pattern.java
6138         (serialVersionUID): New constant.
6139         (CANON_EQ): New constant.
6140         (CASE_INSENSITIVE): New constant.
6141         (COMMENTS): New constant.
6142         (DOTALL): New constant.
6143         (MULTILINE): New constant.
6144         (UNICODE_CASE): New constant.
6145         (UNIX_LINES): New constant.
6146         (regex): New member variable.
6147         (flags): New member variable.
6148         (Pattern): New method.
6149         (compile): Documentation added.
6150         (flags): New method.
6151         (matches): Documentation added.
6152         (matcher): Documentation added.
6153         (split): Documentation added.
6154         (pattern): New method.
6155
6156 2003-04-30  Michael Koch  <konqueror@gmx.de>
6157
6158         * gnu/java/security/Engine.java,
6159         gnu/java/security/OID.java,
6160         gnu/java/security/der/BitString.java,
6161         gnu/java/security/der/DER.java,
6162         gnu/java/security/der/DERReader.java,
6163         gnu/java/security/der/DERValue.java,
6164         gnu/java/security/der/DERWriter.java,
6165         gnu/java/security/provider/DSAKeyFactory.java,
6166         gnu/java/security/provider/X509CertificateFactory.java,
6167         gnu/java/security/x509/X500DistinguishedName.java,
6168         gnu/java/security/x509/X509CRL.java,
6169         gnu/java/security/x509/X509CRLEntry.java,
6170         gnu/java/security/x509/X509Certificate.java,
6171         java/security/cert/CRLSelector.java,
6172         java/security/cert/CertPathBuilder.java,
6173         java/security/cert/CertPathBuilderResult.java,
6174         java/security/cert/CertPathBuilderSpi.java,
6175         java/security/cert/CertPathParameters.java,
6176         java/security/cert/CertPathValidator.java,
6177         java/security/cert/CertPathValidatorResult.java,
6178         java/security/cert/CertPathValidatorSpi.java,
6179         java/security/cert/CertSelector.java,
6180         java/security/cert/CertStore.java,
6181         java/security/cert/CertStoreParameters.java,
6182         java/security/cert/CertStoreSpi.java,
6183         java/security/cert/CollectionCertStoreParameters.java,
6184         java/security/cert/LDAPCertStoreParameters.java,
6185         java/security/cert/PKIXBuilderParameters.java,
6186         java/security/cert/PKIXCertPathBuilderResult.java,
6187         java/security/cert/PKIXCertPathChecker.java,
6188         java/security/cert/PKIXCertPathValidatorResult.java,
6189         java/security/cert/PKIXParameters.java,
6190         java/security/cert/PolicyNode.java,
6191         java/security/cert/PolicyQualifierInfo.java,
6192         java/security/cert/TrustAnchor.java,
6193         javax/security/auth/x500/X500Principal.java:
6194         New files from classpath.
6195         * gnu/java/io/ASN1ParsingException.java,
6196         gnu/java/io/Base64InputStream.java,
6197         gnu/java/security/der/DEREncodingException.java,
6198         gnu/java/security/provider/DSAParameters.java,
6199         gnu/java/security/provider/DSASignature.java,
6200         gnu/java/security/provider/Gnu.java,
6201         gnu/java/security/provider/GnuDSAPrivateKey.java,
6202         gnu/java/security/provider/GnuDSAPublicKey.java,
6203         java/security/AlgorithmParameterGenerator.java,
6204         java/security/AlgorithmParameters.java,
6205         java/security/KeyFactory.java,
6206         java/security/KeyPairGenerator.java,
6207         java/security/KeyStore.java,
6208         java/security/MessageDigest.java,
6209         java/security/SecureClassLoader.java,
6210         java/security/SecureRandom.java,
6211         java/security/Security.java,
6212         java/security/Signature.java,
6213         java/security/cert/Certificate.java,
6214         java/security/cert/CertificateFactory.java,
6215         java/security/cert/CertificateFactorySpi.java,
6216         java/security/cert/X509CRL.java,
6217         java/security/cert/X509Certificate.java,
6218         java/security/spec/DSAPublicKeySpec.java:
6219         New versions from classpath.
6220         * gnu/java/security/provider/DERReader.java,
6221         gnu/java/security/provider/DERWriter.java,
6222         java/security/Engine.java: Removed.
6223         * Makefile.am
6224         (java_source_files, javax_source_files): Added new files.
6225         * Makefile.in: Regenerated.
6226
6227 2003-04-29  Michael Koch  <konqueror@gmx.de>
6228
6229         * javax/swing/JTable.java
6230         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6231         (AUTO_RESIZE_LAST_COLUMN): New constant.
6232         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6233         (AUTO_RESIZE_OFF): New constant.
6234         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6235         (JTable): New method.
6236         (columnAdded): New method.
6237         (columnMarginChanged): New method.
6238         (columnMoved): New method.
6239         (columnRemoved): New method.
6240         (columnSelectionChanged): New method.
6241         (editingCanceled): New method.
6242         (editingStopped): New method.
6243         (getColumnModel): New method.
6244         (getPreferredScrollableViewportSize): New method.
6245         (getScrollableBlockIncrement): New method.
6246         (getScrollableTracksViewportHeight): New method.
6247         (getScrollableTracksViewportWidth): New method.
6248         (getScrollableUnitIncrement): New method.
6249         (getSelectedRow): New method.
6250         (getSelectionModel): New method.
6251         (tableChanged): New method.
6252         (setModel): New method.
6253         (setSelectionMode): New method.
6254         (setSelectionModel): New method.
6255         (setShowGrid): New method.
6256         (valueChanged): New method.
6257         * javax/swing/text/DefaultEditorKit.java
6258         (backwardAction): New constant.
6259         (beepAction): New constant.
6260         (beginAction): New constant.
6261         (beginLineAction): New constant.
6262         (beginParagraphAction): New constant.
6263         (beginWordAction): New constant.
6264         (copyAction): New constant.
6265         (cutAction): New constant.
6266         (defaultKeyTypedAction): New constant.
6267         (deleteNextCharAction): New constant.
6268         (deletePrevCharAction): New constant.
6269         (downAction): New constant.
6270         (endAction): New constant.
6271         (endLineAction): New constant.
6272         (endOfLineStringProperty): New constant.
6273         (endParagraphAction): New constant.
6274         (endWordAction): New constant.
6275         (forwardAction): New constant.
6276         (insertBreakAction): New constant.
6277         (insertContentAction): New constant.
6278         (insertTabAction): New constant.
6279         (nextWordAction): New constant.
6280         (pageDownAction): New constant.
6281         (pageUpAction): New constant.
6282         (pasteAction): New constant.
6283         (previousWordAction): New constant.
6284         (readOnlyAction): New constant.
6285         (selectAllAction): New constant.
6286         (selectionBackwardAction): New constant.
6287         (selectionBeginAction): New constant.
6288         (selectionBeginLineAction): New constant.
6289         (selectionBeginParagraphAction): New constant.
6290         (selectionBeginWordAction): New constant.
6291         (selectionDownAction): New constant.
6292         (selectionEndAction): New constant.
6293         (selectionEndLineAction): New constant.
6294         (selectionEndParagraphAction): New constant.
6295         (selectionEndWordAction): New constant.
6296         (selectionForwardAction): New constant.
6297         (selectionNextWordAction): New constant.
6298         (selectionPreviousWordAction): New constant.
6299         (selectionUpAction): New constant.
6300         (selectLineAction): New constant.
6301         (selectParagraphAction): New constant.
6302         (selectWordAction): New constant.
6303         (upAction): New constant.
6304         (writableAction): New constant.
6305
6306 2003-04-29  Michael Koch  <konqueror@gmx.de>
6307
6308         * java/util/PropertyPermission.java:
6309         New version from classpath
6310         * java/util/ResourceBundle.java:
6311         Partly merged from classpath
6312         (getObject): Reformated.
6313         (tryBundle): Set foundBundle = null if no bundle found.
6314
6315 2003-04-29  Michael Koch  <konqueror@gmx.de>
6316
6317         * javax/swing/AbstractListModel.java,
6318         javax/swing/DefaultBoundedRangeModel.java,
6319         javax/swing/DefaultSingleSelectionModel.java:
6320         New Versions from classpath.
6321
6322 2003-04-29  Michael Koch  <konqueror@gmx.de>
6323
6324         * java/awt/Window.java
6325         (show): Call super.show() instead of setVisible() to avoid endless
6326         loop.
6327         (hide): Call super.hide() instead of setVisible() to avoid endless
6328         loop.
6329
6330 2003-04-29  Michael Koch  <konqueror@gmx.de>
6331
6332         * java/util/zip/Deflater.java,
6333         java/util/zip/DeflaterOutputStream.java:
6334         Partly merged with classpath.
6335
6336 2003-04-27  Tom Tromey  <tromey@redhat.com>
6337
6338         * java/lang/natString.cc (_Jv_AllocString): Initialize
6339         cachedHashCode.
6340         (init): Likewise.
6341         (_Jv_NewStringUtf8Const): Likewise.
6342
6343 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6344
6345         * include/jvm.h: (_Jv_GetNbArgs) added
6346         (_Jv_GetSafeArg) added
6347         (_Jv_SetArgs) added
6348         * prims.cc: (_Jv_GetNbArgs) implemented
6349         (_Jv_GetSafeArg) implemented
6350         (_Jv_SetArgs) implemented
6351         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6352         setting _Jv_argc and _Jv_argv
6353         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6354         instead of _Jv_argv
6355         * java/lang/natRuntime.cc: (insertSystemProperties) use
6356         _Jv_GetSafeArg() instead of _Jv_argv
6357
6358 2003-04-23  Tom Tromey  <tromey@redhat.com>
6359
6360         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6361         required by this object.  Search superclasses to find required
6362         alignment.
6363         (get_alignment_from_class): Use alignment of type as it appears
6364         in a struct.
6365         (ALIGNOF): New macro.
6366         (struct aligner): New helper structure.
6367
6368 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6369
6370         * java/awt/Container.java (addImpl): Enable paint events if adding
6371         a lightweight to a heavyweight.
6372         (addNotify): Ensure that peer is created before
6373         addNotifyContainerChildren.
6374         (addNotifyContainerChildren): Enable paint events if a heavyweight
6375         container contains a lightweight.
6376
6377 2003-04-20  Tom Tromey  <tromey@redhat.com>
6378
6379         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6380         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6381         Classpath.
6382
6383 2003-04-19  Tom Tromey  <tromey@redhat.com>
6384
6385         * java/sql/Date.java, java/sql/DriverManager.java,
6386         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6387         Classpath.
6388
6389         * Makefile.in: Rebuilt.
6390         * Makefile.am (ordinary_java_source_files): Added new files.
6391         * java/security/AlgorithmParameterGenerator.java,
6392         java/security/AlgorithmParameters.java, java/security/Engine.java,
6393         java/security/Identity.java, java/security/IdentityScope.java,
6394         java/security/KeyFactory.java,
6395         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6396         java/security/MessageDigest.java, java/security/Policy.java,
6397         java/security/ProtectionDomain.java,
6398         java/security/SecureRandom.java, java/security/Security.java,
6399         java/security/Signature.java, java/security/SignatureSpi.java,
6400         java/security/SignedObject.java, java/security/Signer.java,
6401         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6402         java/security/spec/PSSParameterSpec.java,
6403         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6404         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6405         Classpath.
6406
6407 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6408
6409         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6410         (dispose): Null metrics.
6411         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6412         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6413         finalize.
6414         (finalize): Call dispose.
6415         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6416         (gcCachedCount): New field.
6417         (finalize): New method.
6418         (putGCInCache): New method.
6419         (getGCFromCache): New method.
6420         * gnu/gcj/xlib/GC.java (GC): Make protected.
6421         (clone): Get new GC from cache if possible.
6422         (create): New static method.
6423         (dispose): Save old GC in cache.
6424         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6425         deleting.
6426         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6427         is null.
6428         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6429         * java/awt/Container.java (visitChild): Dispose gfx2 when
6430         finished.
6431
6432 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6433
6434         * java/math/BigInteger.java (probablePrime): New.
6435         * java/math/BigDecimal.java (unscaledValue): New.
6436
6437 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6438
6439         * java/io/File.java (getAbsolutePath): On Windows, take care
6440         of paths like "C:", "G:foo\bar", etc.
6441         (getName): Make it work correctly on Windows.
6442         (getParent): Make it work correctly on Windows. For UNIX,
6443         fix bug that causes "/" to be returned as the parent of "/",
6444         instead of null as returned by Sun's JRE.
6445
6446         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6447
6448 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6449
6450         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6451         inner class.
6452         (CACHE_SIZE_PER_DISPLAY): New field
6453         (fontMetricsCache): New field
6454         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6455         loading ISO10646-1 fonts.
6456
6457 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6458
6459         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6460         characters.
6461         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6462         characters.
6463
6464 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6465
6466         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6467         floating point.
6468
6469 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6470
6471         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6472         installed libpthread is either linuxthreads with floating stacks or
6473         NPTL.
6474
6475 2003-04-14  Tom Tromey  <tromey@redhat.com>
6476
6477         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6478         of alignment.
6479
6480 2003-04-10  Tom Tromey  <tromey@redhat.com>
6481
6482         * verify.cc (pop64): Removed.
6483         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
6484         exception if top-of-stack is narrow.
6485         (initialize_stack): Check to ensure that <init> is not static and
6486         <clinit> is.
6487
6488 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
6489
6490         * java/io/ObjectStreamException
6491         * java/io/FileFilter
6492         * java/io/FilenameFilter
6493         * java/io/ObjectInput
6494         * java/io/ObjectOutput
6495         * java/io/ObjectStreamConstants
6496         Minor doc fixes, format fixes, spelling corrections, etc.
6497         * java/io/DataInput
6498         Corrected code samples in Javadocs to match reality
6499         * java/io/DataOutput
6500         * java/io/ObjectInputValidation
6501         Major documentation fixes - all Javadocs re-written or updated
6502
6503 2003-04-06  Michael Koch  <konqueror@gmx.de>
6504
6505         * java/net/URLConnection.java:
6506         Import classes directly.
6507         (URLConnection): Merged class documentation with classpath.
6508         (url): Moved, documentation from classpath added.
6509         (doInput): Moved, documentation from classpath added.
6510         (doOutput): Moved, documentation from classpath added.
6511         (allowUserInteraction): Moved.
6512         (useCaches): Moved, documentation from classpath added.
6513         (ifModifiedSince): Moved, documentation from classpath added.
6514         (connected): Moved, documentation from classpath added.
6515
6516 2003-04-06  Michael Koch  <konqueror@gmx.de>
6517
6518         * java/io/FileInputStream.java
6519         (skip): Renamed some variables to match classpath, added
6520         checks from classpath.
6521
6522 2003-03-31  Michael Koch  <konqueror@gmx.de>
6523
6524         * javax/swing/AbstractAction.java
6525         (AbstractAction): Reformatted.
6526         (serialVersionUID): New private member variable.
6527         * javax/swing/plaf/BorderUIResource.java
6528         (serialVersionUID): New private member variable.
6529         * javax/swing/plaf/basic/BasicLookAndFeel.java
6530         (serialVersionUID): New private member variable.
6531
6532 2003-03-31  Michael Koch  <konqueror@gmx.de>
6533
6534         * java/sql/Date.java
6535         (valueOf): Deprecated, reformatted.
6536         (toString): Deprecated, reformatted.
6537         * java/sql/Time.java
6538         (valueOf): Deprecated, reformatted.
6539         (toString): Deprecated, reformatted.
6540
6541 2003-03-31  Michael Koch  <konqueror@gmx.de>
6542
6543         * java/rmi/dgc/VMID.java
6544         (isUnique): Deprecated.
6545
6546 2003-03-31  Michael Koch  <konqueror@gmx.de>
6547
6548         * java/io/File.java
6549         (separator): Merged documentation from classpath.
6550         (separatorChar): Merged documentation from classpath.
6551         (pathSeparator): Merged documentation from classpath.
6552         (pathSeparatorChar): Merged documentation from classpath.
6553         (path): Merged documentation from classpath.
6554         (canRead): Merged documentation from classpath.
6555         (canWrite): Merged documentation from classpath.
6556         (createNewFile): Merged documentation from classpath.
6557         (delete): Merged documentation from classpath.
6558         (equals): Merged documentation from classpath.
6559         (exists): Merged documentation from classpath.
6560         (File): Renamed p to name to match classpath, merged documentation
6561         from classpath.
6562         (getAbsolutePath): Merged documentation from classpath.
6563         (getCanonicalPath): Merged documentation from classpath.
6564         (getCanonicalFile): Merged documentation from classpath.
6565         (getName): Merged documentation from classpath.
6566         (getParent): Merged documentation from classpath.
6567         (getParentFile): Merged documentation from classpath.
6568         (getPath): Merged documentation from classpath.
6569         (hashCode): Merged documentation from classpath.
6570         (isAbsolute): Merged documentation from classpath.
6571         (isDirectory): Merged documentation from classpath.
6572         (isFile): Merged documentation from classpath.
6573         (isHidden): Merged documentation from classpath.
6574         (lastModified): Merged documentation from classpath.
6575         (length): Merged documentation from classpath.
6576         (list): Merged documentation from classpath.
6577         (listFiles): Merged documentation from classpath.
6578         (toString): Merged documentation from classpath.
6579         (toURL): Merged documentation from classpath.
6580         (mkdir): Merged documentation from classpath.
6581         (mkdirs): Merged documentation from classpath.
6582         (createTempFile): Merged documentation from classpath.
6583         (setReadOnly): Merged documentation from classpath.
6584         (listRoots): Merged documentation from classpath.
6585         (compareTo): Merged documentation from classpath.
6586         (renameTo): Merged documentation from classpath.
6587         (setLastModified): Merged documentation from classpath.
6588         * java/io/PrintStream.java
6589         (auto_flush): Merged documentation from classpath.
6590         (PrintStream): Merged documentation from classpath.
6591         (checkError): Merged documentation from classpath.
6592         (setError): Merged documentation from classpath.
6593         (close): Merged documentation from classpath.
6594         (flush): Merged documentation from classpath.
6595         (print): Merged documentation from classpath.
6596         (println):  Merged documentation from classpath.
6597         (write): Renamed count to len to match classpath,
6598         merged documentation from classpath.
6599         * java/io/RandomAccessFile.java
6600         (readShort): Merged documentation from classpath.
6601         (readUnsignedByte): Merged documentation from classpath.
6602         (readUnsignedShort): Merged documentation from classpath.
6603         (readUTF): Merged documentation from classpath.
6604         (seek): Reformatted, merged documentation from classpath.
6605         (skipBytes): Renamed some variables to match classpath, reformatted,
6606         merged documentation from classpath.
6607         (write): Merged documentation from classpath.
6608         (writeBoolean): Merged documentation from classpath.
6609         (writeByte): Merged documentation from classpath.
6610         (writeShort): Merged documentation from classpath.
6611         (writeChar): Merged documentation from classpath.
6612         (writeInt): Merged documentation from classpath.
6613         (writeLong): Merged documentation from classpath.
6614         (writeFloat): Merged documentation from classpath.
6615         (writeDouble): Merged documentation from classpath.
6616         (writeBytes): Merged documentation from classpath.
6617         (writeChars): Merged documentation from classpath.
6618         (writeUTF): Reformatted.
6619         (getChannel): Reformatted.
6620
6621 2003-03-31  Michael Koch  <konqueror@gmx.de>
6622
6623         * java/awt/font/TextAttribute.java
6624         (readResolve): Throws java.io.InvalidObjectException.
6625
6626 2003-03-31  Michael Koch  <konqueror@gmx.de>
6627
6628         * java/rmi/server/LoaderHandler.java
6629         (loadClass): Deprecated.
6630         (getSecurityContext): Deprecated.
6631         * java/rmi/server/LogStream.java
6632         (getDefaultStream): Deprecated.
6633         (setDefaultStream): Deprecated.
6634         (getOutputStream): Deprecated.
6635         (setOutputStream): Deprecated.
6636         (write): Deprecated.
6637         (toString): Deprecated.
6638         (parseLevel): Deprecated.
6639         * java/rmi/server/Operation.java
6640         (Operation): Deprecated.
6641         (getOperation): Deprecated.
6642         (toString): Deprecated.
6643         * java/rmi/server/RemoteCall.java
6644         (getOutputStream): Deprecated.
6645         (releaseOutputStream): Deprecated.
6646         (getInputStream): Deprecated.
6647         (releaseInputStream): Deprecated.
6648         (getResultStream): Deprecated.
6649         (executeCall): Deprecated.
6650         (done): Deprecated.
6651         * java/rmi/server/RemoteRef.java
6652         (invoke): Deprecated.
6653         (newCall): Deprecated.
6654         (done): Deprecated.
6655         * java/rmi/server/RemoteStub.java
6656         (setRef): Deprecated.
6657         * java/rmi/server/Skeleton.java:
6658         No need to import java.lang.Exception explicitly.
6659         (dispatch): Deprecated.
6660         (getOperations): Deprecated.
6661
6662 2003-03-31  Michael Koch  <konqueror@gmx.de>
6663
6664         * java/rmi/dgc/VMID.java,
6665         java/rmi/registry/RegistryHandler.java,
6666         java/rmi/server/LogStream.java,
6667         java/rmi/server/Operation.java,
6668         java/rmi/server/RemoteCall.java,
6669         java/rmi/server/RemoteRef.java,
6670         java/rmi/server/RemoteStub.java:
6671         Reformatted.
6672
6673 2003-03-31  Michael Koch  <konqueror@gmx.de>
6674
6675         * javax/swing/AbstractCellEditor.java,
6676         javax/swing/AbstractListModel.java,
6677         javax/swing/ActionMap.java,
6678         javax/swing/BorderFactory.java,
6679         javax/swing/ButtonGroup.java,
6680         javax/swing/DefaultBoundedRangeModel.java,
6681         javax/swing/DefaultButtonModel.java,
6682         javax/swing/DefaultCellEditor.java,
6683         javax/swing/DefaultComboBoxModel.java,
6684         javax/swing/DefaultDesktopManager.java,
6685         javax/swing/DefaultListCellRenderer.java,
6686         javax/swing/DefaultSingleSelectionModel.java,
6687         javax/swing/InputMap.java,
6688         javax/swing/JComponent.java,
6689         javax/swing/JMenu.java,
6690         javax/swing/JSlider.java,
6691         javax/swing/KeyStroke.java,
6692         javax/swing/OverlayLayout.java,
6693         javax/swing/ScrollPaneLayout.java,
6694         javax/swing/SizeRequirements.java,
6695         javax/swing/UIManager.java,
6696         javax/swing/ViewportLayout.java,
6697         javax/swing/border/AbstractBorder.java,
6698         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6699         javax/swing/event/EventListenerList.java,
6700         javax/swing/table/AbstractTableModel.java,
6701         javax/swing/table/DefaultTableCellRenderer.java,
6702         javax/swing/table/DefaultTableColumnModel.java,
6703         javax/swing/table/DefaultTableModel.java,
6704         javax/swing/table/TableColumn.java,
6705         javax/swing/text/StyledEditorKit.java,
6706         javax/swing/tree/DefaultMutableTreeNode.java,
6707         javax/swing/tree/DefaultTreeModel.java,
6708         javax/swing/tree/DefaultTreeSelectionModel.java,
6709         javax/swing/tree/TreePath.java,
6710         javax/swing/undo/AbstractUndoableEdit.java,
6711         javax/swing/undo/StateEdit.java,
6712         javax/swing/undo/StateEditable.java,
6713         javax/swing/undo/UndoableEditSupport.java:
6714         Merges from classpath.
6715
6716 2003-03-30  Tom Tromey  <tromey@redhat.com>
6717
6718         * java/lang/String.java (data, boffset, count): Documented.
6719         (String(byte[],String)): Reformatted.
6720         (String(byte[])): Likewise.
6721         (lastIndexOf(int)): Likewise.
6722         (lastIndexOf(String)): Likewise.
6723         (substring(int)): Renamed argument to match Classpath.
6724         (String(StringBuffer)): Don't share buffer if it is nearly empty.
6725
6726         * java/lang/String.java: Miscellaneous minor formatting changes
6727         to match Classpath more closely.
6728
6729 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
6730             Tom Tromey  <tromey@redhat.com>
6731
6732         * java/lang/natString.cc (hashCode): Use cachedHashCode.
6733         (init()): Removed.
6734         (charAt): Put index in exception.
6735         (contentEquals): New method.
6736         Include StringBuffer.h.
6737         * java/lang/String.java (cachedHashCode): New field.
6738         (String()): Follow classpath implementation.
6739         (init()): Removed.
6740         (contentEquals): Declare.
6741         (subSequence): Don't declare IndexOutIfBoundsException in throws
6742         clause.
6743         (matches, replaceFirst, replaceAll, split): New methods from
6744         Classpath.
6745
6746 2003-03-29  Tom Tromey  <tromey@redhat.com>
6747
6748         * java/lang/String.java: Reordered to follow Classpath; merged in
6749         javadoc.
6750
6751         * java/text/MessageFormat.java: Removed some whitespace.
6752
6753         * Makefile.in: Rebuilt.
6754         * Makefile.am (awt_java_source_files): Added new files.
6755         * gnu/javax/rmi/PortableServer.java,
6756         gnu/javax/rmi/CORBA/DelegateFactory.java,
6757         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6758         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6759         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6760         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6761         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6762         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
6763         javax/rmi/PortableRemoteObject.java,
6764         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
6765         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6766         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
6767         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
6768         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
6769         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
6770
6771         * java/lang/natClass.cc (newInstance): Put method name in
6772         exception.
6773         (getConstructor): Likewise.
6774         (getDeclaredConstructor): Likewise.
6775         (getPrivateMethod): Likewise.
6776
6777 2003-03-28  Tom Tromey  <tromey@redhat.com>
6778
6779         * java/lang/reflect/Proxy.java: New version from Classpath.
6780         * java/lang/Package.java: New version from Classpath.
6781
6782 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
6783
6784         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
6785         * configure: Regenerate.
6786
6787 2003-03-28  Michael Koch  <konqueror@gmx.de>
6788
6789         * java/io/File.java:
6790         Import needed classes instead of whole packages, merged class
6791         documentation with classpath, moved constants and variables to top of
6792         class.
6793         * java/io/PrintStream.java:
6794         Merged class documentation with classpath, moved constants and
6795         variables to top of class.
6796         * java/io/RandomAccessFile.java
6797         (RandomAccessFile): Merged with classpath.
6798         (read): Merged with classpath).
6799         (read*): Reformatted.
6800
6801 2003-03-28  Michael Koch  <konqueror@gmx.de>
6802
6803         * java/io/FileDescriptor.java
6804         (finalize): Throws Throwable, not IOException.
6805         * java/io/ObjectOutputStream.java
6806         (PutField.put): Doesnt throws anything.
6807
6808 2003­03-28  Michael Koch  <konqueror@gmx.de>
6809
6810         * java/io/FileOutputStream.java:
6811         Merged class documentation and authors with classpath.
6812         (FileOutputStream): Partly merged with classpath.
6813         (write): Merged with classpath.
6814         (getChannel): Make it synchronized instead of explicit block in this
6815         method.
6816         * java/io/RandomAccessFile.java:
6817         Merged class documentation and authors with classpath.
6818
6819 2003-03-26  Tom Tromey  <tromey@redhat.com>
6820
6821         * java/lang/natRuntime.cc (insertSystemProperties): Set
6822         gnu.classpath.home.url.
6823         * Makefile.in: Rebuilt.
6824         * Makefile.am: Define LIBDIR.
6825
6826 2003-03-25  Michael Koch  <konqueror@gmx.de>
6827
6828         * java/io/FileInputStream.java
6829         (read): Renamed b to buf and off to offset.
6830         * java/io/FileOutputStream.java
6831         (ch): Documentation added.
6832         (FileOutputStream): Documentation added.
6833         (getFD): Documentation added.
6834         (write): Documentation added.
6835         (close): Documentation added.
6836         (getChannel): Documentation added.
6837
6838 2003-03-24  Michael Koch  <konqueror@gmx.de>
6839
6840         * java/io/DataOutputStream.java
6841         (write): Merged from classpath.
6842         * java/io/File.java:
6843         Merged copyrigth with classpath.
6844         * java/io/FileInputStream.java
6845         (getChannel): Made it synchronized instead of using a synchronized
6846         block.
6847         * java/io/FileOutputStream.java: Reformatted.
6848         * java/io/InputStreamReader.java
6849         (InputStreamReader): Renamed enc to encoding_name.
6850         (close): Merged documentation from classpath.
6851         (getEncoding): Merged documentation from classpath.
6852         (ready): Merged documentation from classpath.
6853         (read): Merged documentation from classpath.
6854         * java/io/LineNumberReader.java
6855         (lineNumber): Made it private.
6856         (LineNumberReader): Use Constant instead of a direct value.
6857         * java/io/OutputStreamWriter.java
6858         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
6859         documentation from classpath.
6860         (close): Merged documentation from classpath.
6861         (flush): Merged documentation from classpath.
6862         (write): Merged documentation from classpath.
6863         * java/io/PrintStream.java: Reformatted.
6864
6865 2003-03-24  Michael Koch  <konqueror@gmx.de>
6866
6867         * javax/swing/text/ComponentView.java
6868         (getComponent): Must be final.
6869         * javax/swing/tree/DefaultTreeCellRenderer.java:
6870         Reformatted.
6871         * javax/swing/undo/StateEditable.java:
6872         Reformatted.
6873
6874 2003-03-24  Michael Koch  <konqueror@gmx.de>
6875
6876         * java/rmi/activation/ActivationInstantiator.java:
6877         Reformatted.
6878         * java/rmi/activation/Activator.java:
6879         Reformatted.
6880         * java/rmi/registry/RegistryHandler.java:
6881         Remerged from classpath.
6882
6883 2003-03-24  Michael Koch  <konqueror@gmx.de>
6884
6885         * java/util/Date.java:
6886         Fixed documentation starting tag to make javadoc happy.
6887         * java/util/regex/Pattern.java
6888         (Pattern): Implements Serializable.
6889         * java/util/PatternSyntaxException.java
6890         (serialVersionUID): New member variable.
6891
6892 2003-03-24  Michael Koch  <koqnueror@gmx.de>
6893
6894         * java/awt/ContainerOrderFocusTraversalPolicy.java
6895         (getFirstComponent): Implemented.
6896         (getLastComponent): Implemented.
6897         (getDefaultComponent): Implemented.
6898         (setImplicitDownCycleTraversal): Fixed implementation.
6899         * java/awt/Robot.java
6900         (Robot): Added documentation.
6901         * java/awt/Toolkit.java
6902         (getFontList): Deprecated.
6903         (getFontMetrics): Deprecated.
6904         (getPrintJob): Added documentation.
6905         (getSystemSelection): Added documentation.
6906         (getLockingKeyState): Added documentation.
6907         (setLockingKeyState): Added documentation.
6908         (createCustomCursor): Added documentation.
6909         (getBestCursorSize): Added documentation.
6910         (getMaximumCursorColors): Added documentation.
6911         (isFrameStateSupported): Added documentation.
6912
6913 2003-03-24  Michael Koch  <konqueror@gmx.de>
6914
6915         * java/io/RandomAccessFile.java:
6916         More little merges with classpath. No code changes.
6917
6918 2003-03-24  Michael Koch  <konqueror@gmx.de>
6919
6920         * java/net/natInetAddressNoNet.cc:
6921         Include stddef.h.
6922         * java/net/natPlainDatagramSocketImplNoNet.cc:
6923         Fixed inlcude of java/net/DatagramPacket.h.
6924         * java/net/natPlainSocketImplNoNet.cc:
6925         Include some missing classes.
6926
6927 2003-03-24  Michael Koch  <konqueror@gmx.de>
6928
6929         * java/awt/dnd/DropTarget.java
6930         (DropTargetAutoScroller): According to the online documentation, this
6931         is protected, but in reality it is public.
6932         * java/awt/dnd/DropTargetContext.java
6933         (TransferableProxy): According to the online documentation, this
6934         is protected, but in reality it is public.
6935
6936 2003-03-24  Michael Koch  <konqueror@gmx.de>
6937
6938         * java/io/DataInputStream.java
6939         (): Wrapped documentation line.
6940         (): Fixed @return tag.
6941         * java/io/DataOutputStream.java
6942         (written): Moved to top of class.
6943         (all methods): Merged documentation from classpath.
6944         * java/io/File.java:
6945         Merged copyright year with classpath.
6946         * java/io/FileInputStream.java
6947         (all methods): Merged documentation from classpath.
6948         * java/io/LineNumberReader.java
6949         (getLineNumber): Fixed @return tag.
6950         * java/io/ObjectInputStream.java.
6951         Reformatted.
6952         * java/io/ObjectOutputStream.java:
6953         Reformatted, fixed some @see tags.
6954         * java/io/OutputStreamWriter.java:
6955         Deleted empty line.
6956         * java/io/Writer.java:
6957         Reformatted.
6958
6959 2003-03-24  Michael Koch  <konqueror@gmx.de>
6960
6961         * java/awt/Frame.java
6962         (DEFAULT_CURSOR): Fixed @deprecated tag.
6963         (setCursor): Fixed @deprecated tag.
6964
6965 2003-03-24  Michael Koch  <konqueror@gmx.de>
6966
6967         * java/beans/beancontext/BeanContextEvent.java:
6968         Reformated.
6969
6970 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
6971
6972         * java/lang/natStringBuffer.cc (regionMatches): New function.
6973         * java/lang/String.java (count): Now package-private.
6974         * java/lang/StringBuffer.java: Merged with Classpath.
6975
6976 2003-03-23  Michael Koch  <konqueror@gmx.de>
6977
6978         * java/io/BufferedOutputStream.java:
6979         Reformated.
6980         * java/io/BufferedReader.java:
6981         Reformated.
6982         * java/io/ByteArrayOutputStream.java
6983         (size): Fixed @see tag.
6984         * java/io/CharArrayWriter.java
6985         (size): Fixed @see tag.
6986         * java/io/DataInput.java:
6987         Reformated.
6988         * java/io/DataOutput.java:
6989         Reformated.
6990         * java/io/DataOutputStream.java:
6991         Merged copyright years with classpath.
6992         * java/io/Externalizable.java:
6993         Reformated.
6994         * java/io/FileFilter.java:
6995         Reformated.
6996         * java/io/FileInputStream.java:
6997         Merged copyright years with classpath.
6998         * java/io/FileOutputStream.java:
6999         Merged copyright years with classpath.
7000         * java/io/FilePermission.java
7001         (FilePermission): Replaced @XXX with FIXME:.
7002         * java/io/FileWriter.java:
7003         Reformated.
7004         * java/io/FilenameFilter.java:
7005         Reformated.
7006         * java/io/FilterInputStream.java:
7007         Reformated.
7008         * java/io/FilterOutputStream.java:
7009         Reformated.
7010         * java/io/FilterReader.java:
7011         Reformated.
7012         * java/io/FilterWriter.java:
7013         Reformated.
7014         * java/io/LineNumberInputStream.java
7015         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7016         happy.
7017         (getLineNumber): Fixed @return tag.
7018         * java/io/ObjectInput.java:
7019         Reformated.
7020         * java/io/ObjectOutput.java:
7021         Reformated.
7022         * java/io/ObjectStreamClass.java:
7023         Reformated.
7024         * java/io/PrintStream.java:
7025         Merged copyright years with classpath.
7026         * java/io/PushbackReader.java
7027         (PushbackReader): Replaced @code with @param.
7028         * java/io/SerializablePermission.java:
7029         Reformated.
7030         * java/io/StreamTokenizer.java
7031         (resetSyntax): Fixed @see tag.
7032
7033 2003-03-22  Richard Henderson  <rth@redhat.com>
7034
7035         * sysdep/ia64/locks.h: Include ia64intrin.h.
7036         (compare_and_swap): Use __sync_bool_compare_and_swap.
7037         (compare_and_swap_release): Expose ar.ccv assignment.
7038
7039 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7040
7041         * include/posix.h: Add suffix for darwin dynamic libraries.
7042
7043 2003-03-21  Michael Koch  <konqueror@gmx.de>
7044
7045         * javax/swing/Action.java
7046         (ACCELERATOR_KEY): New constant.
7047         (ACTION_COMMAND_KEY): Likewise.
7048         (MNEMONIC_KEY): Likewise.
7049         * javax/swing/UnsupportedLookAndFeelException.java
7050         (UnsupportedLookAndFeelException): Must be public.
7051         * javax/swing/WindowConstants.java
7052         (EXIT_ON_CLOSE): New constant.
7053         * javax/swing/text/BadLocationException.java
7054         (offset): New member variable.
7055         (BadLocationException): New implementation, documentation added.
7056         (offsetRequested): New method.
7057         * javax/swing/text/Caret.java:
7058         Reformated.
7059         * javax/swing/text/Document.java:
7060         Reformated.
7061
7062 2003-03-21  Michael Koch  <konqueror@gmx.de>
7063
7064         * java/rmi/activation/Activatable.java
7065         (serialVersionUID): New member variable.
7066         * java/rmi/activation/ActivationGroup.java
7067         (serialVersionUID): New member variable.
7068         * java/rmi/activation/ActivationGroupDesc.java
7069         (serialVersionUID): New member variable.
7070         * java/rmi/registry/Registry.java:
7071         Reformated.
7072         (Registry): Deprecated.
7073         * java/rmi/server/LoaderHandler.java
7074         Reformated.
7075         (LoaderHandler): Deprecated.
7076         * java/rmi/server/LogStream.java
7077         Reformated.
7078         (LogStream): Deprecated.
7079         * java/rmi/server/Operation.java
7080         (Operation): Deprecated.
7081         * java/rmi/server/RMIFailureHandler.java:
7082         Reformated.
7083         * java/rmi/server/RMISocketFactory.java:
7084         Reformated.
7085         * java/rmi/server/RemoteCall.java
7086         (RemoteCall): Deprecated.
7087         * java/rmi/server/RemoteStub.java:
7088         Reformated.
7089         * java/rmi/server/Skeleton.java
7090         Reformated.
7091         (Skeleton): Deprecated.
7092
7093 2003-03-21  Michael Koch  <konqueror@gmx.de>
7094
7095         * java/io/LineNumberReader.java
7096         (LineNumberReader): Merged documentation with classpath.
7097         (getLineNumber): Likewise.
7098         (setLineNumber): Likewise.
7099         (mark): Likewise.
7100         (reset): Likewise.
7101         (read): Likewise.
7102         (readLine): Likewise.
7103         (skip): Likewise.
7104
7105 2003-03-21  Michael Koch  <konqueror@gmx.de>
7106
7107         * java/rmi/RMISecurityManager.java
7108         (checkAccept): Removed.
7109         (checkAccess): Likewise.
7110         (checkAccess): Likewise.
7111         (checkAwtEventQueueAccess): Likewise.
7112         (checkConnect): Likewise.
7113         (checkCreateClassLoader): Likewise.
7114         (checkDelete): Likewise.
7115         (checkExec): Likewise.
7116         (checkExit): Likewise.
7117         (checkLink): Likewise.
7118         (checkListen): Likewise.
7119         (checkMemberAccess): Likewise.
7120         (checkMulticast): Likewise.
7121         (checkPackageAccess): Likewise.
7122         (checkPackageDefinition): Likewise.
7123         (checkPermission): Likewise.
7124         (checkPrintJobAccess): Likewise.
7125         (checkPropertiesAccess): Likewise.
7126         (checkPropertyAccess): Likewise.
7127         (checkRead): Likewise.
7128         (checkSecurityAccess): Likewise.
7129         (checkSetFactory): Likewise.
7130         (checkSystemClipboardAccess): Likewise.
7131         (checkTopLevelWindow): Likewise.
7132         (checkWrite): Likewise.
7133
7134 2003-03-20  Michael Koch  <konqueror@gmx.de>
7135
7136         * gnu/java/nio/FileChannelImpl.java
7137         (address): Removed.
7138         (map_address): New member variable.
7139         (length): Make it package private.
7140         (fd): Make it package private.
7141         (buf): Make it package private.
7142         (file_obj): Make it package private.
7143         (FileChannelImpl): New constructor.
7144         (nio_mmap_file): Use RawData instead of long.
7145         (nio_munmap_file): Use RawData instead of long.
7146         (nio_msync): Use RawData instead of long.
7147         (implCloseChannel): New implementation using map_address.
7148         (read): Reformated.
7149         (map): Implemented.
7150         (create_direct_mapped_buffer): Implemented, use RawData, throws
7151         IOException.
7152         (force): Use map_address instead of address.
7153         * gnu/java/nio/MappedByteFileBuffer.java
7154         (address): Removed.
7155         (map_address): New member variable.
7156         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7157         (several methods): Use map_address instead of address, replaced long
7158         with RawData where appropriate.
7159         * gnu/java/nio/natFileChannelImpl.cc
7160         (nio_mmap_file): Replaced long with RawData.
7161         (nio_munmap_file): Replaced long with RawData.
7162         (nio_msync): Replaced long with RawData.
7163         * gnu/java/nio/natMappedByteFileBuffer.cc
7164         (several methods): Replaced long with RawData where appropriate.
7165
7166 2003-03-20  Michael Koch  <konqueror@gmx.de>
7167
7168         * java/net/InetAddress.java,
7169         java/net/JarURLConnection.java,
7170         java/net/PlainDatagramSocketImpl.java,
7171         java/net/PlainSocketImpl.java,
7172         java/net/URLConnection.java:
7173         Merged copyright statements with classpath for easier merging.
7174
7175 2003-03-20  Michael Koch  <konqueror@gmx.de>
7176
7177         * java/io/FileInputStream.java
7178         (getChannel): New implementation.
7179         * java/io/FileOutputStream.java
7180         (ch): New member variable.
7181         (getChannel): Implemented.
7182         * java/io/RandomAccessFile.java
7183         (RandomAccessFile): Throws FileNotFoundException instead of
7184         IOException.
7185         (getChannel): New method.
7186         (ch): New member variable.
7187
7188 2003-03-20  Michael Koch  <konqueror@gmx.de>
7189
7190         * java/io/DataOutputStream.java,
7191         java/io/File.java,
7192         java/io/FileInputStream.java,
7193         java/io/FileOutputStream.java,
7194         java/io/InputStreamReader.java,
7195         java/io/LineNumberReader.java,
7196         java/io/OutputStreamWriter.java,
7197         java/io/PrintStream.java,
7198         java/io/RandomAccessFile.java:
7199         Merged copyright statements with classpath for easier merging.
7200
7201 2003-03-19  Michael Koch  <konqueror@gmx.de>
7202
7203         * java/lang/Process.java:
7204         Merged from classpath.
7205
7206 2003-03-19  Michael Koch  <konqueror@gmx.de>
7207
7208         * java/io/FileOutputStream.java
7209         (FileOutputStream): New constructor, merged from classpath.
7210         * java/io/FileWriter.java
7211         (FileWriter): New constructor, merged from classpath.
7212
7213 2003-03-18  Michael Koch  <konqueror@gmx.de>
7214
7215         * java/awt/ScrollPane.java
7216         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7217         (getViewportSize): Likewise.
7218         (addNotify): Likewise.
7219         (removeNotify): Likewise.
7220         * java/awt/ScrollPaneAdjustable.java
7221         (ScrollPaneAdjustable): No longer extends Scrollbar.
7222         * java/beans/beancontext/BeanContextServices.java:
7223         Reformated.
7224         (getService): Added throws TooManyListenersException;
7225         * java/beans/beancontext/BeanContextServicesSupport.java:
7226         Reformated.
7227
7228 2003-03-18  Michael Koch  <konqueror@gmx.de>
7229
7230         * java/io/BufferedOutputStream.java,
7231         java/io/DataInput.java,
7232         java/io/DataInputStream.java,
7233         java/io/DataOutput.java,
7234         java/io/Externalizable.java:
7235         More merges from classpath.
7236
7237 2003-03-18  Michael Koch  <konqueror@gmx.de>
7238
7239         * configure.in: Fixed links to platform dependant java.net files.
7240         * configure: Regenerated.
7241         * java/net/natInetAddress.cc,
7242         java/net/natNetworkInterface.cc,
7243         java/net/natPlainDatagramSocketImpl.cc,
7244         java/net/natPlainSocketImpl.cc:
7245         Removed.
7246
7247 2003-03-18  Michael Koch  <konqueror@gmx.de>
7248
7249         * configure.in: Create links to architecture dependent files,
7250         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7251         * configure: Regenerated.
7252         * java/net/natInetAddressNoNet.cc,
7253         java/net/natInetAddressPosix.cc,
7254         java/net/natInetAddressWin32.cc,
7255         java/net/natNetworkInterfaceNoNet.cc,
7256         java/net/natNetworkInterfacePosix.cc,
7257         java/net/natNetworkInterfaceWin32.cc,
7258         java/net/natPlainDatagramSocketImplNoNet.cc,
7259         java/net/natPlainDatagramSocketImplPosix.cc,
7260         java/net/natPlainDatagramSocketImplWin32.cc,
7261         java/net/natPlainSocketImplNoNet.cc,
7262         java/net/natPlainSocketImplPosix.cc,
7263         java/net/natPlainSocketImplWin32.cc: New files.
7264
7265 2003-03-18  Michael Koch  <konqueror@gmx.de>
7266
7267         * java/io/BufferedReader.java,
7268         java/io/BufferedWriter.java,
7269         java/io/ByteArrayOutputStream.java,
7270         java/io/FileFilter.java,
7271         java/io/FilePermission.java,
7272         java/io/FileReader.java,
7273         java/io/FileWriter.java,
7274         java/io/FilenameFilter.java,
7275         java/io/FilterInputStream.java,
7276         java/io/FilterOutputStream.java,
7277         java/io/FilterReader.java,
7278         java/io/FilterWriter.java,
7279         java/io/ObjectInput.java,
7280         java/io/ObjectInputValidation.java,
7281         java/io/ObjectOutput.java,
7282         java/io/ObjectStreamField.java,
7283         java/io/PipedInputStream.java,
7284         java/io/PipedReader.java,
7285         java/io/PrintWriter.java,
7286         java/io/PushbackReader.java,
7287         java/io/Reader.java,
7288         java/io/SerializablePermission.java,
7289         java/io/StringReader.java,
7290         java/io/Writer.java:
7291         Merged from classpath.
7292
7293 2003-03-17  Michael Koch  <konqueror@gmx.de>
7294
7295         * java/awt/ScrollPaneAdjustable.java:
7296         Compile fixes.
7297         
7298 2003-03-17  Michael Koch  <konqueror@gmx.de>
7299
7300         * java/net/DatagramSocket.java
7301         (connect): Fixed comment.
7302         * java/nio/ByteBuffer.java
7303         (hasArray): Fixed comment.
7304
7305 2003-03-17  Michael Koch  <konqueror@gmx.de>
7306
7307         * java/beans/Beans.java:
7308         Explicitely import classes not packages.
7309         * java/beans/FeatureDescriptor.java
7310         (preferred): New member variable.
7311         (isPreferred): New method.
7312         (setPreferred): New method.
7313         * java/beans/PropertyEditorManager.java:
7314         Explicitely import used classes.
7315         * java/beans/beancontext/BeanContextChild.java:
7316         Added line wrapping.
7317         * java/beans/beancontext/BeanContextChildSupport.java:
7318         Reindented.
7319         * java/beans/beancontext/BeanContextEvent.java:
7320         Reindented.
7321
7322 2003-03-17  Michael Koch  <konqueror@gmx.de>
7323
7324         * java/awt/Dialog.java
7325         (Dialog): New constructor, changed implementations, added
7326         documentation.
7327         * java/awt/ScrollPaneAdjustable.java
7328         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7329         Serializable.
7330         (serialVersionUID): New member variable.
7331         (sp): New member variable.
7332         (orientation): New member variable.
7333         (value): New member variable.
7334         (minimum): New member variable.
7335         (maximum): New member variable.
7336         (visibleAmount): New member variable.
7337         (unitIncrement): New member variable.
7338         (blockIncrement): New member variable.
7339         (AdjustmentListener): New member variable.
7340         (ScrollPaneAdjustable): New implementation.
7341         (addAdjustmentListener): New method.
7342         (removeAdjustmentListener): New method.
7343         (getAdjustmentListeners): New method.
7344         (getBlockIncrement): New method.
7345         (getMaximum): New method.
7346         (getMinimum): New method.
7347         (getOrientation): New method.
7348         (getUnitIncrement): New method.
7349         (getValue): New method.
7350         (getVisibleAmount): New method.
7351         (setBlockIncrement): New method.
7352         (setMaximum): Implemented.
7353         (setMinimum): Implemented.
7354         (setUnitIncrement): New method.
7355         (setValue): New method.
7356         (setVisibleAmount): Implemented. 
7357         (paramString): New stubbed method.
7358         * java/awt/Window.java
7359         (show): Call setVisible().
7360         (hide): Call setVisible().
7361         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7362         and WINDOW_STATE_CHANGED.
7363         (processWindowFocusEvent): New method.
7364         (processWindowStateEvent): New method.
7365         (postEvent): Deprecated.
7366         (applyResourceBundle): Deprecated.
7367         * java/awt/datatransfer/DataFlavor.java
7368         (DataFlavor): Doesn't thow ClassNotFoundException.
7369
7370 2003-03-17  Michael Koch
7371
7372         * javax/print/attribute/Attribute.java,
7373         javax/print/attribute/AttributeSet.java,
7374         javax/print/attribute/PrintRequestAttributeSet.java:
7375         New files.
7376         * Makefile.am
7377         (javax_source_files): Added new files:
7378         javax/print/attribute/Attribute.java
7379         javax/print/attribute/AttributeSet.java
7380         javax/print/attribute/PrintRequestAttributeSet.java
7381         * Makefile.in: Regenerated.
7382
7383 2003-03-17  Michael Koch
7384
7385         * javax/print/attribute/Attribute.java,
7386         javax/print/attribute/AttributeSet.java,
7387         javax/print/attribute/PrintRequestAttributeSet.java:
7388         New files.
7389         * Makefile.am
7390         (awt_java_source_files): Added new files:
7391         javax/print/attribute/Attribute.java
7392         javax/print/attribute/AttributeSet.java
7393         javax/print/attribute/PrintRequestAttributeSet.java
7394         * Makefile.in: Regenerated.
7395
7396 2003-03-16  Tom Tromey  <tromey@redhat.com>
7397
7398         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7399         Include platform.h.
7400         * java/lang/natRuntime.cc (insertSystemProperties): Use
7401         _Jv_platform_path_separator.
7402         (nativeGetLibname): Use _Jv_platform_file_separator.
7403         (_load): Use _Jv_platform_onload_names.
7404         (onload_names): New global.
7405         * include/win32.h (_Jv_platform_file_separator): New define.
7406         (_Jv_platform_path_separator): Likewise.
7407         (_Jv_platform_onload_names): Likewise.
7408         (_Jv_platform_ffi_abi): Likewise.
7409         * include/posix.h (_Jv_platform_file_separator): New define.
7410         (_Jv_platform_path_separator): Likewise.
7411         (_Jv_platform_onload_names): Likewise.
7412         (_Jv_platform_ffi_abi): Likewise.
7413
7414 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7415
7416         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7417
7418 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7419
7420         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7421         hierarchy loop.
7422         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7423         list to Object,ObjectStreamClass, moved callReadMethod code up into
7424         readObject and added Class argument to all setXxxField calls.
7425         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7426         consistent with ObjectOutputStream and to facilitate caching the
7427         Method in the future.
7428         (setBooleanField): Added Class argument.
7429         (setByteField): Likewise.
7430         (setCharField): Likewise.
7431         (setDoubleField): Likewise.
7432         (setFloatField): Likewise.
7433         (setIntField): Likewise.
7434         (setLongField): Likewise.
7435         (setShortField): Likewise.
7436         (setObjectField): Likewise.
7437         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7438         class hierarchy loop.
7439         (defaultWriteObject): Call writeFields with new argument list.
7440         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7441         list to Object,ObjectStreamClass, moved callWriteMethod up into
7442         writeObject and added Class argument to all getXxxField calls.
7443         (callWriteMethod): Added ObjectStreamClass argument to be able to
7444         get the proper class to call getMethod on (each class can have (or
7445         not have) its own writeObject method).
7446         (getBooleanField): Added Class argument.
7447         (getByteField): Likewise.
7448         (getCharField): Likewise.
7449         (getDoubleField): Likewise.
7450         (getFloatField): Likewise.
7451         (getIntField): Likewise.
7452         (getLongField): Likewise.
7453         (getShortField): Likewise.
7454         (getObjectField): Likewise.
7455         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7456         facilitate caching the Method object in the future.
7457
7458 2003-03-12  Andreas Schwab  <schwab@suse.de>
7459
7460         * configure.in: Avoid trailing /. in toolexeclibdir.
7461         * configure: Rebuilt.
7462
7463 2003-03-11  Michael Koch  <konqueror@gmx.de>
7464
7465         * gnu/java/nio/ByteBufferImpl.java
7466         (putInt): Use limit() instead of limit.
7467         * gnu/java/nio/CharBufferImpl.java
7468         (slice): Fixed implementation.
7469         (subSequence): Better bounds checking.
7470         * gnu/java/nio/MappedByteFileBuffer.java:
7471         Import all needed classes directly.
7472         * java/nio/ByteBuffer.java
7473         (hashCode): New dummy method.
7474         * java/nio/CharBuffer.java
7475         (array_offset): New member variable.
7476         (hasArray): Fixed documentation.
7477         (arrayOffset): Return array_offset.
7478
7479 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7480
7481         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7482         setter; made return value of getter const char* instead of char*
7483         * prims.cc: removed all references to _Jv_ThisExecutable().
7484         These are in the platform-specific sections now.
7485         * posix.cc: define platform-specific _Jv_ThisExecutable().
7486         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7487         * win32.cc: define platform-specific _Jv_ThisExecutable()
7488         using GetModuleFilename()
7489         * java/lang/natRuntime.cc: set gnu.gcj.progname property
7490         to argv[0] instead of _Jv_ThisExecutable()
7491
7492 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7493
7494         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7495         that is set if we are using addr2name.awk instead of addr2line.
7496         (NameFinder): Set usingAddr2name if using addr2name.awk.
7497         (getExternalLabel): New native method to convert a method 
7498         name to an external label.
7499         (lookup): Convert name given by addr2line to an external label
7500         before demangling.
7501
7502         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7503         constant representing the prefix attached to method names to
7504         convert them to an external label.
7505         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
7506         using LABEL_PREFIX.
7507
7508 2003-03-10  Tom Tromey  <tromey@redhat.com>
7509
7510         * Makefile.in: Rebuilt.
7511         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7512         (JC1FLAGS): Removed -Wno-deprecated.
7513
7514 2003-03-10  Michael Koch  <konqueror@gmx.de>
7515
7516         * java/nio/ByteOrder.java
7517         (nativeOrder): Working implementation, added documentation.
7518         (toString): Added documentation.
7519
7520 2003-03-10  Michael Koch  <konqueror@gmx.de>
7521
7522         * java/net/DatagramSocket.java,
7523         java/net/MulticastSocket.java,
7524         java/net/Socket.java,
7525         java/net/URL.java,
7526         java/net/URLConnection.java:
7527         Fixed some documentation tags to make javadoc and friends happy.
7528
7529 2003-03-10  Michael Koch  <koqnueror@gmx.de>
7530
7531         * java/beans/beancontext/BeanContextServicesSupport.java,
7532         java/beans/beancontext/BeanContextSupport.java: New files.
7533         * Makefile.am
7534         (awt_source_files): Added new files.
7535         * Makefile.in: Regenerated.
7536
7537 2003-03-10  Michael Koch  <konqueror@gmx.de>
7538
7539         * java/awt/FocusTraversalPolicy.java
7540         (FocusTraversalPolicy): Documentation added.
7541         (getComponentAfter): Documentation added.
7542         (getComponentBefore): Documentation added.
7543         (getFirstComponent): Documentation added.
7544         (getLastComponent): Documentation added.
7545         (getDefaultComponent): Documentation added.
7546         (getInitialComponent): Documentation added.
7547         * java/awt/ScrollPaneAdjustable.java
7548         (sp): New member variable.
7549         (orientation): New member variable.
7550         (value): New member variable.
7551         (minimum): New member variable.
7552         (maximum): New member variable.
7553         (visibleAmount): New member variable.
7554         (unitIncrement): New member variable.
7555         (blockIncrement): New member variable.
7556         (adjustmentListener): New member variable.
7557         (ScrollPaneAdjustable): Rewrote.
7558         (addAdjustmentListener): New method.
7559         (removeAdjustmentListener): New method.
7560         (getAdjustmentListeners): New method.
7561         (getBlockIncrement): New method.
7562         (getMaximum): New method.
7563         (getMinimum): New method.
7564         (getOrientation): New method.
7565         (getUnitIncrement): New method.
7566         (getValue): New method.
7567         (getVisibleAmount): New method.
7568         (setBlockIncrement): New method.
7569         (setUnitIncrement): New method.
7570         (setMaximum): Implemented.
7571         (setMinimum): Implemented.
7572         (setValue): New method.
7573         (setVisibleAmount): Implemented.
7574         (paramString): New method.
7575         * java/awt/Window.java
7576         (show): Use setVisible(true) instead of super.show().
7577         (hide): Use sevVisible(false) instead of super.hide().
7578         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7579         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7580         (postEvent): Deprecated.
7581         (applyResourceBundle): Deprecated.
7582         (processWindowFocusEvent): New method.
7583         (processWindowStateEvent): New method.
7584         * java/awt/datatransfer/DataFlavor.java: Reindented.
7585         * java/awt/font/TextHitInfo.java
7586         (charIndex): New member variable.
7587         (leadingEdge): New member variable.
7588         (TextHitInfo): New constructor.
7589         (getCharIndex): Implemented.
7590         (isLeadingEdge): Implemented.
7591         (getInsertionIndex): Implemented.
7592         (hashCode): Access charIndex directly.
7593         (equals): Reformated.
7594         (leading): Implemented.
7595         (trailing): Implemented.
7596         (beforeOffset): Implemented.
7597         (afterOffset): Implemented.
7598         (getOtherHit): Implemented.
7599         (getOffsetHit): Implemented.
7600         (toString): Implemented.
7601         * java/awt/image/BufferedImage.java
7602         (BufferedImage): Implements WritableRenderedImage.
7603         (observers): New member variable.
7604         (addTileObserver): New method.
7605         (removeTileObserver): New method.
7606
7607 2003-03-09  Tom Tromey  <tromey@redhat.com>
7608
7609         PR libgcj/9934:
7610         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7611         to lseek.  Return 0 if we can't compute the value.
7612
7613 2003-03-03  Michael Koch  <konqueror@gmx.de>
7614
7615         * java/net/NetworkInterface.java: Merged with classpath.
7616
7617 2003-03-03  Tom Tromey  <tromey@redhat.com>
7618
7619         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7620         of bytecode.
7621         (handle_ret_insn): Fail if returning to jsr that appears at end of
7622         bytecode.
7623
7624 2003-03-03  Michael Koch  <konqueror@gmx.de>
7625
7626         * Makefile.am
7627         (ordinary_java_source_files):
7628         Added gnu/java/nio/MappedByteFileBuffer.java.
7629         (nat_source_files):
7630         Added gnu/java/nio/natMappedByteFileBuffer.cc.
7631         * Makefile.in: Regenerated.
7632
7633 2003-03-03  Michael Koch  <konqueror@gmx.de>
7634
7635         * java/net/DatagramSocket.java
7636         (connect): Merged comment from classpath.
7637         (receive): Merged documentation from classpath.
7638         * java/net/Socket.java
7639         (setSoTimeout): Clarified documentation.
7640         * java/net/URL.java
7641         (getPath): Merged from classpath.
7642         (getUserInfo): Merged from classpath.
7643         (getQuery): Merged from classpath.
7644         * java/net/URLStreamHandler.java
7645         (toExternalForm): Merged from classpath.
7646
7647 2003-03-02  Mark Wielaard  <mark@klomp.org>
7648
7649         * java/util/Properties.java (load): Only skip line if the first
7650         character is a comment, whitespaces don't count.
7651
7652 2003-03-02  Michael Koch  <konqueror@gmx.de>
7653
7654         * java/net/NetPermission.java:
7655         Merged copyright with classpath.
7656
7657 2003-03-02  Michael Koch  <konqueror@gmx.de>
7658
7659         * java/lang/Package.java:
7660         Remerged from classpath.
7661
7662 2003-03-02  Michael Koch  <konqueror@gmx.de>
7663
7664         * java/net/HttpURLConnection.java
7665         (HTTP_SERVER_ERROR): Deprecated.
7666         * java/net/MulticastSocket.java
7667         (send): Replaced checkMulticast with appropriate checkPermission call,
7668         deprecated.
7669         * java/net/URLDecoder.java
7670         (decode): Deprecated.
7671         * java/net/URLEncoder.java
7672         (encode): Deprecated.
7673
7674 2003-03-02  Michael Koch  <konqueror@gmx.de>
7675
7676         * javax/swing/text/Caret.java
7677         (getMagicCaretPosition): Fixed typo in method name.
7678         * javax/swing/text/DefaultCaret.java
7679         (getMagicCaretPosition): Fixed typo in method name.
7680
7681 2003-03-02  Michael Koch  <konqueror@gmx.de>
7682
7683         * java/awt/List.java
7684         (setMultipleSelections): Deprecated.
7685         (delItem): Deprecated.
7686         * java/awt/MenuComponent.java
7687         (getPeer): Deprecated.
7688         * java/awt/ScrollPane.java
7689         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7690         * java/awt/dnd/MouseDragGestureRecognizer.java
7691         (mouseClicked): Added comment.
7692         (mousePressed): Added comment.
7693         (mouseReleased): Added comment.
7694         (mouseEntered): Added comment.
7695         (mouseExited): Added comment.
7696         (mouseDragged): Added comment.
7697         (mouseMoved): Added comment.
7698         * java/awt/event/KeyEvent.java
7699         (KeyEvent): Deprecated.
7700         (setModifiers): Deprecated.
7701         
7702 2003-03-02  Michael Koch  <konqueror@gmx.de>
7703
7704         * gnu/java/nio/FileChannelImpl.java
7705         (fd): Type FileDescriptor instead of int.
7706         (lengthInternal): Removed.
7707         (FileChannelImpl): Fixed arguments, check type of file object.
7708         (size): Made it native.
7709         (implPosition): New native method.
7710         (implTruncate): New native method.
7711         (position): Implemented.
7712         (truncate): Implemented.
7713         (nio_mmap_file): Changed arguments.
7714         (nio_munmap_file): Changed arguments.
7715         (nio_msync): Changed arguments.
7716         * gnu/java/nio/natFileChannelImpl.cc
7717         (lengthInternal): Removed.
7718         (size): New method.
7719         (implPosition): New method.
7720         (implTruncate): New method.
7721         (nio_mmap_file): Changed arguments.
7722         (nio_munmap_file): Changed arguments.
7723         (nio_msync): Changed arguments.
7724
7725 2003-03-02  Michael Koch  <konqueror@gmx.de>
7726
7727         * java/awt/dnd/DropTargetContext.java:
7728         Compile fix: Forgot to commit import.
7729         
7730 2003-03-02  Michael Koch  <konqueror@gmx.de>
7731
7732         * java/awt/Component.java,
7733         java/awt/ScrollPane.java:
7734         Fixed typos.
7735
7736 2003-03-02  Michael Koch  <konqueror@gmx.de>
7737
7738         * java/awt/dnd/DnDEventMulticaster.java: New file.
7739         * java/awt/dnd/DragSource.java
7740         (flavorMap): New member variable.
7741         (dragSourceListener): New member variable.
7742         (dragSourceMotionListener): New member variable.
7743         (getFlavorMap): Implemented.
7744         (createDragGestureRecognizer): Implemented.
7745         (addDragSourceListener): Implemented.
7746         (removeDragSourceListener): Implemented.
7747         (getDragSourceListeners): Implemented.
7748         (addDragSourceMotionListener): Implemented.
7749         (removeDragSourceMotionListener): Implemented.
7750         (getDragSourceMotionListeners): Implemented.
7751         (getListeners): Implemented.
7752         * java/awt/dnd/DragSourceContext.java
7753         (peer): New member variable.
7754         (cursor): New member variable.
7755         (transferable): New member variable.
7756         (trigger): New member variable.
7757         (dragSourceListener): New member variable.
7758         (image): New member variable.
7759         (offset): New member variable.
7760         (DragSourceContext): Implemented.
7761         (getDragSource): Implemented.
7762         (getComponent): Implemented.
7763         (getTrigger): Implemented.
7764         (getSourceActions): Implemented.
7765         (setCursor): Implemented.
7766         (getCursor): Implemented.
7767         (addDragSourceListener): Implemented.
7768         (removeDragSourceListener): Implemented.
7769         (getTransferable): Implemented.
7770         * java/awt/dnd/DropTarget.java
7771         (DropTargetAutoScroller.component): New member variable.
7772         (DropTargetAutoScroller.point): New member variable.
7773         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
7774         (DropTargetAutoScroller.updateLocation): Implemented.
7775         (active): Renamed from isActive, defaults to true now.
7776         (component): New member variable.
7777         (flavorMap): New member variable.
7778         (actions): New member variable.
7779         (dropTargetContext): New member variable.
7780         (dropTargetListener): New member variable.
7781         (DropTarget): Implemented.
7782         (getComponent): Implemented.
7783         (setComponent): Implemented.
7784         (setDefaultActions): Implemented.
7785         (getDefaultActions): Implemented.
7786         (setActive): Use active instead of isActive.
7787         (isActive): Use active instead of isActive.
7788         (addDropTargetListener): Implemented.
7789         (removeDropTargetListener): Implemented.
7790         (getFlavorMap): Implemented.
7791         (setFlavorMap): Implemented.
7792         (getDropTargetContext): Implemented.
7793         (createDropTargetContext): Implemented.
7794         (createDropTargetAutoScroller): Implemented.
7795         * java/awt/dnd/DropTargetContext.java
7796         (TransferableProxy.getTransferDataFlavors): Implemented.
7797         (TransferableProxy.isDataFlavorSupported): Implemented.
7798         (TransferableProxy.getTransferData): Implemented.
7799         (dropTarget):  New member variable.
7800         (dtcp): New member variable.
7801         (DropTargetContext): New package private constructor.
7802         (getDropTarget): Implemented.
7803         (getComponent): Implemented.
7804         (addNotify): Implemented.
7805         (removeNotify): Implemented.
7806         (getCurrentDataFlavorsAsList): Implemented.
7807         (isDataFlavorSupported): Implemented.
7808         * java/awt/dnd/MouseDragGestureRecognizer.java
7809         (registerListeners): Implemented.
7810         (unregisterListeners): Implemented.
7811         * Makefile.am
7812         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
7813         * Makefile.in: Regenerated.
7814
7815 2003-03-02  Michael Koch  <konqueror@gmx.de>
7816
7817         * java/awt/Component.java
7818         (eventTypeEnabled): New method.
7819         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
7820         * java/awt/Container.java
7821         (changeSupport): New member variable.
7822         (addPropertyChangeListener): New methods.
7823         * java/awt/ContainerOrderFocusTraversalPolicy.java
7824         (ContainerOrderFocusTraversalPolicy): Added comment.
7825         (getComponentAfter): Throw exception, documentation added.
7826         (getComponentBefore): Throw exception, documentation added.
7827         (getFirstComponent): Throw exception, documentation added.
7828         (getLastComponent): Throw exception, documentation added.
7829         (getDefaultComponent): Throw exception, documentation added.
7830         * java/awt/EventQueue.java: Reindented.
7831         * java/awt/FocusTraversalPolicy.java:
7832         (FocusTraversalPolicy): Added comment.
7833         (getComponentAfter): Documentation added.
7834         (getComponentBefore): Documentation added.
7835         (getFirstComponent): Documentation added.
7836         (getLastComponent): Documentation added.
7837         (getDefaultComponent): Documentation added.
7838         (getInitialComponent): Documentation added.
7839         * java/awt/ScrollPane.java
7840         (wheelScrollingEnabled): New member variable.
7841         (ScrollPane): Initialize wheelScollingEnabled.
7842         (eventTypeEnabled): New method.
7843         (isWheelScrollingEnabled): New method.
7844         (setWheelScrollingEnabled): New method.
7845
7846 2003-03-02  Michael Koch  <konqueror@gmx.de>
7847
7848         * java/net/DatagramSocket.java
7849         (closed): New member variable.
7850         (close): Use closed variable.
7851         (getInetAddress): No need to call isConnected().
7852         (getPort): No need to call isConnected().
7853         (disconnect): Reset remoteAddress and remotePort, fixed typo.
7854         (isClosed): Reimplemented.
7855         
7856 2003-03-02  Michael Koch  <konqueror@gmx.de>
7857
7858         * configure.in: Added check for memory mapping of files.
7859         * configure: Regenerated.
7860         * config.h.in: Regenerated.
7861
7862 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
7863
7864         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
7865         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
7866
7867 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
7868
7869         * java/io/File.java (normalizePath): Remove trailing separator
7870         on Windows only if path is not of the form "x:\".
7871
7872         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
7873         (java::io::File::attr): Change formatting a bit and use
7874         WIN32_EPOCH_MILLIS instead of magic numbers.
7875         (java::io::File::isAbsolute): Path must have at least 3 
7876         characters for a UNC network path.
7877         (java::io::File::init_native): Define.
7878         (java::io::File::performCreate): Likewise.
7879         (java::io::File::performSetReadOnly): Likewise.
7880         (java::io::File::performSetLastModified): Likewise.
7881         (java::io::File::performListRoots): Likewise.
7882
7883 2003-03-01  Tom Tromey  <tromey@redhat.com>
7884
7885         * java/lang/natObject.cc: Don't include assert.h.
7886         (heavy_lock_obj_finalization_proc): Use JvAssert.
7887         (remove_all_heavy): Likewise.
7888         (_Jv_MonitorEnter): Likewise.
7889         (_Jv_MonitorExit): Likewise.
7890         (wait): Likewise.
7891
7892 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
7893
7894         * java/io/File (getAbsolutePath): Prefix drive specifier on
7895         Windows for paths starting with a '\'.
7896         (toURL): Make URL more consistent with what Sun's JDK returns.
7897
7898         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
7899         true only if the path is a UNC network path or it starts with a
7900         drive specifier.
7901
7902         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
7903         Be prepared to handle either '/' or '\\' in the file path for
7904         Windows if using the "file" protocol.
7905         Canonicalise the file path if using a relative path in the given
7906         context and the "file" protocol.
7907
7908 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
7909
7910         * java/lang/natWin32Process.cc (startProcess): Double-quote each
7911         program array element passed to CreateProcess.
7912
7913 2003-03-01  Tom Tromey  <tromey@redhat.com>
7914
7915         * java/rmi/registry/RegistryHandler.java: Deprecate.
7916
7917 2003-03-01  Tom Tromey  <tromey@redhat.com>
7918
7919         * javax/accessibility/AccessibleEditableText.java,
7920         javax/accessibility/AccessibleHyperlink.java: New versions from
7921         Classpath.
7922
7923         * gnu/java/locale/LocaleInformation_af_ZA.java,
7924         gnu/java/locale/LocaleInformation_ar_AE.java,
7925         gnu/java/locale/LocaleInformation_ar_BH.java,
7926         gnu/java/locale/LocaleInformation_ar_DZ.java,
7927         gnu/java/locale/LocaleInformation_ar_EG.java,
7928         gnu/java/locale/LocaleInformation_ar_IN.java,
7929         gnu/java/locale/LocaleInformation_ar_IQ.java,
7930         gnu/java/locale/LocaleInformation_ar_JO.java,
7931         gnu/java/locale/LocaleInformation_ar_KW.java,
7932         gnu/java/locale/LocaleInformation_ar_LB.java,
7933         gnu/java/locale/LocaleInformation_ar_LY.java,
7934         gnu/java/locale/LocaleInformation_ar_MA.java,
7935         gnu/java/locale/LocaleInformation_ar_OM.java,
7936         gnu/java/locale/LocaleInformation_ar_QA.java,
7937         gnu/java/locale/LocaleInformation_ar_SD.java,
7938         gnu/java/locale/LocaleInformation_ar_SY.java,
7939         gnu/java/locale/LocaleInformation_ar_TN.java,
7940         gnu/java/locale/LocaleInformation_ar_YE.java,
7941         gnu/java/locale/LocaleInformation_be_BY.java,
7942         gnu/java/locale/LocaleInformation_bn_IN.java,
7943         gnu/java/locale/LocaleInformation_br_FR.java,
7944         gnu/java/locale/LocaleInformation_bs_BA.java,
7945         gnu/java/locale/LocaleInformation_ca_ES.java,
7946         gnu/java/locale/LocaleInformation_cs_CZ.java,
7947         gnu/java/locale/LocaleInformation_cy_GB.java,
7948         gnu/java/locale/LocaleInformation_da_DK.java,
7949         gnu/java/locale/LocaleInformation_de_AT.java,
7950         gnu/java/locale/LocaleInformation_de_BE.java,
7951         gnu/java/locale/LocaleInformation_de_CH.java,
7952         gnu/java/locale/LocaleInformation_de_DE.java,
7953         gnu/java/locale/LocaleInformation_de_LU.java,
7954         gnu/java/locale/LocaleInformation_el_GR.java,
7955         gnu/java/locale/LocaleInformation_en_AU.java,
7956         gnu/java/locale/LocaleInformation_en_BW.java,
7957         gnu/java/locale/LocaleInformation_en_CA.java,
7958         gnu/java/locale/LocaleInformation_en_DK.java,
7959         gnu/java/locale/LocaleInformation_en_GB.java,
7960         gnu/java/locale/LocaleInformation_en_HK.java,
7961         gnu/java/locale/LocaleInformation_en_IE.java,
7962         gnu/java/locale/LocaleInformation_en_IN.java,
7963         gnu/java/locale/LocaleInformation_en_NZ.java,
7964         gnu/java/locale/LocaleInformation_en_PH.java,
7965         gnu/java/locale/LocaleInformation_en_SG.java,
7966         gnu/java/locale/LocaleInformation_en_US.java,
7967         gnu/java/locale/LocaleInformation_en_ZA.java,
7968         gnu/java/locale/LocaleInformation_en_ZW.java,
7969         gnu/java/locale/LocaleInformation_es_AR.java,
7970         gnu/java/locale/LocaleInformation_es_BO.java,
7971         gnu/java/locale/LocaleInformation_es_CL.java,
7972         gnu/java/locale/LocaleInformation_es_CO.java,
7973         gnu/java/locale/LocaleInformation_es_CR.java,
7974         gnu/java/locale/LocaleInformation_es_DO.java,
7975         gnu/java/locale/LocaleInformation_es_EC.java,
7976         gnu/java/locale/LocaleInformation_es_ES.java,
7977         gnu/java/locale/LocaleInformation_es_GT.java,
7978         gnu/java/locale/LocaleInformation_es_HN.java,
7979         gnu/java/locale/LocaleInformation_es_MX.java,
7980         gnu/java/locale/LocaleInformation_es_NI.java,
7981         gnu/java/locale/LocaleInformation_es_PA.java,
7982         gnu/java/locale/LocaleInformation_es_PE.java,
7983         gnu/java/locale/LocaleInformation_es_PR.java,
7984         gnu/java/locale/LocaleInformation_es_PY.java,
7985         gnu/java/locale/LocaleInformation_es_SV.java,
7986         gnu/java/locale/LocaleInformation_es_US.java,
7987         gnu/java/locale/LocaleInformation_es_UY.java,
7988         gnu/java/locale/LocaleInformation_es_VE.java,
7989         gnu/java/locale/LocaleInformation_et_EE.java,
7990         gnu/java/locale/LocaleInformation_eu_ES.java,
7991         gnu/java/locale/LocaleInformation_fa_IR.java,
7992         gnu/java/locale/LocaleInformation_fi_FI.java,
7993         gnu/java/locale/LocaleInformation_fo_FO.java,
7994         gnu/java/locale/LocaleInformation_fr_BE.java,
7995         gnu/java/locale/LocaleInformation_fr_CA.java,
7996         gnu/java/locale/LocaleInformation_fr_CH.java,
7997         gnu/java/locale/LocaleInformation_fr_FR.java,
7998         gnu/java/locale/LocaleInformation_fr_LU.java,
7999         gnu/java/locale/LocaleInformation_ga_IE.java,
8000         gnu/java/locale/LocaleInformation_gd_GB.java,
8001         gnu/java/locale/LocaleInformation_gl_ES.java,
8002         gnu/java/locale/LocaleInformation_gv_GB.java,
8003         gnu/java/locale/LocaleInformation_he_IL.java,
8004         gnu/java/locale/LocaleInformation_hi_IN.java,
8005         gnu/java/locale/LocaleInformation_hr_HR.java,
8006         gnu/java/locale/LocaleInformation_hu_HU.java,
8007         gnu/java/locale/LocaleInformation_id_ID.java,
8008         gnu/java/locale/LocaleInformation_it_CH.java,
8009         gnu/java/locale/LocaleInformation_it_IT.java,
8010         gnu/java/locale/LocaleInformation_iw_IL.java,
8011         gnu/java/locale/LocaleInformation_ja_JP.java,
8012         gnu/java/locale/LocaleInformation_ka_GE.java,
8013         gnu/java/locale/LocaleInformation_kl_GL.java,
8014         gnu/java/locale/LocaleInformation_ko_KR.java,
8015         gnu/java/locale/LocaleInformation_kw_GB.java,
8016         gnu/java/locale/LocaleInformation_lt_LT.java,
8017         gnu/java/locale/LocaleInformation_lv_LV.java,
8018         gnu/java/locale/LocaleInformation_mi_NZ.java,
8019         gnu/java/locale/LocaleInformation_mk_MK.java,
8020         gnu/java/locale/LocaleInformation_mr_IN.java,
8021         gnu/java/locale/LocaleInformation_mt_MT.java,
8022         gnu/java/locale/LocaleInformation_nl_BE.java,
8023         gnu/java/locale/LocaleInformation_nl_NL.java,
8024         gnu/java/locale/LocaleInformation_nn_NO.java,
8025         gnu/java/locale/LocaleInformation_no_NO.java,
8026         gnu/java/locale/LocaleInformation_oc_FR.java,
8027         gnu/java/locale/LocaleInformation_pl_PL.java,
8028         gnu/java/locale/LocaleInformation_pt_BR.java,
8029         gnu/java/locale/LocaleInformation_pt_PT.java,
8030         gnu/java/locale/LocaleInformation_ro_RO.java,
8031         gnu/java/locale/LocaleInformation_ru_RU.java,
8032         gnu/java/locale/LocaleInformation_ru_UA.java,
8033         gnu/java/locale/LocaleInformation_se_NO.java,
8034         gnu/java/locale/LocaleInformation_sk_SK.java,
8035         gnu/java/locale/LocaleInformation_sl_SI.java,
8036         gnu/java/locale/LocaleInformation_sq_AL.java,
8037         gnu/java/locale/LocaleInformation_sr_YU.java,
8038         gnu/java/locale/LocaleInformation_sv_FI.java,
8039         gnu/java/locale/LocaleInformation_sv_SE.java,
8040         gnu/java/locale/LocaleInformation_ta_IN.java,
8041         gnu/java/locale/LocaleInformation_te_IN.java,
8042         gnu/java/locale/LocaleInformation_tg_TJ.java,
8043         gnu/java/locale/LocaleInformation_tl_PH.java,
8044         gnu/java/locale/LocaleInformation_tr_TR.java,
8045         gnu/java/locale/LocaleInformation_uk_UA.java,
8046         gnu/java/locale/LocaleInformation_ur_PK.java,
8047         gnu/java/locale/LocaleInformation_uz_UZ.java,
8048         gnu/java/locale/LocaleInformation_vi_VN.java,
8049         gnu/java/locale/LocaleInformation_yi_US.java,
8050         gnu/java/locale/LocaleInformation_zh_CN.java,
8051         gnu/java/locale/LocaleInformation_zh_HK.java,
8052         gnu/java/locale/LocaleInformation_zh_SG.java,
8053         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8054         info; from Classpath.
8055
8056         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8057         isPaintPending): New methods.
8058         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8059         setMaximizedBounds): New methods.
8060         (beginLayout, endLayout, isPaintPending): Likewise.
8061         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8062         (requestFocus): Likewise.
8063         (isObscured): Likewise.
8064         (canDetermineObscurity): Likewise.
8065         (coalescePaintEvent): Likewise.
8066         (updateCursorImmediately): Likewise.
8067         (createVolatileImage): Likewise.
8068         (handlesWheelScrolling): Likewise.
8069         (createBuffers): Likewise.
8070         (getBackBuffer): Likewise.
8071         (flip): Likewise.
8072         (destroyBuffers): Likewise.
8073
8074         * Makefile.in: Rebuilt.
8075         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8076         RobotPeer.java.
8077         * gnu/java/awt/GLightweightPeer.java,
8078         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8079         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8080         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8081         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8082         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8083         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8084         java/awt/dnd/peer/DragSourceContextPeer.java,
8085         java/awt/dnd/peer/DropTargetContextPeer.java,
8086         java/awt/peer/ButtonPeer.java,
8087         java/awt/peer/CheckboxMenuItemPeer.java,
8088         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8089         java/awt/peer/ComponentPeer.java,
8090         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8091         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8092         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8093         java/awt/peer/MenuBarPeer.java,
8094         java/awt/peer/MenuComponentPeer.java,
8095         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8096         java/awt/peer/PopupMenuPeer.java,
8097         java/awt/peer/ScrollPanePeer.java,
8098         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8099         java/awt/peer/TextComponentPeer.java,
8100         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8101         New versions from Classpath.
8102         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8103         * java/awt/peer/RobotPeer.java: Likewise.
8104
8105 2003-03-01  Mark Wielaard  <mark@klomp.org>
8106
8107         * java/io/ObjectInputStream.java: Reindent.
8108         * java/io/ObjectOutputStream.java: Likewise.
8109
8110 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8111
8112         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8113         jvalue for each argument. Simplify.
8114         * testsuite/libjava.jni/calls.c (docall),
8115         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8116         misalignment.
8117
8118 2003-02-28  Mark Wielaard  <mark@klomp.org>
8119
8120         * Makefile.am (nat_source_files): Remove
8121         java/io/natObjectOutputStream.cc.
8122         * Makefile.in: Regenerated.
8123         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8124         * java/io/ObjectStreamField.java (typename): New field.
8125         (ObjectStreamField(String, Class)): Initialize new field.
8126         (ObjectStreamField(String, String)): New Constructor.
8127         (getTypeCode): Use new field.
8128         (getTypeString): Use new field.
8129         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8130         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8131         Handle reading of Proxy classes. Never drain(), just write
8132         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8133         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8134         (flush): Call flush(), not just drain().
8135         (writeBoolean): Always use blockDataOutput.
8136         (writeByte): Likewise.
8137         (writeShort): Likewise.
8138         (writeChar): Likewise.
8139         (writeInt): Likewise.
8140         (writeLong): Likewise.
8141         (writeFloat): Likewise.
8142         (writeDouble): Likewise.
8143         (writeBytes): Likewise.
8144         (putfield (put(String,Object))): Throw IllegalArgumentException if
8145         field cannot be found.
8146         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8147         (writeArraySizeAndElements): Write byte[] in one go.
8148         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8149         set BlockDataMode to false.
8150         (annotateProxyClass): New method.
8151         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8152         (getField): No longer native.
8153         (getMethod): Likewise.
8154         (setBlockDataMode): Always drain() on switch, return old mode.
8155         (static): New static code block.
8156         * java/io/natObjectOutputStream.cc: Removed.
8157         * java/io/ObjectInputStream.java (getField): No longer native.
8158         (getMethod): Likewise.
8159         (readObject): Remember and reset old BlockDataMode. Track whether
8160         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8161         TC_LONGSTRING.
8162         (defaultReadObject): Set BlockDataMode to false during readFields.
8163         (resolveClass): Create new SecurityManager if necessary.
8164         Use Class.forName() if null ClassLoader found.
8165         (read(byte[],int,int): Copy remaining bytes to data before calling
8166         readNextBlock().
8167         (readFields): Set and reset BlockDataMode on call_read_method.
8168         Catch NoSuchFieldErrors.
8169         (setBlockDataMode): Return old mode.
8170         (static): New static code block.
8171         * java/io/natObjectInputStream.cc (getField): Removed.
8172         (getMethod): Likewise.
8173
8174 2003-02-27  Michael Koch  <konqueror@gmx.de>
8175
8176         * java/beans/Beans.java,
8177         java/beans/FeatureDescriptor.java
8178         java/beans/PropertyEditorManager.java:
8179         Reformated to GNU style.
8180
8181 2003-02-25  Michael Koch  <konqueror@gmx.de>
8182
8183         * gnu/java/nio/MappedByteFileBuffer.java,
8184         gnu/java/nio/natMappedByteFileBuffer.cc:
8185         New files, both are not compiled yet to get not noncompiling CVS.
8186
8187 2003-02-24  Tom Tromey  <tromey@redhat.com>
8188
8189         * java/util/prefs/AbstractPreferences.java (isUserNode):
8190         Implemented.
8191
8192 2003-02-24  Tom Tromey  <tromey@redhat.com>
8193
8194         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8195         Deprecate.
8196         * java/lang/Thread.java (resume): Deprecate.
8197         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8198         in @deprecated.
8199
8200 2003-02-23  Tom Tromey  <tromey@redhat.com>
8201
8202         * Makefile.in: Rebuilt.
8203         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8204
8205 2003-02-23  Tom Tromey  <tromey@redhat.com>
8206
8207         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8208         libraries): Removed.
8209         (add_library): Removed.
8210         (_load): Don't call add_library.
8211         (loadLibraryInternal): Likewise.
8212         (init): Likewise.
8213         (lookup_data): New struct.
8214         (find_symbol): New function.
8215         (_Jv_FindSymbolInExecutable): Use it.
8216
8217 2002-02-21  Anthony Green  <green@redhat.com>
8218
8219         * java/lang/Thread.java (Thread): New constructor taking stack
8220         size parameter (ignored for now).
8221         * Many methods: Merged GNU Classpath documentation.
8222
8223         * java/lang/Class.java (finalize): throws a Throwable.
8224
8225 2003-02-21  Mark Wielaard  <mark@klomp.org>
8226
8227         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8228         argument is null.
8229
8230 2003-02-21  Mark Wielaard  <mark@klomp.org>
8231
8232         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8233         then 65535 chars throw IllegalArgumentException.
8234
8235 2003-02-21  Mark Wielaard  <mark@klomp.org>
8236
8237         * java/util/zip/ZipFile.java (finalize): New method.
8238
8239 2003-02-21  Michael Koch  <konqueror@gmx.de>
8240
8241         * gnu/java/nio/natSocketChannelImpl.cc:
8242         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8243         <cato@df.lth.se> for pointing to it.
8244
8245 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8246
8247         * java/math/BigInteger.java (euclidInv): Take result array as an
8248         argument.  Updated all callers.
8249         (modInverse): Removed unused variables.
8250
8251 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8252
8253         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8254         config.status.
8255         * configure: Rebuilt.
8256
8257 2003-02-19  Michael Koch  <konqueror@gmx.de>
8258
8259         * gnu/java/nio/natSocketChannelImpl.cc:
8260         Added support for platforms without network support.
8261
8262 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8263
8264         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8265         after config.h.  Use <> for consistency.
8266         * java/lang/natObject.cc: Likewise.
8267         * java/lang/natRuntime.cc: Likewise.
8268         * java/lang/natSystem.cc: Likewise.
8269         * java/util/natTimeZone.cc: Likewise.
8270         * win32.cc: Likewise.
8271         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8272         listen, write, read): Undef to avoid interference from OS macros.
8273
8274 2003-02-19  Michael Koch  <konqueror@gmx.de>
8275
8276         * gnu/java/nio/ByteBufferImpl.java
8277         (ByteBufferImpl): Renamed two variables.
8278         * gnu/java/nio/CharBufferImpl.java
8279         (CharBufferImpl): Renamed two variables.
8280         * gnu/java/nio/DoubleBufferImpl.java
8281         (DoubleBufferImpl): Renamed two variables.
8282         * gnu/java/nio/FloatBufferImpl.java
8283         (FloatBufferImpl): Renamed two variables.
8284         * gnu/java/nio/IntBufferImpl.java
8285         (IntBufferImpl): Renamed two variables.
8286         * gnu/java/nio/LongBufferImpl.java
8287         (LongBufferImpl): Renamed two variables.
8288         * gnu/java/nio/ShortBufferImpl.java
8289         (ShortBufferImpl): Renamed two variables.
8290         * java/nio/CharBuffer.java
8291         (wrap): Fixed arguments to CharBufferImpl constructor.
8292         (hasArray): Only not read-only buffers have backing arrays.
8293         (length): Documentation added.
8294         (subSequence): Documentation added.
8295         * java/nio/DoubleBuffer.java
8296         (hasArray): Only not read-only buffers have backing arrays.
8297         * java/nio/FloatBuffer.java
8298         (hasArray): Only not read-only buffers have backing arrays.
8299         * java/nio/IntBuffer.java
8300         (hasArray): Only not read-only buffers have backing arrays.
8301         * java/nio/LongBuffer.java
8302         (hasArray): Only not read-only buffers have backing arrays.
8303         * java/nio/ShortBuffer.java
8304         (hasArray): Only not read-only buffers have backing arrays.
8305         
8306 2003-02-19  Michael Koch  <konqueror@gmx.de>
8307
8308         * javax/accessibility/AccessibleContext.java
8309         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8310
8311 2003-02-19  Michael Koch  <konqueror@gmx.de>
8312
8313         * java/awt/ScrollPaneAdjustable.java: Reformated.
8314
8315 2003-02-19  Michael Koch <konqueror@gmx.de>
8316
8317         * gnu/awt/j2d/Graphics2DImpl.java
8318         (getFontRenderContext): New method.
8319         (drawGlyphVector): New method.
8320         * java/awt/Graphics2D.java
8321         (getFontRenderContext): New abstract method.
8322         (drawGlyphVector): New abstract method.
8323         
8324 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8325
8326         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8327         if necessary.
8328         
8329         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8330         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8331         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8332         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8335         (setFont, gtkSetFont): add.
8336         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8337         Propagate font to peer.  (setFont): add FIXME comment.
8338
8339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8340         (gtkTextGetSize): fix height, width computation.
8341
8342         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8343         Make X font name a bit less bogus.
8344
8345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8346         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8347
8348         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8349         (processAdjustmentEvent): Adjust value.
8350
8351         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8352         logic errors.
8353
8354         * java/awt/Component.java (setVisible, show, hide): Call show and
8355         hide methods in subclasses.
8356         (getPreferredSize): don't set prefSize before we have peer.
8357
8358         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8359         Guess (0,0) if we don't have peer.
8360
8361
8362 2003-02-18  Michael Koch  <konqueror@gmx.de>
8363
8364         * java/nio/channels/FileChannel.java
8365         (toString): New implementation, added documentation.
8366         (map): Added exception documentation.
8367         (size): Added exception documentation.
8368         (write): New methods, documentation work.
8369         (read): New methods, documentation work.
8370         (implCloseChannel): Rewrote exception documentation.
8371         (force): Throws IOException, added documentation.
8372         (lock): New methods.
8373         (tryLock): New methods.
8374         (position): New methods.
8375         (transferTo): New method.
8376         (transferFrom): New method.
8377         (truncate): New method.
8378         * java/nio/channels/spi/SelectorProvider.java
8379         (provider): Implemented.
8380         * Makefile.am
8381         (ordinary_java_source_files): Added the following files:
8382         gnu/java/nio/DatagramChannelImpl.java
8383         gnu/java/nio/FileChannelImpl.java
8384         gnu/java/nio/PipeImpl.java
8385         gnu/java/nio/SelectionKeyImpl.java
8386         gnu/java/nio/SelectorImpl.java
8387         gnu/java/nio/SelectorProviderImpl.java
8388         gnu/java/nio/ServerSocketChannelImpl.java
8389         gnu/java/nio/SocketChannelImpl.java
8390         java/nio/channels/FileLock.java
8391         (nat_java_source_files): Added the following files:
8392         gnu/java/nio/natFileChannelImpl.cc
8393         gnu/java/nio/natSelectorImpl.cc
8394         gnu/java/nio/natSocketChannelImpl.cc
8395         * Makefile.in: Regenerated.
8396
8397 2003-02-17  Tom Tromey  <tromey@redhat.com>
8398
8399         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8400         * java/awt/image/ImageFilter.java: Likewise.
8401
8402 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8403
8404         * java/math/BigInteger.java (euclidInv): Return array of
8405         `BigInteger's.  Changed all callers.
8406
8407 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8408
8409         * java/util/Properties.java (store): Move the code formerly in
8410         list(), into this method.
8411         (list (PrintStream)): Just call list (PrintWriter) with a 
8412         PrintWriter object constructed from the given PrintStream object.
8413         (list (PrintWriter)): Emulate the output of Properties.list()
8414         as found in JDK 1.3/1.4.
8415
8416 2003-02-17  Michael Koch  <konqueror@gmx.de>
8417
8418         * java/net/DatagramSocket.java
8419         (connect): Merged with classpath.
8420         (disconnect): Merged documentation with classpath.
8421         (receice): Merged documentation with classpath.
8422         (send): Merged documentation with classpath.
8423         
8424 2003-02-17  Michael Koch  <konqueror@gmx.de>
8425
8426         * java/awt/dnd/DragSourceContext.java
8427         (addDragSourceListener): Added documentation.
8428         * java/awt/dnd/DragSourceDragEvent.java
8429         (serialVersionUID): New member variable.
8430         (getDropAction): Reformated.
8431         * java/awt/dnd/DragSourceDropEvent.java
8432         (serialVersionUID): New member variable.
8433         (dropSuccess): Renamed from success for serialization issues.
8434         * java/awt/dnd/DragSourceEvent.java
8435         (serialVersionUID): New member variable.
8436         * java/awt/dnd/DropTarget.java
8437         (serialVersionUID): New member variable.
8438         (DropTarget): Implemented, documentation reworked.
8439         (setComponent): Documentation added.
8440         (getComponent): Documentation added.
8441         (setDefaultActions): Documentation added.
8442         (getDefaultActions): Documentation added.
8443         (addDropTargetListener): Documentation added.
8444         * java/awt/dnd/DropTargetContext.java
8445         (DropTargetContext): Documentation added.
8446         (TransferableProxy.TransferableProxy): New method.
8447         (dropComplete): Fixed documentation.
8448         (getTransferable): Fixed documentation.
8449         (createTransferableProxy): Implemented.
8450         * java/awt/dnd/DropTargetDragEvent.java
8451         (DropTargetDragEvent): Documentation added.
8452         (serialVersionUID): New member variable.
8453         (DropTargetDragEvent): Throw exceptions, documentation added.
8454         (acceptDrag): Implemented.
8455         (getCurrentDataFlavors): Implemented.3yy
8456         (getCurrentDataFlavorsAsList): Implemented.
8457         (isDataFlavorSupported): Implemented.
8458         (rejectDrag): Implemented.
8459         * java/awt/dnd/DropTargetDropEvent.java
8460         (DropTargetDropEvent): Documentation added.
8461         (serialVersionUID): New member variable.
8462         (actions): Renamed from srcActions for serialization issues.
8463         (isLocalTx): Renamed from isLocalTx for serialization issues.
8464         (DropTargetDropEvent): New implementation, throw exceptions,
8465         documentation added.
8466         (getCurrentDataFlavors): Implemented.
8467         (getCurrentDataFlavorsAsList): Implemented.
8468         (isDataFlavorSupported): Implemented.
8469         (getSourceActions): Implemented.
8470         (getDropAction): Implemented.
8471         (getTransferable): Implemented.
8472         (acceptDrop): Implemented.
8473         (rejectDrop): Implemented.
8474         * java/awt/dnd/DropTargetListener.java
8475         (drop): Fixed documentation.
8476         * java/awt/dnd/MouseDragGestureRecognizer.java
8477         (MouseDragGestureRecognizer): Documentation added.
8478
8479 2003-02-17  Michael Koch  <konqueror@gmx.de>
8480
8481         * java/awt/font/FontRenderContext.java,
8482         java/awt/font/ShapeGraphicAttribute.java,
8483         java/awt/font/MultipleMaster.java,
8484         java/awt/font/TransformAttribute.java,
8485         java/awt/font/GlyphJustificationInfo.java,
8486         java/awt/font/LineBreakMeasurer.java,
8487         java/awt/font/TextMeasurer.java,
8488         java/awt/font/TextLayout.java,
8489         java/awt/font/LineMetrics.java,
8490         java/awt/font/TextAttribute.java,
8491         java/awt/font/GlyphMetrics.java,
8492         java/awt/font/OpenType.java,
8493         java/awt/font/GlyphVector.java,
8494         java/awt/font/GraphicAttribute.java,
8495         java/awt/font/ImageGraphicAttribute.java,
8496         java/awt/font/NumericShaper.java: New files.
8497         * Makefile.am
8498         (awt_java_source_files): Added the following files:
8499         java/awt/font/FontRenderContext.java
8500         java/awt/font/ShapeGraphicAttribute.java
8501         java/awt/font/MultipleMaster.java
8502         java/awt/font/TransformAttribute.java
8503         java/awt/font/GlyphJustificationInfo.java
8504         java/awt/font/LineBreakMeasurer.java
8505         java/awt/font/TextMeasurer.java
8506         java/awt/font/TextLayout.java
8507         java/awt/font/LineMetrics.java
8508         java/awt/font/TextAttribute.java
8509         java/awt/font/GlyphMetrics.java
8510         java/awt/font/OpenType.java
8511         java/awt/font/GlyphVector.java
8512         java/awt/font/GraphicAttribute.java
8513         java/awt/font/ImageGraphicAttribute.java
8514         java/awt/font/NumericShaper.java
8515         * Makefile.in: Regenerated.
8516
8517 2003-02-17  Michael Koch  <konqueror@gmx.de>
8518
8519         * java/awt/print/Paper.java
8520         (Paper): Implements Cloneable.
8521         * java/awt/print/PrinterJob.java
8522         (setJobName): Return value must be void.
8523         (print): Throws PrinterException.
8524         
8525 2003-02-16  Tom Tromey  <tromey@redhat.com>
8526
8527         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8528         variable.
8529
8530 2003-02-15  Michael Koch  <konqueror@gmx.de>
8531
8532         * java/awt/datatransfer/DataFlavor.java
8533         (isRepresentationClassByteBuffer): Removed try-catch block.
8534         (isRepresentationClassCharBuffer): Removed try-catch block.
8535         (isRepresentationClassReader): Removed try-catch block.
8536
8537 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8538
8539         * java/nio/charset/Charset.java
8540         (isRegistered): Fixed method args and implementation.
8541         * java/nio/charset/CharsetEncoder.java
8542         (unmappableCharacterAction): New method.
8543
8544 2003-02-15  Michael Koch  <konqueror@gmx.de>
8545
8546         * java/awt/CheckboxMenuItem.java
8547         (CheckBoxMenuItem): Dont implement Serializable.
8548         (getListeners): New method,
8549         (getItemListeners): New method.
8550         * java/awt/Choice.java
8551         (getListeners): New method,
8552         (getItemListeners): New method.
8553         * java/awt/Container.java
8554         (getListeners): Added exception documentation.
8555         (setFocusTraversalKeys): Throw exceptions, added documentattion.
8556         (getFocusTraversalKeys): Added documentation.
8557         (areFocusTraversalKeysSet): Added documentation.
8558         (applyComponentOrientation): Added documentation.
8559         * java/awt/ContainerOrderFocusTraversalPolicy.java
8560         (implicitDownCycleTraversal): Renamed from downCycle for
8561         serialization.
8562         (ContainerOrderFocusTraversalPolicy): Added documentation.
8563         (accept): Reformated.
8564         * java/awt/Dialog.java
8565         (Dialog): Dont implement Serializable.
8566         (Dialog): Added documentation.
8567         * java/awt/Font.java
8568         (Font): Dont use absolute class name.
8569         * java/awt/Frame.java
8570         (Frame): Font implement Serializable.
8571         * java/awt/List.java
8572         (getListeners): New method,
8573         (getActionListeners): New method.       
8574         (getItemListeners): New method.
8575         * java/awt/Menu.java
8576         (countItems): New deprecated method.
8577         * java/awt/Scrollbar.java
8578         (getListeners): New method,
8579         (getAdjustmentListeners): New method,
8580         * java/awt/TextComponent.java
8581         (getListeners): New method,
8582         (getTextListeners): New method,
8583         * java/awt/TextField.java
8584         (getListeners): New method,
8585         (getActionListeners): New method.       
8586         * java/awt/Window.java
8587         (windowFocusListener): New member variable.
8588         (windowStateListener): New member variable.
8589         (getWindowFocusListeners): New method.
8590         (getWindowStateListeners): New method.
8591         (addWindowFocusListener): New method.
8592         (addWindowStateListener): New method.
8593         (removeWindowFocusListener): New method.
8594         (removeWindowStateListener): New method.
8595         * java/awt/datatransfer/DataFlavor.java
8596         (isRepresentationClassByteBuffer): New method.
8597         (isRepresentationClassCharBuffer): New method.
8598         (isRepresentationClassReader): New method.
8599
8600 2003-02-14  Mark Wielaard  <mark@klomp.org>
8601
8602         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8603         zero when there is an exponent and the significant is zero.
8604         (divide): Always set scale to newScale even in special ZERO case.
8605
8606 2003-02-14  Tom Tromey  <tromey@redhat.com>
8607
8608         * java/lang/System.java (properties): Use Properties.clone.
8609         (setProperties): Likewise.
8610
8611 2003-02-14  Michael Koch  <konqueror@gmx.de>
8612
8613         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8614         * gnu/java/nio/ServerSocketChannelImpl.java
8615         (SocketAccept): Removed.
8616         (accept): Commented out use of SocketAccept.
8617
8618 2003-02-13  Tom Tromey  <tromey@redhat.com>
8619
8620         * verify.cc (state::seen_subrs): New field.
8621         (state::state): Initialize it.
8622         (state::clean_subrs): New method.
8623         (state::~state): Call it.
8624         (state::copy): Copy subroutine list.
8625         (state::add_subr): New method.
8626         (state::merge): Only register a change if the current subroutine
8627         hasn't yet been noted.
8628
8629 2003-02-13  Mark Wielaard  <mark@klomp.org>
8630
8631         * java/io/InputStreamReader.java (getEncoding): Return null when
8632         closed.
8633         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8634
8635 2003-02-13  Mark Wielaard  <mark@klomp.org>
8636  
8637         * java/util/zip/InflaterInputStream.java (read): Return zero when len
8638         is zero.
8639
8640 2003-02-13  Mark Wielaard  <mark@klomp.org>
8641
8642         * java/io/BufferedOutputStream.java (write(int)): Only flush when
8643         next byte cannot be buffered.
8644
8645 2003-02-13  Michael Koch  <konqueror@gmx.de>
8646  
8647         * java/awt/Label.java
8648         (Label): Don't implement Serializable directly.
8649         (addNotify): Fixed typo in documentation.
8650         * java/awt/List.java
8651         (List): Don't implement Serializable directly.
8652         * java/awt/PopupMenu.java
8653         (PopupMenu): Don't implement Serializable directly.
8654         * java/awt/ScrollPane.java
8655         (ScrollPane): Don't implement Serializable directly.
8656         * java/awt/Scrollbar.java
8657         (Scrollbar): Don't implement Serializable directly.
8658         * java/awt/TextArea.java
8659         (preferredSize): Fixed method arguments.
8660         * java/awt/TextField.java
8661         (TextField): Don't implement Serializable directly.
8662         * java/awt/color/ICC_ColorSpace.java
8663         (fromCIOXYZ): Documentation added.
8664         (getMinValue): Documentation added.
8665         (getMaxValue): Documentation added.
8666         * java/awt/datatransfer/DataFlavor.java
8667         (isMimeTypeEqual): May not be final.
8668         (clone): Throws CloneNotSupportedException.
8669         (getReaderForText): Don't throws UnsupportedEncodingException.
8670
8671 2003-02-13  Michael Koch  <konqueror@gmx.de>
8672  
8673         * gnu/java/awt/peer/gtk/GdkGraphics.java
8674         (drawString): New stubbed method.
8675         * java/awt/Graphics.java
8676         (drawString): New method.
8677
8678 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
8679
8680         PR libgcj/9271:
8681         * java/security/SecureRandom.java (next): Avoid bias in results.
8682
8683 2003-02-13  Michael  <konqueror@gmx.de>
8684
8685         * gnu/java/nio/FileChannelImpl.java
8686         (lengthInternal): Must be native.
8687         (size): Check if channel is already closed.
8688         (implCloseChannel): Reformated.
8689         (read): w was unused, removed it.
8690         (read): Removed.
8691         (read): New method.
8692         (write): New method.
8693         (map): Check arguments.
8694         (force): Throws IOException, check if channel is closed.
8695         (transferTo): New method.
8696         (transferFrom): New method.
8697         (lock): New method.
8698         (tryLock): New method.
8699         (position): New method.
8700         (truncate): New method.
8701         (nio_mmap_file): Uncommented.
8702         (nio_munmap_file): Uncommented.
8703         (nio_msync): Uncommented.
8704         * gnu/java/nio/natFileChannelImpl.cc: New file.
8705         
8706 2003-02-13  Michael Koch  <konqueror@gmx.de>
8707
8708         * java/nio/ByteBuffer.java
8709         (endian): New member variable.
8710         (get): New methods.
8711         (equals): New method.
8712         (compareTo): New method.
8713         (order): New methods.
8714         (compact): New method.
8715         (isDirect): New method.
8716         (slice): New method.
8717         (duplicate): New method.
8718         (asReadOnlyBuffer): New method.
8719         (asCharBuffer): New method.
8720         (asDoubleBuffer): New method.
8721         (asFloatBuffer): New method.
8722         (asIntBuffer): New method.
8723         (asLongBuffer): New method.
8724         (asShortBuffer): New method.
8725         (get*): New methods.
8726         (put*): New methods.
8727         (toString): New method.
8728         * java/nio/CharBuffer.java
8729         (CharBuffer): Implement Comparable instead of Cloneable.
8730         (get): May not be final.
8731         (put): May not be final.
8732         
8733 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
8734
8735         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
8736         lastIndexOf( ) instead of indexOf( ) to find the colon before
8737         the line number, because Win32 file names might contain a 
8738         drive letter and a colon at the start of an absolute path.
8739
8740 2003-02-13  Michael Koch  <konqueror@gmx.de>
8741
8742         * gnu/java/nio/natSocketChannelImpl.cc
8743         (SocketConnect): This is not implemented yet.
8744         (SocketBind): This is not implemented yet.
8745
8746 2003-02-13  Michael Koch  <konqueror@gmx.de>
8747
8748         * gnu/java/nio/natByteBufferImpl.cc,
8749         gnu/java/nio/natCharBufferImpl.cc,
8750         gnu/java/nio/natDoubleBufferImpl.cc,
8751         gnu/java/nio/natFloatBufferImpl.cc,
8752         gnu/java/nio/natIntBufferImpl.cc,
8753         gnu/java/nio/natLongBufferImpl.cc,
8754         gnu/java/nio/natShortBufferImpl.cc:
8755         Added copyright and license.
8756         * java/nio/DoubleBuffer.java,
8757         java/nio/FloatBuffer.java,
8758         java/nio/IntBuffer.java,
8759         java/nio/LongBuffer.java,
8760         java/nio/ShortBuffer.java
8761         (array): Throw exceptions.
8762         (arrayOffset): Throw exceptions.
8763
8764 2003-02-13  Michael Koch  <konqueror@gmx.de>
8765  
8766         * gnu/java/util/prefs/FileBasedFactory.java,
8767         gnu/java/util/prefs/MemmoryBasedFactory.java,
8768         gnu/java/util/prefs/MemoryBasedPreferences.java,
8769         gnu/java/util/prefs/NodeReader.java,
8770         gnu/java/util/prefs/NodeWriter.java,
8771         java/util/prefs/AbstractPreferences.java,
8772         java/util/prefs/BackingStoreException.java,
8773         java/util/prefs/InvalidPreferencesFormatException.java,
8774         java/util/prefs/NodeChangeEvent.java,
8775         java/util/prefs/NodeChangeListener.java,
8776         java/util/prefs/PreferenceChangeEvent.java,
8777         java/util/prefs/PreferenceChangeListener.java,
8778         java/util/prefs/Preferences.java,
8779         java/util/prefs/PreferencesFactory.java:
8780         New files, all merged from classpath.
8781         * Makefile.am
8782         (ordinary_java_source_files): Added the following files:
8783         gnu/java/util/prefs/FileBasedFactory.java,
8784         gnu/java/util/prefs/MemmoryBasedFactory.java,
8785         gnu/java/util/prefs/MemoryBasedPreferences.java,
8786         gnu/java/util/prefs/NodeReader.java,
8787         gnu/java/util/prefs/NodeWriter.java,
8788         (core_java_source_files): Added the following files:
8789         java/util/prefs/AbstractPreferences.java,
8790         java/util/prefs/BackingStoreException.java,
8791         java/util/prefs/InvalidPreferencesFormatException.java,
8792         java/util/prefs/NodeChangeEvent.java,
8793         java/util/prefs/NodeChangeListener.java,
8794         java/util/prefs/PreferenceChangeEvent.java,
8795         java/util/prefs/PreferenceChangeListener.java,
8796         java/util/prefs/Preferences.java,
8797         java/util/prefs/PreferencesFactory.java
8798         * Makefile.in: Regenerated.
8799  
8800 2003-02-13  Michael Koch  <konqueror@gmx.de>
8801
8802         * java/net/NetPermission.java
8803         (NetPermission): Make doucmentation match the method declaration.
8804         * java/net/NetworkInterface.java
8805         (equals): Reformated for GNU coding style.
8806         * java/net/ServerSocket.java: Merged with classpath.
8807         * java/net/Socket.java: Partly merged with classpath (Added some @since).
8808         * java/net/SocketImpl.java
8809         (localPort): Merged with classpath (initialize with -1).
8810         * java/net/SocketPermission.java: Merged with classpath (reindented).
8811         * java/net/URLDecoder.java: Merged with classpath (reindented).
8812
8813 2003-02-13  Michael Koch  <konqueror@gmx.de>
8814
8815         * java/awt/GridBagConstraints.java
8816         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
8817         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
8818         * java/awt/KeyboardFocusManager.java
8819         (setGlobalCurrentFocusCycleRoot): Must be public.
8820         * java/awt/MenuComponent.java
8821         (MenuComponent): Must be public.
8822         * java/awt/Toolkit.java:
8823         Added some empty lines to make documentation more readable.
8824         (getFontPeer): Added @deprecated.
8825         (getColorModel): Added exception documentation.
8826         (getProperty): Fixed documentation.
8827  
8828 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
8829
8830         * configure.host (alpha*-*): Default to -mieee.
8831         * configure.in (IEEESPEC): New.
8832         * libgcj.spec.in (jc1): Add IEEESPEC.
8833         * configure: Rebuild.
8834
8835 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
8836
8837         * include/win32.h: Include ws2tcpip.h instead of
8838         winsock.h to obtain definition of the socklen_t type.
8839         Remove IP_TOS definition - not needed with ws2tcpip.h
8840         (_Jv_connect): Correct slight formatting error.
8841
8842 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
8843
8844         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
8845         size of the arguments for a JNI function. For Win32,
8846         modify to search for all forms of possible exported
8847         names of an stdcall JNI function.
8848         (_Jv_JNIMethod::call): Modify to calculate the size
8849         of the arguments passed to a JNI function and pass
8850         it to _Jv_LookupJNIMethod.
8851
8852 2003-02-12  Michael Koch  <konqueror@gmx.de>
8853
8854         * java/nio/channels/Channels.java: New file.
8855         * Makefile.am
8856         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
8857         * Makefile.in: Regenerated.
8858
8859 2003-02-12  Michael Koch  <konqueror@gmx.de>
8860
8861         * java/nio/ByteBuffer.java
8862         (allocate): Implemented.
8863         (wrap): Implemented.
8864         * java/nio/CharBuffer.java:
8865         Some documentation added and reworked.
8866         (endian): Removed.
8867         (allocate): Implemented.
8868         (wrap): Implemented.
8869         (array): Throw exceptions.
8870         (arrayOffset): Throw exceptions.
8871         (toString): Implemented.
8872         (length): Implemented.
8873         (put): Implemented.
8874         (charAt): Implemented.
8875
8876 2003-02-11  John Leuner  <jewel@debian.org>
8877
8878         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
8879         reads from end of file.
8880
8881 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
8882
8883         * java/io/natFileDescriptorWin32.cc 
8884         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
8885         returns with Win32 error code ERROR_BROKEN_PIPE.
8886
8887 2003-02-11  Michael Koch  <konqueror@gmx.de>
8888
8889         * Makefile.in
8890         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
8891
8892 2003-02-11  Michael Koch  <konqueror@gmx.de>
8893
8894         * gnu/java/nio/ByteBufferImpl.java:
8895         Reformated and removed some code.
8896         (backing_buffer): Removed.      
8897         (array_offset): Removed.
8898         (ro): Renamed to readOnly.
8899         (ByteBufferImpl): Use parent constructor, initialize readOnly.
8900         * gnu/java/nio/CharBufferImpl.java:
8901         Reformated and removed some code.
8902         (array_offset): Removed.
8903         (ro): Renamed to readOnly.
8904         (CharBufferImpl): Use parent constructor, initialize readOnly.
8905         (inc_pos): Removed.
8906         (order): New method.
8907         * gnu/java/nio/DoubleBufferImpl.java:
8908         Reformated and removed some code.
8909         (array_offset): Removed.
8910         (ro): Renamed to readOnly.
8911         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
8912         (inc_pos): Removed.
8913         (order): New method.
8914         * gnu/java/nio/FloatBufferImpl.java:
8915         Reformated and removed some code.
8916         (array_offset): Removed.
8917         (ro): Renamed to readOnly.
8918         (FloatBufferImpl): Use parent constructor, initialize readOnly.
8919         (inc_pos): Removed.
8920         (order): New method.
8921         * gnu/java/nio/IntBufferImpl.java:
8922         Reformated and removed some code.
8923         (array_offset): Removed.
8924         (ro): Renamed to readOnly.
8925         (IntBufferImpl): Use parent constructor, initialize readOnly.
8926         (inc_pos): Removed.
8927         (order): New method.
8928         * gnu/java/nio/LongBufferImpl.java:
8929         Reformated and removed some code.
8930         (array_offset): Removed.
8931         (ro): Renamed to readOnly.
8932         (LongBufferImpl): Use parent constructor, initialize readOnly.
8933         (inc_pos): Removed.
8934         (order): New method.
8935         * gnu/java/nio/ShortBufferImpl.java:
8936         Reformated and removed some code.
8937         (array_offset): Removed.
8938         (ro): Renamed to readOnly.
8939         (ShortBufferImpl): Use parent constructor, initialize readOnly.
8940         (inc_pos): Removed.
8941         (order): New method.
8942         * Makefile.am
8943         (ordinary_java_source_files): Added the following files:
8944         gnu/java/nio/ByteBufferImpl.java
8945         gnu/java/nio/CharBufferImpl.java
8946         gnu/java/nio/DoubleBufferImpl.java
8947         gnu/java/nio/FloatBufferImpl.java
8948         gnu/java/nio/IntBufferImpl.java
8949         gnu/java/nio/LongBufferImpl.java
8950         gnu/java/nio/ShortBufferImpl.java
8951         java/nio/DoubleBuffer.java
8952         java/nio/FloatBuffer.java
8953         java/nio/IntBuffer.java
8954         java/nio/LongBuffer.java
8955         java/nio/ShortBuffer.java
8956         (nat_source_files): Added the following files:
8957         gnu/java/nio/natByteBufferImpl.cc
8958         gnu/java/nio/natCharBufferImpl.cc
8959         gnu/java/nio/natDoubleBufferImpl.cc
8960         gnu/java/nio/natFloatBufferImpl.cc
8961         gnu/java/nio/natIntBufferImpl.cc
8962         gnu/java/nio/natLongBufferImpl.cc
8963         gnu/java/nio/natShortBufferImpl.cc
8964         * Makefile.in: Regenerated.
8965
8966 2003-02-11  Michael Koch  <konqueror@gmx.de>
8967
8968         * gnu/java/nio/natCharBufferImpl.cc
8969         (nio_cast): Removed.
8970         (nio_put_*): Removed.
8971         (nio_get_*): Removed.
8972         * gnu/java/nio/natDoubleBufferImpl.cc
8973         (nio_cast): Removed.
8974         (nio_put_*): Removed.
8975         (nio_get_*): Removed.
8976         * gnu/java/nio/natFloatBufferImpl.cc
8977         (nio_cast): Removed.
8978         (nio_put_*): Removed.
8979         (nio_get_*): Removed.
8980         * gnu/java/nio/natIntBufferImpl.cc
8981         (nio_cast): Removed.
8982         (nio_put_*): Removed.
8983         (nio_get_*): Removed.
8984         * gnu/java/nio/natLongBufferImpl.cc
8985         (nio_cast): Removed.
8986         (nio_put_*): Removed.
8987         (nio_get_*): Removed.
8988         * gnu/java/nio/natShortBufferImpl.cc
8989         (nio_cast): Removed.
8990         (nio_put_*): Removed.
8991         (nio_get_*): Removed.
8992         * gnu/java/nio/SelectorProviderImpl.java
8993         (openDatagramChannel): Throws IOException.
8994         (openPipe): Throws IOException.
8995         (openSelector): Throws IOException.
8996         (openServerSocketChannel): Throws IOException.
8997         (openSocketChannel): Throws IOException.
8998         * gnu/java/nio/ServerSocketChannelImpl.java
8999         (ServerSocketChannelImpl): Throws IOException.
9000         (implCloseSelectableChannel): Throws IOException.
9001         (implConfigureBlocking): Throws IOException.
9002         * java/nio/ByteBuffer.java
9003         (readOnly): Removed.
9004         (hasArray): Use isReadOnly() instead of readOnly.
9005         (array): Use isReadOnly() instead of readOnly.
9006         (arrayOffset): Use isReadOnly() instead of readOnly.
9007         * java/nio/CharBuffer.java
9008         (CharBuffer): Implements Cloneable and CharSequence.
9009
9010 2003-02-11  Michael Koch  <konqueror@gmx.de>
9011
9012         * java/nio/DoubleBuffer.java
9013         (DoubleBuffer): Implements Comparable.
9014         (endian): Removed.
9015         (array_offset): New member variable.
9016         (DoubleBuffer): New constuctor.
9017         (get): May not be final.
9018         (put): May not be final.
9019         (arrayOffset): Implemented.
9020         (order): Made abstract.
9021         (order): Removed.
9022         (as*Buffer): Removed.
9023         (get*): Removed.
9024         (put*): Removed.
9025         * java/nio/FloatBuffer.java
9026         (FloatBuffer): Implements Comparable.
9027         (endian): Removed.
9028         (array_offset): New member variable.
9029         (FloatBuffer): New constuctor.
9030         (get): May not be final.
9031         (put): May not be final.
9032         (arrayOffset): Implemented.
9033         (order): Made abstract.
9034         (order): Removed.
9035         (as*Buffer): Removed.
9036         (get*): Removed.
9037         (put*): Removed.
9038         * java/nio/IntBuffer.java
9039         (IntBuffer): Implements Comparable.
9040         (endian): Removed.
9041         (array_offset): New member variable.
9042         (IntBuffer): New constuctor.
9043         (get): May not be final.
9044         (put): May not be final.
9045         (arrayOffset): Implemented.
9046         (order): Made abstract.
9047         (order): Removed.
9048         (as*Buffer): Removed.
9049         (get*): Removed.
9050         (put*): Removed.
9051         * java/nio/LongBuffer.java
9052         (LongBuffer): Implements Comparable.
9053         (endian): Removed.
9054         (array_offset): New member variable.
9055         (LongBuffer): New constuctor.
9056         (get): May not be final.
9057         (put): May not be final.
9058         (arrayOffset): Implemented.
9059         (order): Made abstract.
9060         (order): Removed.
9061         (as*Buffer): Removed.
9062         (get*): Removed.
9063         (put*): Removed.
9064         * java/nio/ShortBuffer.java
9065         (ShortBuffer): Implements Comparable.
9066         (endian): Removed.
9067         (array_offset): New member variable.
9068         (ShortBuffer): New constuctor.
9069         (get): May not be final.
9070         (put): May not be final.
9071         (arrayOffset): Implemented.
9072         (order): Made abstract.
9073         (order): Removed.
9074         (as*Buffer): Removed.
9075         (get*): Removed.
9076         (put*): Removed.
9077
9078 2003-02-11   Michael Koch  <konqueror@gmx.de>
9079
9080         * java/nio/channels/SelectionKey.java
9081         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9082         values.
9083
9084 2003-02-11  Michael Koch  <konqueror@gmx.de>
9085
9086         * java/nio/channels/DatagramChannel.java
9087         (write): Throws IOException.
9088         (connect): Throws IOException.
9089         (disconnect): Throws IOException.
9090         (read): Throws IOException.
9091         (receive): Throws IOException.
9092         (send): Throws IOException.
9093         * java/nio/channels/Pipe.java
9094         (open): Throws IOException.
9095         * java/nio/channels/SelectableChannel.java
9096         (configureBlocking): Throws IOException.
9097         * java/nio/channels/ServerSocketChannel.java
9098         (accept): Throws IOException.
9099         * java/nio/channels/SocketChannel.java
9100         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9101         GatheringByteChannel.
9102         (read): Throws IOException.
9103         (write): Throws IOException.
9104         (finishConnect): Throws IOException.
9105         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9106         (end): Throws AsynchronousCloseException.
9107         * java/nio/channels/spi/AbstractSelectableChannel.java
9108         (configureBlocking): Throws IOException.
9109         (implCloseChannel): Throws IOException.
9110         (implCloseSelectableChannel): Throws IOException.
9111         (implConfigureBlocking): Throws IOException.
9112         * java/nio/channels/spi/SelectorProvider.java
9113         (openDatagramChannel): Throws IOException.
9114         (openPipe): Throws IOException.
9115         (openSelector): Throws IOException.
9116         (openServerSocketChannel): Throws IOException.
9117         (openSocketChannel): Throws IOException.
9118
9119 2003-02-11  Michael Koch  <konqueror@gmx.de>
9120
9121         * gnu/java/nio/FileLockImpl.java,
9122         java/nio/channels/FileLock.java: New files.
9123
9124 2003-02-11  Michael Koch  <konqueror@gmx.de>
9125
9126         * java/nio/charset/IllegalCharsetNameException.java
9127         (serialVersionUID): New member variable.
9128         (charsetName): New member variable.
9129         (IllegalCharsetException): New implementation.
9130         (getCharsetName): New implementation.
9131         * java/nio/charset/UnsupportedCharsetException.java
9132         (serialVersionUID): New member variable.
9133         (charsetName): New member variable.
9134         (UnsupportedCharsetException): New implementation.
9135         (getCharsetName): New implementation.
9136
9137 2003-02-10  Tom Tromey  <tromey@redhat.com>
9138
9139         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9140         (ex): Renamed from sqlException.
9141
9142 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9143
9144         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9145         method used to ensure seeding has occurred and that a specific 
9146         seed can be set and used.
9147
9148 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9149
9150         * java/lang/Win32Process.java (destroy): Declare as native.
9151         (hasExited): New native method.
9152         (exitValue): Define.
9153         (getErrorStream): Likewise.
9154         (getInputStream): Likewise.
9155         (getOutputStream): Likewise.
9156         (waitFor): Declare as native.
9157         (startProcess): New native method.
9158         (cleanup): Likewise.
9159         (ConcreteProcess): Define.
9160         (outputStream, inputStream, errorStream): New members.
9161         (procHandle, exitCode): Likewise.
9162
9163         * java/lang/natWin32Process.cc
9164         (java::lang::ConcreteProcess::cleanup): Define.
9165         (java::lang::ConcreteProcess::destroy): Likewise.
9166         (java::lang::ConcreteProcess::hasExited): Likewise.
9167         (java::lang::ConcreteProcess::waitFor): Likewise.
9168         (new_string): Likewise.
9169         (java::lang::ConcreteProcess::startProcess): Likewise.
9170
9171 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9172
9173         * java/math/BigInteger.java:
9174         Updated notice to include years 2002 and 3.
9175         Added 2 private (int) arrays with values from the HAC (Handbook of
9176         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9177         and t[] that contains nbr. of tests --used in isProbablePrime().
9178
9179         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9180
9181         * java/math/BigInteger.java (make(int[],int), add(int,int),
9182         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9183         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9184         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9185         make(long).
9186
9187         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9188         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9189         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9190         BIs and returns void.
9191         (modInverse(BI)): Use new signatures of euclidInv().
9192
9193         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9194         static small primes instead of remainder().
9195         Use pre-computed max nbr of trials based on bitlength of BI to test.
9196         Use pre-computed small primes for the trial tests instead of random
9197         numbers.
9198
9199         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9200         not used.
9201
9202         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9203         invoacation of MPN.chars_per_word().  not used.
9204
9205         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9206         local var and used where needed.
9207
9208         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9209         Combined declaration with initialisation of locals.
9210         Removed unused var.
9211
9212         * java/math/BigInteger.java: Style changes
9213         (pow(int)): Removed 'else' keyword.
9214         (toString(int)): idem.
9215         (doubleValue()): idem.
9216         (bitLength()): idem.
9217         (equals(Object)): Use static methods name in same class w/o prepending
9218         class name.
9219         (doubleValue()): idem.
9220         (setNegative(BI)): idem.
9221         (negate()): idem.
9222         (and(BI,int)): idem.
9223         (and(BI)): idem.
9224         (gcd(BI)): idem.
9225         (byteArrayToIntArray()): Removed casting to (int). this is
9226         std. behaviour.
9227         (canonicalize()): idem.
9228         (alloc(int)): Always instantiate a new BI.
9229
9230 2003-02-10  Tom Tromey  <tromey@redhat.com>
9231
9232         * java/sql/Timestamp.java (compareTo(Object)): New method.
9233         (compareTo(Timestamp)): Likewise.
9234         (serialVersionUID): Updated.
9235
9236 2003-02-07  Mark Wielaard  <mark@klomp.org>
9237
9238         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9239         when verify is true.
9240         (JarFile(File, boolean)): Likewise.
9241         (manifestRead): Set manifestRead field correctly.
9242
9243 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9244
9245         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9246         tests; see patch #1016 on Savannah.
9247
9248 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9249
9250         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9251         (toString): do not return Strings starting with . and - erroneously.
9252         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9253         DiagBigDecimal.
9254
9255 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9256
9257         * java/beans/PropertyDescriptor.java
9258         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9259         methods.
9260         (PropertyDescriptor(String, Class, String, String)): Likewise.
9261         (PropertyDescriptor(String, Method, Method): Factor out getter and
9262         setter method sanity checks into new method.
9263         (findMethods): Don't do parameter sanity checking of get method here.
9264         (checkMethods): New method.
9265
9266 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9267
9268         * java/beans/PropertyDescriptor.java: Reformat.
9269
9270 2003-02-04  Tom Tromey  <tromey@redhat.com>
9271
9272         * java/io/PipedOutputStream.java (flush): Declare as throwing
9273         IOException.
9274         (close): Likewise.
9275         * java/io/PipedWriter.java (close): Declare as throwing
9276         IOException.
9277         * java/io/StringWriter.java (close): Declare as throwing
9278         IOException.
9279
9280 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9281
9282         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9283         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9284         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9285         "_JNI_OnLoad@8" (MSVC).
9286
9287 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9288
9289         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9290         convention on Win32 to invoke native JNI methods.
9291
9292 2003-02-03  Andrew Haley  <aph@redhat.com>
9293
9294         * configure.host (x86_64): Enable interpreter.
9295
9296 2003-02-03  Andrew Haley  <aph@redhat.com>
9297
9298         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9299         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9300         * configure.in (BACKTRACESPEC): New.
9301         * configure: Regenerate.
9302
9303 2003-02-02  Tom Tromey  <tromey@redhat.com>
9304
9305         * configure: Rebuilt.
9306         * configure.in (TOOLKIT) [xlib]: Set correctly.
9307
9308         * Makefile.in: Rebuilt.
9309         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9310         libstdc++.
9311
9312 2003-01-31  Mark WIelaard  <mark@klomp.org>
9313
9314         * Makefile.in: Rebuilt.
9315         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9316
9317 2003-01-31  Tom Tromey  <tromey@redhat.com>
9318
9319         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9320         cast to element type.
9321         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9322         (_Jv_JNI_GetObjectArrayElement): Likewise.
9323
9324         * Makefile.in: Rebuilt.
9325         * Makefile.am (cond_x_ltlibrary): Renamed library to
9326         lib-gnu-awt-xlib.la.
9327         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9328         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9329         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9330         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9331         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9332         (lib_gnu_awt_xlib_la_LINK): Likewise.
9333         (install-exec-hook): Removed.
9334         (lib-gnu-awt-xlib.la): Renamed.
9335
9336 2003-01-31  Tom Tromey  <tromey@redhat.com>
9337
9338         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9339         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9340         aclocal.m4 and lost in some merge.
9341
9342         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9343         Don't try to find graphics configuration.
9344         * java/awt/Toolkit.java (default_toolkit_name): Use new
9345         Configuration entry.
9346         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9347         New global.
9348         * configure: Rebuilt.
9349         * configure.in (TOOLKIT): New subst.
9350         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9351         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9352         directory.  Make output directories for .c files.
9353         * Makefile.in: Rebuilt.
9354         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9355         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9356         (all_java_source_files): Added new sources.
9357         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9358         (gtk_c_files): New macro.
9359         (gtk_c_source_files): New macro.
9360         (cond_gtk_ltlibrary): New macro.
9361         ($(gtk_c_files)): New target.
9362         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9363         (gtk_awt_peer_sources): New macro.
9364         (gtk_c_headers): New macro.
9365         ($(gtk_c_headers)): New target.
9366         (ACLOCAL_AMFLAGS): New macro.
9367         * gtk.m4, glib.m4, libart.m4: New files.
9368         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9369         gnu/java/awt/peer/gtk/GdkGraphics.java,
9370         gnu/java/awt/peer/gtk/GtkArg.java,
9371         gnu/java/awt/peer/gtk/GtkArgList.java,
9372         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9373         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9374         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9375         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9376         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9377         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9378         gnu/java/awt/peer/gtk/GtkClipboard.java,
9379         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9380         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9381         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9382         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9383         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9384         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9385         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9386         gnu/java/awt/peer/gtk/GtkImage.java,
9387         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9388         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9389         gnu/java/awt/peer/gtk/GtkListPeer.java,
9390         gnu/java/awt/peer/gtk/GtkMainThread.java,
9391         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9392         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9393         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9394         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9395         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9396         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9397         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9398         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9399         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9400         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9401         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9402         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9403         gnu/java/awt/peer/gtk/GtkToolkit.java,
9404         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9405         gnu/java/awt/peer/gtk/TestAWT.java,
9406         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9408         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9419         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9421         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9422         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9423         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9424         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9425         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9426         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9427         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9428         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9429         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9430         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9431         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9432         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9433         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9434         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9435         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9436         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9437         jni/classpath/native_state.c, jni/classpath/native_state.h,
9438         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9439
9440 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9441
9442         * java/util/Properties.java (load): Ignore backslash before EOF.
9443
9444 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9445
9446         * java/lang/natClass.cc (initializeClass): Check tables when
9447         (state == JV_STATE_IN_PROGRESS).
9448         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9449         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9450         interpreted classes.
9451         (linkClass0): Use _Jv_WaitForState.
9452
9453 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9454
9455         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9456         object when finished.
9457
9458 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9459
9460         * libjava/configure.host: Disable can_unwind_signal on darwin.
9461
9462 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9463
9464         Fixes PR java/9254:
9465         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9466         additionally containing id of the owner thread as well as
9467         the number of nested times the thread has acquired the mutex.
9468         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9469         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9470         (_Jv_MutexUnlock): Check if really the owner thread, reset
9471         owner thread id to 0 before leaving, if leaving for the last
9472         time.
9473         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9474         refcount.
9475         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9476         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9477         the passed mutex.
9478         Pass handle of the broadcast event, instead of a pointer to it
9479         in Win32 ResetEvent( ) call.
9480         Remove incorrect return values.
9481         (_Jv_CondDestroy): Close both event handles and delete
9482         critical section.
9483         (_Jv_CondNotify): Check if really the owner thread.
9484         (_Jv_CondNotifyAll): Check if really the owner thread.
9485         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9486         (really_start): Use SetEvent( ) to signal daemon_cond.
9487         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9488         WaitForSingleObject( ) instead to wait for daemon_cond to be
9489         signalled.
9490
9491 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
9492
9493         * configure.in: Specifically define HAVE_BACKTRACE if building
9494         for MinGW.
9495         * include/win32.h: Remove HAVE_BACKTRACE definition.
9496         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9497         * configure: Rebuilt.
9498
9499 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
9500
9501         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9502         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
9503         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9504         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9505         * Makefile.in, configure: Rebuilt.
9506
9507 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
9508
9509         Fixes PR java/9253:
9510         * java/io/natFileWin32.cc (performList): Append only "*.*"
9511         if the canonical file path already has a "\" at the end.
9512
9513 2003-01-24  Tom Tromey  <tromey@redhat.com>
9514
9515         * defineclass.cc (handleMethodsEnd): Precompute code for static
9516         method.
9517         (handleCodeAttribute): Likewise.
9518         * resolve.cc (ncode): Use run_class for unsynchronized static
9519         methods.
9520         * include/java-interp.h (class _Jv_InterpMethod): Declare
9521         run_class.
9522         * interpret.cc (run_synch_class): Initialize class.
9523         (run) [insn_invokestatic]: Don't initialize class.
9524         [insn_anewarray]: Likewise.
9525         [insn_multianewarray]: Likewise.
9526         (run_class): New function.
9527
9528 2003-01-24  Tom Tromey  <tromey@redhat.com>
9529
9530         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9531         comment.
9532
9533 2003-01-22  Andrew Haley  <aph@redhat.com>
9534
9535         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9536         * configure.host (CHECKREFSPEC): Define for x86_64.
9537
9538 2003-01-21  Tom Tromey  <tromey@redhat.com>
9539
9540         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9541         search at 2, not 3.
9542
9543 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
9544
9545         * java/io/natFileWin32.cc (isAbsolute): Check path length before
9546         looking at any characters.
9547         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9548         be used.
9549         (isAbsolute): Check path's length as well.
9550
9551 2003-01-17  Mark Wielaard  <mark@klomp.org>
9552
9553         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9554         (nat_source_files): Add natVMObjectStreamClass.cc.
9555         * Makefile.in: Regenerated.
9556         * gcj/javaprims.h (namespace java): Regenerated.
9557         * java/io/ObjectStreamClass.java (getClassUID): Call
9558         VMObjectStreamClass.hasClassInitializer().
9559         (hasClassInitializer): Removed.
9560         * java/io/VMObjectStreamClass.java: New class.
9561         * java/io/natVMObjectStreamClass.cc: New file.
9562         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9563
9564 2003-01-16  Mark Wielaard  <mark@klomp.org>
9565
9566         * java/net/SocketImpl.java (toString): Don't explicitly call
9567         toString() on possible null address.
9568
9569 2003-01-16  Michael Koch  <konqueror@gmx.de>
9570
9571         * java/net/MulticastSocket.java
9572         (setInterface): Reindented.
9573
9574 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9575
9576         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9577         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9578         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9579         translateY arguments.  Implement.
9580         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9581         down translation arguments.
9582         (drawPolyline, drawPolygon): Fix incorrect tests.
9583         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9584         translateX and translateY arguments.
9585
9586 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9587
9588         * Makefile.in: Rebuilt.
9589         * Makefile.am (xlib_includes): New macro.
9590         (INCLUDES): Use it.
9591
9592 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9593
9594         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9595         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9596         16-bit display mode.
9597
9598 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9599
9600         * java/awt/CardLayout.java (show): Rewrote.
9601         (gotoComponent): Removed `target' argument.  Simplified code.
9602         Don't pre-compute `choice' unless `what' is FIRST or LAST.
9603         Changed all callers.
9604         (NONE): Removed.
9605         
9606 2003-01-14  Michael Koch  <konqueror@gmx.de>
9607
9608         * java/net/InetSocketAddress.java
9609         (serialVersionUID): New member variable.
9610         * java/net/NetPermission.java
9611         (NetPermission): Dont implement java.io.Serialization directly.
9612         * java/net/SocketAddress.java:
9613         (serialVersionUID): Documentation added.
9614         
9615 2003-01-14  Michael Koch  <konqueror@gmx.de>
9616
9617         * java/awt/Label.java
9618         (Label): Implements javax.accessibility.Accessible;
9619         * java/awt/List.java
9620         (List): Implements javax.accessibility.Accessible;
9621         * java/awt/ScrollPane.java
9622         (ScrollPane): Implements javax.accessibility.Accessible;
9623         * java/awt/Scrollbar.java
9624         (Scrollbar): Implements javax.accessibility.Accessible;
9625         * java/awt/TextComponent.java
9626         (setCaretPosition): Throw exception, documentation added.
9627         * java/awt/Toolkit.java:
9628         Added some newlines in method documentations.
9629         (createButton): Exception documentation added.
9630         (createTextField): Exception documentation added.
9631         (createLabel): Exception documentation added.
9632         (createList): Exception documentation added.
9633         (createCheckbox): Exception documentation added.
9634         (createScrollbar): Exception documentation added.
9635         (createScrollPane): Exception documentation added.
9636         (createTextArea): Exception documentation added.
9637         (createChoice): Exception documentation added.
9638         (createFrame): Exception documentation added.
9639         (createWindow): Exception documentation added.
9640         (createDialog): Exception documentation added.
9641         (createMenuBar): Exception documentation added.
9642         (createMenu): Exception documentation added.
9643         (createMenuItem): Exception documentation added.
9644         (createFileDialog): Exception documentation added.
9645         (createCheckboxMenuItem): Exception documentation added.
9646         (loadSystemColors): Exception documentation added.
9647         (setDynamicLayout): Exception documentation added.
9648         (isDynamicLayoutSet): Exception documentation added.
9649         (isDynamicLayoutActive): Exception documentation added.
9650         (getScreenSize): Exception documentation added.
9651         (getScreenResolution): Exception documentation added.
9652         (getScreenInsets): Exception documentation added.
9653         (getColorModel): Exception documentation added.
9654         (getSystemClipboard): Exception documentation added.
9655         (getSystemSelection): Exception documentation added.
9656         (getMenuShortcutKeyMask): Exception documentation added.
9657         (getSystemEventQueue): Exception documentation added.
9658         * java/awt/Window.java:
9659         Reindented some code.
9660         (Window): Centralized implementation, documentation added.
9661         (finalize): Documentation added.
9662         (hide): Fixed typo in comment.
9663         (getWindowListeners): Documentation added.
9664         * java/awt/color/ColorSpace.java
9665         (toRGB): Documentation added.
9666         * java/awt/color/ICC_ColorSpace.java
9667         (ICC_ColorSpace): Documentation added.
9668         (toRGB): Throw exception, documentation added.
9669         (fromRGB): Throw exception, documentation added.
9670         (toCIEXYZ): Documentation added.
9671         (fromCIEXYZ): Documentation added.
9672         (getMinValue): Documentation added.
9673         (getMaxValue): Documentation added.
9674         * java/awt/geom/Dimension2D.java
9675         (clone): Documentation added.
9676         * java/awt/geom/GeneralPath.java
9677         (clone): Documentation added.
9678         * java/awt/geom/Line2D.java
9679         (clone): Documentation added.
9680         * java/awt/geom/QuadCurve2D.java
9681         (clone): Documentation added.
9682         * java/awt/image/ColorModel.java
9683         (ColorModel): Throw exception, documentation added.
9684         * java/awt/image/ImageFilter.java
9685         (clone): Doesnt throw CloneNotSupportedException.
9686
9687 2003-01-14  Andrew Haley  <aph@redhat.com>
9688
9689         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9690         in a try block.
9691
9692 2003-01-10  Andrew Haley  <aph@redhat.com>
9693
9694         * include/dwarf2-signal.h: Remove x86_64.
9695         * configure.host (x86_64 DIVIDESPEC): Remove.
9696         * include/x86_64-signal.h: New file.
9697         * configure.in: Regenerate.
9698
9699 2003-01-10  Michael Koch  <konqueror@gmx.de>
9700
9701         * java/net/DatagramSocket.java
9702         (ch): Description added.
9703         (remotePort): Initialize with -1.
9704         (connect): Doesnt throws SocketException.
9705         * java/net/MulticastSocket.java
9706         (setInterface): Merge with Classpath.
9707         * java/net/ServerSocket.java
9708         (closed): New member variable.
9709         (bind): Check if socket is closed.
9710         (close): Close an associated channel too, set new value to closed.
9711         (isBound): Reindented.
9712         (isClosed): Implemented.
9713         * java/net/Socket.java
9714         (closed): New member variable.
9715         (bind): Check if socket is closed.
9716         (connect): Check if socket is closed.
9717         (close): Close an associated channel too, set new value to closed.
9718         (isClosed): Implemented.
9719
9720 2003-01-10  Michael Koch  <konqueror@gmx.de>
9721
9722         * java/awt/DisplayMode.java
9723         (equals): Fixed argument type and implementation.
9724
9725 2003-01-07  Tom Tromey  <tromey@redhat.com>
9726
9727         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9728         JV_HASH_SYNCHRONIZATION.
9729         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9730         JV_HASH_SYNCHRONIZATION.
9731
9732 2003-01-07  Michael Koch  <konqueror@gmx.de>
9733  
9734         * java/net/DatagramSocket.java:
9735         Added classpath license info.
9736         (DatagramSocket): Merged description with classpath.
9737         (close): Merged description with classpath.
9738         (getChannel): Merged description with classpath.
9739         (getInetAddress): Merged description with classpath.
9740         (getPort): Merged description with classpath.
9741         (getLocalAddress): Merged description with classpath.
9742         (getLocalPort): Merged description with classpath.
9743         (getSoTimeout): Merged description with classpath.
9744         (setSoTimeout): Merged description with classpath.
9745         (getSendBufferSize): Merged description with classpath.
9746         (setSendBufferSize): Merged description with classpath.
9747         (getReceiveBufferSize): Merged description with classpath.
9748         (setReceiveBufferSize): Merged description with classpath.
9749         
9750 2003-01-04  Tom Tromey  <tromey@redhat.com>
9751
9752         * java/awt/List.java: Merged with Classpath.
9753
9754 2003-01-03  Mark Wielaard  <mark@klomp.org>
9755
9756         * java/io/FileDescriptor.java (position): New private field.
9757         * java/io/natFileDescriptorPosix.cc (write): Up position.
9758         (setLength): Use and set position.
9759         (seek): Set position.
9760         (getFilePointer): Return position.
9761         (read): Up position.
9762
9763 2003-01-03  Mark Wielaard  <mark@klomp.org>
9764
9765         Merge with Classpath:
9766         * java/io/ObjectStreamClass.java (lookup): Split method and call
9767         lookupForClassObject().
9768         (lookupForClassObject): New method.
9769         (isProxyClass): New field.
9770         (setClass): Set isProxyClass, add object to classLookupTable, set
9771         superClass and calculateOffsets.
9772         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
9773         and not a proxy class.
9774         (setFields): Set accessible true for serialPersistentFields.
9775         (getClassUID): Same for suid. And check if suid is of type long.
9776         (hasClassInitializer): Don't throw NoSuchMethodError.
9777
9778 2003-01-03  Mark Wielaard  <mark@klomp.org>
9779
9780         * java/io/FileInputStream.java (finalize): Don't explicitly
9781         finalize FileDescriptor.
9782
9783 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
9784
9785         * configure.host (sparc*-*): Enable bytecode interpreter.
9786
9787 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
9788
9789         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
9790         Don't throw RemoteException.
9791         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
9792         throw RemoteException.
9793
9794 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9795
9796         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
9797         proxyHost): New static fields.
9798         (<clinit>): Initialize new fields.
9799         (connect): Use proxy if necessary.
9800         (usingProxy): Implement.
9801
9802 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
9803
9804         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
9805         (TreeIterator.remove): Prefer IllegalStateException over
9806         ConcurrentModificationException, to match Sun.
9807
9808 2002-12-22  Anthony Green  <green@redhat.com>
9809
9810         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
9811
9812 2003-01-02  Mark Wielaard  <mark@klomp.org>
9813
9814         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
9815         public.
9816         (HTTP_USE_PROXY): Add field.
9817         (getResponseVals): Only set responseCode when not yet explicitly
9818         set by subclass.
9819
9820 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
9821             Mark Wielaard  <mark@klomp.org>
9822
9823         * java/util/zip/ZipFile.java (entries): Now HashMap.
9824         (readLeShort(DataInput, byte[])): Read from given byte array.
9825         (readLeInt(DataInput, byte[]): Likewise.
9826         (readLeShort(byte[] b, int off)): New method.
9827         (readLeInt(byte[] b, int off)): Likewise.
9828         (readEntries): Use byte arrays to read info in bigger chunks.
9829         (getEntries): Return HashMap.
9830         (getEntry): Use HashMap.
9831         (locBuf): New private field.
9832         (checkLocalHeader): Use locBuf to read info in one chunk.
9833         (getInputStream): Use entries HashMap, wrap PartialInputStream
9834         in BufferedInputStream.
9835         (ZipEntryEnumeration): Use HashMap and Interator.
9836
9837 2003-01-02  Mark Wielaard  <mark@klomp.org>
9838             Jeroen Frijters  <jeroen@sumatra.nl>
9839
9840         * java/net/URLClassLoader.java (Resource.getCodeSource):
9841         Fix check certs == null.
9842         (getCanonicalFileURL): Removed method.
9843         (JarURLLoader): Don't call removed method.
9844         (FileURLLoader): Likewise.
9845         (FileURLLoader.getResource): Don't canonicalize file name.
9846
9847 2003-01-01  Tom Tromey  <tromey@redhat.com>
9848
9849         * Makefile.in: Rebuilt.
9850         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
9851         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
9852         java/awt/BufferCapabilities.java, java/awt/Button.java,
9853         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
9854         java/awt/Container.java, java/awt/Cursor.java,
9855         java/awt/EventQueue.java, java/awt/FileDialog.java,
9856         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
9857         java/awt/MenuBar.java, java/awt/MenuComponent.java,
9858         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
9859         java/awt/Scrollbar.java, java/awt/TextArea.java,
9860         java/awt/TextField.java, java/awt/color/CMMException.java,
9861         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
9862         java/awt/color/ProfileDataException.java,
9863         java/awt/datatransfer/Clipboard.java,
9864         java/awt/datatransfer/DataFlavor.java,
9865         java/awt/datatransfer/FlavorMap.java,
9866         java/awt/datatransfer/SystemFlavorMap.java,
9867         java/awt/dnd/DragGestureEvent.java,
9868         java/awt/dnd/DragGestureRecognizer.java,
9869         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
9870         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
9871         java/awt/im/InputMethodHighlight.java,
9872         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
9873         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
9874
9875         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
9876         `op' to BufferedImageOp.
9877
9878 2002-12-31  Tom Tromey  <tromey@redhat.com>
9879
9880         Fix for PR libgcj/7416:
9881         * javax/naming/InitialContext.java (init): Use
9882         gnu.classpath.home.url.
9883         * java/security/Security.java: Use new properties.
9884         (loadProviders): Accept base url; use it.
9885         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
9886         gnu.classpath.home.url.
9887         (gnu.classpath.home.url): Define.
9888         (gnu.classpath.vm.shortname): Likewise.
9889
9890 2002-12-31  Tom Tromey  <tromey@redhat.com>
9891             Ranjit Mathew  <rmathew@hotmail.com>
9892
9893         Fix for PR libgcj/8997:
9894         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
9895         Include platform.h.
9896         * include/posix.h (_Jv_platform_usleep): New function.
9897         * include/win32.h (_Jv_platform_usleep): New function.
9898
9899 2002-12-29  Tom Tromey  <tromey@redhat.com>
9900
9901         * gcj/javaprims.h: Updated.
9902         * scripts/classes.pl (scan): Removed stray semicolon.
9903
9904 2002-12-30  Mark Wielaard  <mark@klomp.org>
9905
9906         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
9907         if zero or smaller.
9908
9909 2002-12-30  Mark Wielaard  <mark@klomp.org>
9910
9911         * java/util/Properties (formatForOutput): Don't fall through to
9912         default case after escaping character.
9913
9914 2002-12-30  Mark Wielaard  <mark@klomp.org>
9915
9916         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
9917         against count.
9918
9919 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
9920
9921         * boehm.cc: Remove stray semicolon.
9922         * interpret.cc: Likewise.
9923         * prims.cc: Likewise.
9924         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
9925         earlier to ensure default arguments are processed.
9926         * gcj/array.h (JArray): Add forward declaration.
9927         (elements): Likewise.
9928         * gcj/javaprim.h: Remove stray semicolons.
9929         * include/bohm-gc.h: Likewise.
9930         * include/jni.h: Likewise.
9931         * include/jvm.h: Likewise.
9932         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
9933         
9934 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
9935
9936         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
9937         of catch_type.
9938         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
9939         idt tables after initializing superclass.
9940         * java/lang/natClassLoader.cc (uaddr): New typedef.
9941         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
9942         if they are constant pool indicies.  Don't link vtable, otable yet.
9943
9944 2002-12-21  Anthony Green  <green@redhat.com>
9945
9946         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
9947         libraries.
9948         * Makefile.in: Rebuilt.
9949
9950 2002-12-19  Anthony Green  <green@redhat.com>
9951
9952         * Makefile.am (ordinary_java_source_files): Add
9953         org/xml/sax/helpers/NewInstance.java.
9954         * Makefile.in: Rebuilt.
9955         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
9956         org/xml/sax/helpers/package.html: New files.
9957         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
9958         http://www.saxproject.org.
9959
9960 2002-12-19  Andrew Haley  <aph@redhat.com>
9961
9962         * java/util/natResourceBundle.cc: Include
9963         ArrayIndexOutOfBoundsException.h.
9964         (getCallingClassLoader): Don't put upper bound on stack search.
9965         Catch ArrayIndexOutOfBoundsException.
9966
9967 2002-12-19  Tom Tromey  <tromey@redhat.com>
9968
9969         * libtool-version: Increased `current'.
9970
9971 2002-12-19  Tom Tromey  <tromey@redhat.com>
9972
9973         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
9974         comment.
9975         * java/lang/ClassLoader.java (defineClass): Use chained
9976         exception when rethrowing.
9977         * defineclass.cc (handleClassBegin): Mark class as interpreted.
9978         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
9979         constants.
9980         * resolve.cc (_Jv_PrepareMissingMethods): New function.
9981         (_Jv_PrepareClass): Use it.
9982         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
9983         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
9984         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
9985         (Class): _Jv_PrepareMissingMethods now friend.
9986         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
9987         Record `NULL' for system class loader.
9988         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
9989         system class loader.
9990         (_Jv_FindClassInCache): Likewise.
9991         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
9992         (_Jv_FindClass): Special case system class loader.
9993         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
9994         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
9995         vtable slots.
9996         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
9997         in a final class.
9998         (_getDeclaredMethod): Don't return synthetic methods.
9999         (getDeclaredMethods): Likewise.
10000         (_getMethod): Likewise.
10001         (_getMethods): Likewise.
10002
10003 2002-12-18  Raif Naffah  <raif@fl.net.au>
10004
10005         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10006         canonical form after divide().
10007         (modInverse): Likewise.
10008
10009 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10010             Mark Wielaard  <mark@klomp.org>
10011
10012         * java/security/SecurityRandom (digest): Removed field.
10013         (SecureRandom): Check all providers for case-insensitive SecureRandom
10014         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10015         if necessary.
10016         (getInstance(String,Provider,boolean): New method.
10017         (getInstance(String)): Use new method.
10018         (getInstance(String,String)): Likewise.
10019         (getInstance(String,Provider)): Likewise.
10020
10021 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10022
10023         * java/security/Security.java (loadProviders): Increment i only once.
10024
10025 2002-12-12  Mark Wielaard  <mark@klomp.org>
10026
10027         * java/lang/ClassLoader.java (resolveClass0): Transform
10028         ClassNotFoundException to NoClassDefFoundError. Transform all other
10029         throwables to LinkageError.
10030
10031 2002-12-11  Tom Tromey  <tromey@redhat.com>
10032
10033         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10034
10035         * java/lang/ClassLoader.java (loadedClasses): New field.
10036         (defineClass): Fixed indentation.  Put new class in
10037         loadedClasses.
10038         (findLoadedClass): Implement here.
10039         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10040
10041 2002-12-10  Tom Tromey  <tromey@redhat.com>
10042
10043         * Makefile.in: Rebuilt.
10044         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10045         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10046         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10047         * java/lang/natClassLoader.cc
10048         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10049
10050 2002-12-10  Mark Wielaard  <mark@klomp.org>
10051             Tom Tromey  <tromey@redhat.com>
10052
10053         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10054         (JarURLLoader): Use it.
10055         (FileURLLoader): Likewise.
10056         (JarURLResource.getURL): Use chained exception.
10057         (FileResource.getURL): Likewise.
10058         (FileURLLoader.getResource): Use canonical file name.
10059         (addURL): Indentation fix.
10060
10061 2002-12-10  Tom Tromey  <tromey@redhat.com>
10062
10063         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10064         From Laurent Bardet <l.bardet@magic.fr>.
10065
10066 2002-12-09  Tom Tromey  <tromey@redhat.com>
10067
10068         * include/win32.h (_Jv_platform_solib_prefix): New define.
10069         (_Jv_platform_solib_suffix): Likewise.
10070         * include/posix.h (_Jv_platform_solib_prefix): New define.
10071         (_Jv_platform_solib_suffix): Likewise.
10072         * java/lang/natRuntime.cc: Include StackTrace.h.
10073         (_load): Use findLibrary and new platform defines.
10074         (nativeGetLibname): Use new platform defines.
10075
10076         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10077         `t' won't be null.
10078
10079 2002-12-08  Mark Wielaard  <mark@klomp.org>
10080
10081         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10082         cache remote jar files.
10083         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10084         add File.separator to URL when it is a directory.
10085         * java/lang/ClassLoader.java: Add Classpath javadoc.
10086         (parent): final.
10087         (getParent): Add (disabled) security check.
10088         (findLibrary): New default method.
10089         * java/net/JarURLConnection.java (getManifest): Implement.
10090         (getInputStream): Only create InputStream when entry exists.
10091         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10092         when they exist.
10093         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10094
10095 2002-12-08  Mark Wielaard  <mark@klomp.org>
10096
10097         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10098         (lastDefaultLocale): New field.
10099         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10100         resourceBundleCache.
10101
10102 2002-12-06  Mark Wielaard  <mark@klomp.org>
10103
10104         * java/net/InetAddress.java (toString): Use hostname when not null,
10105         don't do an explicit reverse getHostName() lookup.
10106         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10107         NullPointerException.
10108
10109 2002-12-06  Tom Tromey  <tromey@redhat.com>
10110
10111         * include/java-interp.h (class _Jv_InterpMethod): Added
10112         JV_MARKOBJ_DECL.
10113         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10114         mark `prepared' field of interpreted method.
10115         * interpret.cc (compile): Use _Jv_AllocBytes.
10116
10117 2002-12-05  Andrew Haley  <aph@redhat.com>
10118
10119         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10120         #ifdef (HAVE_BACKTRACE) around the whole function body.
10121
10122 2002-12-05  Tom Tromey  <tromey@redhat.com>
10123
10124         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10125         * resolve.cc: Don't include AbstractMethodError.h.
10126         (_Jv_abstractMethodError): Removed.
10127         * defineclass.cc (handleMethodsBegin): Initialize method index to
10128         -1.
10129         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10130         method index for "new" final method.
10131         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10132         isVirtualMethod.  Added `flags' argument.
10133         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10134         class.
10135
10136 2002-12-04  Tom Tromey  <tromey@redhat.com>
10137
10138         * java/net/SocketPermission.java (hashCode): Rewrote.
10139
10140 2002-12-04  Tom Tromey  <tromey@redhat.com>
10141
10142         * Makefile.in: Rebuilt.
10143         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10144         natResourceBundle.
10145         * java/util/ResourceBundle.java (Security): Removed.
10146         (getCallingClassLoader): Now native.
10147         * java/util/natResourceBundle.cc: New file.
10148         * java/lang/natVMSecurityManager.cc: New file.
10149         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10150
10151 2002-12-03  Mark Wielaard  <mark@klomp.org>
10152
10153         * java/util/jar/JarFile.java (manifest): Not final.
10154         (manifestRead): New field.
10155         (JarFile): Don't read Manifest in constructor.
10156         (getManifest): New method.
10157         (JarEnumeration.nextElement): Use new method.
10158         (getEntry): Likewise.
10159         * java/util/zip/ZipFile.java (name): Final.
10160         (raf): Likewsie.
10161         (entries): Change type to Hashtable.
10162         (closed): New field.
10163         (ZipFile): Don't read enties in constructor.
10164         (readEntries): Use Hashtable.
10165         (close): Set new close flag and set entries to null inside
10166         synchronized block.
10167         (entries): Contruct enumeration using new getEntries() method and
10168         entries Hashtable.
10169         (getEntryIndex): Removed.
10170         (getEntries): New method.
10171         (getEntry): Use new getEntries() method and entries Hastable.
10172         (getInputStream): Likewise.
10173         (size): Return getEntries().size().
10174         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10175         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10176         (time): Removed
10177         (dostime): New field.
10178         (zipFileIndex): Removed.
10179         (ZipEntry(ZipEntry)): Copy dostime.
10180         (setDOSTime): Now final and doesn't convert dos time.
10181         (getDOSTime): Likewise.
10182         (setTime): Convert dos time.
10183         (getTime): Likewise.
10184         (getCalendar): New method.
10185         (setExtra): Use setTime().
10186         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10187
10188 2002-12-03  Tom Tromey  <tromey@redhat.com>
10189
10190         * java/lang/Character.java (forDigit): Formatting fix.
10191
10192 2002-12-03  Raif Naffah  <raif@fl.net.au>
10193
10194         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10195         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10196         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10197
10198 2002-12-03  Andrew Haley  <aph@redhat.com>
10199
10200         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10201         _Jv_PushClass.
10202         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10203         (_Jv_PopClass): New.
10204         (_Jv_PushClass): New.
10205         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10206         discover the ClassLoader of our caller.
10207         (_Jv_CheckArrayStore): Don't check that a class is assignment
10208         compatible with Object.
10209         * java/lang/natVMTHrowable.cc: Delete.
10210         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10211         java.lang.VMThrowable.
10212         (StackTrace(), StackTrace(int)): New constructors.
10213         (classAt, methodAt, update, methodAtAddress): New methods.
10214         (map): New field.
10215         * java/lang/VMThrowable.java: Use StackTrace instead of
10216         natVMTHrowable.
10217         * java/lang/Class.h (getClassLoaderInternal): New.
10218         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10219         Be friendly with gnu::gcj::runtime::StackTrace.
10220         (Object.chain): New field.
10221         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10222         gnu::gcj::runtime::StackTrace.
10223         * gnu/gcj/runtime/natStackTrace.cc: New file.
10224         * gnu/gcj/runtime/MethodRef.java: New file.
10225         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10226         instead of getClassLoader().
10227         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10228         java::lang::VMThrowable.
10229         * Makefile.am (core_java_source_files): Add MethodRef.java,
10230         StackTrace.java.
10231         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10232         * Makefile.in: Rebuild.
10233
10234 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10235
10236         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10237         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10238         yes also for sh-linux* and sh[34]*-linux*.
10239         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10240         set SIGNAL_HANDLER to use DWARF2 exception for them.
10241         * configure: Regenerate.
10242
10243 2002-12-02  Tom Tromey  <tromey@redhat.com>
10244
10245         * jni.cc: Added `name' argument.
10246         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10247         `const char *' argument.
10248         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10249
10250 2002-12-01  Tom Tromey  <tromey@redhat.com>
10251
10252         Bug compatibility, for PR libgcj/8738:
10253         * java/io/CharArrayWriter.java (close): Do nothing.
10254         (flush): Likewise.
10255         (reset): Don't touch `closed'.
10256         (write(int)): Don't throw IOException.
10257         (write(char[],int,int)): Likewise.
10258         (write(String,int,int)): Likewise.
10259         (closed): Removed.
10260
10261 2002-12-01  Mark Wielaard  <mark@klomp.org>
10262
10263         * java/lang/SecurityManager.java: Remerge comments, indenting and
10264         checkXXX methods with Classpath.
10265
10266 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10267
10268         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10269         getNormalizedComponents): Fix calculation which was using one too
10270         many bits in the unnormalized format.
10271
10272 2002-11-29  Gary Benson  <gbenson@redhat.com>
10273
10274         For PR libgcj/8759:
10275         * java/beans/Introspector.java (flushCaches): New method.
10276         (flushFromCaches): Likewise.
10277
10278 2002-11-29  Michael Koch <konqueror@gmx.de>
10279
10280         * java/nio/channels/DatagramChannel.java
10281         (open): Added exception documentation.
10282         (write): Added exception documentation.
10283         (connect): Added exception documentation.
10284         (disconnect): Added exception documentation.
10285         (isConnected): Added exception documentation.
10286         (read): Added exception documentation.
10287         (receive): Added exception documentation.
10288         (send): Added exception documentation.
10289         (validOps): Added exception documentation.
10290         * java/nio/channels/SocketChannel.java
10291         (open): Added exception documentation.
10292         (read): Added exception documentation.
10293         (write): Added exception documentation.
10294         (connect): Added exception documentation.
10295         (finishConnect): Added exception documentation.
10296
10297 2002-11-29  Michael Koch <konqueror@gmx.de>
10298
10299         * gnu/java/nio/DatagramChannelImpl:
10300         (fd): New member variable to store file descriptor of socket.
10301         * gnu/java/nio/SelectionKeyImpl.java:
10302         (ops): Removed.
10303         (readyOps): New member variable.
10304         (interestOps): New member variable.
10305         (readyOps): Implemented.
10306         (readyOps): New method to set member variable readyOps.
10307         (interestOps): Replaced ops by interestOps.
10308         * gnu/java/nio/SelectorImpl.java:
10309         (SelectorImpl): Initialize key sets.
10310         (select): Call select with -1 instead of Long.MAX_VALUE).
10311         (java_do_select): Make it a native method.
10312         (getFDsAsArray): New helper method.
10313         (select): Remove canceled keys, give only interested file discriptors
10314         to java_do_select, set ready ops.
10315         (add): No need to initialize keys set here.
10316         (add_selected): No need to initialize selected set here.
10317         (deregisterCanceledKeys): New helper method.
10318         (register): Set interest ops, set attachments, added handling of datagram
10319         channels.
10320         * gnu/java/nio/ServerSocketChannelImpl:
10321         (SocketAccept): Renamed from NioSocketAccept.
10322         (implConfigureBlocking): Implemented.
10323         (accept): Use SocketAccept instead of NioSocketAccept.
10324         * gnu/java/nio/SocketChannelImpl:
10325         Reactivate native methods.
10326
10327 2002-11-29  Michael Koch <konqueror@gmx.de>
10328
10329         * gnu/java/nio/natByteBufferImpl.cc,
10330         gnu/java/nio/natCharBufferImpl.cc,
10331         gnu/java/nio/natDoubleBufferImpl.cc,
10332         gnu/java/nio/natFloatBufferImpl.cc,
10333         gnu/java/nio/natIntBufferImpl.cc,
10334         gnu/java/nio/natLongBufferImpl.cc,
10335         gnu/java/nio/natSelectorImpl.cc,
10336         gnu/java/nio/natServerSocketChannelImpl.cc,
10337         gnu/java/nio/natShortBufferImpl.cc,
10338         gnu/java/nio/natSocketChannelImpl.cc:
10339         New files that implement native functionalities.
10340
10341 2002-11-29  Michael Koch <konqueror@gmx.de>
10342
10343         * gnu/java/nio/ByteBufferImpl.java
10344         (ByteBufferImpl): Moved position() after limit.
10345         (nio_*): Use native implementation.
10346         * gnu/java/nio/CharBufferImpl.java:
10347         Reformated.
10348         (endian): New member variable string endianess of buffer.
10349         (CharBufferImpl): Moved position() after limit.
10350         (nio_*): Use native implementation.
10351         (subSequence): Implemented.
10352         * gnu/java/nio/DoubleBufferImpl.java
10353         (DoubleBufferImpl): Moved position() after limit.
10354         (nio_*): Use native implementation.
10355         * gnu/java/nio/FloatBufferImpl.java
10356         Reformated.
10357         (FloatBufferImpl): Moved position() after limit.
10358         (nio_*): Use native implementation.
10359         * gnu/java/nio/IntBufferImpl.java
10360         Added needed imports, Reformated.
10361         (IntBufferImpl): Moved position() after limit.
10362         (nio_*): Use native implementation.
10363         * gnu/java/nio/LongBufferImpl.java
10364         Reformated.
10365         (LongBufferImpl): Moved position() after limit.
10366         (nio_*): Use native implementation.
10367         * gnu/java/nio/ShortBufferImpl.java
10368         Reformated.
10369         (ShortBufferImpl): Moved position() after limit.
10370         (nio_*): Use native implementation.
10371
10372 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10373
10374         * java/util/Locale.java (toString): Improve efficiency if country
10375         and variant are both empty.
10376
10377 2002-11-26  Tom Tromey  <tromey@redhat.com>
10378
10379         * verify.cc (pop_init_ref): New method.
10380         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10381         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10382         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10383         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10384         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10385         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10386         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10387         let `this' argument be uninitialized.  Don't let `null' be passed
10388         as `this' to construtor.
10389
10390 2002-11-26  Mark Wielaard  <mark@klomp.org>
10391
10392         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10393         * javax/transaction/HeuristicMixedException.java: Likewise.
10394         * javax/transaction/HeuristicRollbackException.java: Likewise.
10395         * javax/transaction/InvalidTransactionException.java: Likewise.
10396         * javax/transaction/NotSupportedException.java: Likewise.
10397         * javax/transaction/RollbackException.java: Likewise.
10398         * javax/transaction/Status.java: Likewise.
10399         * javax/transaction/Synchronization.java: Likewise.
10400         * javax/transaction/SystemException.java: Likewise.
10401         * javax/transaction/Transaction.java: Likewise.
10402         * javax/transaction/TransactionManager.java: Likewise.
10403         * javax/transaction/TransactionRequiredException.java: Likewise.
10404         * javax/transaction/TransactionRolledbackException.java: Likewise.
10405         * javax/transaction/UserTransaction.java: Likewise.
10406         * javax/transaction/xa/XAException.java: Likewise.
10407         * javax/transaction/xa/XAResource.java: Likewise.
10408         * javax/transaction/xa/Xid.java: Likewise.
10409
10410 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10411
10412         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10413         define.
10414         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10415         * include/posix.h (socklen_t): Define if not already defined.
10416
10417 2002-11-25  Tom Tromey  <tromey@redhat.com>
10418
10419         * verify.cc (type::compatible): Backed out broken change.
10420
10421         * verify.cc (type::compatible): Check initialization status
10422         first.
10423         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10424         Don't use NULLCHECK.
10425
10426 2002-11-23  H.J. Lu <hjl@gnu.org>
10427
10428         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10429         Include ../config/accross.m4.
10430         * aclocal.m4; Rebuild.
10431         * configure: Likewise.
10432
10433 2002-11-23  Mark Wielaard  <mark@klomp.org>
10434
10435         * javax/naming/AuthenticationException.java: Update copyright header.
10436         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10437         * javax/naming/Binding.java: Likewise.
10438         * javax/naming/CannotProceedException.java: Likewise.
10439         * javax/naming/CommunicationException.java: Likewise.
10440         * javax/naming/CompositeName.java: Likewise.
10441         * javax/naming/CompoundName.java: Likewise.
10442         * javax/naming/ConfigurationException.java: Likewise.
10443         * javax/naming/Context.java: Likewise.
10444         * javax/naming/ContextNotEmptyException.java: Likewise.
10445         * javax/naming/InitialContext.java: Likewise.
10446         * javax/naming/InsufficientResourcesException.java: Likewise.
10447         * javax/naming/InterruptedNamingException.java: Likewise.
10448         * javax/naming/LimitExceededException.java: Likewise.
10449         * javax/naming/LinkException.java: Likewise.
10450         * javax/naming/LinkLoopException.java: Likewise.
10451         * javax/naming/LinkRef.java: Likewise.
10452         * javax/naming/MalformedLinkException.java: Likewise.
10453         * javax/naming/NameAlreadyBoundException.java: Likewise.
10454         * javax/naming/NameClassPair.java: Likewise.
10455         * javax/naming/NameNotFoundException.java: Likewise.
10456         * javax/naming/NameParser.java: Likewise.
10457         * javax/naming/NamingEnumeration.java: Likewise.
10458         * javax/naming/NamingSecurityException.java: Likewise.
10459         * javax/naming/NoInitialContextException.java: Likewise.
10460         * javax/naming/NoPermissionException.java: Likewise.
10461         * javax/naming/NotContextException.java: Likewise.
10462         * javax/naming/OperationNotSupportedException.java: Likewise.
10463         * javax/naming/PartialResultException.java: Likewise.
10464         * javax/naming/Reference.java: Likewise.
10465         * javax/naming/Referenceable.java: Likewise.
10466         * javax/naming/ReferralException.java: Likewise.
10467         * javax/naming/ServiceUnavailableException.java: Likewise.
10468         * javax/naming/SizeLimitExceededException.java: Likewise.
10469         * javax/naming/TimeLimitExceededException.java: Likewise.
10470         * javax/naming/directory/Attribute.java: Likewise.
10471         * javax/naming/directory/AttributeInUseException.java: Likewise.
10472         * javax/naming/directory/AttributeModificationException.java: Likewise.
10473         * javax/naming/directory/Attributes.java: Likewise.
10474         * javax/naming/directory/BasicAttribute.java: Likewise.
10475         * javax/naming/directory/BasicAttributes.java: Likewise.
10476         * javax/naming/directory/DirContext.java: Likewise.
10477         * javax/naming/directory/InitialDirContext.java: Likewise.
10478         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10479         Likewise.
10480         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10481         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10482         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10483         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10484         * javax/naming/directory/ModificationItem.java: Likewise.
10485         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10486         * javax/naming/directory/SchemaViolationException.java: Likewise.
10487         * javax/naming/directory/SearchControls.java: Likewise.
10488         * javax/naming/directory/SearchResult.java: Likewise.
10489         * javax/naming/event/EventContext.java: Likewise.
10490         * javax/naming/event/EventDirContext.java: Likewise.
10491         * javax/naming/event/NamespaceChangeListener.java: Likewise.
10492         * javax/naming/event/NamingEvent.java: Likewise.
10493         * javax/naming/event/NamingExceptionEvent.java: Likewise.
10494         * javax/naming/event/NamingListener.java: Likewise.
10495         * javax/naming/event/ObjectChangeListener.java: Likewise.
10496         * javax/naming/ldap/Control.java: Likewise.
10497         * javax/naming/ldap/ControlFactory.java: Likewise.
10498         * javax/naming/ldap/ExtendedRequest.java: Likewise.
10499         * javax/naming/ldap/ExtendedResponse.java: Likewise.
10500         * javax/naming/ldap/HasControls.java: Likewise.
10501         * javax/naming/ldap/InitialLdapContext.java: Likewise.
10502         * javax/naming/ldap/LdapContext.java: Likewise.
10503         * javax/naming/ldap/LdapReferralException.java: Likewise.
10504         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10505         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10506         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10507         * javax/naming/spi/DirObjectFactory.java: Likewise.
10508         * javax/naming/spi/DirStateFactory.java: Likewise.
10509         * javax/naming/spi/DirectoryManager.java: Likewise.
10510         * javax/naming/spi/InitialContextFactory.java: Likewise.
10511         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10512         * javax/naming/spi/NamingManager.java: Likewise.
10513         * javax/naming/spi/ObjectFactory.java: Likewise.
10514         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10515         * javax/naming/spi/ResolveResult.java: Likewise.
10516         * javax/naming/spi/Resolver.java: Likewise.
10517         * javax/naming/spi/StateFactory.java: Likewise.
10518
10519         * javax/naming/spi/NamingManager.java (ofb): Package private.
10520
10521 2002-11-21  Mark Wielaard  <mark@klomp.org>
10522
10523         * java/net/URL.java: Merge with Classpath (partly).
10524         * java/net/URLStreamHandler: Merge with Classpath.
10525
10526 2002-11-22  Michael Koch <konqueror@gmx.de>
10527
10528         * include/posix.h:
10529         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10530         * include/win32.h:
10531         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10532         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10533
10534 2002-11-21  Michael Koch <konqueror@gmx.de>
10535
10536         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10537         Only the new network functions should be in it.
10538
10539 2002-11-21  Michael Koch <konqueror@gmx.de>
10540
10541         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10542         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10543
10544 2002-11-21  Michael Koch <konqueror@gmx.de>
10545
10546         * java/nio/channels/AsynchronousCloseException.java,
10547         java/nio/channels/CancelledKeyException.java,
10548         java/nio/channels/ClosedByInterruptException.java,
10549         java/nio/channels/ConnectionPendingException.java,
10550         java/nio/channels/FileLockInterruptionException.java,
10551         java/nio/channels/IllegalSelectorException.java,
10552         java/nio/channels/NoConnectionPendingException.java,
10553         java/nio/channels/NonReadableChannelException.java,
10554         java/nio/channels/NonWritableChannelException.java,
10555         java/nio/channels/NotYetBoundException.java,
10556         java/nio/channels/NotYetConnectedException.java,
10557         java/nio/channels/OverlappingFileLockException.java,
10558         java/nio/channels/UnresolvedAddressException.java,
10559         java/nio/channels/UnsupportedAddressTypeException.java:
10560         New files.
10561         * Makefile.am (ordinary_java_source_files): Added new files.
10562         * Makefile.in: Regenerated.
10563
10564 2002-11-21  Michael Koch <konqueror@gmx.de>
10565
10566         * include/posix.h
10567         (_Jv_socket): New method.
10568         (_Jv_connect): New method.
10569         (_Jv_close): New method.
10570         (_Jv_platform_close_on_exec): Prefixed system function with "::".
10571         (_Jv_bind): New method.
10572         (_Jv_listen): New method.
10573         (_Jv_write): New method.
10574         (_Jv_read): New method.
10575         * include/win32.h
10576         (_Jv_socket): New method.
10577         (_Jv_connect): New method.
10578         (_Jv_close): New method.
10579         (_Jv_bind): New method.
10580         (_Jv_listen): New method.
10581         (_Jv_write): New method.
10582         (_Jv_read): New method.
10583         * java/net/natNetworkInterface.cc:
10584         Include platform.h, removed inclusion of socket.h
10585         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10586         ::close() by _Jv_close().
10587         * java/net/natPlainDatagramSocketImpl.cc:
10588         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10589         added some new lines to make code more readable.
10590         (create): Replaced ::socket() by _Jv_socket().
10591         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10592         * java/net/natPlainSocketImpl.cc:
10593         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10594         removed include of socket.h, removed some windows defines
10595         (now in include/win32.h).
10596         (create): Replaced ::socket() by _Jv_socket().
10597         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10598         (write): Replaced ::read by _Jv_write().
10599         (read): Replaced ::read by _Jv_read().
10600
10601 2002-11-20  Michael Koch <konqueror@gmx.de>
10602
10603         * Makefile.am (ordinary_java_source_files):
10604         Added java/nio/channels/FileChannel.java.
10605         * Makefile.in: Regenerated.
10606
10607 2002-11-20  Michael Koch <konqueror@gmx.de>
10608
10609         * java/io/FileInputStream.java
10610         (getChannel): New method.
10611         * java/io/FileOutputStream.java
10612         (getChannel): New method.
10613         * java/net/ServerSocket.java
10614         (bind): Removed duplicate code and called another bind method instead.
10615         * java/nio/channels/SelectionKey.java
10616         (isValid): Removed wrong exception documentation.
10617         * java/nio/channels/ServerSocketChannel.java
10618         (accept): Added exception documentation.
10619         (open): Fixed typo, added exception documentation.
10620         * java/nio/channels/spi/AbstractSelectableChannel.java
10621         (implCloseChannel): Added exception documentation.
10622         (add): Reformated.
10623         (register): Added exception documentation.
10624
10625 2002-11-20  Andreas Jaeger  <aj@suse.de>
10626
10627         * configure: Regenerated with new libtool.m4.
10628
10629 2002-11-19  Tom Tromey  <tromey@redhat.com>
10630
10631         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10632         `referent'.
10633         (finalize_referred_to_object): Don't modify `referent' or `copy'
10634         fields.
10635         (add_to_hash): Correctly set `n->next' when updating list.
10636         * java/lang/ref/Reference.java (enqueue): Return false if already
10637         enqueued.
10638
10639 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
10640
10641         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10642         to function and function pointer declarations in accordance with
10643         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10644         based on whether __GCJ_JNI_IMPL__ has been defined or not.
10645         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10646         JNI function definitions.
10647
10648 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10649
10650         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10651         that was causing CoderResults to be cached, not WeakReferences
10652         to CoderResults.
10653
10654 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10655
10656         * java/security/KeyStore.java (getInstance): Fix
10657         comment and throw IllegalArgumentException if
10658         given provider is null.
10659         (getInstance): New method for jdk1.4 compatibility.
10660
10661 2002-11-18  Michael Koch <konqueror@gmx.de>
10662
10663         * java/net/PlainSocketImpl.java: Fix imports.
10664
10665 2002-11-18  Michael Koch <konqueror@gmx.de>
10666
10667         * java/nio/channels/SelectionKey.java
10668         (isValid): Added exception documentation.
10669         * java/nio/channels/Selector.java
10670         (open): Declare "throws IOException".
10671
10672 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
10673
10674         * java/nio/charset/Charset.java
10675         (<clinit>): New method.
10676         (encode): Synchronize use of cached encoder object.
10677         (decode): Synchronize use of cached encoder object.
10678
10679 2002-11-18  Michael Koch <konqueror@gmx.de>
10680
10681         * gnu/java/nio/ByteBufferImpl.java,
10682         gnu/java/nio/CharBufferImpl.java,
10683         gnu/java/nio/DatagramChannelImpl.java,
10684         gnu/java/nio/DoubleBufferImpl.java,
10685         gnu/java/nio/FileChannelImpl.java,
10686         gnu/java/nio/FloatBufferImpl.java,
10687         gnu/java/nio/IntBufferImpl.java,
10688         gnu/java/nio/LongBufferImpl.java,
10689         gnu/java/nio/PipeImpl.java,
10690         gnu/java/nio/SelectionKeyImpl.java,
10691         gnu/java/nio/SelectorImpl.java,
10692         gnu/java/nio/SelectorProviderImpl.java,
10693         gnu/java/nio/ServerSocketChannelImpl.java,
10694         gnu/java/nio/ShortBufferImpl.java,
10695         gnu/java/nio/SocketChannelImpl.java,
10696         java/nio/DoubleBuffer.java,
10697         java/nio/FloatBuffer.java,
10698         java/nio/IntBuffer.java,
10699         java/nio/LongBuffer.java,
10700         java/nio/ShortBuffer.java,
10701         java/nio/channels/FileChannel.java: New files.
10702
10703 2002-11-18  Michael Koch <konqueror@gmx.de>
10704
10705         * Makefile.am (ordinary_java_source_files):
10706         Added java/nio/ReadOnlyBufferException.java and
10707         java/nio/channels/ClosedSelectorException.java.
10708         * Makefile.in: Regenerated.
10709
10710 2002-11-18  Michael Koch <konqueror@gmx.de>
10711
10712         * java/net/PlainSocketImpl.java: Reworked imports.
10713         * java/net/ServerSocket.java
10714         (ServerSocket): Create socket.
10715         * java/net/SocketAddress.java: Documentation added.
10716         * java/net/natPlainSocketImpl.cc: Reindented.
10717         * java/nio/ReadOnlyBufferException.java: New file
10718         * java/nio/channels/ClosedChannelException.java: Documentation added.
10719         * java/nio/channels/ClosedSelectorException.java: New file.
10720
10721 2002-11-17  Mark Wielaard  <mark@klomp.org>
10722
10723         * java/net/HttpURLConnection.java ((getPermission): Take port
10724         into consideration.
10725         (getErrorStream): Implement.
10726
10727 2002-11-17  Mark Wielaard  <mark@klomp.org>
10728
10729         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10730
10731 2002-11-16  Mark Wielaard  <mark@klomp.org>
10732
10733         Integrate work by Raif S. Naffah (raif@fl.net.au)
10734         * java/security/DummyKeyPairGenerator.java (clone): New method.
10735         * java/security/DummyMessageDigest.java (clone): New method.
10736         (engineUpdate): Now public.
10737         (engineReset): Likewise.
10738         (engineDigest): Likewise.
10739         (engineGetDigestLength): New method.
10740         * java/security/DummySignature.java (clone): New method.
10741         * java/security/KeyPairGenerator.java (provider): Now package private.
10742         (getInstance(String)): Use getInstance(String,Provider).
10743         (getInstance(String,String): Use getInstance(String,Provider)
10744         (getInstance(String,Provider): New method.
10745         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
10746         * java/security/KeyPairGeneratorSpi.java (clone): New method.
10747         * java/security/MessageDigest.java (provider): Now package private.
10748         (getInstance(String): Use getInstance(String,Provider).
10749         (getInstance(String,String): Use getInstance(String,Provider)
10750         (getInstance(String,Provider): New method.
10751         * java/security/Provider.java (toCanonicalKey): New method.
10752         (get): New method that uses toCanonicalKey().
10753         (put): Use toCanonicalKey().
10754         (remove): Likewise.
10755         * java/security/Security.java (insertProviderAt): Provider index is one
10756         based, not zero based.
10757         (addProvider): Likewise.
10758         (removeProvider): Likewise.
10759         * java/security/Signature.java (provider): Now package private.
10760         (getInstance(String)): Use getInstance(String,Provider).
10761         (getInstance(String,String): Use getInstance(String,Provider)
10762         (getInstance(String,Provider): New method.
10763         (getInstance(String,String,Provider): Don't cast DummySignature.
10764
10765 2002-11-15  Tom Tromey  <tromey@redhat.com>
10766
10767         For PR libgcj/8593:
10768         * java/util/zip/GZIPInputStream.java (read): Check file size.
10769         Look in inflater for remaining input bytes.
10770         (read4): Added buf and offset arguments.
10771
10772 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
10773
10774         * java/applet/AppletContext.java: Fix typo and remove redundant
10775         modifiers.
10776
10777 2002-11-14  Tom Tromey  <tromey@redhat.com>
10778
10779         * java/lang/natRuntime.cc (insertSystemProperties): Set
10780         gnu.classpath.home.
10781
10782 2002-11-13  Michael Koch <konqueror@gmx.de>
10783
10784         * java/nio/ByteBuffer.java
10785         (allocate): New method.
10786         (wrap): New method.
10787         (put): New method.
10788         (get): New method.
10789
10790 2002-11-13  Michael Koch <konqueror@gmx.de>
10791
10792         * java/nio/channels/AlreadyConnectedException.java:
10793         Removed unneeded import.
10794         (AlreadyConnectedException): Documentation added.
10795         * java/nio/channels/Pipe.java
10796         (SinkChannel.SinkChannel): Documentation added.
10797         (SinkChannel.validOps): New method.
10798         (SourceChannel.SourceChannel): Documentation added.
10799         (SourceChannel.validOps): New method.
10800         (Pipe): Documentation added.
10801         (open): Documentation added.
10802         (SinkChannel.channel): Documentation added.
10803         (SourceChannel.channel): Documentation added.
10804         * java/nio/channel/SelectableChannel.java
10805         (SelectableChannel): Documentation added.
10806         (blockingLock): Documentation added.
10807         (configureBlocking):Documentation added.
10808         (isBlocking):Documentation added.
10809         (isRegistered):Documentation added.
10810         (keyFor):Documentation added.
10811         (provider):Documentation added.
10812         (register): Documentation added.
10813         (validOps): Documentation added.
10814         * jaba/nio/channels/SelectionKey.java
10815         (SelectionKey): Documentation added.
10816         (attach): Documentation added.
10817         (attachment): Documentation added.
10818         (isAcceptable): Documentation added.
10819         (isConnetable): Documentation added.
10820         (isReadable): Documentation added.
10821         (isWritable): Documentation added.
10822         (cancel): Documentation added.
10823         (channel): Documentation added.
10824         (interestOps): Documentation added.
10825         (isValid): Documentation added.
10826         (readyOps): Documentation added.
10827         (selector): Documentation added.
10828         * jaba/nio/channels/Selector.java
10829         (Selector): Documentation added.
10830         (open): Documentation added.
10831         (close): Documentation added.
10832         (isOpen): Documentation added.
10833         (keys): Documentation added.
10834         (provider): Documentation added.
10835         (select): Documentation added.
10836         (selectedKeys): Documentation added.
10837         (selectNow): Documentation added.
10838         (wakeup): Documentation added.
10839         * java/nio/channels/spi/AbstractInterruptibleChannel.java
10840         (AbstractInterruptibleChannel): Documentation added.
10841         (opened): Default to true;
10842         (begin): Documentation added.
10843         (close): Set opened to false, documentation added.
10844         (isOpen): Documentation added.
10845         * java/nio/channels/spi/AbstractSelectionKey.java
10846         (AbstractSelectionKey): Documentation added.
10847         (cancel): Documentation added.
10848         (isValid): Documentation added.
10849         * java/nio/channels/spi/AbstractSelector.java
10850         (AbstractSelector): Documentation added.
10851         (begin): Documentation added.
10852         (close): Documentation added.
10853         (isOpen): Documentation added.
10854         (deregister): Documentation added.
10855         (end): Documentation added.
10856         (provider): Documentation added.
10857         (implCloseSelector): Documentation added.
10858         (register): Documentation added.
10859         * java/nio/channels/spi/SelectorProvider.java
10860         (SelectorProvider): Documentation added.
10861         (openDatagramChannel): Documentation added.
10862         (openPipe): Documentation added.
10863         (openSelector): Documentation added.
10864         (openServerSocketChannel): Documentation added.
10865         (openSocketChannel): Documentation added.
10866         (provider): Documentation added.
10867
10868 2002-11-12  Michael Koch <konqueror@gmx.de>
10869
10870         * java/nio/Buffer.java: Implemented.
10871         * java/nio/CharBuffer.java: New file.
10872         * java/nio/InvalidMarkException.java: New file.
10873         * java/nio/channels/DatagramChannel.java: Implemented.
10874         * java/nio/channels/ServerSocketChannel.java: Implemented.
10875         * java/nio/channels/SocketChannel.java: Implemented.
10876         * java/nio/channels/spi/AbstractChannel.java: Removed.
10877         * java/nio/channels/spi/AbstractSelectableChannel.java:
10878         Implemented.
10879         * java/nio/charset/Charset.java:
10880         Merge from Classpath.
10881         * java/nio/charset/CharsetDecoder.java: New file.
10882         * java/nio/charset/CharsetEncoder.java: New file.
10883         * java/nio/charset/CoderResult.java: New file.
10884         * Makefile.am (ordinary_java_source_files): Added new files.
10885         * Makefile.in: Regenerated.
10886
10887 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10888
10889         * gnu/java/nio/charset/ISO_8859_1.java,
10890         gnu/java/nio/charset/Provider.java,
10891         gnu/java/nio/charset/US_ASCII.java,
10892         gnu/java/nio/charset/UTF_16.java,
10893         gnu/java/nio/charset/UTF_16BE.java,
10894         gnu/java/nio/charset/UTF_16Decoder.java,
10895         gnu/java/nio/charset/UTF_16Encoder.java,
10896         gnu/java/nio/charset/UTF_16LE.java,
10897         gnu/java/nio/charset/UTF_8.java: New files.
10898
10899 2002-11-11  Michael Koch <konqueror@gmx.de>
10900
10901         * java/nio/charset/CharacterCodingException.java:
10902         This class must be public.
10903         * java/nio/charset/CoderMalfunctionError.java:
10904         This class must be public.
10905         * java/nio/charset/CodingErrorAction.java:
10906         This class must be public.
10907         * java/nio/charset/IllegalCharsetNameException.java:
10908         This class must be public, better implementation.
10909         * java/nio/charset/MalformedInputException.java:
10910         This class must be public, better implementation.
10911         * java/nio/charset/UnmappableCharacterException.java:
10912         This class must be public, better implementation.
10913         * java/nio/charset/UnsupportedCharsetException.java:
10914         This class must be public, better implementation.
10915
10916 2002-11-11  Michael Koch <konqueror@gmx.de>
10917
10918         * java/nio/BufferOverflowException.java,
10919         java/nio/BufferUnderflowException.java: New file.
10920         * Makefile.am (ordinary_java_source_files):
10921         Added new files.
10922         * Makefile.in: Regenerated.
10923
10924 2002-11-10  Tom Tromey  <tromey@redhat.com>
10925
10926         * java/awt/Container.java (validate): Use tree lock.
10927         (getComponent): Likewise.
10928         (getComponents): Likewise.
10929         (addImpl): Likewise.
10930         (remove): Likewise.
10931         (removeAll): Likewise.
10932         (processEvent): Fixed indentation.
10933         (getComponentAt): Use tree lock.
10934         (findComponentAt): Likewise.
10935         (removeNotify): Likewise.
10936         (isAncestorOf): Likewise.
10937         (list): Likewise.
10938         (visitChildren): Likewise.
10939         (findNextFocusComponent): Likewise.
10940         (addNotifyContainerChildren): Likewise.
10941         (getAccessibleChildrenCount): Likewise.
10942         (getAccessibleChild): Likewise.
10943
10944         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
10945         (getSize): Likewise.
10946         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
10947         (getSize): Likewise.
10948         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
10949         (calcSize): Likewise.
10950         * java/awt/CardLayout.java (getSize): Use tree lock.
10951         (gotoComponent): Likewise.
10952         (layoutContainer): Likewise.
10953
10954         * java/io/natFileDescriptorWin32.cc (read): Handle case where
10955         count is 0.
10956         * java/io/natFileDescriptorPosix.cc (read): Handle case where
10957         count is 0.
10958
10959         * java/io/Externalizable.java, java/io/FilePermission.java,
10960         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
10961         java/io/SerializablePermission.java, java/text/Format.java,
10962         java/util/AbstractMap.java, java/util/HashMap.java,
10963         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
10964         versions from Classpath.
10965
10966 2002-11-10  Anthony Green  <green@redhat.com>
10967
10968         * java/util/jar/Attributes.java (Name): Fix name check.
10969
10970 2002-11-10  Mark Wielaard  <mark@klomp.org>
10971
10972         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
10973         with getName() as message.
10974         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
10975         type as message.
10976
10977         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
10978         unused.
10979
10980 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
10981
10982         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
10983         for Win32. JNICALL has been defined to __stdcall to be compatible
10984         with Sun's JDKs.
10985
10986 2002-11-10  Tom Tromey  <tromey@redhat.com>
10987
10988         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
10989         (setRows): Check newRows, not rows.
10990
10991         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
10992
10993 2002-11-09  Tom Tromey  <tromey@redhat.com>
10994
10995         * java/applet/Applet.java, java/applet/AppletContext.java,
10996         java/applet/AppletStub.java, java/applet/AudioClip.java,
10997         java/awt/CardLayout.java,
10998         java/awt/ContainerOrderFocusTraversalPolicy.java,
10999         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11000         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11001         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11002         java/awt/color/ICC_ColorSpace.java,
11003         java/awt/color/ICC_Profile.java,
11004         java/awt/color/ICC_ProfileGray.java,
11005         java/awt/color/ICC_ProfileRGB.java,
11006         java/awt/datatransfer/DataFlavor.java,
11007         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11008         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11009         New versions from Classpath.
11010         * Makefile.in: Rebuilt.
11011         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11012         ICC_ProfileRGB.
11013
11014         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11015         display policy.
11016
11017         * java/awt/List.java (processEvent): Added missing `else's.
11018
11019         * java/awt/Window.java (show): validate() before showing.  Make
11020         parent displayable.
11021         (isDisplayable): New method.
11022
11023 2002-11-07  Mark Wielaard  <mark@klomp.org>
11024
11025         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11026         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11027
11028         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11029         annotation.
11030         (loadClass): Take String as codebases.
11031         (getClassAnnotation): Use MyClassLoader annotations.
11032         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11033         call exportObject(this).
11034
11035         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11036         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11037         (setAnnotation): Don't set locBytesStream and locStream.
11038         (replaceObject): Removed.
11039         (flush): Don't test locStream.
11040         (getLocBytes): LikeWise.
11041         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11042         (leaseCache): New field.
11043         (dirty): Use leaseCache.
11044         (LeaseRecord): New inner class.
11045         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11046         explicitly call exportObject().
11047         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11048         false to communicate with Sun JDK130.
11049         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11050         * gnu/java/rmi/server/RMIObjectInputStream.java
11051         (UnicastConnectionManager): Removed field.
11052         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11053         Use UnicastServer.getExportedRef().
11054         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11055         (expireTime): Likewise.
11056         (CONNECTION_TIMEOUT): Likewise.
11057         (disconnect): Call sock.close().
11058         (isExpired): New method.
11059         (resetTime): Likewise.
11060         (run): Use do while loop and catch Exception for discardConnection().
11061         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11062         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11063         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11064         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11065         (exportObject): Use refcache.
11066         (unexportObject): Likewise.
11067         (getExportedRef): New method.
11068         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11069         constructor.
11070         (exportObject): Save manager.serverobj.
11071         (getStub): New method.
11072
11073 2002-11-07  Mark Wielaard  <mark@klomp.org>
11074
11075         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11076         (getByte): Likewise.
11077         (getShort): Likewise.
11078         (getInt): Likewise.
11079         (getLong): Likewise.
11080         (getFloat): Likewise.
11081         (getDouble): Likewise.
11082         (get): Likewise.
11083         (setChar): Likewise.
11084         (setByte): Likewise.
11085         (setShort): Likewise.
11086         (setInt): Likewise.
11087         (setLong): Likewise.
11088         (setFloat): Likewise.
11089         (setDouble): Likewise.
11090
11091 2002-11-07  Michael Koch <konqueror@gmx.de>
11092
11093         * java/awt/Choice.java,
11094         java/awt/Container.java,
11095         java/awt/GridBagLayout.java:
11096         Fixed documentation.
11097         * java/awt/peer/ContainerPeer.java:
11098         Reindented.
11099
11100 2002-11-07  Michael Koch <konqueror@gmx.de>
11101
11102         * java/awt/color/ICC_Profile.java:
11103         Added missing constants.
11104         * java/awt/color/ICC_ColorSpace.java
11105         (getMinValue): Added dummy implementation.
11106         (getMaxValue): Added dummy implementation.
11107         * java/awt/datatransfer/DataFlavor.java
11108         (imageFlavor): Added.
11109         (isMimeTypeEqual): Must be final.
11110         (getDefaultRepresentationClass): Must be non-static.
11111         (getDefaultRepresentationClassAsString): Must be non-static.
11112         * java/awt/dnd/DragSourceContext.java
11113         (dragExit): Corrected argument.
11114         (dragDropEnd): Corrected argument.
11115         * java/awt/dnd/DragSourceListener.java.java
11116         (dragExit): Corrected argument.
11117         (dragDropEnd): Corrected argument.
11118         * java/awt/font/TextHitInfo.java
11119         (toString): Added stubbed implementation.
11120         * java/awt/geom/PathIterator.java:
11121         The constants must be static.
11122         * java/awt/image/VolatileImage.java
11123         (IMAGE_INCOMPATIBLE): Fixed typo.
11124         * java/awt/image/renderable/RenderableImage.java
11125         (HINTS_OBSERVED): Must be static.
11126         * java/beans/BeanInfo.java:
11127         Constants must be final.
11128
11129 2002-11-06  Tom Tromey  <tromey@redhat.com>
11130
11131         From svens@it.uu.se.  For PR libgcj/8481.
11132         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11133
11134 2002-11-06  Tom Tromey  <tromey@redhat.com>
11135
11136         * jni.cc (array_from_valist): Assume that jlong won't be
11137         promoted.
11138
11139 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11140
11141         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11142         Return 20.
11143         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11144         Return 16.
11145
11146 2002-11-03  Tom Tromey  <tromey@redhat.com>
11147
11148         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11149         VMClassLoader, not findClass.
11150
11151 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11152
11153         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11154         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11155         _Jv_DetermineVTableIndex, to determine vtable offset.
11156         (_Jv_DetermineVTableIndex): Remove.
11157         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11158
11159         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11160
11161 2002-11-03  Tom Tromey  <tromey@redhat.com>
11162
11163         * java/nio/channels/AlreadyConnectedException.java: Extend
11164         IllegalStateException, per spec.
11165
11166 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11167
11168         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11169
11170 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11171
11172         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11173         size items.
11174
11175 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11176
11177         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11178         initial estimated size to avoid enlarge buffer frequently.
11179
11180 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11181
11182         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11183         ClassLoader when null.
11184         (ProxyType.hashCode): Loader null check no longer needed.
11185         (ProxyType.sameTypes): New method.
11186         (ProxyType.equals): Use new method.
11187
11188 2002-10-31  Mark Wielaard  <mark@klomp.org>
11189
11190         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11191         length of String.
11192         * java/net/URLEncoder.java (encode): Likewise.
11193
11194 2002-10-31  Mark Wielaard  <mark@klomp.org>
11195
11196         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11197         when stream is closed.
11198         (closeEntry): Likewise.
11199         (read): Likewise.
11200         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11201         ZipException when no entry active.
11202         (closeEntry): Likewise.
11203         (write): Likewise.
11204
11205 2002-11-02  Tom Tromey  <tromey@redhat.com>
11206
11207         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11208         * java/lang/natClass.cc (initializeClass): Don't return just
11209         because self==thread.
11210
11211         For PR java/8415:
11212         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11213         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11214
11215 2002-11-02  Andreas Schwab  <schwab@suse.de>
11216
11217         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11218         pass GCJFLAGS.
11219         (FLAGS_TO_PASS): Define.
11220         * Makefile.in: Regenerated.
11221
11222 2002-11-01  Michael Koch  <konqueror@gmx.de>
11223
11224         * java/nio/ByteOrder.java: New file.
11225         * java/nio/channels/DatagramChannel.java:
11226         (DatagramChannel): New constructor.
11227         * java/nio/channels/Pipe.java: New file.
11228         * java/nio/channels/SelectableChannel.java: New file.
11229         * java/nio/channels/SelectionKey.java: New file.
11230         * java/nio/channels/Selector.java: New file.
11231         * java/nio/channels/ServerSocketChannel.java
11232         (ServerSocketChannel): New constructor.
11233         * java/nio/channels/SocketChannel.java
11234         (SocketChannel): New constructor.
11235         * java/nio/channels/Pipe.java: New file.
11236         * java/nio/channels/spi/AbstractChannel.java: New file.
11237         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11238         * java/nio/channels/spi/AbstractSelectableChannel.java:
11239         License added
11240         (AbstractSelectableChannel): New stubbed method.
11241         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11242         * java/nio/channels/spi/AbstractSelector.java: New file.
11243         * java/nio/channels/spi/SelectorProvider.java: New file.
11244         * java/nio/charset/Charset.java: New file.
11245         * java/nio/charset/CoderMalfunctionError.java: New file.
11246         * java/nio/charset/CodingErrorAction.java: New file.
11247         * java/nio/charset/spi/CharsetProvider.java
11248         (charsetForName): Uncommented.
11249         * Makefile.am (java_native_source_files): Added new files.
11250         * Makefile.in: Regenerated.
11251
11252 2002-11-01  Michael Koch  <konqueror@gmx.de>
11253
11254         * java/net/InetAddress.java:
11255         (isAnyLocalAddress): Implemented.
11256         (isLoopbackAddress): Implemented, comment added.
11257         (isLinkLocalAddress): Implemented, documentation added.
11258         (isSiteLocalAddress): Implemented, documentation added.
11259         (isMCGlobal): Implemented, documentation added.
11260         (isMCNodeLocal): Implemented, documentation added.
11261         (isMCLinkLocal): Implemented, documentation added.
11262         (isMCSiteLocal): Implemented, documentation added.
11263         (isMCOrgLocal): Implemented, documentation added.
11264         (getHostName): Documentation added.
11265         (getCanonicalHostName): Implemented, documentation added.
11266         (getAddress): Documentation added.
11267         (hashCode): Documentation added.
11268         (equals): Documentation added.
11269         (toString): Fixed implementation.
11270         (getByAddress): Use Inet4Address and Inet6Address.
11271         (lookup): New linewrap.
11272         (getByName): SecurityManager check added, support Inet4Address and
11273         Inet6address, comments added.
11274         (getAllByName): SecurityManager check added, comments added.
11275         * java/net/Inet6Address.java:
11276         (Inet6Address): Initialize parent class with addr instead of null.
11277         * java/net/URL.java
11278         (equals): Documentation added.
11279         (getFile): Documentation added.
11280         (hashCode): Documentation added.
11281         * java/net/natInetAddress.cc:
11282         (aton): Fix IPv6 support.
11283         * java/net/natPlainDatagramSocketImpl.cc:
11284         (peek): Throw PortUnreachableException when suitable.
11285         (peekData): Throw PortUnreachableException when suitable.
11286         (send): Throw PortUnreachableException when suitable.
11287         (receive): Throw PortUnreachableException when suitable.
11288
11289 2002-10-27  Mark Wielaard  <mark@klomp.org>
11290
11291         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11292         argument.
11293         (readLeShort): Likewise and use byte[].
11294         (readLeInt): Likewise.
11295         (readEntries): Use new versions of methods and use byte[] for reading
11296         a complete zip entry. Add ZipFile name to exceptions.
11297         (entries): Add ZipFile name to exceptions.
11298         (getEntry): Likewise.
11299         (checkLocalHeader): Use new versions of methods and add ZipFile name
11300         to exceptions.
11301
11302 2002-10-31  Mark Anderson  <mark@panonet.net>
11303
11304         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11305         added
11306
11307 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11308
11309         * configure.in: Disable hash sync when not using threads.
11310         * configure: Regenerated.
11311
11312 2002-10-24  Tom Tromey  <tromey@redhat.com>
11313
11314         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11315         (_Jv_FindSymbolInExecutable): Removed argument name.
11316         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11317         java.library.path is set.
11318
11319         * gij.cc (help): Document --showversion.
11320         (version): Don't exit.
11321         (main): Handle --showversion.  Exit if --version given.
11322
11323 2002-10-23  Tom Tromey  <tromey@redhat.com>
11324
11325         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11326         (array_from_valist): Correctly handle promotion for jint, jlong,
11327         jfloat, and jdouble.
11328
11329 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11330
11331         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11332         GetFileAttributesEx( ) to find file length and modification times,
11333         as the latter is not present on Windows 95.
11334
11335 2002-10-21  Michael Koch  <konqueror@gmx.de>
11336
11337         * java/net/URL.java
11338         (URL): Activate SecurityManager checks.
11339         (equals): Use URLStreamHandler implementation instead of doing it
11340         alone. This allows special protocol stream handlers to change default
11341         behaviour.
11342         (hashCode): Use URLStreamHandler implementation instead of doing it
11343         alone. This allows special protocol stream handlers to change default
11344         behaviour.
11345         * java/net/URLStreamHandler.java
11346         (equals): Implemented default URL equality check.
11347         (hostsEqual): Implemented default URL equality check.
11348         (hashCode): Implemented default URL hashCode algorithm.
11349         * java/net/natPlainDatagramSocketImpl.cc:
11350         No lines longer then 80 characters.
11351
11352 2002-10-20  Adam Megacz <adam@xwt.org>
11353
11354         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11355         * configure.in: enabled hash sync on Win32
11356         * include/win32-threads.h (_Jv_ThreadId_t): added.
11357         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11358         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11359         removed some posix-isms, use Thread::sleep() instead of usleep,
11360         added code to clear bottom three bits if platform has a broken
11361         linker.
11362         * include/win32-threads.h (_Jv_ThreadId_t): added.
11363
11364 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11365
11366         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11367         runtime property "gnu.gcj.progname" containing the name used to
11368         invoke the current Java program (similar to argv[0] for C
11369         programs).
11370
11371 2002-10-15  Tom Tromey  <tromey@redhat.com>
11372
11373         Fix for PR libgcj/8234:
11374         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11375         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11376
11377 2002-10-13  Mark Wielaard  <mark@klomp.org>
11378
11379         * mauve-libgcj: Enable Mauve tests that compile now.
11380
11381 2002-10-11  Mark Wielaard  <mark@klomp.org>
11382
11383         Fix for PR libgcj/8142
11384         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11385         loading native modules.
11386
11387 2002-10-10  Michael Koch  <konqueror@gmx.de>
11388
11389         * javax/swing/AbstractListModel.java
11390         (getListDataListeners): New stubbed method.
11391         javax/swing/DefaultBoundedRangeModel.java
11392         (getChangeListeners): New stubbed method.
11393         javax/swing/DefaultSingleSelectionModel.java
11394         (getChangeListeners): New stubbed method.
11395
11396 2002-10-10  Michael Koch  <konqueror@gmx.de>
11397
11398         * gcj/.cvsignore: New file to ignore files generated during build.
11399         * include/.cvsignore: New file to ignore files generated during build.
11400
11401 2002-10-10  Michael Koch  <konqueror@gmx.de>
11402
11403         * java/net/HttpURLConnection.java
11404         (getPermission): New method.
11405         (getErrorStream): New stub method.
11406         (getHeaderFieldDate): New stub method.
11407         * java/net/Inet4Address.java:
11408         (isLinkLocalAddress): Typo fixed.
11409         * java/net/InetAddress.java:
11410         (readResolve): New stubbed method (for serialization).
11411         (isAnyLocalAddress): New stubbed method.
11412         (isLoopbackAddress): New stubbed method.
11413         (isLinkLocalAddress): New stubbed method.
11414         (isSiteLocalAddress): New stubbed method.
11415         (isMCGlobal): New stubbed method.
11416         (isMCNodeGlobal): New stubbed method.
11417         (isMCLinkLocal): New stubbed method.
11418         (isMCSiteLocal): New stubbed method.
11419         (isMCOrgLocal): New stubbed method.
11420         (getCanonicalHostName): New stubbed method.
11421         (getByAddress): Create instances of Inet4Address/Inet6Address,
11422         instead of InetAddress, documentation added.
11423         * java/net/MulticastSocket.java
11424         (getInterface): Removed FIXME.
11425         (getNetworkInterface): New method.
11426         (setNetworkInterface): New method.
11427         * java/net/NetworkInterface.java:
11428         (toString): Use property "line.separator" instead of "\n".
11429         * java/net/URLConnection.java
11430         (getContent): New stubbed method.
11431         * java/net/URLStreamHandler.java:
11432         (equals): New stubbed method.
11433         (hostsEqual): New stubbed method.
11434         (hashCode): New stubbed method.
11435         * java/net/natNetworkInterface.cc:
11436         (getRealNetworkInterfaces): Create Inet4Address object
11437         instead of InetAddress.
11438
11439 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11440
11441         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11442         unsigned long temporary to implement insn_iushr shifts.
11443
11444 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11445
11446         * configure.host [s390*-*]: Enable Java interpreter.
11447         Enable hash synchronization.  Add sysdeps dir.
11448         * sysdep/s390/locks.h: New file.
11449
11450 2002-10-06  Mark Wielaard  <mark@klomp.org>
11451
11452         * java/lang/Thread.java (setDaemon): Check startable_flag,
11453         not isAlive().
11454
11455 2002-10-07  Michael Koch  <konqueror@gmx.de>
11456
11457         * java/nio/Buffer.java: New stub file.
11458         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11459         of class Charset.
11460         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11461         * Makefile.in: Regenerated.
11462
11463 2002-10-07  Michael Koch  <konqueror@gmx.de>
11464
11465         * java/nio/ByteBuffer.java:
11466         removed import of not commited class.
11467
11468 2002-10-07  Michael Koch  <konqueror@gmx.de>
11469
11470         * java/nio/ByteBuffer.java,
11471         java/nio/MappedByteBuffer.java:
11472         New files, forgot to add these dummies.
11473         * Makefile.am (java_native_source_files): Added new files.
11474         * Makefile.in: Regenerated.
11475
11476 2002-10-07  Michael Koch  <konqueror@gmx.de>
11477
11478         * java/nio/channels/AlreadyConnectedException.java,
11479         java/nio/channels/ClosedChannelException.java,
11480         java/nio/channels/ReadableByteChannel.java,
11481         java/nio/channels/InterruptibleChannel.java,
11482         java/nio/channels/Channel.java,
11483         java/nio/channels/ByteChannel.java,
11484         java/nio/channels/GatheringByteChannel.java,
11485         java/nio/channels/ScatteringByteChannel.java,
11486         java/nio/channels/WritableByteChannel.java,
11487         java/nio/charset/CharacterCodingException.java,
11488         java/nio/charset/IllegalCharsetNameException.java,
11489         java/nio/charset/MalformedInputException.java,
11490         java/nio/charset/UnmappableCharacterException.java,
11491         java/nio/charset/UnsupportedCharsetException.java,
11492         java/nio/charset/spi/CharsetProvider.java: New file.
11493         These files are exceptions or interfaces,
11494         no real or abstract classes.
11495         * Makefile.am (java_native_source_files): Added new files.
11496         * Makefile.in: Regenerated.
11497
11498 2002-10-05  Michael Koch  <konqueror@gmx.de>
11499
11500         * java/net/InetAddress.java
11501         (getByAddress): Fixed documentation.
11502         (getByAddress): New method.
11503         * java/net/Inet4Address.java: New file.
11504         * java/net/URL.java
11505         (URL): Documentation added.
11506         (getContent): Documentation added.
11507         (getContent): New stubbed method.
11508         (getQuery): New method.
11509         (openConnection): Documentation added.
11510         (openStream): Documentation added.
11511         (setURLStreamHandlerFactory): Documentation added.
11512         * java/net/URI.java: New stub file.
11513         * Makefile.am
11514         (java_native_source_files): Added java/net/Inet4Address.java,
11515         java/net/Inet6Address.java and java/net/URI.java.
11516         * Makefile.in: Regenerated.
11517
11518 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11519
11520         * java/lang/ProtectionDomain.java (linesep): Remove field.
11521         (toString): Use System.getProperty("line.separator").
11522
11523 2002-10-04  Michael Koch  <konqueror@gmx.de>
11524
11525         * java/security/Identity.java: Added serialVersionUID.
11526         * java/security/KeyPair.java: Added serialVersionUID.
11527         * java/security/Provider.java: Added serialVersionUID.
11528         * java/security/SecureRandom.java: Added serialVersionUID.
11529         * java/security/SecureRandomSpi.java: Added serialVersionUID.
11530         * java/security/SignedObject.java: Added serialVersionUID.
11531         * java/security/cert/Certificate.java: Added serialVersionUID.
11532
11533 2002-10-04  Mark Wielaard <mark@klomp.org>
11534
11535         * java/security/Security.java: Use java.home or gnu.classpath.home
11536         to load providers.
11537         (loadProviders): Extra dir argument.
11538         (getProvider): Return null when not found.
11539
11540 2002-10-04  Mark Wielaard  <mark@klomp.org>
11541
11542         * java/lang/Throwable.java: Remerge with Classpath.
11543
11544 2002-10-04  Michael Koch  <konqueror@gmx.de>
11545
11546         * java/net/InetAddress.java:
11547         (isMulticastAddress): Added documentation.
11548         (getHostAddress): Added documentation.
11549         (toString): Added documentation.
11550         (getByAddress): Fixed documentation.
11551         (getByName): Added documentation.
11552         (getAllByName): Added documentation.
11553         (getLocalHost): Added documentation.
11554
11555 2002-10-04  Michael Koch  <konqueror@gmx.de>
11556
11557         * java/beans/beancontext/BeanContextChildSupport.java:
11558         Added serialVersionUID.
11559         * java/text/Collator.java: (compare): Made documentation HTML-aware.
11560         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11561         * javax/naming/Name.java: Added serialVersionUID.
11562
11563 2002-10-03  Adam Megacz <adam@xwt.org>
11564
11565         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11566         some functionality that isn't supported yet on WIN32.
11567
11568 2002-10-03  Tom Tromey  <tromey@redhat.com>
11569
11570         * Makefile.in: Rebuilt.
11571         * Makefile.am (awt_java_source_files): Added new files.
11572
11573 2002-10-03  Michael Koch  <konqueror@gmx.de>
11574
11575         * java/net/InetAddress.java
11576         (class InetAddress): Removed final keyword.
11577         (equals): Fixed typo.
11578         (getByAddress): New method.
11579
11580 2002-10-03  Michael Koch  <konqueror@gmx.de>
11581
11582         * java/awt/dnd/Autoscroll.java:
11583         New file, merge from Classpath.
11584         * java/awt/dnd/DragSourceAdapter.java:
11585         (dragExit): Fixed typos in argument type.
11586         (dragDropEnd): Fixed typos in argument type.
11587         * java/awt/dnd/DragSourceDropEvent.java:
11588         New file, merge from Classpath.
11589         * java/awt/dnd/DropTarget.java:
11590         Added stubs, merge from Classpath.
11591         * java/awt/dnd/DropTargetAdapter.java:
11592         New file, merge from Classpath.
11593         * java/awt/dnd/DropTargetContext.java:
11594         New file, merge from Classpath.
11595         * java/awt/dnd/DropTargetDragEvent.java:
11596         New file, merge from Classpath.
11597         * java/awt/dnd/DropTargetDropEvent.java:
11598         New file, merge from Classpath.
11599         * java/awt/dnd/DropTargetEvent.java:
11600         New file, merge from Classpath.
11601         * java/awt/dnd/DropTargetListener.java:
11602         New file, merge from Classpath.
11603         * java/awt/dnd/MouseDragGestureRecognizer.java:
11604         New file, merge from Classpath.
11605         * java/awt/dnd/peer/DropTargetContextPeer.java:
11606         New file, merge from Classpath.
11607
11608 2002-10-03  Michael Koch  <konqueror@gmx.de>
11609
11610         * java/net/DatagramPacket.java
11611         (setLength): Fixed typo and be HTML-aware.
11612         * java/net/InetSocketAddress.java
11613         (InetSocketAddress): Correct initialization of hostname, fixed typo.
11614         (equals): Added comment about equality of InetSocketAddress objects.
11615         * java/net/ServerSocket.java
11616         (accept): Added checks.
11617         (isClosed): New stubbed method.
11618         * java/net/SocketOptions.java: Reindention.
11619         * java/net/SocketPermission
11620         (SocketPermission): Documentation fixed.
11621
11622 2002-10-03  Michael Koch  <konqueror@gmx.de>
11623
11624         * java/net/DatagramSocket.java
11625         (receive): Check with SecurityManager AFTER the packet is received,
11626         check if connected to multicast address, documentation added.
11627         (send): Only check SecurityManager if connected, check address of
11628         packet to send.
11629         (connect): Implemented, documentation added.
11630         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11631         * java/net/InetSocketAddress.java
11632         (whole file): Reindented.
11633         (hostname): New attribute.
11634         (InetSocketAddress): Initialize new attribute.
11635         (getAddress): Documentation added.
11636         (getHostName): Documentation added.
11637         (getPort): Documentation added.
11638         (hashCode): Documentation added.
11639         (isUnresolved): Documentation added.
11640         (toString): Conform to output of JDK 1.4.1, documentation added.
11641         * java/net/MulticastSocket.java
11642         (joinGroup): Removed FIXME, documentation added.
11643         (leaveGroup): Removed FIXME, documentation added.
11644         (send): Documentation added.
11645         * java/net/Socket.java
11646         (inputShutdown): New variable.
11647         (outputShutdown): New variable.
11648         (Socket): Initialize new variables.
11649         (getRemoteSocketAddress): Check if connected.
11650         (shutdownInput): Set new variable.
11651         (shutdownOutput): Set new variable.
11652         (isConnected): New method.
11653         (isClosed): New method.
11654         (isInputShutdown): New method.
11655         (isOutputShutdown): New method.
11656         * java/net/URLStreamHandler.java
11657         (URLStreamHandler): New method.
11658         (openConnection): Added documentation.
11659         (parseURL): Added documentation.
11660         (getHostAddress): New method.
11661         (getDefaultPort): New method.
11662
11663 2002-10-02  Tom Tromey  <tromey@redhat.com>
11664
11665         * java/rmi/activation/ActivationDesc.java,
11666         java/rmi/activation/ActivationGroupDesc.java,
11667         java/rmi/activation/ActivationGroupID.java,
11668         java/rmi/activation/ActivationID.java: New versions from
11669         Classpath.
11670
11671 2002-09-30  Bo Thorsen  <bo@suse.de>
11672
11673         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11674
11675 2002-09-30  Tom Tromey  <tromey@redhat.com>
11676
11677         * java/io/ObjectInputStream.java (resolveProxyClass): New method
11678         from Classpath.
11679         * Makefile.in: Rebuilt.
11680         * Makefile.am (rmi_java_source_files): Added new files.
11681         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11682         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11683         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11684         Classpath.
11685         * gnu/java/rmi/dgc/DGCImpl.java,
11686         gnu/java/rmi/dgc/DGCImpl_Skel.java,
11687         gnu/java/rmi/dgc/DGCImpl_Stub.java,
11688         gnu/java/rmi/registry/RegistryImpl_Skel.java,
11689         gnu/java/rmi/registry/RegistryImpl_Stub.java,
11690         gnu/java/rmi/server/RMIHashes.java,
11691         gnu/java/rmi/server/RMIObjectInputStream.java,
11692         gnu/java/rmi/server/RMIObjectOutputStream.java,
11693         gnu/java/rmi/server/UnicastConnection.java,
11694         gnu/java/rmi/server/UnicastConnectionManager.java,
11695         gnu/java/rmi/server/UnicastRef.java,
11696         gnu/java/rmi/server/UnicastServer.java,
11697         gnu/java/rmi/server/UnicastServerRef.java,
11698         java/rmi/MarshalledObject.java,
11699         java/rmi/server/RMIClassLoader.java,
11700         java/rmi/server/RemoteObject.java,
11701         java/rmi/server/UnicastRemoteObject.java,
11702         java/security/SecureClassLoader.java: Merged from Classpath.
11703
11704 2002-09-29  Anthony Green  <green@redhat.com>
11705
11706         * java/lang/reflect/UndeclaredThrowableException.java: New file.
11707         Imported from GNU Classpath.
11708         * java/lang/reflect/natProxy.cc: New file.
11709         * java/lang/reflect/InvocationHandler.java: New file.  Imported
11710         from GNU Classpath.
11711         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
11712         Classpath.
11713         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11714         Classpath.
11715         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11716         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11717         New statics.
11718         * gcj/javaprims.h ("Java"): Add new classes.
11719         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11720         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11721         java/lang/reflect/Proxy$$ProxyType.h): And this.
11722         (inner_nat_headers): Add these new headers.
11723         (ordinary_java_source_files): Add new files.
11724         (nat_source_files): Add new file.
11725         * Makefile.in: Rebuilt.
11726
11727 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
11728
11729         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11730         a single configuration.
11731
11732 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11733
11734         * java/util/TimeZone.java (getDSTSavings): New method.
11735         Fixes PR libgcj/7786.
11736
11737 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11738
11739         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
11740         to see if `the_method == 0' before looking up vtable index.
11741         Fixes PR libgcj/7709.
11742
11743 2002-09-25  Tom Tromey  <tromey@redhat.com>
11744
11745         * java/lang/natClassLoader.cc:
11746         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
11747         * resolve.cc: Include NoClassDefFoundError.h, not
11748         ClassNotFoundException.h.
11749         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11750
11751         * defineclass.cc: Don't include ClassNotFoundException.h.
11752
11753         * resolve.cc: Include StringBuffer.
11754         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11755
11756         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11757         allocated but not initialized.
11758
11759 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11760
11761         Fix for PR libgcj/7766:
11762         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
11763         (getNextEntry): Set it.
11764         (closeEntry): Likewise.
11765         (read): Likewise.
11766         (close): Likewise.
11767         (available): Use it.
11768
11769 2002-09-25  Michael Koch  <konqueror@gmx.de>
11770
11771         * java/net/DatagramSocket.java
11772         (DatagramSocket): Initialize new instance variables.
11773         (close): Reset new instance variables.
11774         (getLocalAddress): Remove unneeded SecurityManager usage.
11775         (getLocalPort): Check if socket is already bound.
11776         (isConnected): New method.
11777         (getInetAddress): Implemented.
11778         (getPort): Better Implementation, documentation fixed.
11779         (getRemoteSocketAddress): New method.
11780         * java/net/JarURLConnection.java
11781         (element): Typo fixed.
11782         (getMainAttributes): New method.
11783         (getAttributes): New method (stub only).
11784         (getManifest): New method (stub only).
11785         * java/net/NetPermission.java: Added serialVersionsUID.
11786         * java/net/Socket.java
11787         (connect): Check blocking mode of associated channel,
11788         documentation added.
11789         (getLocalSocketAddress): Better implementation.
11790         (getRemoteSocketAddress): Implemented.
11791         (isBound): New method.
11792         (setSendBufferSize): Documentation added.
11793         * java/net/SocketAddress.java: Added serialVersionsUID.
11794         * java/net/SocketPermission.java: Added serialVersionsUID.
11795         * java/net/URL.java
11796         (URL): Wrap for shorter lines, initialize new instance variables,
11797         documentation added.
11798         (equals): Check new instance variables too.
11799         (getContent): Documentation added.
11800         (getPath): Documentation added.
11801         (getAuthority): New method.
11802         (getHost): Documentation added.
11803         (getPort): Documentation added.
11804         (getDefaultPort): New method.
11805         (getProtocol): Documentation added.
11806         (getUserInfo): Documentation added.
11807         (set): Initialize new instance variables, documentation added.
11808         * java/net/URLStreamHandler.java
11809         (setURL): New method.
11810         * java/net/natPlainDatagramSocketImpl.cc
11811         (connect): Fix exception name.
11812         (disconnect): Fix exception name.
11813
11814 2002-09-25  Michael Koch  <konqueror@gmx.de>
11815
11816         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
11817         * java/nio/channels/DatagramChannel.java:
11818         extends AbstractSelectableChannel
11819         * java/nio/channels/ServerSocketChannel.java:
11820         extends AbstractSelectableChannel
11821         * java/nio/channels/SocketChannel.java:
11822         extends AbstractSelectableChannel
11823         * Makefile.am (ordinary_java_source_files):
11824         java/nio/channels/spi/AbstractSelectableChannel.java added.
11825         * Makefile.in: Regenerated.
11826
11827 2002-09-25  Michael Koch  <konqueror@gmx.de>
11828
11829         * java/net/DatagramSocket.java
11830         (DatagramSocket): Exception documentation added.
11831         (bind): Exception documentation added, addded SecurityManager check,
11832         added SocketAddress type check.
11833         (getSoTimeout): Check impl.
11834         (receive): Fix SecurityManager check, check impl, documentation added.
11835         (send): Check channel mode, documentation added.
11836         (connect): New method.
11837         (disconnect): Implemented.
11838         (getLocalSocketAddress): New method.
11839         (getReceiveBufferSize): Check impl.
11840         (setReuseAddress): Check impl.
11841         (getReuseAddress): Check impl.
11842         (setBroadcast): Check impl.
11843         (getBroadcast): Check impl.
11844         (setTrafficClass): Check impl, Documentation cleared.
11845         (getTrafficClass): Check impl.
11846         (getSendBufferSize): Check impl.
11847         (setReceiveBufferSize): Check impl, documentation added.
11848         (setSendBufferSize): Documentation added.
11849         (setDatagramSocketImplFactory): New method.
11850         * java/net/HttpURLConnection.java
11851         (HTTP_INTERNAL_ERROR): The correct code is 500.
11852         (HTTP_NOT_IMPLEMENTED): Added new constant.
11853         (setFollowRedirects): Documentation added.
11854         (getInstanceFollowRedirects): New method.
11855         (setInstanceFollowRedirects): New method.
11856         (setRequestMethod): Documentation added.
11857         (getResponseCode): Documentation added.
11858         (getResponseMessage): Documentation added.
11859         * java/net/JarURLConnection.java
11860         (JarURLConnection): protected since JDK 1.4.
11861         (getJarEntry): java.io.IOException to IOException, documentation added.
11862         (getJarFile): Documentation added.
11863         * java/net/ServerSocket.java
11864         (ServerSocket): Private to public, exception added.
11865         (ServerSocket): java.io.IOException to IOException, documentation added.
11866         (bind): Check socket address type, documentation added.
11867         (bind): java.io.IOException to IOException, documentation added.
11868         (accept): Documentation added.
11869         (implAccept): Check ch is not non-blocking, documentation added.
11870         (setSoTimeout): Documentation fixed.
11871         (setReceiveBufferSize): Documentation added.
11872         * java/net/Socket.java
11873         (Socket): Documentation added.
11874         (bind): Documentation added.
11875         (connect): Check socket address type, documentation added.
11876         (getRemoteSocketAddress): New method.
11877         (getLocalSocketAddress): New method.
11878         (setSoLinger): Documentation added.
11879         (getReuseAddress): New method.
11880         (setReuseAddress): New method.
11881         (getTrafficClass): New method.
11882         (setTrafficClass): New method.
11883         * java/net/URLStreamHandler.java
11884         (openConnection): java.io.IOException to IOException.
11885         (parseURL): Documentation added.
11886         (sameFile): public to protected, documentation added.
11887         (setURL): Documentation added.
11888         * java/nio/IllegalBlockingModeException.java: New file.
11889         * Makefile.am (ordinary_java_source_files):
11890         added java/nio/IllegalBlockingModeException.java
11891         * Makefile.in: Regenerated.
11892
11893 2002-09-25  Michael Koch  <konqueror@gmx.de>
11894
11895         * java/net/DatagramPacket
11896         (DatagramPacket): Exception documentation added.
11897         (setData): Likewise.
11898         (setSocketAddress): Likewise.
11899         * java/net/DatagramSocketImpl.java
11900         (peek): Documentation addded.
11901         (peekData): Documentation addded.
11902         (send): Documentation addded.
11903         (receive): Documentation addded.
11904         (connect): New method.
11905         (disconnect): New method.
11906         (joinGroup): New abstract method.
11907         (leaveGroup): New abstract method.
11908         * java/net/InetSocketAddress.java
11909         (InetSocketAddress): Documentation added.
11910         (equals): final keyword added.
11911         (getAddress): final keyword added.
11912         (getHostName): final keyword added.
11913         (getPort): final keyword added.
11914         (hashCode): final keyword added.
11915         (isUnresolved): final keyword added.
11916         * java/net/MulticastSocket.java
11917         (MulticastSocket): Documentation added.
11918         (MulticastSocket): New method.
11919         (joinGroup): Documentation added.
11920         (joinGroup): New method.
11921         (leaveGroup): Documentation added.
11922         (leaveGroup): New method.
11923         (send): Documentation added.
11924         * java/net/NetworkInterface.java
11925         (getByName): Documentation added.
11926         (getByInetAddress): Documentation added.
11927         (getNetworkInterfaces): Documentation added.
11928         * java/net/PlainDatagramSocketImpl.java
11929         (connect): New method.
11930         (disconnect): New method.
11931         * java/net/SocketImpl.java
11932         (create): Documentation added.
11933         (shutdownInput): Convert public to protected, as it always was.
11934         (shutdownOutput): Convert public to protected, as it always was.
11935         * java/net/SocketOptions.java
11936         (whole file): Reintented.
11937         * java/net/URLClassLoader.java
11938         (URLClassLoader): SecurityManager check added, documentation added.
11939         (findResources): Documentation added.
11940         (findClass): Documentation added.
11941         (newInstance): More correct method arguments.
11942         * java/net/URLConnection.java
11943         (connect): Documentation added.
11944         (getContent): Documentation added.
11945         (getPermission): Documentation added.
11946         (getInputStream): Documentation added.
11947         (getOutputStream): Documentation added.
11948         (setDoInput): Throw correct exception, documentation added.
11949         (setDoOutput): Throw correct exception, documentation added.
11950         (setAllowUserInteraction): Throw correct exception, documentation added.
11951         (setUseCaches): Throw correct exception, documentation added.
11952         (setIfModifiedSince): Throw correct exception, documentation added.
11953         (setRequestProperty): Throw exception, documentation added.
11954         (addRequestProperty): Throw exception, documentation added.
11955         (getRequestProperty): Throw exception, documentation added.
11956         (getRequestProperties): Documentation added.
11957         (setContentHandlerFactory): Documentation added.
11958         (guessContentTypeFromName): protected to public.
11959         (setFileNameMap): Documentation added.
11960         * java/net/URLDecoder.java
11961         (URLDecoder): New method.
11962         (decode): Documentation added.
11963         (whole file): Reindented.
11964         * java/net/URLEncoder.java
11965         (encode): Documentation added.
11966         * java/net/natPlainDatagramSocketImpl.cc
11967         (connect): New method.
11968         (disconnect): New method.
11969         * javax/naming/RefAddr:
11970         (addrType): addrType was never final.
11971         (equals): Fix typo in method name.
11972         * javax/naming/BinaryRefAddr:
11973         (equals): Fix typo in method name.
11974
11975 2002-09-22  Tom Tromey  <tromey@redhat.com>
11976
11977         Fix for PR libgcj/6576:
11978         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
11979         didn't find a given bundle.
11980         (getBundle): Don't require base bundle.
11981         (setParent): Removed old comment.
11982         (tryLocalBundle): Try components even if preceding components were
11983         empty.
11984
11985 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11986
11987         * Makefile.am (all-multi): Fix multilib parallel build.
11988
11989 2002-09-21  Michael Koch  <konqueror@gmx.de>
11990
11991         * java/net/Socket.java
11992         (sendUrgentData): New method.
11993         (getChannel): New method.
11994         * java/net/ServerSocket.java
11995         (getChannel): New method.
11996         (isBound): New method.
11997         * java/net/DatagramSocket.java
11998         (DatagramSocket): Two new methods.
11999         (bind): New method.
12000         (getChannel): New method.
12001         (isBound): New method.
12002         (send): Added newline to to make shorter lines.
12003         * java/net/PlainDatagramSocketImpl.java
12004         (mcastGrp): Added argument.
12005         (join): Use new mcastGrp.
12006         (leave): Use new mcastGrp.
12007         (joinGroup): New method.
12008         (leaveGroup): New method.
12009         * java/net/natPlainDatagramSocketImpl.cc
12010         (mcastGrp): Added argument, no yet really implemented.
12011         (getOption): Added newline for shorter lines.
12012         * java/net/natPlainSocketImpl.cc
12013         (read, setOption, getOption): Added newline for shorter lines.
12014
12015 2002-09-19  Tom Tromey  <tromey@redhat.com>
12016
12017        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12018        newly-created exception.
12019
12020 2002-09-18  Michael Koch  <konqueror@gmx.de>
12021
12022         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12023         java/util/regex/PatternSyntaxException.java:
12024         Merge with classpath, new files.
12025         * Makefile.am (core_java_source_files):
12026         Added java/util/regex/Matcher.java,
12027         java/util/regex/Pattern.java,
12028         java/util/regex/PatternSyntaxException.java
12029         * Makefile.in: Regenerated.
12030         * include/config.h.in: Added HAVE_NET_IF_H.
12031         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12032         Removed #if 0 ... #endif.
12033
12034 2002-09-17  Michael Koch  <konqueror@gmx.de>
12035
12036         * java/net/natNetworkInterface.cc:
12037         Removed unneed and yet wrong includes.
12038
12039 2002-09-17  Michael Koch  <konqueror@gmx.de>
12040
12041         * java/net/NetworkInterface.java: New file.
12042         * java/net/natNetworkInterface.java: New file.
12043         * configure.in: Added check for net/if.h.
12044         * configure: Regenerated.
12045         * Makefile.am
12046         (ordinary_java_source_files): Added NetworkInterface.java.
12047         (nat_source_files): Added natNetworkInterface.cc.
12048         * Makefile.in: Regenerated.
12049
12050 2002-09-16  Tom Tromey  <tromey@redhat.com>
12051
12052         * java/net/URLClassLoader.java (findClass): Code source for a
12053         class from a jar is not necessarily a jar: URL.
12054
12055 2002-09-16  Michael Koch  <konqueror@gmx.de>
12056
12057         * java/lang/AssertionError.java:
12058         Merge with classpath, fixes HTML.
12059         * java/rmi/server/LogStream.java:
12060         Merge with classpath, fixes some constants.
12061         * java/net/server/RemoteServer.java:
12062         Merge with classpath, adds serialVersionUID.
12063         * javax/naming/BinaryRefAddr.java:
12064         Merge with classpath, s/equal/equals/.
12065         * javax/naming/NamingException.java:
12066         Merge with classpath, fixed typo.
12067         * javax/naming/RefAddr.java:
12068         Merge with classpath, s/equal/equals/.
12069         * java/awt/Toolkit.java:
12070         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12071         and typo fixed.
12072
12073 2002-09-15  Adam Megacz <adam@xwt.org>
12074
12075         * java/net/natPlainSocketImpl.cc: fixed typo.
12076
12077 2002-09-15  Adam Megacz <adam@xwt.org>
12078
12079         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12080         which don't work on Win32 (yet).
12081
12082 2002-09-14  Adam Megacz <adam@xwt.org>
12083
12084         * java/net/natPlainDatagramSocket.cc: removed #include
12085         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12086         * include/win32.h: included definition for IP_TOS to satisfy
12087         natPlainDatagramSocket.cc
12088
12089 2002-09-13  Michael Koch  <konqueror@gmx.de>
12090
12091         * java/net/DatagramPacket.java (DatagramPacket):
12092         Added linebreak for 80 chars per line.
12093         * java/net/JarURLConection.java
12094         (getInputStreami, getJarEntry): Likewise.
12095         * java/net/SocketPErmission.java
12096         (SocketPermission class docu, implies): Likewise.
12097         * java/net/URLClassLoader.java (findResources): Likewise.
12098         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12099
12100 2002-09-13  Michael Koch  <konqueror@gmx.de>
12101
12102         * java/nio/channels/DatagramChannel.java,
12103         java/nio/channels/ServerSocketChannel.java
12104         java/nio/channels/SocketChannel.java:
12105         New dummy files to make java.net fully JDK 1.4 compatible
12106         * Makefile.am (ordinary_java_source_files): Added
12107         java/net/DatagramSocketImplFactory.java (long forgotten),
12108         java/nio/SocketChannel.java,
12109         java/nio/ServerSocketChannel.java,
12110         java/nio/DatagramChannel.java
12111         * Makefile.in: Regenrated.
12112
12113 2002-09-12  Michael Koch  <konqueror@gmx.de>
12114
12115         * java/net/DatagramSocketImpl.java
12116         (peekData): New method.
12117         * java/net/PlainDatagramSocketImpl.java
12118         (peekData): New method.
12119         * java/net/natPlainDatagramSocketImpl.cc
12120         (peekData): New method.
12121         * java/net/URLConnection
12122         (getPermission): New method.
12123         (addRequestProperty): New method.
12124         (getRequestProperties): New method.
12125         (guessContentTypeFromStream): New method, not really implemented.
12126         (URLConnection): Added/updated documentation.
12127         (connect): Added/updated documentation.
12128         (getURL): Added/updated documentation.
12129         (getContentLength): Added/updated documentation.
12130         (getContentType: Added/updated documentation.
12131         (getContentEncoding): Added/updated documentation.
12132         (getExpiration): Added/updated documentation.
12133         (getDate): Added/updated documentation.
12134         (getLastModified): Added/updated documentation.
12135         (getHeaderField): Added/updated documentation.
12136         (getHeaderFields): Added/updated documentation.
12137         (getHeaderFieldInt): Added/updated documentation.
12138         (getHeaderFieldDate): Added/updated documentation.
12139         (getHeaderFieldKey): Added/updated documentation.
12140         (getContent): Added/updated documentation.
12141         (getInputStream): Added/updated documentation.
12142         (getOutputStream): Added/updated documentation.
12143         (toString): Added/updated documentation.
12144         (setDoInput): Added/updated documentation.
12145         (getDoInput): Added/updated documentation.
12146         (setDoOutput): Added/updated documentation.
12147         (getDoOutput): Added/updated documentation.
12148         (setAllowUserInteraction): Added/updated documentation.
12149         (getAllowUserInteraction): Added/updated documentation.
12150         (setDefaultAllowUserInteraction): Added/updated documentation.
12151         (getDefaultAllowUserInteraction): Added/updated documentation.
12152         (setUseCaches): Added/updated documentation.
12153         (getUseCaches): Added/updated documentation.
12154         (setIfModifiedSince): Added/updated documentation.
12155         (getIfModifiedSince): Added/updated documentation.
12156         (getDefaultUseCaches): Added/updated documentation.
12157         (setDefaultUseCaches): Added/updated documentation.
12158         (setRequestProperty): Added/updated documentation.
12159         (getRequestProperty): Added/updated documentation.
12160         (setDefaultRequestProperty): Added/updated documentation.
12161         (getDefaultRequestProperty): Added/updated documentation.
12162         (setContentHandlerFactory): Added/updated documentation.
12163         (guessContentTypeFromName): Added/updated documentation.
12164         (getFileNameMap): Added/updated documentation.
12165         (setFileNameMap): Added/updated documentation.
12166
12167 2002-09-11  Michael Koch  <konqueror@gmx.de>
12168
12169         * java/net/Socket.java
12170         (Socket): protected to public (since JDK 1.4). Added @specnote.
12171         (bind): New method.
12172         (connect): Two new methods.
12173         (getKeepalive): Get correct socket option.
12174         (setKeepalive): Set correct socket option.
12175         (getOOBInline): New method.
12176         (setOOBInline): New method.
12177         * java/net/ServerSocket.java
12178         (bind): Two new methods.
12179         (getInetAddress): Reimplemented, catch exception.
12180         (getLocalSocketAddress): New method.
12181         (setReuseAddress): New method.
12182         (getReuseAdress): New method.
12183         (setReceiveBufferSize): New method.
12184         (getReceiveBufferSize): New method.
12185         (toString): Made string JDK 1.4 compliant.
12186
12187 2002-09-10  Michael Koch  <konqueror@gmx.de>
12188
12189         * java/net/SocketImpl.java
12190         (connect): New method.
12191         (supportsUrgentData): New method.
12192         (sendUrgentData): New method.
12193         * java/net/PlainSocketImpl.java
12194         (connect): One new method and two new implementation.
12195         (sendUrgentData): New method.
12196         * java/natPlainSocketImpl.cc
12197         (connect): Arguments changed, added support for timeouts.
12198         (getOption): Another __java_boolean to jboolean.
12199
12200 2002-09-07  Adam Megacz <adam@xwt.org>
12201
12202         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12203         definition of IP_TOS.
12204
12205 2002-09-04  Michael Koch  <konqueror@gmx.de>
12206
12207         * java/net/DatagramSocket.java
12208         (DatagramSocket): Added documentation.
12209         (close): Likewise.
12210         (getLocalAddress): Likewise.
12211         (getLocalPort): Likewise.
12212         (receive): Likewise.
12213         (send): Likewise.
12214         (setSoTimeout): Likewise.
12215         (connect): New method.
12216         (disconnect): New method.
12217         (getInetAddress): New method (FIXME)
12218         (getPort): New method.
12219         (setReuseAddress): New method.
12220         (getReuseAddress): New method.
12221         (setBroadcast): New method.
12222         (getBroadcast): New method.
12223         (setTrafficClass): New method.
12224         (getTrafficClass): New method.
12225         * java/net/MulticastSocket.java):
12226         (getTTL): Added @see in documentation.
12227         (setTTL): Added @see in documentation.
12228         (setLoopbackMode): New method.
12229         (getLoopbackMode): New method.
12230         * java/net/PlainSocketImpl.java:
12231         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12232         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12233         * java/net/PlainDatagramSocketImpl.java
12234         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12235         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12236         * java/net/natPlainSocketImpl.cc
12237         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12238         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12239         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12240         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12241         This should also fix SO_KEEPALIVE
12242         * java/net/natPlainDatagramSocketImpl.cc
12243         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12244         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12245         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12246         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12247
12248 2002-09-04  Michael Koch  <konqueror@gmx.de>
12249
12250         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12251         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12252         IP_MULTICAST_LOOP, IP_TOS
12253
12254 2002-09-03  Tom Tromey  <tromey@redhat.com>
12255
12256         * java/lang/Class.h (_getDeclaredMethod): Declare.
12257         (_getMethod): Now private.
12258         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12259         getDeclaredMethod.  Now returns NULL on failure.
12260         * java/lang/Class.java (_getDeclaredMethod): Declare.
12261         (getDeclaredMethod): No longer native; implements access checks.
12262
12263 2002-09-01  Mark Wielaard  <mark@klomp.org>
12264
12265         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12266         (sanitizeStack): Correctly reset unknown and interpreter counters,
12267         detect interpreter runtime frames.
12268         (demangleInterpreterMethod): New method.
12269         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12270         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12271         filling in addrs[].
12272
12273 2002-09-02  Michael Koch  <konqueror@gmx.de>
12274
12275         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12276         re-indented documentation.
12277
12278 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12279
12280         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12281         public, per 1.4 spec.  Fixes PR libgcj/7785.
12282
12283 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12284
12285         * Makefile.in: Rebuilt.
12286         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12287
12288 2002-08-29  Tom Tromey  <tromey@redhat.com>
12289
12290         * java/net/JarURLConnection.java (getCertificates): New method
12291         from Classpath.
12292         * java/net/URLClassLoader.java (URLClassLoader): Extends
12293         SecureClassLoader.
12294         (definePackage): New method from Classpath.
12295         (getPermissions): Likewise.
12296         (newInstance): Likewise.
12297         (findClass): Construct CodeSource for new class (from Classpath).
12298         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12299         methods.
12300         * java/net/URL.java (getUserInfo): New method.
12301         (set(String,String,int,String,String,String,String,String)): New
12302         method.
12303         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12304         (shutdownInput, shutdownOutput): Declare.
12305         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12306         Define.
12307         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12308         (getOption): Likewise.
12309         (shutdownInput): New method.
12310         (shutdownOutput): Likewise.
12311         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12312         keepalive.
12313         (getOption): Likewise.
12314         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12315         * java/net/Socket.java (setKeepAlive): New method.
12316         (getKeepAlive): Likewise.
12317         (shutdownInput, shutdownOutput): New methods.
12318
12319 2002-08-29  Michael Koch  <konqueror@gmx.de>
12320
12321         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12322         new methods are:
12323         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12324           address),
12325         DatagramPacket(byte[] buf, int length, SocketAddress address),
12326         void setSocketAddress(SocketAddress address)
12327         public SocketAddress getSocketAddress()
12328
12329 2002-08-29  Tom Tromey  <tromey@redhat.com>
12330
12331         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12332         ftruncate is missing.
12333         * configure, include/config.h.in: Rebuilt.
12334         * acconfig.h (HAVE_FTRUNCATE): Mention.
12335         * configure.in: Check for ftruncate.
12336
12337 2002-08-29  Tom Tromey  <tromey@redhat.com>
12338
12339         * include/jvm.h (struct _Jv_frame_info): New structure.
12340         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12341         java-interp.h.
12342         (lookupInterp): New method.
12343         (getAddrAsString): Use _Jv_frame_info.
12344         (dladdrLookup): Likewise.
12345         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12346         interpreted frame.
12347         (lookupInterp): Declare.
12348         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12349         (fillInStackTrace): Collect information on interpreted frames.
12350         Use _Jv_frame_info.
12351         * interpret.cc: Include Thread.h.
12352         (run): Create and push _Jv_MethodChain object.
12353         (_Jv_EndOfInterpreter): New global.
12354         * java/lang/Thread.java (interp_frame): New field.
12355         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12356         Include NameFinder.h.
12357
12358 2002-08-28  Tom Tromey  <tromey@redhat.com>
12359
12360         * java/lang/Class.h: Include Package.h.
12361         (Class::getProtectionDomain): Declare.
12362         (Class::getPackage): Declare.
12363
12364 2002-08-28  Michael Koch <konqueror@gmx.de>
12365
12366         * java/net/InetSocketAddress.java: Added some documentation and argument
12367         checks for the port numbers.
12368         * java/net/DatagramSocketImplFactory.java: New file.
12369
12370 2002-08-28  Michael Koch <konqueror@gmx.de>
12371
12372         * java/net/Authenticator.java: added some documentation.
12373
12374 2002-08-27  Tom Tromey  <tromey@redhat.com>
12375
12376         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12377         class.
12378         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12379
12380 2002-08-27  Michael Koch <konqueror@gmx.de>
12381
12382         * java/net/BindException.java,
12383         java/net/JarURLConnection.java,
12384         java/net/FileNameMap.java,
12385         java/net/HttpURLConnection.java,
12386         java/net/InetSocketAddress.java,
12387         java/net/DatagramPacket.java,
12388         java/net/DatagramSocket.java,
12389         java/net/DatagramSocketImpl.java,
12390         java/net/MulticastSocket.java,
12391         java/net/PasswordAuthentication.java,
12392         java/net/ServerSocket.java,
12393         java/net/Socket.java,
12394         java/net/URLClassLoader.java,
12395         java/net/URLConnection.java: add/update of some @since/@deprecated
12396
12397 2002-08-27  Tony Kimball <alk@pobox.com>
12398             Tom Tromey  <tromey@redhat.com>
12399
12400         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12401         define.
12402         (::close): Removed.
12403         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12404         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12405         (::close): Removed.
12406         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12407         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12408
12409 2002-08-25  Adam Megacz <adam@xwt.org>
12410
12411         * include/win32.h (getcwd): copied function declaration as
12412         temporary fix for header confusion.
12413
12414 2002-08-24  Mark Wielaard <mark@klomp.org>
12415
12416         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12417         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12418         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12419         and natNameFinder.cc.
12420         * Makefile.in: Regenerate.
12421         * prims.cc: Use trace_enabled from VMThrowable.
12422         * name-finder.cc: Removed.
12423         * gcj/javaprims.h: Add class VMThrowable.
12424         * gnu/gcj/runtime/NameFinder.java: New file.
12425         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12426         * include/name-finder.h: Removed.
12427         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12428         method stackTraceString().
12429         (printStackTrace (PrintWriter)): Likewise.
12430         (stackTraceString): Complete rewrite of old printStackTrace using
12431         StringBuffer.
12432         (stackTraceStringBuffer): New helper method for stackTraceString().
12433         (fillInStackTrace): Delegate to VMTrowable.
12434         (getStackTrace): Likewise.
12435         (getStackTrace0): Removed.
12436         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12437         (setStackTrace): Copy given array.
12438         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12439         * java/lang/VMThrowable.java: New class.
12440         * java/lang/natVMThrowable.cc: New file.
12441
12442 2003-08-23  Michael Koch  <konqueror@gmx.de>
12443
12444         * java/net/URLConnection.java,
12445         java/netJarURLConnection.java,
12446         gnu/gcj/protocol/core/Connection.java,
12447         gnu/gcj/protocol/file/Connection.java,
12448         gnu/gcj/protocol/http/Connection.java: Added implementation of
12449         getHeaderFields().
12450
12451 2002-08-22  Tom Tromey  <tromey@redhat.com>
12452
12453         * gij.cc (help): Document -cp and -classpath.
12454         (main): Handle -classpath.
12455
12456 2002-08-21  Tom Tromey  <tromey@redhat.com>
12457
12458         * Makefile.in: Rebuilt.
12459         * Makefile.am (ordinary_java_source_files): Added
12460         SocketAddress.java, InetSocketAddress.java.
12461         * java/net/PortUnreachableException.java: Merged with Classpath.
12462         * java/net/SocketTimeoutException.java: Likewise.
12463         * java/net/URISyntaxException.java: Likewise.
12464         * java/net/SocketAddress.java: New class from Classpath.
12465         * java/net/InetSocketAddress.java: Likewise.
12466
12467 2003-08-21  Michael Koch  <konqueror@gmx.de>
12468
12469         * java/net/Authenticator.java: updated JDK 1.4
12470         * java/net/ContentHandler.java: updated JDK 1.4
12471
12472 2002-08-20  Michael Koch  <konqueror@gmx.de>
12473
12474         * java/net/URISyntaxException.java: New file.
12475         * java/net/SocketTimeoutException.java: New file.
12476         * java/net/PortUnreachableException.java: New file.
12477         * Makefile.am: Updated.
12478         * Makefile.in: Rebuilt.
12479
12480 2002-08-18  Mark Wielaard  <mark@klomp.org>
12481
12482         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12483         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12484         MessageDigestSpi (fixes Classpath bug #783).
12485
12486 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12487
12488         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12489         (startProcess): Allocate path for chdir in async-signal-safe way.
12490
12491 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12492
12493         Fix for PR libgcj/7570 and PR libgcj/7578:
12494         * java/lang/natPosixProcess.cc: Include java/io/File.h.
12495         (startProcess): Handle new `dir' argument.
12496         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12497         argument.
12498         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12499         argument.
12500         (startProcess): Likewise.
12501         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12502         argument.
12503         * java/lang/Runtime.java (execInternal): Added `dir' argument.
12504         (exec): Don't create new environment if ENV==null.  Pass DIR to
12505         execInternal.
12506         * java/lang/natRuntime.cc: Include java/io/File.h.
12507         (execInternal): Added `dir' argument.
12508
12509 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
12510
12511         * java/io/RandomAccessFile.java (skipBytes): Return number of
12512         bytes skipped.
12513
12514 2002-08-01  Mark Wielaard  <mark@klomp.org>
12515
12516         Reenable patch since shared library troubles on powerpc are solved:
12517         * gnu/java/security/provider/Gnu.java: Reference all implementation
12518         classes by using Class.getName().
12519         * gnu/java/security/der/DEREncodingException.java,
12520         gnu/java/security/provider/DERReader.java,
12521         gnu/java/security/provider/DERWriter.java,
12522         gnu/java/security/provider/DSAKeyPairGenerator.java,
12523         gnu/java/security/provider/DSAParameterGenerator.java,
12524         gnu/java/security/provider/DSAParameters.java,
12525         gnu/java/security/provider/DSASignature.java,
12526         gnu/java/security/provider/GnuDSAPrivateKey.java,
12527         gnu/java/security/provider/GnuDSAPublicKey.java,
12528         gnu/java/security/provider/MD5.java,
12529         gnu/java/security/util/Prime.java: New classes
12530         * Makefile.am (ordinary_java_source_files): Add above files.
12531         * Makefile.in: Regenerate.
12532         * gnu/java/security/provider/DefaultPolicy.java
12533         (getPermissions): Don't maintain static class variable of Permissions.
12534         * gnu/java/security/provider/SHA.java
12535         (engineUpdate): algorithm change.
12536         (engineDigest): algorithm change.
12537
12538 2002-08-09  Mark Wielaard  <mark@klomp.org>
12539
12540         * java/awt/image/MemoryImageSource.java: Change constructor to take
12541         int[] not byte[].
12542         * java/awt/Graphics2D.java: Uncomment methods that can now be
12543         compiled.
12544         * java/awt/GridBagLayout.java: New stub implementation.
12545         * javax/swing/text/html/HTML.java: Stub implementation.
12546         * javax/swing/text/html/parser/ParserDelegator.java: New stub
12547         implementation.
12548
12549         * Makefile.am: Add new files.
12550         * Makefile.in: Rebuilt.
12551
12552 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12553
12554         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12555         methods in Graphics2D.
12556
12557 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12558
12559         AWT/Swing merge from GNU Classpath.
12560
12561         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12562         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12563         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12564         java/awt/color/ProfileDataException.java,
12565         java/awt/CompositeContext.java, java/awt/Composite.java,
12566         java/awt/ContainerOrderFocusTraversalPolicy.java,
12567         java/awt/datatransfer/FlavorTable.java,
12568         java/awt/DefaultFocusTraversalPolicy.java,
12569         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12570         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12571         java/awt/dnd/DragGestureListener.java,
12572         java/awt/dnd/DragGestureRecognizer.java,
12573         java/awt/dnd/DragSourceAdapter.java,
12574         java/awt/dnd/DragSourceContext.java,
12575         java/awt/dnd/DragSourceDragEvent.java,
12576         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12577         java/awt/dnd/DragSourceListener.java,
12578         java/awt/dnd/DragSourceMotionListener.java,
12579         java/awt/dnd/DropTarget.java,
12580         java/awt/dnd/InvalidDnDOperationException.java,
12581         java/awt/dnd/peer/DragSourceContextPeer.java,
12582         java/awt/event/AWTEventListenerProxy.java,
12583         java/awt/event/MouseWheelEvent.java,
12584         java/awt/event/MouseWheelListener.java,
12585         java/awt/event/WindowFocusListener.java,
12586         java/awt/event/WindowStateListener.java,
12587         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12588         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12589         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12590         java/awt/geom/FlatteningPathIterator.java,
12591         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12592         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12593         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12594         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12595         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12596         java/awt/image/ImagingOpException.java,
12597         java/awt/image/RasterFormatException.java,
12598         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12599         java/awt/image/VolatileImage.java,
12600         java/awt/image/WritableRenderedImage.java,
12601         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12602         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12603         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12604         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12605         java/awt/PageAttributes.java, java/awt/print/Book.java,
12606         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12607         java/awt/print/Paper.java, java/awt/print/Printable.java,
12608         java/awt/print/PrinterAbortException.java,
12609         java/awt/print/PrinterException.java,
12610         java/awt/print/PrinterGraphics.java,
12611         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12612         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12613         java/awt/Stroke.java, java/awt/TexturePaint.java,
12614         javax/accessibility/AccessibleAction.java,
12615         javax/accessibility/AccessibleBundle.java,
12616         javax/accessibility/AccessibleComponent.java,
12617         javax/accessibility/AccessibleContext.java,
12618         javax/accessibility/AccessibleEditableText.java,
12619         javax/accessibility/AccessibleExtendedComponent.java,
12620         javax/accessibility/AccessibleExtendedTable.java,
12621         javax/accessibility/AccessibleHyperlink.java,
12622         javax/accessibility/AccessibleHypertext.java,
12623         javax/accessibility/AccessibleIcon.java,
12624         javax/accessibility/Accessible.java,
12625         javax/accessibility/AccessibleKeyBinding.java,
12626         javax/accessibility/AccessibleRelation.java,
12627         javax/accessibility/AccessibleRelationSet.java,
12628         javax/accessibility/AccessibleResourceBundle.java,
12629         javax/accessibility/AccessibleRole.java,
12630         javax/accessibility/AccessibleSelection.java,
12631         javax/accessibility/AccessibleState.java,
12632         javax/accessibility/AccessibleStateSet.java,
12633         javax/accessibility/AccessibleTable.java,
12634         javax/accessibility/AccessibleTableModelChange.java,
12635         javax/accessibility/AccessibleText.java,
12636         javax/accessibility/AccessibleValue.java,
12637         javax/swing/AbstractAction.java,
12638         javax/swing/AbstractButton.java,
12639         javax/swing/AbstractCellEditor.java,
12640         javax/swing/AbstractListModel.java,
12641         javax/swing/AbstractSet.java, javax/swing/Action.java,
12642         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12643         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12644         javax/swing/border/CompoundBorder.java,
12645         javax/swing/border/EmptyBorder.java,
12646         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12647         javax/swing/border/LineBorder.java,
12648         javax/swing/border/MatteBorder.java,
12649         javax/swing/border/TitledBorder.java,
12650         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12651         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12652         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12653         javax/swing/CellRendererPane.java,
12654         javax/swing/colorchooser/AbstractColorChooserPanel.java,
12655         javax/swing/colorchooser/ColorChooserComponentFactory.java,
12656         javax/swing/colorchooser/ColorSelectionModel.java,
12657         javax/swing/colorchooser/DefaultColorSelectionModel.java,
12658         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12659         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12660         javax/swing/DefaultBoundedRangeModel.java,
12661         javax/swing/DefaultButtonModel.java,
12662         javax/swing/DefaultCellEditor.java,
12663         javax/swing/DefaultCellRenderer.java,
12664         javax/swing/DefaultComboBoxModel.java,
12665         javax/swing/DefaultDesktopManager.java,
12666         javax/swing/DefaultFocusManager.java,
12667         javax/swing/DefaultListCellRenderer.java,
12668         javax/swing/DefaultListModel.java,
12669         javax/swing/DefaultListSelectionModel.java,
12670         javax/swing/DefaultSingleSelectionModel.java,
12671         javax/swing/DesktopManager.java,
12672         javax/swing/event/AncestorEvent.java,
12673         javax/swing/event/AncestorListener.java,
12674         javax/swing/event/CaretEvent.java,
12675         javax/swing/event/CaretListener.java,
12676         javax/swing/event/CellEditorListener.java,
12677         javax/swing/event/ChangeEvent.java,
12678         javax/swing/event/ChangeListener.java,
12679         javax/swing/event/DocumentEvent.java,
12680         javax/swing/event/DocumentListener.java,
12681         javax/swing/event/EventListenerList.java,
12682         javax/swing/event/HyperlinkEvent.java,
12683         javax/swing/event/HyperlinkListener.java,
12684         javax/swing/event/InternalFrameAdapter.java,
12685         javax/swing/event/InternalFrameEvent.java,
12686         javax/swing/event/InternalFrameListener.java,
12687         javax/swing/event/ListDataEvent.java,
12688         javax/swing/event/ListDataListener.java,
12689         javax/swing/event/ListSelectionEvent.java,
12690         javax/swing/event/ListSelectionListener.java,
12691         javax/swing/event/MenuDragMouseEvent.java,
12692         javax/swing/event/MenuDragMouseListener.java,
12693         javax/swing/event/MenuEvent.java,
12694         javax/swing/event/MenuKeyEvent.java,
12695         javax/swing/event/MenuKeyListener.java,
12696         javax/swing/event/MenuListener.java,
12697         javax/swing/event/MouseInputAdapter.java,
12698         javax/swing/event/MouseInputListener.java,
12699         javax/swing/event/PopupMenuEvent.java,
12700         javax/swing/event/PopupMenuListener.java,
12701         javax/swing/event/SwingPropertyChangeSupport.java,
12702         javax/swing/event/TableColumnModelEvent.java,
12703         javax/swing/event/TableColumnModelListener.java,
12704         javax/swing/event/TableModelEvent.java,
12705         javax/swing/event/TableModelListener.java,
12706         javax/swing/event/TreeExpansionEvent.java,
12707         javax/swing/event/TreeExpansionListener.java,
12708         javax/swing/event/TreeModelEvent.java,
12709         javax/swing/event/TreeModelListener.java,
12710         javax/swing/event/TreeSelectionEvent.java,
12711         javax/swing/event/TreeSelectionListener.java,
12712         javax/swing/event/TreeWillExpandListener.java,
12713         javax/swing/event/UndoableEditEvent.java,
12714         javax/swing/event/UndoableEditListener.java,
12715         javax/swing/filechooser/FileFilter.java,
12716         javax/swing/filechooser/FileSystemView.java,
12717         javax/swing/filechooser/FileView.java,
12718         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12719         javax/swing/Icon.java, javax/swing/ImageIcon.java,
12720         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12721         javax/swing/JApplet.java, javax/swing/JButton.java,
12722         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12723         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12724         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12725         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12726         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12727         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12728         javax/swing/JLayeredPane.java, javax/swing/JList.java,
12729         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12730         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12731         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12732         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12733         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12734         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12735         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
12736         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
12737         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
12738         javax/swing/JTextField.java, javax/swing/JTextPane.java,
12739         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
12740         javax/swing/JToolTip.java, javax/swing/JTree.java,
12741         javax/swing/JViewport.java, javax/swing/JWindow.java,
12742         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
12743         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
12744         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
12745         javax/swing/MenuSelectionManager.java,
12746         javax/swing/MutableComboBoxModel.java,
12747         javax/swing/OverlayLayout.java,
12748         javax/swing/plaf/ActionMapUIResource.java,
12749         javax/swing/plaf/basic/BasicBorders.java,
12750         javax/swing/plaf/basic/BasicButtonUI.java,
12751         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12752         javax/swing/plaf/basic/BasicDefaults.java,
12753         javax/swing/plaf/basic/BasicGraphicsUtils.java,
12754         javax/swing/plaf/basic/BasicIconFactory.java,
12755         javax/swing/plaf/basic/BasicLabelUI.java,
12756         javax/swing/plaf/basic/BasicListUI.java,
12757         javax/swing/plaf/basic/BasicLookAndFeel.java,
12758         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12759         javax/swing/plaf/basic/BasicPanelUI.java,
12760         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12761         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12762         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12763         javax/swing/plaf/basic/BasicTextUI.java,
12764         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12765         javax/swing/plaf/basic/BasicTreeUI.java,
12766         javax/swing/plaf/basic/BasicViewportUI.java,
12767         javax/swing/plaf/BorderUIResource.java,
12768         javax/swing/plaf/ButtonUI.java,
12769         javax/swing/plaf/ColorChooserUI.java,
12770         javax/swing/plaf/ColorUIResource.java,
12771         javax/swing/plaf/ComboBoxUI.java,
12772         javax/swing/plaf/ComponentInputMapUIResource.java,
12773         javax/swing/plaf/ComponentUI.java,
12774         javax/swing/plaf/DesktopIconUI.java,
12775         javax/swing/plaf/DesktopPaneUI.java,
12776         javax/swing/plaf/DimensionUIResource.java,
12777         javax/swing/plaf/FileChooserUI.java,
12778         javax/swing/plaf/FontUIResource.java,
12779         javax/swing/plaf/IconUIResource.java,
12780         javax/swing/plaf/InputMapUIResource.java,
12781         javax/swing/plaf/InsetsUIResource.java,
12782         javax/swing/plaf/InternalFrameUI.java,
12783         javax/swing/plaf/LabelUI.java,
12784         javax/swing/plaf/ListUI.java,
12785         javax/swing/plaf/MenuBarUI.java,
12786         javax/swing/plaf/MenuItemUI.java,
12787         javax/swing/plaf/OptionPaneUI.java,
12788         javax/swing/plaf/PanelUI.java,
12789         javax/swing/plaf/PopupMenuUI.java,
12790         javax/swing/plaf/ProgressBarUI.java,
12791         javax/swing/plaf/RootPaneUI.java,
12792         javax/swing/plaf/ScrollBarUI.java,
12793         javax/swing/plaf/ScrollPaneUI.java,
12794         javax/swing/plaf/SeparatorUI.java,
12795         javax/swing/plaf/SliderUI.java,
12796         javax/swing/plaf/SplitPaneUI.java,
12797         javax/swing/plaf/TabbedPaneUI.java,
12798         javax/swing/plaf/TableHeaderUI.java,
12799         javax/swing/plaf/TableUI.java,
12800         javax/swing/plaf/TextUI.java,
12801         javax/swing/plaf/ToolBarUI.java,
12802         javax/swing/plaf/ToolTipUI.java,
12803         javax/swing/plaf/TreeUI.java,
12804         javax/swing/plaf/UIResource.java,
12805         javax/swing/plaf/ViewportUI.java,
12806         javax/swing/ProgressMonitorInputStream.java,
12807         javax/swing/ProgressMonitor.java,
12808         javax/swing/Renderer.java,
12809         javax/swing/RepaintManager.java,
12810         javax/swing/RootPaneContainer.java,
12811         javax/swing/Scrollable.java,
12812         javax/swing/ScrollPaneConstants.java,
12813         javax/swing/ScrollPaneLayout.java,
12814         javax/swing/SingleSelectionModel.java,
12815         javax/swing/SizeRequirements.java,
12816         javax/swing/SizeSequence.java,
12817         javax/swing/SwingConstants.java,
12818         javax/swing/SwingUtilities.java,
12819         javax/swing/table/AbstractTableModel.java,
12820         javax/swing/table/DefaultTableCellRenderer.java,
12821         javax/swing/table/DefaultTableColumnModel.java,
12822         javax/swing/table/DefaultTableModel.java,
12823         javax/swing/table/TableCellEditor.java,
12824         javax/swing/table/TableCellRenderer.java,
12825         javax/swing/table/TableColumn.java,
12826         javax/swing/table/TableColumnModel.java,
12827         javax/swing/table/TableModel.java,
12828         javax/swing/text/AbstractDocument.java,
12829         javax/swing/text/AttributeSet.java,
12830         javax/swing/text/BadLocationException.java,
12831         javax/swing/text/Caret.java,
12832         javax/swing/text/CharacterIterator.java,
12833         javax/swing/text/ComponentView.java,
12834         javax/swing/text/DefaultCaret.java,
12835         javax/swing/text/DefaultEditorKit.java,
12836         javax/swing/text/Document.java,
12837         javax/swing/text/EditorKit.java,
12838         javax/swing/text/Element.java,
12839         javax/swing/text/GapContent.java,
12840         javax/swing/text/JTextComponent.java,
12841         javax/swing/text/Keymap.java,
12842         javax/swing/text/MutableAttributeSet.java,
12843         javax/swing/text/PlainDocument.java,
12844         javax/swing/text/PlainEditorKit.java,
12845         javax/swing/text/Position.java,
12846         javax/swing/text/Segment.java,
12847         javax/swing/text/StyledDocument.java,
12848         javax/swing/text/StyledEditorKit.java,
12849         javax/swing/text/Style.java,
12850         javax/swing/text/TextAction.java,
12851         javax/swing/text/ViewFactory.java,
12852         javax/swing/text/View.java,
12853         javax/swing/Timer.java,
12854         javax/swing/ToggleButtonModel.java,
12855         javax/swing/ToolTipManager.java,
12856         javax/swing/tree/AbstractLayoutCache.java,
12857         javax/swing/tree/DefaultMutableTreeNode.java,
12858         javax/swing/tree/DefaultTreeCellEditor.java,
12859         javax/swing/tree/DefaultTreeCellRenderer.java,
12860         javax/swing/tree/DefaultTreeModel.java,
12861         javax/swing/tree/DefaultTreeSelectionModel.java,
12862         javax/swing/tree/ExpandVetoException.java,
12863         javax/swing/tree/FixedHeightLayoutCache.java,
12864         javax/swing/tree/MutableTreeNode.java,
12865         javax/swing/tree/RowMapper.java,
12866         javax/swing/tree/TreeCellEditor.java,
12867         javax/swing/tree/TreeCellRenderer.java,
12868         javax/swing/tree/TreeModel.java,
12869         javax/swing/tree/TreeNode.java,
12870         javax/swing/tree/TreePath.java,
12871         javax/swing/tree/TreeSelectionModel.java,
12872         javax/swing/tree/VariableHeightLayoutCache.java,
12873         javax/swing/UIDefaults.java,
12874         javax/swing/UIManager.java,
12875         javax/swing/undo/AbstractUndoableEdit.java,
12876         javax/swing/undo/CannotRedoException.java,
12877         javax/swing/undo/CannotUndoException.java,
12878         javax/swing/undo/CompoundEdit.java,
12879         javax/swing/undo/StateEditable.java,
12880         javax/swing/undo/StateEdit.java,
12881         javax/swing/undo/UndoableEdit.java,
12882         javax/swing/undo/UndoableEditSupport.java,
12883         javax/swing/undo/UndoManager.java,
12884         javax/swing/UnsupportedLookAndFeelException.java,
12885         javax/swing/ViewportLayout.java,
12886         javax/swing/WindowConstants.java: New files, from GNU Classpath.
12887
12888         * java/awt/ActiveEvent.java,
12889         java/awt/Adjustable.java, java/awt/AWTError.java,
12890         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
12891         java/awt/AWTException.java, java/awt/AWTPermission.java,
12892         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
12893         java/awt/Color.java, java/awt/Component.java,
12894         java/awt/ComponentOrientation.java, java/awt/Container.java,
12895         java/awt/datatransfer/MimeTypeParseException.java,
12896         java/awt/datatransfer/Transferable.java,
12897         java/awt/datatransfer/UnsupportedFlavorException.java,
12898         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
12899         java/awt/event/ActionListener.java,
12900         java/awt/event/AdjustmentEvent.java,
12901         java/awt/event/AdjustmentListener.java,
12902         java/awt/event/AWTEventListener.java,
12903         java/awt/event/ComponentAdapter.java,
12904         java/awt/event/ComponentEvent.java,
12905         java/awt/event/ComponentListener.java,
12906         java/awt/event/ContainerAdapter.java,
12907         java/awt/event/ContainerEvent.java,
12908         java/awt/event/ContainerListener.java,
12909         java/awt/event/FocusAdapter.java,
12910         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
12911         java/awt/event/HierarchyBoundsAdapter.java,
12912         java/awt/event/HierarchyBoundsListener.java,
12913         java/awt/event/HierarchyEvent.java,
12914         java/awt/event/HierarchyListener.java,
12915         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
12916         java/awt/event/InputMethodListener.java,
12917         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
12918         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
12919         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
12920         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
12921         java/awt/event/MouseListener.java,
12922         java/awt/event/MouseMotionAdapter.java,
12923         java/awt/event/MouseMotionListener.java,
12924         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
12925         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
12926         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
12927         java/awt/event/WindowListener.java, java/awt/Font.java,
12928         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
12929         java/awt/geom/Ellipse2D.java,
12930         java/awt/geom/IllegalPathStateException.java,
12931         java/awt/geom/Line2D.java,
12932         java/awt/geom/NoninvertibleTransformException.java,
12933         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
12934         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
12935         java/awt/geom/RoundRectangle2D.java,
12936         java/awt/GraphicsConfiguration.java,
12937         java/awt/IllegalComponentStateException.java,
12938         java/awt/image/IndexColorModel.java,
12939         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
12940         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
12941         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
12942         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
12943         java/awt/MenuItem.java, java/awt/PaintContext.java,
12944         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
12945         java/awt/Polygon.java, java/awt/PrintGraphics.java,
12946         java/awt/PrintJob.java, java/awt/Rectangle.java,
12947         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
12948         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
12949         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
12950
12951         * java/awt/im/spi/InputMethod.java,
12952         java/awt/im/spi/InputMethodContext.java,
12953         java/awt/im/spi/InputMethodDescriptor.java,
12954         java/awt/image/renderable/ContextualRenderedImageFactory.java,
12955         java/awt/image/renderable/ParameterBlock.java,
12956         java/awt/image/renderable/RenderContext.java,
12957         java/awt/image/renderable/RenderableImage.java,
12958         java/awt/image/renderable/RenderableImageOp.java,
12959         java/awt/image/renderable/RenderableImageProducer.java,
12960         java/awt/image/renderable/RenderedImageFactory.java: New files from
12961         classpath.
12962
12963         * gnu/java/awt/EventModifier.java,
12964         gnu/java/awt/image/ImageDecoder.java,
12965         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
12966
12967         * gnu/awt/xlib/XGraphicsConfiguration.java,
12968         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
12969         API.
12970
12971         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
12972         GNU Classpath.
12973
12974         * Makefile.am: Add new files.
12975         * Makefile.in: Rebuilt.
12976
12977 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12978
12979         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
12980         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
12981         findResource, getResources, findResources): Add javadoc from classpath.
12982         (getSystemResources): Implemented.
12983
12984 2002-08-01  Mark Wielaard  <mark@klomp.org>
12985
12986         Revert patch that breaks libgcj shared library on powerpc:
12987         * gnu/java/security/provider/Gnu.java: Reverse referencing all
12988         implementation classes by using Class.getName(). Uses Strings again.
12989         * gnu/java/security/der/DEREncodingException.java,
12990         gnu/java/security/provider/DERReader.java,
12991         gnu/java/security/provider/DERWriter.java,
12992         gnu/java/security/provider/DSAKeyPairGenerator.java,
12993         gnu/java/security/provider/DSAParameterGenerator.java,
12994         gnu/java/security/provider/DSAParameters.java,
12995         gnu/java/security/provider/DSASignature.java,
12996         gnu/java/security/provider/GnuDSAPrivateKey.java,
12997         gnu/java/security/provider/GnuDSAPublicKey.java,
12998         gnu/java/security/provider/MD5.java,
12999         gnu/java/security/util/Prime.java: Removed.
13000         * Makefile.am (ordinary_java_source_files): Remove above files.
13001         * Makefile.in: Regenerate.
13002         * gnu/java/security/provider/DefaultPolicy.java
13003         (getPermissions): Revert to maintaining static class variable of
13004         Permissions.
13005         * gnu/java/security/provider/SHA.java
13006         (engineUpdate): Revert algorithm change.
13007         (engineDigest): Revert algorithm change.
13008
13009 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13010
13011         * configure.host: Add SH support.
13012         * sysdep/sh/locks.h: New file.
13013
13014 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13015
13016         * java/awt/Frame.java (Frame): Remove println calls.
13017
13018 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13019
13020         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13021         * configure: Rebuilt.
13022
13023 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13024
13025         * sysdep/powerpc/locks.h: Formatting.
13026         (_LARX): Define.
13027         (_STCX): Define.
13028         (compare_and_swap): Use _LARX and _STCX.
13029         (compare_and_swap_release): Likewise.
13030
13031 2002-07-26  Tom Tromey  <tromey@redhat.com>
13032
13033         * java/net/Authenticator.java: New version from Classpath.
13034         * java/net/DatagramSocketImpl.java: New version from Classpath.
13035
13036 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13037
13038         * configure.host: Add powerpc64*-* entry.
13039
13040 2002-07-26  Tom Tromey  <tromey@redhat.com>
13041
13042         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13043         fcntl.h.
13044
13045 2002-07-24  Tom Tromey  <tromey@redhat.com>
13046
13047         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13048         argument to _load.
13049
13050 2002-07-24  Tom Tromey  <tromey@redhat.com>
13051             Tony Kimball <alk@pobox.com>
13052
13053         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13054         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13055         * java/io/RandomAccessFile.java (setLength): New method.
13056         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13057         * java/io/FileDescriptor.java (setLength): New method.
13058
13059 2002-07-24  Mark Wielaard  <mark@klomp.org>
13060
13061         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13062         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13063         field call setAccessible(true).
13064         (setByteField): Likewise.
13065         (setCharField): Likewise.
13066         (setDoubleField): Likewise.
13067         (setFloatField): Likewise.
13068         (setIntField): Likewise.
13069         (setLongField): Likewise.
13070         (setShortField): Likewise.
13071         (setObjectField): Likewise.
13072
13073 2002-07-24  Tom Tromey  <tromey@redhat.com>
13074
13075         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13076         use toString() to format array element.
13077
13078 2002-07-23  Mark Wielaard  <mark@klomp.org>
13079
13080         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13081         MessageDigestSpi (fixes Classpath bug #783).
13082
13083 2002-07-21  Mark Wielaard  <mark@klomp.org>
13084
13085         * gnu/java/security/provider/Gnu.java: Reference all implementation
13086         classes by using Class.getName().
13087
13088 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13089
13090         * java/lang/ieeefp.h: Add x86-64 support.
13091         * configure.in: Likewise.
13092         * configure.host: Likewise.
13093         * configure: Regenerated.
13094         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13095
13096 2002-07-16  Mark Wielaard  <mark@klomp.org>
13097
13098         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13099         (whitespaceChars): call resetChar().
13100
13101 2002-07-15  Tom Tromey  <tromey@redhat.com>
13102
13103         * Makefile.in: Rebuilt.
13104         * Makefile.am (awt_java_source_files): Added new files.
13105         * java/beans/ExceptionListener.java: Merged with Classpath.
13106         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13107         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13108         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13109         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13110         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13111         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13112         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13113
13114 2002-07-14  Mark Wielaard  <mark@klomp.org>
13115
13116         * gnu/java/security/der/DEREncodingException.java,
13117         gnu/java/security/provider/DERReader.java,
13118         gnu/java/security/provider/DERWriter.java,
13119         gnu/java/security/provider/DSAKeyPairGenerator.java,
13120         gnu/java/security/provider/DSAParameterGenerator.java,
13121         gnu/java/security/provider/DSAParameters.java,
13122         gnu/java/security/provider/DSASignature.java,
13123         gnu/java/security/provider/GnuDSAPrivateKey.java,
13124         gnu/java/security/provider/GnuDSAPublicKey.java,
13125         gnu/java/security/provider/MD5.java,
13126         gnu/java/security/util/Prime.java: New files from Classpath.
13127         * Makefile.am (ordinary_java_source_files): Add new files.
13128         * Makefile.in: Regenerate.
13129
13130 2002-07-14  C. Brian Jones <cbj@gnu.org>
13131
13132         * gnu/java/security/provider/DefaultPolicy.java
13133         (getPermissions): do not maintain static class variable of
13134         Permissions
13135         * gnu/java/security/provider/SHA.java
13136         (engineUpdate): algorithm change
13137         (engineDigest): algorithm change
13138
13139 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13140
13141         For PR libgcj/7292:
13142         * java/lang/Character.java (toString(char)): Now static.
13143
13144 2002-07-12  Mark Wielaard  <mark@klomp.org>
13145
13146         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13147         (getStackTrace0): new method.
13148         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13149         (printStackTrace(PrintWriter)): replace with pure java implementation.
13150         (printRawStackTrace): removed.
13151         (getStackTrace0): new method.
13152         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13153         * gcj/javaprims.h: regenerate class list.
13154         * include/name-finder.h (lookup): new returns StackTraceElement*.
13155         (method_name, file_name): fields removed.
13156         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13157         (~_Jv_name_finder): close new descriptors.
13158         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13159         (createStackTraceElement): new method.
13160         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13161
13162 2002-07-10  Tom Tromey  <tromey@redhat.com>
13163
13164         * configure: Rebuilt.
13165         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13166
13167 2002-07-08  Mark Wielaard  <mark@klomp.org>
13168
13169         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13170         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13171         java.sql.DatabaseMetaData.TestJdbc20
13172
13173 2002-07-05  Tony Kimball  <alk@pobox.com>
13174
13175         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13176
13177 2002-07-04  Tom Tromey  <tromey@redhat.com>
13178             Jeff Sturm  <jsturm@one-point.com>
13179
13180         Fix for PR libgcj/7060:
13181         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13182         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13183         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13184         * java/lang/Class.java (getMethod): New Java implementation;
13185         complies with spec.
13186         (_getMethod): New native method.
13187
13188 2002-07-02  Tom Tromey  <tromey@redhat.com>
13189             David Hovemeyer  <daveho@cs.umd.edu>
13190
13191         * java/text/ChoiceFormat.java
13192         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13193         in check loop.
13194         * java/text/MessageFormat.java
13195         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13196         to MessageFormat.
13197
13198 2002-07-01  Tom Tromey  <tromey@redhat.com>
13199
13200         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13201         StringTokenizer on null string.  For PR libgcj/7180.
13202         From daveho@cs.umd.edu.
13203
13204 2002-06-24  Tom Tromey  <tromey@redhat.com>
13205
13206         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13207         (IntegerClass): Likewise.
13208         * java/lang/natClass.cc (CloneableClass): Removed.
13209         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13210         ConstructorClass): Likewise.
13211         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13212         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13213         SerializableClass): Likewise.
13214         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13215         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13216         LongClass, FloatClass, DoubleClass): Likewise.
13217
13218         * verify.cc (branch_prepass): Updated for change to exception
13219         handler type.
13220         (verify_instructions_0): Likewise.
13221         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13222         (handleExceptionTableEntry): Updated for change to exception
13223         handler type.
13224         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13225         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13226         (union _Jv_InterpPC): New.
13227         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13228         (class _Jv_InterpMethod): Added new `prepared' field.
13229         (class _Jv_InterpMethod): Added `compile' method.  Removed
13230         `continue1' and `find_exception'.  Changed arguments to `run'.
13231         * interpret.cc (union insn_slot): New.
13232         (find_exception): Removed.
13233         (run_normal): Removed most logic.
13234         (run_synch_object): Likewise; also, use JvSynchronize.
13235         (run_synch_class): Likewise.
13236         (run): Removed.
13237         (continue1): Renamed as `run'.  Compile bytecode if required.
13238         Add new code to allow refinement of direct-threaded code at
13239         runtime.  Handle exceptions.
13240         (SAVE_PC): Removed.
13241         (compile): New method.
13242         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13243         (NULLARRAYCHECK): Don't use SAVE_PC.
13244         (pc_t): New typedef.
13245         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13246         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13247
13248 2002-06-23  Tom Tromey  <tromey@redhat.com>
13249
13250         * configure: Rebuilt.
13251         * configure.in (INTERPRETER): New subst.
13252         (AM_RUNTESTFLAGS): Don't subst.
13253
13254         * Makefile.in: Rebuilt.
13255         * Makefile.am ($(srcdir)/java/lang/Object.h,
13256         $(srcdir)/java/lang/Class.h): Added dummy targets.
13257
13258 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13259
13260         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13261
13262         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13263         java/sql/Savepoint.java: New files.
13264         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13265         java/sql/Blob.java, java/sql/CallableStatement.java,
13266         java/sql/Clob.java, java/sql/Connection.java,
13267         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13268         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13269         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13270         java/sql/Ref.java, java/sql/ResultSet.java,
13271         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13272         java/sql/SQLException.java, java/sql/SQLInput.java,
13273         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13274         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13275         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13276         (JDK 1.4) specification.
13277         * javax/sql/ConnectionEvent.java,
13278         javax/sql/ConnectionEventListener.java,
13279         javax/sql/ConnectionPoolDataSource.java,
13280         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13281         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13282         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13283         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13284         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13285         javax/sql/XADataSource.java: New files.
13286         * Makefile.am: Add new files.
13287         * Makefile.in: Rebuilt.
13288
13289 2002-06-20  Tom Tromey  <tromey@redhat.com>
13290
13291         For PR libgcj/7073:
13292         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13293         exists.
13294         * defineclass.cc (handleClassBegin): Superclass for interface is
13295         `null'.
13296
13297 2002-06-18  Tom Tromey  <tromey@redhat.com>
13298
13299         * gcj/javaprims.h: Updated class declaration list.
13300         * Makefile.in: Rebuilt.
13301         * Makefile.am (core_java_source_files): Removed
13302         BasicMapEntry.java.
13303         * java/util/BasicMapEntry.java: Removed.
13304
13305 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13306
13307         * java/net/natPlainDatagramSocketImpl.cc (receive):
13308         Check bounds of argument to FD_SET.
13309         (setOption): Throw exception if socket is closed.
13310
13311         * java/net/natPlainSocketImpl.cc (accept, read):
13312         Check bounds of argument to FD_SET.
13313         (setOption): Throw exception if socket is closed.
13314
13315 2002-06-18  Tom Tromey  <tromey@redhat.com>
13316
13317         * gcj/javaprims.h: Updated class declaration list.
13318         * Makefile.in: Rebuilt.
13319         * Makefile.am (core_java_source_files): Added
13320         PropertyPermissionCollection.java.
13321         * java/lang/Thread.java (group, name): Now package-private.
13322         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13323         * java/util/AbstractList.java: Likewise.
13324         * java/util/AbstractMap.java: Likewise.
13325         * java/util/Calendar.java: Likewise.
13326         * java/util/Collections.java: Likewise.
13327         * java/util/HashMap.java: Likewise.
13328         * java/util/Hashtable.java: Likewise.
13329         * java/util/LinkedHashMap.java: Likewise.
13330         * java/util/LinkedList.java: Likewise.
13331         * java/util/List.java: Likewise.
13332         * java/util/ListResourceBundle.java: Likewise.
13333         * java/util/Map.java: Likewise.
13334         * java/util/Observable.java: Likewise.
13335         * java/util/Properties.java: Likewise.
13336         * java/util/PropertyPermission.java: Likewise.
13337         * java/util/PropertyPermissionCollection.java: Likewise.
13338         * java/util/PropertyResourceBundle.java: Likewise.
13339         * java/util/Random.java: Likewise.
13340         * java/util/SimpleTimeZone.java: Likewise.
13341         * java/util/StringTokenizer.java: Likewise.
13342         * java/util/TimerTask.java: Likewise.
13343         * java/util/TreeMap.java: Likewise.
13344         * java/util/WeakHashMap.java: Likewise.
13345         * java/util/jar/Attributes.java: Likewise.
13346         * java/util/jar/JarException.java: Likewise.
13347         * java/util/jar/Manifest.java: Likewise.
13348
13349 2002-06-17  Tom Tromey  <tromey@redhat.com>
13350
13351         * gcj/javaprims.h: Updated class declaration list.
13352         * Makefile.in: Rebuilt.
13353         * Makefile.am (core_java_source_files): Added new file.
13354         * java/util/EventListenerProxy.java: New file.
13355         * java/util/EventListener.java: Re-merge with Classpath.
13356         * java/util/EventObject.java: Re-merge with Classpath.
13357
13358 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13359
13360         * java/lang/ClassNotFoundException.java: New Classpath version.
13361
13362 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13363
13364         * java/rmi/activation/ActivateFailedException.java: Remerge from
13365         Classpath version.
13366         * java/rmi/activation/ActivationException.java: Ditto.
13367         * java/rmi/activation/UnknownGroupException.java: Ditto.
13368         * java/rmi/activation/UnknownObjectException.java: Ditto.
13369         * java/rmi/server/ExportException: Ditto.
13370         * java/rmi/server/ServerCloneException: Ditto.
13371         * java/rmi/server/ServerNotActiveException: Ditto.
13372         * java/rmi/server/SkeletonMismatchException: Ditto.
13373         * java/rmi/server/SkeletonNotFoundException: Ditto.
13374         * java/rmi/server/SocketSecurityException: Ditto.
13375
13376 2002-06-16  Tom Tromey  <tromey@redhat.com>
13377
13378         * gcj/javaprims.h: Updated class declaration list.
13379
13380         * java/io/LineNumberInputStream.java: Merged with Classpath.
13381
13382         * java/lang/RuntimeException.java: Re-merge with Classpath.
13383         * java/util/ArrayList.java: Likewise.
13384         * java/util/Arrays.java: Likewise.
13385         * java/util/BitSet.java: Likewise.
13386         * java/util/Dictionary.java: Likewise.
13387         * java/util/IdentityHashMap.java: Likewise.
13388         * java/util/MissingResourceException.java: Likewise.
13389         * java/util/Observer.java: Likewise.
13390         * java/util/TooManyListenersException.java: Likewise.
13391         * java/util/zip/DataFormatException.java: Likewise.
13392         * java/util/zip/ZipException.java: Likewise.
13393
13394 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13395
13396         * java/rmi/AccessException.java: Remerge from Classpath.
13397         * java/rmi/AlreadyBoundException.java: Ditto.
13398         * java/rmi/ConnectException.java: Ditto.
13399         * java/rmi/ConnectIOException.java: Ditto.
13400         * java/rmi/MarshalException.java: Ditto.
13401         * java/rmi/NoSuchObjectException.java: Ditto.
13402         * java/rmi/NotBoundException.java: Ditto.
13403         * java/rmi/RemoteException.java: Ditto.
13404         * java/rmi/RMISecurityException.java: Ditto.
13405         * java/rmi/ServerError.java: Ditto.
13406         * java/rmi/ServerException.java: Ditto.
13407         * java/rmi/ServerRuntimeException.java: Ditto.
13408         * java/rmi/StubNotFoundException.java: Ditto.
13409         * java/rmi/UnexpectedExcpetion.java: Ditto.
13410         * java/rmi/UnknownHostException.java: Ditto.
13411         * java/rmi/UnmarshalException.java: Ditto.
13412
13413 2002-06-15  Tom Tromey  <tromey@redhat.com>
13414
13415         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13416         * java/lang/ArithmeticException.java: Likewise.
13417         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13418         * java/lang/ArrayStoreException.java: Likewise.
13419         * java/lang/Byte.java: Likewise.
13420         * java/lang/CharSequence.java: Likewise.
13421         * java/lang/ClassCastException.java: Likewise.
13422         * java/lang/ClassCircularityError.java: Likewise.
13423         * java/lang/ClassFormatError.java: Likewise.
13424         * java/lang/CloneNotSupportedException.java: Likewise.
13425         * java/lang/Cloneable.java: Likewise.
13426         * java/lang/Comparable.java: Likewise.
13427         * java/lang/Compiler.java: Likewise.
13428         * java/lang/Error.java: Likewise.
13429         * java/lang/ExceptionInInitializerError.java: Likewise.
13430         * java/lang/IllegalAccessError.java: Likewise.
13431         * java/lang/IllegalAccessException.java: Likewise.
13432         * java/lang/IllegalArgumentException.java: Likewise.
13433         * java/lang/IllegalMonitorStateException.java: Likewise.
13434         * java/lang/IllegalStateException.java: Likewise.
13435         * java/lang/IllegalThreadStateException.java: Likewise.
13436         * java/lang/IncompatibleClassChangeError.java: Likewise.
13437         * java/lang/IndexOutOfBoundsException.java: Likewise.
13438         * java/lang/InheritableThreadLocal.java: Likewise.
13439         * java/lang/InstantiationError.java: Likewise.
13440         * java/lang/InstantiationException.java: Likewise.
13441         * java/lang/InternalError.java: Likewise.
13442         * java/lang/InterruptedException.java: Likewise.
13443         * java/lang/LinkageError.java: Likewise.
13444         * java/lang/NegativeArraySizeException.java: Likewise.
13445         * java/lang/NoClassDefFoundError.java: Likewise.
13446         * java/lang/NoSuchFieldError.java: Likewise.
13447         * java/lang/NoSuchFieldException.java: Likewise.
13448         * java/lang/NoSuchMethodError.java: Likewise.
13449         * java/lang/NoSuchMethodException.java: Likewise.
13450         * java/lang/NullPointerException.java: Likewise.
13451         * java/lang/NumberFormatException.java: Likewise.
13452         * java/lang/OutOfMemoryError.java: Likewise.
13453         * java/lang/Process.java: Likewise.
13454         * java/lang/Runnable.java: Likewise.
13455         * java/lang/RuntimePermission.java: Likewise.
13456         * java/lang/SecurityException.java: Likewise.
13457         * java/lang/Short.java: Likewise.
13458         * java/lang/StackOverflowError.java: Likewise.
13459         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13460         * java/lang/ThreadDeath.java: Likewise.
13461         * java/lang/ThreadLocal.java: Likewise.
13462         * java/lang/UnknownError.java: Likewise.
13463         * java/lang/UnsatisfiedLinkError.java: Likewise.
13464         * java/lang/UnsupportedClassVersionError.java: Likewise.
13465         * java/lang/UnsupportedOperationException.java: Likewise.
13466         * java/lang/VerifyError.java: Likewise.
13467         * java/lang/VirtualMachineError.java: Likewise.
13468         * java/lang/reflect/InvocationTargetException.java: Likewise.
13469         * java/net/BindException.java: Likewise.
13470         * java/net/ConnectException.java: Likewise.
13471         * java/net/MalformedURLException.java: Likewise.
13472         * java/net/NoRouteToHostException.java: Likewise.
13473         * java/net/ProtocolException.java: Likewise.
13474         * java/net/SocketException.java: Likewise.
13475         * java/net/UnknownHostException.java: Likewise.
13476         * java/net/UnknownServiceException.java: Likewise.
13477
13478         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13479         * java/io/CharConversionException.java: Likewise.
13480         * java/io/EOFException.java: Likewise.
13481         * java/io/FileNotFoundException.java: Likewise.
13482         * java/io/IOException.java: Likewise.
13483         * java/io/InterruptedIOException.java: Likewise.
13484         * java/io/InvalidClassException.java: Likewise.
13485         * java/io/InvalidObjectException.java: Likewise.
13486         * java/io/NotActiveException.java: Likewise.
13487         * java/io/NotSerializableException.java: Likewise.
13488         * java/io/ObjectStreamException.java: Likewise.
13489         * java/io/ObjectStreamConstants.java: Likewise.
13490         * java/io/OptionalDataException.java: Likewise.
13491         * java/io/PipedInputStream.java: Likewise.
13492         * java/io/PushbackInputStream.java: Likewise.
13493         * java/io/StreamCorruptedException.java: Likewise.
13494         * java/io/SyncFailedException.java: Likewise.
13495         * java/io/UTFDataFormatException.java: Likewise.
13496         * java/io/UnsupportedEncodingException.java: Likewise.
13497         * java/io/WriteAbortedException.java: Likewise.
13498
13499 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
13500
13501         * java/text/ChoiceFormat.java: Update comments from Classpath.
13502         * java/text/ParseException.java (serialVersionUID): New
13503         field from Classpath.
13504         * java/text/ParseException.java: Update formatting & comments
13505         from Classpath.
13506
13507 2002-06-15  Tom Tromey  <tromey@redhat.com>
13508
13509         * java/util/zip/InflaterInputStream.java (read): Loop if data has
13510         been read but none output by inflater.
13511         * java/util/zip/natDeflater.cc (reset): Set is_finished.
13512         * java/util/zip/natInflater.cc (reset): Set dist_needed and
13513         is_finished.
13514         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13515         version.
13516         * java/util/zip/ZipFile.java: Replaced with Classpath version.
13517         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13518         * java/util/zip/ZipInputStream.java: Replaced with Classpath
13519         version.
13520         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13521
13522 2002-06-13  Tom Tromey  <tromey@redhat.com>
13523
13524         * java/lang/natString.cc (init): Handle case where DONT_COPY is
13525         true and OFFSET!=0.
13526         * java/lang/String.java (String(char[],int,int,boolean): New
13527         constructor.
13528         * java/lang/Long.java: Imported new version from Classpath.
13529         * java/lang/Number.java: Likewise.
13530         * java/lang/Integer.java: Likewise.
13531         * java/lang/Long.java: Likewise.
13532         * java/lang/Float.java: Likewise.
13533         * java/lang/Boolean.java: Likewise.
13534         * java/lang/Double.java: Likewise.
13535         * java/lang/Void.java: Likewise.
13536
13537 2002-06-12  Tom Tromey  <tromey@redhat.com>
13538
13539         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13540         Fixes PR libgcj/6652.
13541
13542 2002-06-10  Tom Tromey  <tromey@redhat.com>
13543
13544         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13545         (Class::getPackagePortion): Likewise.
13546         * java/lang/Class.java (desiredAssertionStatus): New method from
13547         Classpath.
13548         (getPackagePortion): Likewise.
13549         * java/lang/VMClassLoader.java (defaultAssertionStatus,
13550         packageAssertionStatus, classAssertionStatus): New methods from
13551         Classpath.
13552         * java/lang/ClassLoader.java (defaultAssertionStatus,
13553         systemPackageAssertionStatus, packageAssertionStatus,
13554         systemClassAssertionStatus, classAssertionStatus): New fields from
13555         Classpath.
13556         (setDefaultAssertionStatus, setPackageAssertionStatus,
13557         setClassAssertionStatus, clearAssertionStatus): New methods from
13558         Classpath.
13559         * Makefile.in: Rebuilt.
13560         * Makefile.am (core_java_source_files): Added AssertionError.java.
13561         * java/lang/AssertionError.java: New from Classpath.
13562
13563 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13564
13565         * configure.host: Disable hash synchronization and slow_pthread_self
13566         for cygwin.
13567
13568 2002-06-06  Adam Megacz <adam@xwt.org>
13569
13570         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13571         locking, just like the Sun JVM does.
13572
13573 2002-06-05  H.J. Lu  (hjl@gnu.org)
13574
13575         * Makefile.am (libgcj_convenience.la): Revert the last change.
13576         (libgcj.la): Likewise.
13577         * Makefile.in: Regenerated.
13578
13579 2002-06-04  H.J. Lu  (hjl@gnu.org)
13580
13581         * Makefile.am (libgcj_convenience.la): New target.
13582         (libgcj.la): Depend on libgcj_convenience.la.
13583         * Makefile.in: Regenerated.
13584
13585 2002-06-04  H.J. Lu  (hjl@gnu.org)
13586
13587         * configure.in (--with-newlib): New option:
13588         Check ${with_newlib} instead of ${with_cross_host} for newlib.
13589         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13590         Linux.
13591         * configure: Regenerated.
13592
13593 2002-06-04  Tom Tromey  <tromey@redhat.com>
13594
13595         * java/util/natTimeZone.cc: Include <stdio.h>.
13596
13597 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
13598
13599         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13600         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13601         Set SIGNAL_HANDLER=include/s390-linux.h.
13602         * configure: Regenerate.
13603         * include/s390-linux.h: New file.
13604
13605 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13606
13607         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13608         not "stackTrace".
13609
13610 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13611
13612         Merge JDK 1.4 java.security changes from classpath.
13613
13614         * java/security/AccessControlException.java: Merge from Classpath.
13615         * java/security/AccessController.java: Likewise.
13616         * java/security/AllPermission.java: Likewise.
13617         * java/security/BasicPermission.java: Likewise.
13618         * java/security/Certificate.java: Likewise.
13619         * java/security/CodeSource.java: Likewise.
13620         * java/security/DigestException.java: Likewise.
13621         * java/security/DigestOutputStream.java: Likewise.
13622         * java/security/DomainCombiner.java: Likewise.
13623         * java/security/GeneralSecurityException.java: Likewise.
13624         * java/security/Guard.java: Likewise.
13625         * java/security/GuardedObject.java: Likewise.
13626         * java/security/InvalidAlgorithmParameterException.java: Likewise.
13627         * java/security/InvalidKeyException.java: Likewise.
13628         * java/security/InvalidParameterException.java: Likewise.
13629         * java/security/Key.java: Likewise.
13630         * java/security/KeyException.java: Likewise.
13631         * java/security/KeyManagementException.java: Likewise.
13632         * java/security/KeyStoreException.java: Likewise.
13633         * java/security/MessageDigest.java: Likewise.
13634         * java/security/NoSuchAlgorithmException.java: Likewise.
13635         * java/security/NoSuchProviderException.java: Likewise.
13636         * java/security/Permission.java: Likewise.
13637         * java/security/PermissionCollection.java: Likewise.
13638         * java/security/Permissions.java: Likewise.
13639         * java/security/Policy.java: Likewise.
13640         * java/security/Principal.java: Likewise.
13641         * java/security/PrivateKey.java: Likewise.
13642         * java/security/PrivilegedAction.java: Likewise.
13643         * java/security/PrivilegedActionException.java: Likewise.
13644         * java/security/PrivilegedExceptionAction.java: Likewise.
13645         * java/security/ProtectionDomain.java: Likewise.
13646         * java/security/ProviderException.java: Likewise.
13647         * java/security/PublicKey.java: Likewise.
13648         * java/security/SecureClassLoader.java: Likewise.
13649         * java/security/SecurityPermission.java: Likewise.
13650         * java/security/SignatureException.java: Likewise.
13651         * java/security/UnrecoverableKeyException.java: Likewise.
13652         * java/security/UnresolvedPermission.java: Likewise.
13653         * java/security/acl/AclNotFoundException.java: Likewise.
13654         * java/security/acl/LastOwnerException.java: Likewise.
13655         * java/security/acl/NotOwnerException.java: Likewise.
13656         * java/security/cert/CRLException.java: Likewise.
13657         * java/security/cert/CertificateEncodingException.java: Likewise.
13658         * java/security/cert/CertificateException.java: Likewise.
13659         * java/security/cert/CertificateExpiredException.java: Likewise.
13660         * java/security/cert/CertificateFactory.java: Likewise.
13661         * java/security/cert/CertificateNotYetValidException.java: Likewise.
13662         * java/security/cert/CertificateParsingException.java: Likewise.
13663         * java/security/spec/InvalidKeySpecException.java: Likewise.
13664         * java/security/spec/InvalidParameterSpecException.java: Likewise.
13665
13666         * java/security/cert/CertPath.java: New file.
13667         * java/security/cert/CertPathBuilderException.java: New file.
13668         * java/security/cert/CertPathValidatorException.java: New file.
13669         * java/security/cert/CertStoreException.java: New file.
13670
13671         * Makefile.am: Add new CertPath classes.
13672         * Makefile.in: Rebuilt.
13673
13674         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13675
13676 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13677
13678         Merge JDK 1.4 exception chaining support from classpath.
13679
13680         * java/lang/Throwable.java: Merge 1.4 support from classpath.
13681         (stackTraceBytes): Rename from stackTrace.
13682         * java/lang/Exception.java: Merge from classpath.
13683         * java/lang/StackTraceElement: New file from classpath.
13684         * gcj/javaprims.h: Rebuild CNI namespace declarations.
13685         * Makefile.am: Add StackTraceElement.
13686         * Makefile.in: Rebuilt.
13687
13688 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13689
13690         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13691         they build first.
13692         * Makefile.in: Rebuilt.
13693
13694 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13695
13696         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13697         * configure.in: Likewise.
13698         * aclocal.m4: Regenerate.
13699         * configure: Regenerate.
13700
13701 2002-05-13  Tom Tromey  <tromey@redhat.com>
13702
13703         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13704         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13705         Include platform.h.
13706
13707         Fixes PR libgcj/6389:
13708         * Makefile.in: Rebuilt.
13709         * Makefile.am (nat_source_files): Added natTimeZone.cc.
13710         * java/util/natTimeZone.cc: New file.
13711         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13712         * java/lang/System.java: Merged with Classpath.
13713         * java/lang/Runtime.java: Merged with Classpath.
13714         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13715         security check.
13716         (setIn0): Renamed from setIn; don't run security check.
13717         (setOut0): Renamed from setOut; don't run security check.
13718         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13719         init_properties): Moved to natRuntime.cc.
13720         Moved many includes to natRuntime.cc.
13721         (isWordsBigEndian): New method.
13722         * java/lang/natRuntime.cc: Include Long.h, also other includes
13723         previously in natSystem.cc.
13724         (maxMemory): New function.
13725         (exitInternal): Renamed from `_exit'.
13726         (exit): Removed.
13727         (init): Don't set finalize_on_exit.
13728         (exitInternal): Use `finalizeOnExit'.
13729         (file_encoding, getpwuid_adaptor): New functions from
13730         natSystem.cc.
13731         (insertSystemProperties): New method, renamed from
13732         System::init_properties.  Don't set user.timezone.
13733         (_load): Don't call checkLink.
13734         (execInternal): New method.
13735         (availableProcessors): Likewise.
13736         (nativeGetLibname): Likewise.
13737
13738 2002-05-11  Mark Wielaard  <mark@klomp.org>
13739
13740         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
13741         space characters.
13742         (previous_internal): Likewise.
13743
13744 2002-05-09  Tom Tromey  <tromey@redhat.com>
13745
13746         * jni.cc (_Jv_JNIFunctions): Fixed typo.
13747
13748         * java/util/ResourceBundle.java: New version from Classpath.
13749         * java/util/Locale.java: Likewise.
13750
13751 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
13752
13753         * testsuite/lib/libjava.exp (libjava_arguments): Append all
13754         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13755         LD_LIBRARY_PATH.
13756
13757 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
13758
13759         * libjava/Makefile.am (all_java_source_files): New variable.
13760         (all_java_class_files): Likewise.
13761         .java.class: New rule.
13762         (CLEANFILES): Remove tmp-list.
13763         * libjava/Makefile.in: Regenerated.
13764
13765 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
13766
13767         * testsuite/lib/libjava.exp (test_libjava_from_javac):
13768         Append .exe to executable names.  Fix for cygwin.
13769
13770 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
13771
13772         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
13773         script entry, and set LD to it when configuring multilibs.
13774         * configure: Rebuilt.
13775
13776 2002-05-07  Tom Tromey  <tromey@redhat.com>
13777
13778         * java/lang/natString.cc (unintern): Fixed typo.
13779
13780 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
13781
13782         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
13783         with -no-install on *-*-cygwin*.
13784
13785 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
13786
13787         * testsuite/lib/libjava.exp (test_libjava_from_source):
13788         Add comment explaining last patch
13789
13790 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
13791
13792         * testsuite/lib/libjava.exp (test_libjava_from_source):
13793         Append .exe to executable names.  If no suffix is present,
13794         then ".exe" is added by default on win32.  Harmless
13795         elsewhere so always do it.
13796
13797 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
13798             Tom Tromey  <tromey@redhat.com>
13799
13800         * java/lang/natSystem.cc (getSystemTimeZone): Use
13801         HAVE_UNDERSCORE_TIMEZONE.
13802         * include/config.h.in: Rebuilt.
13803         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
13804         * aclocal.m4, configure: Rebuilt.
13805         * acinclude.m4: Run AC_EXEEXT.
13806         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
13807         Add test for `_timezone'.
13808
13809 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
13810
13811         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13812         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
13813         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13814         * Makefile.in: Rebuilt.
13815
13816 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
13817
13818         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
13819         use sigaction instead of __libc_sigaction.
13820
13821 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13822
13823         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
13824         (libjava_init): Use it to find libgcj.spec.
13825         (libjava_arguments): Likewise.
13826
13827 2002-05-02  David S. Miller  <davem@redhat.com>
13828
13829         PR bootstrap/6525
13830         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
13831         __libc_sigaction on Sparc.
13832
13833 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
13834
13835         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
13836         sys/filio.h, if present.
13837
13838 2002-04-30  Tom Tromey  <tromey@redhat.com>
13839
13840         * java/io/BufferedReader.java (fill): Handle case where markPos
13841         point to ignored \n.  Fixes PR libgcj/6301.
13842
13843 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
13844
13845         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
13846
13847 2002-04-29  Adam King <aking@dreammechanics.com>
13848
13849         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
13850         of file in APPEND mode.
13851
13852 2002-04-25  David S. Miller  <davem@redhat.com>
13853
13854         PR target/6422
13855         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
13856         program counter to next program counter minus 8.  Update
13857         comments in this macro to explain why.
13858
13859 2002-04-26  Tom Tromey  <tromey@redhat.com>
13860
13861         * verify.cc (construct_primitive_array_type) [void_type]: New
13862         case.
13863         (branch_prepass): Added dummy entries for unused instruction
13864         values.
13865         (verify_instructions_0): Likewise.
13866         * interpret.cc (continue1): Comment fix.
13867         * include/java-insns.h (op_xxxunusedxxx1): Removed.
13868         * Makefile.in: Rebuilt.
13869         * Makefile.am: Added -Wswitch-enum.
13870
13871 2002-04-24  Tom Tromey  <tromey@redhat.com>
13872
13873         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
13874         correct length of UTF-8 encoded name.  Strip leading `/'.
13875         (_Jv_RegisterResource): Use _Jv_Malloc.
13876
13877 2002-04-23  Adam Megacz <adam@xwt.org>
13878
13879         * win32.cc, include/win32.cc (backtrace): Added this function
13880         because Win32 does not supply it.
13881
13882 2002-04-21  David S. Miller  <davem@redhat.com>
13883
13884         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
13885         magic instruction reading sequence.
13886
13887 2002-04-21  Mark Wielaard  <mark@klomp.org>
13888
13889         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
13890
13891 2002-04-19  David S. Miller  <davem@redhat.com>
13892
13893         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
13894         arg.
13895         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
13896         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
13897         on Sparc too.
13898         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
13899         for 64-bit sparc.
13900         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
13901         * sysdeps/sparc/locks.h: New file.
13902         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
13903         on all sparc Solaris configurations.  Set to
13904         include/dwarf2-signal.h on sparc Linux.
13905         * configure: Regenerate
13906         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
13907
13908 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
13909
13910         * configure: Rebuilt.
13911         * configure.in (backtrace): Function doesn't work on IA-64.
13912
13913 2002-04-17  Adam King <aking@dreammechanics.com>
13914
13915         * java/io/File.java (normalizePath): Add Win32 support for auto
13916         conversion of a '/' path separator to Win32's '\' separator.
13917
13918 2002-04-16  Tom Tromey  <tromey@redhat.com>
13919
13920         Fix for PR libgcj/6081:
13921         * Makefile.in: Rebuilt.
13922         * Makefile.am (install-data-local): Use GNU make trick to avoid
13923         shell limit.
13924
13925 2002-04-16  Adam King <aking@dreammechanics.com>
13926             Tom Tromey  <tromey@redhat.com>
13927
13928         * java/io/natFileWin32.cc (performList): Return the correct array
13929         type.  Don't duplicate the creation of a File since it's already
13930         done earlier in the method and the existing code would cause a
13931         ArrayStoreException.  Don't use fixed-size array.
13932         (_access, _stat, attr, getCanonicalPath, performMkdir,
13933         performRenameTo): Don't use fixed-size array.
13934         (getCanonicalPath): Use throw, not _Jv_Throw.
13935
13936 2002-04-15  DJ Delorie  <dj@redhat.com>
13937
13938         * configure.in: Allow building in $srcdir.
13939         * configure: Regenerated.
13940
13941 2002-04-14  Mark Wielaard <mark@klomp.org>
13942
13943         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
13944         * java/net/natSocketImpl.cc (close): Likewise.
13945
13946 2002-04-14  Mark Wielaard <mark@klomp.org>
13947
13948         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
13949
13950 2002-04-13  Adam King <aking@dreammechanics.com>
13951
13952         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
13953         the f/F/d/D modifiers.
13954
13955 2002-04-12  Anthony Green  <green@redhat.com>
13956
13957         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
13958         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
13959         * Makefile.in: Rebuilt.
13960         * configure.in: Substitute gcc_version.
13961         * configure: Rebuilt.
13962
13963 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13964
13965         * configure.host: Set can_unwind_signal on hosts which support it.
13966         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
13967         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
13968         exceptions and can_unwind_signal isn't set.
13969         * configure: Rebuilt.
13970
13971 2002-04-11  Tom Tromey  <tromey@redhat.com>
13972
13973         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
13974
13975 2002-04-11  Adam King <aking@dreammechanics.com>
13976             Tom Tromey  <tromey@redhat.com>
13977
13978         * include/jvm.h (_Jv_ThrowBadArrayIndex,
13979         _Jv_ThrowNullPointerException): Mark as noreturn.
13980         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
13981         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
13982         fixes.
13983
13984 2002-04-10  Tom Tromey  <tromey@redhat.com>
13985
13986         * Makefile.in: Rebuilt.
13987         * Makefile.am (java/lang/Thread.h): Mark
13988         _Jv_AttachCurrentThreadAsDaemon as friend.
13989         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
13990         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
13991         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
13992         function.
13993         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
13994         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
13995         (_Jv_JNI_InvokeFunctions): Added
13996         _Jv_JNI_AttachCurrentThreadAsDaemon.
13997         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
13998         (JNI_GetDefaultJavaVMInitArgs): Likewise.
13999         (JNI_CreateJavaVM): Likewise.
14000         (_Jv_JNI_AttachCurrentThread): Likewise.
14001         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14002         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14003         (_Jv_JNIFunctions): Initialize new fields.
14004         (_Jv_JNI_NewDirectByteBuffer): New function.
14005         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14006         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14007         * include/jni.h (JNI_VERSION_1_4): New macro.
14008         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14009         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14010         (JNINativeInterface::NewDirectByteBuffer): New field.
14011         (JNINativeInterface::GetDirectBufferAddress): New field.
14012         (JNINativeInterface::GetDirectBufferCapacity): New field.
14013         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14014         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14015         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14016
14017 2002-04-09  Tom Tromey  <tromey@redhat.com>
14018
14019         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14020
14021 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14022
14023         Fix for PR libgcj/6187:
14024         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14025         distance.
14026
14027 2002-04-07  Mark Wielaard <mark@klomp.org>
14028
14029         * java/util/AbstractMap.java (putAll): Use entrySet size.
14030         (toString): Explicitly use getKey() and getValue().
14031
14032 2002-04-07  Mark Wielaard <mark@klomp.org>
14033
14034         * java/util/Hashtable.java (contains): Remove NullPointer check.
14035         (containsValue): Add NullPointer check.
14036         (remove): Always throw NullPointerException when key
14037         is null.
14038
14039 2002-04-07  Adam King <aking@dreammechanics.com>
14040
14041         * java/lang/natSystem.cc (init_properties): Call new function
14042         _Jv_platform_initProperties.
14043         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14044         support for the System properties os.name, os.arch, os.version,
14045         user.name, user.home, and user.dir.
14046         * include/posix.h, include/win32.h, posix.cc: New function
14047         _Jv_platform_initProperties.
14048
14049 2002-04-06  Mark Wielaard <mark@klomp.org>
14050
14051         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14052
14053 2002-04-06  Mark Wielaard <mark@klomp.org>
14054
14055         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14056         all of the remaining elements.
14057         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14058         (removeRange): If toIndex == fromIndex do
14059         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14060         (removeAll): Always throw NullPointerException when collection is
14061         null.
14062         (retrainAll): Likewise.
14063
14064 2002-04-05  Mark Wielaard <mark@klomp.org>
14065
14066         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14067         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14068
14069 2002-04-05  Adam Megacz <adam@xwt.org>
14070
14071         * exception.cc (abort): added static modifier
14072
14073 2002-04-04  Adam Megacz <adam@xwt.org>
14074
14075         * include/win32.h (_Jv_platform_close_on_exec): added inline
14076         modifier.
14077
14078 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14079
14080         * configure.host: Add case statement to support generic port
14081         properties.  Add *-*-freebsd* section.
14082
14083 2002-04-04  Mark Wielaard  <mark@klomp.org>
14084
14085         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14086         test.
14087         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14088         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14089         that depend on awt code and BufferedByteOutputStream.interrupt.
14090
14091 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14092
14093         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14094         incorrect "hi" value when count > 40.
14095
14096 2002-04-03  Mark Wielaard  <mark@klomp.org>
14097
14098         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14099         ordering.
14100
14101 2002-04-02  Tom Tromey  <tromey@redhat.com>
14102
14103         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14104         not `0'.
14105
14106 2002-04-02  Mark Wielaard  <mark@klomp.org>
14107
14108         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14109         list of testsuite crashers.
14110
14111 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14112
14113         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14114         when resizing table.
14115
14116 2002-04-01  Mark Wielaard  <mark@klomp.org>
14117
14118         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14119         NegativeArraySizeException
14120         (clear(int)): Use sign extended shift.
14121         (flip(int)): Likewise.
14122         (get(int)): Likewise.
14123         (nextClearBit(int)): Likewise.
14124         (nextSetBit(int)): Likewise.
14125         (set(int)): Likewise.
14126
14127 2002-04-01  Mark Wielaard  <mark@klomp.org>
14128
14129         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14130         that can be compiled now and add testsuite crashers to ignore list.
14131
14132 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14133
14134         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14135
14136         * libgcj.spec.in: Override libgcc, not lib.
14137         * libgcj-test.spec.in: Likewise.
14138
14139 2002-03-29  Tom Tromey  <tromey@redhat.com>
14140
14141         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14142         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14143
14144 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14145
14146         * java/net/PlainDatagramSocketImpl.java
14147         (close): Use native implementation.
14148         (finalize): New method.
14149
14150         * java/net/PlainSocketImpl.java (finalize): New method.
14151
14152         * java/net/natPlainDatagramSocketImpl.cc
14153         (java/io/FileDescriptor.h): Don't include.
14154         (close): Implement method here.
14155         (create): Don't assign fd.
14156
14157         * java/net/natPlainSocketImpl.cc
14158         (java/io/FileDescriptor.h): Don't include.
14159         (create): Don't assign fd.
14160         (accept): Likewise.
14161         (close): Synchronize.
14162
14163 2002-03-27  Richard Henderson  <rth@redhat.com>
14164
14165         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14166
14167 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14168
14169         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14170         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14171         instead of syscall on IA-64.
14172         Add FIXME comment.
14173
14174 2002-03-27  Anthony Green  <green@redhat.com>
14175
14176         * libgcj.spec.in: Add CHECKREFSPEC.
14177         * configure.in: Ditto.
14178         * configure.host: Ditto.  Check references for xscale-elf.
14179         * configure: Rebuilt.
14180
14181 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14182
14183         * include/dwarf2-signal.h: Temporarily back out last change.
14184
14185 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14186
14187         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14188
14189 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14190
14191         * configure.in, configure: enable dwarf2-exception-style
14192         exception handling on IA-64.
14193         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14194         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14195         Add FIXME comment.
14196
14197 2002-03-25  Tom Tromey  <tromey@redhat.com>
14198
14199         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14200         (jv_convert_LDFLAGS): Likewise.
14201         (gij_LDFLAGS): Likewise.
14202         (rmic_LDFLAGS): Likewise.
14203         (rmiregistry_LDFLAGS): Likewise.
14204         * configure.in (THREADLDFLAGS): New subst; set correctly for
14205         *BSD.
14206
14207 2002-03-25  Tom Tromey  <tromey@redhat.com>
14208
14209         For PR libgcj/5303:
14210         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14211         and --version.
14212         (help): New method.
14213         (version): Likewise.
14214         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14215         "GNU".
14216         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14217         "GNU".
14218
14219 2002-03-25  Tom Tromey  <tromey@redhat.com>
14220
14221         * java/awt/Component.java (processEvent): Check ComponentEvent
14222         after KeyEvent.
14223
14224 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14225
14226         * java/io/PushbackReader.java: Reformat.
14227
14228         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14229         calculate correct number of bytes skipped.
14230
14231         Based on patch from Intel's ORP team:
14232         * java/io/PushbackInputStream.java (available): Calculate correct
14233         number of bytes in buffer.
14234         (read): Remove redundant bound check. Return bytes from both the
14235         buffer and the stream.
14236
14237 2002-03-24  Tom Tromey  <tromey@redhat.com>
14238
14239         * java/awt/TextComponent.java (TextComponent): Editable by
14240         default.
14241
14242         * java/awt/MenuItem.java (eventMask): No longer private.
14243         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14244         superclass if we didn't handle event.
14245         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14246         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14247         * java/awt/Choice.java (dispatchEventImpl): New method.
14248         * java/awt/List.java (dispatchEventImpl): New method.
14249         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14250         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14251         * java/awt/TextField.java (dispatchEventImpl): New method.
14252
14253 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14254
14255         * java/beans/IntrospectionException.java: Update to 1.4.
14256         * java/beans/PropertyVetoException.java: Ditto.
14257
14258 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14259
14260         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14261         Arrays.equals instead of ArrayHelper.equalsArray.
14262
14263 2002-03-24  C. Brian Jones <cbj@gnu.org>
14264
14265         * java/beans/Introspector.java: added new static final fields
14266         introduced in 1.2, lots of other updates remain to be done
14267
14268 2002-03-24  C. Brian Jones <cbj@gnu.org>
14269
14270         * java/beans/Introspector.java: reformatting
14271
14272 2002-03-24  C. Brian Jones <cbj@gnu.org>
14273
14274         * java/beans/Introspector.java: default beanInfoSearchPath will
14275         not include sun.beans.infos given we provide no such package and
14276         the API doesn't really require it; gnu.java.beans.info is the
14277         default.
14278
14279 2002-03-24  Mark Wielaard  <mark@klomp.org>
14280
14281         Thanks to Orp developers
14282         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14283         switch TRUE and FALSE return values.
14284
14285 2002-03-23  Tom Tromey  <tromey@redhat.com>
14286
14287         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14288         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14289
14290 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14291
14292         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14293         MONTH entry.  Fixes PR libgcj/6045.
14294
14295 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14296
14297         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14298
14299 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14300
14301         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14302         not release_set.
14303         * sysdep/powerpc/locks.h (write_barrier): New function.
14304         * sysdep/i386/locks.h (write_barrier): New function.
14305
14306 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14307
14308         * include/jni.h Use correct C comments.
14309
14310 2002-03-18  Tom Tromey  <tromey@redhat.com>
14311
14312         * include/jni.h (JNIIMPORT): New macro.
14313         (JNIEXPORT): Likewise.
14314         (JNICALL): Likewise.
14315
14316 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14317
14318         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14319         systems.
14320
14321 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14322
14323         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14324         INIT_SEGV: Use old_i386_kernel_sigaction.
14325         INIT_FP: Likewise.
14326
14327 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14328
14329         * java/lang/natSystem.cc (init_properties): Update VM version
14330         properties.
14331         * configure.in: Set GCJVERSION.
14332         * acconfig.h: Add GCJVERSION.
14333         * configure: Rebuilt.
14334         * include/config.h.in: Rebuilt.
14335
14336 2002-03-17  Anthony Green  <green@redhat.com>
14337
14338         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14339
14340 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14341
14342         Build a single libgcj.so, without separate gc and zlib libraries.
14343         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14344         SYS_ZLIBS if system zlib is used.
14345         * configure: Rebuilt.
14346         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14347         * Makefile.in: Rebuilt.
14348         * libtool-version: Increment .so version number.
14349
14350         * Makefile.am: Escape quotes in echo.
14351         * Makefile.in: Rebuilt.
14352
14353 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14354
14355         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14356         * Makefile.in: Rebuilt.
14357
14358 2002-03-15  Anthony Green  <green@redhat.com>
14359
14360         * configure.host (FILE): New macro for specifing File
14361         implementation.
14362         * configure: Rebuilt.
14363         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14364
14365 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14366
14367         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14368         already implicitly brought in from libgcj.la.
14369         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14370         * Makefile.in: Rebuilt.
14371
14372 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14373
14374         * THANKS: Fix punctuation, alphabetization.
14375
14376 2002-03-15  Tom Tromey  <tromey@redhat.com>
14377             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14378
14379         Fix for PR libgcj/5944.
14380         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14381
14382 2002-03-15  Anthony Green  <green@redhat.com>
14383
14384         * configure.in (tool_include_dir): Define.
14385         * configure: Rebuilt.
14386         * gcj/Makefile.am: Install libgcj-config.h relative to
14387         tool_include_dir.
14388         * gcj/Makefile: Rebuilt.
14389         * gcj/libgcj-config.h: Add warning comment.
14390
14391 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14392
14393         * configure.host (powerpc*-darwin*): Enable interpreter.
14394
14395 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14396
14397         * include/posix.h: Add multiple include header protection.
14398         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14399
14400 2002-03-10  Adam Megacz <adam@xwt.org>
14401
14402         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14403
14404 2002-03-10  Tom Tromey  <tromey@redhat.com>
14405
14406         * java/awt/GridLayout.java (layoutContainer): Handle case where
14407         there are no items in container.
14408
14409         * java/lang/Win32Process.java: Added comment.
14410         * include/posix.h (_Jv_platform_close_on_exec): New function.
14411         Include fcntl.h.
14412         * include/win32.h (_Jv_platform_close_on_exec): New function.
14413         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14414         flag.
14415         (accept): Likewise.
14416         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14417         close-on-exec flag.
14418         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14419         flag.
14420
14421 2002-03-09  Tom Tromey  <tromey@redhat.com>
14422
14423         * verify.cc (state::NO_STACK): New constant.
14424         (state::is_unmerged_ret_state): Handle case where stacktop is
14425         NO_STACK.
14426         (state::merge): Handle NO_STACK merges.
14427         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14428         for instruction following jsr.
14429         (stacktop, stackdepth): Removed unused variables.
14430         (pop_jump): Ignore case where all remaining states are skipped.
14431
14432 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14433
14434         * java/awt/ImageMediaEntry: Removed.
14435         * java/awt/MediaEntry: Removed.
14436
14437 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14438
14439         Hashtable synchronization for PowerPC.
14440         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14441         slow_pthread_self. Set up symlink for sysdeps directory.
14442         * configure: Rebuild.
14443         * configure.host: Document more shell variables. Set sysdeps_dir
14444         for most platforms. Set slow_pthread_self for i686. Set
14445         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14446         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14447         that memory barrier is emitted where required.
14448         * prims.cc: 64-bit align static primitive class instances.
14449         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14450         read_barrier() to enforce ordering of reads.
14451         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14452         primitives for PowerPC.
14453         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14454         moved from natObject.cc.
14455         * sysdep/alpha/locks.h: Likewise.
14456         * sysdep/ia64/locks.h: Likewise.
14457         * sysdep/generic/locks.h: Likewise.
14458         * java/lang/natObject.cc: Move thread synchronization primitives to
14459         system-dependent headers.
14460
14461 2002-03-09  Adam Megacz  <adam@xwt.org>
14462
14463         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14464         bytes read and no failure code returned.
14465
14466 2002-03-09  Adam Megacz  <adam@xwt.org>
14467
14468         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14469         definitions to simulate -mthreads.
14470
14471 2002-03-09  Adam Megacz  <adam@xwt.org>
14472
14473         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14474         avoid precision loss.
14475
14476 2002-03-09  Per Bothner  <per@bothner.com>
14477
14478         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14479         * gnu/gcj/xlib/XImage.java:  Likewise.
14480         * gnu/gcj/xlib/XColor.java:  Likewise.
14481
14482 2002-03-09  Adam Megacz  <adam@xwt.org>
14483
14484         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14485         IOException so that Throwable.printStackTrace fails correctly.
14486
14487 2002-03-08  Adam Megacz  <adam@xwt.org>
14488
14489         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14490         fixed.
14491
14492 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14493
14494         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14495         truncated to int.
14496
14497 2002-03-08  Tom Tromey  <tromey@redhat.com>
14498
14499         * include/jni.h: Include stdio.h.
14500
14501 2002-03-08  Tom Tromey  <tromey@redhat.com>
14502
14503         * posix.cc (internal_gettimeofday): New function.
14504         (_Jv_select): Use it.
14505
14506 2002-03-07  Adam Megacz  <adam@xwt.org>
14507
14508         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14509         WIN32, and added thunks for read(), write(), and close().
14510         * java/net/natPlainSocketImpl.cc (accept, read, read):
14511         Disabled timeouts on WIN32 pending discussion.
14512
14513 2002-03-07  Adam Megacz  <adam@xwt.org>
14514
14515         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14516         returns jlong. Added implementation
14517         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14518         returns jlong.
14519         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14520         returns jlong.
14521         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14522         returns jlong.
14523         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14524         _Jv_platform_gettimeofday signature.
14525
14526 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14527
14528         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14529         (read): Call recv() directly, not _Jv_recv().
14530
14531 2002-03-06  Tom Tromey  <tromey@redhat.com>
14532
14533         * java/io/natFileDescriptorEcos.cc (init): Don't use
14534         GetStdHandle.
14535         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14536         is negative.
14537         (init): Don't use GetStdHandle.
14538
14539         * include/config.h.in: Rebuilt.
14540         * configure: Rebuilt.
14541         * Makefile.in: Rebuilt.
14542
14543 2002-03-06  Adam Megacz  <adam@xwt.org>
14544
14545         * java/io/FileDescriptor.java: Initialize in/out/err in init().
14546         * java/io/natFileDescriptorWin32.cc (init()): Added function.
14547         * java/io/natFileDescriptorPosix.cc (init()): Added function.
14548         * java/io/natFileDescriptorEcos.cc (init()): Added function.
14549
14550 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
14551
14552         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14553         the code for generating include/java-chartables.h.
14554         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14555         merge with Classpath.
14556         * scripts/unicode-muncher.pl: Copy from Classpath.
14557         * scritps/MakeCharTables.java: New file.
14558         * gnu/gcj/convert/Blocks-3.txt: New file.
14559         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14560         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14561         * gnu/java/lang/CharData.java: Copy from Classpath.
14562         * Makefile.am (ordinary_java_source_files): Add
14563         gnu/java/lang/CharData.java.
14564         * configure.in: Remove --enable-fast-character option.
14565         * java/lang/Character.java: Merge algorithms and Javadoc with
14566         Classpath.
14567         * java/lang/natCharacter.cc: Implement Unicode lookup table more
14568         efficiently.
14569         * include/java-chardecomp.h: Regenerate.
14570         * include/java-chartables.h: Regenerate.
14571
14572 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14573
14574         * java/awt/MediaTracker.java: Implemented.
14575         * Makefile.am: Add MediaTracker.
14576         * Makefile.in: Rebuilt.
14577
14578 2002-03-05  Tom Tromey  <tromey@redhat.com>
14579
14580         * java/lang/natPosixProcess.cc (fail): Removed.
14581         (startProcess): Simplified error-handling.  Preserve
14582         LD_LIBRARY_PATH across exec.
14583
14584         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14585         AbstractMethodError.
14586
14587 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14588
14589         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14590         * Makefile.in: Rebuilt.
14591
14592 2002-03-03 Mark Wielaard <mark@klomp.org>
14593
14594         * java/util/Timer (TaskQueue.stop): set elements to zero.
14595
14596 2002-02-28  Anthony Green  <green@redhat.com>
14597
14598         * java/lang/reflect/natMethod.cc (result): Add void* element.
14599         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
14600         constructor test.
14601
14602 2002-02-27  Adam Megacz <adam@xwt.org>
14603
14604         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14605         '#undef STRICT'.
14606
14607 2002-02-26  Tom Tromey  <tromey@redhat.com>
14608
14609         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14610         * gij.cc (version): Use __VERSION__.
14611         * include/config.h.in: Rebuilt.
14612         * acconfig.h (GCJVERSION): Removed.
14613         * configure: Rebuilt.
14614         * configure.in (GCJVERSION): Removed.
14615
14616 2002-02-26  Andreas Schwab  <schwab@suse.de>
14617
14618         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14619         glibcpp_CXX, since libjava uses even another CXX.
14620         * aclocal.m4, configure: Regenerated.
14621
14622 2002-02-26  Tom Tromey  <tromey@redhat.com>
14623
14624         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14625         `1'.
14626
14627 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14628
14629         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14630         dependency tracking for .java files.
14631         * Makefile.in: Rebuilt.
14632
14633 2002-02-24  Adam Megacz  <adam@xwt.org>
14634
14635         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14636         typo. Sorry.
14637
14638 2002-02-24  Adam Megacz  <adam@xwt.org>
14639
14640         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14641         for Win32, changed #ifdefs to check WIN32 instead of the
14642         (now-obsolete) USE_WINSOCK, and removed support for socket
14643         timeouts on Win32 pending further discussion.
14644
14645 2002-02-24  Adam Megacz  <adam@xwt.org>
14646
14647         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14648         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14649         delete
14650
14651 2002-02-24  Adam Megacz  <adam@xwt.org>
14652
14653         * java/lang/Win32Process.java: Created a dummy class to allow
14654         build process to run to completion.
14655
14656 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
14657
14658         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14659         Define ffi_result union for ffi_call result.  Cast
14660         ffi_result members to jvalue.
14661
14662 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
14663
14664         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14665         * testsuite/Makefile.in: Likewise.
14666
14667 2002-02-20  Per Bothner  <per@bothner.com>
14668
14669         * java/net/URL.java (getPath):  New JDK 1.3 method.
14670
14671         * java/net/URLStreamHandler.java (parseURL):
14672         It is wrong to prepend '/' to the file part of a relative url.
14673
14674         * java/net/URLStreamHandler.java (parseURL):
14675         Minor optizations - append '/' rather than "/".
14676
14677         * java/net/URLStreamHandler.java (parseURL):
14678         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14679         We probably should canonicalize for a context-relative url, though.
14680         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
14681         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
14682         (sameFile):  New method.  Uses canonicalizeFilename.
14683
14684 2002-02-22  Tom Tromey  <tromey@redhat.com>
14685
14686         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14687         java.vendor and java.vm.vendor.
14688         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14689         recent copyright date.
14690         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14691         * gij.cc (version): Print `Inc'.
14692
14693 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14694
14695         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14696         * aclocal.m4, configure: Rebuilt.
14697
14698 2002-02-20  Per Bothner  <per@bothner.com>
14699
14700         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
14701         and/or output streams immediately here, instead of using File.exists.
14702         (inputStream, outputStream):  New fields to save open streams.
14703         (getInputStream, getOutputStream):  Use already-opened streams.
14704
14705 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
14706
14707         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14708         Use it.
14709         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14710         * aclocal.m4, configure, Makefile.in: Rebuilt.
14711
14712 2002-02-19  Tom Tromey  <tromey@redhat.com>
14713
14714         Fix for PR libgcj/5696:
14715         * verify.cc (is_assignable_from_slow): Never call
14716         _Jv_IsAssignableFrom.
14717         (verify_instructions_0): Added new debug statement.
14718         (state::print): Print information about whether local has
14719         changed.
14720         (state::merge): Don't call note_variable when merging locals.
14721         (state::set_exception): Removed old FIXME comment.
14722
14723 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14724
14725         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14726         enable SO_BROADCAST.
14727
14728 2002-02-18  Jason Merrill  <jason@redhat.com>
14729
14730         * name-finder.cc (toHex): Use word mode, not long long.
14731
14732         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14733
14734 2002-02-15  Tom Tromey  <tromey@redhat.com>
14735
14736         Fix for PR libgcj/5695:
14737         * verify.cc (is_assignable_from_slow): Check to see if target is
14738         an Object before checking to see if source is an interface.
14739         (verify_instructions_0) [op_invokeinterface]: Handle case where
14740         we're making an interface call on Object.
14741
14742 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14743
14744         * Makefile.in: Rebuilt with Eric's change below.
14745
14746         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
14747         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
14748         Removed functions which are now implemented in Math.java.
14749
14750 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14751
14752         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14753         * Makefile.am (core_java_source_files): Add
14754         java/lang/StrictMath.java.
14755         * java/lang/Math.java: Merge with Classpath.
14756         * java/lang/StrictMath.java: New file - merge with Classpath.
14757
14758 2002-02-14  Mark Wielaard  <mark@klomp.org>
14759
14760         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14761         package as a workaround for gcj 3.0.x
14762
14763 2002-02-14  Mark Wielaard <mark@klomp.org>
14764
14765         * java/security/BasicPermission.java: extends with fully qualified
14766         classname as workaround for gcj 3.0.4.
14767
14768 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14769
14770         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
14771         around gcj bug of wrong emitted qualifier for inherited method.
14772         * java/net/SocketImpl.java (setOption, getOption): Ditto.
14773         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
14774         constructor to reduce amount of emitted bytecode. While this
14775         happens to work around a jikes 1.15 bug, it is still a useful
14776         patch even for correct compilers.
14777         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
14778         * gnu/java/rmi/server/UnicastRemoteCall.java
14779         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
14780
14781 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
14782
14783         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
14784         * java/net/SocketImpl.java: Ditto.
14785         * java/rmi/server/RMIClassLoader.java: Ditto.
14786         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
14787
14788 2002-02-14  Mark Wielaard <mark@klomp.org>
14789
14790         Thanks to Takashi Okamoto
14791         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
14792         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
14793         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
14794
14795 2002-02-13  Todd Stock  <toddastock@yahoo.com>
14796
14797         Fix for PR libgcj/5670:
14798         * verify.cc (is_assignable_from_slow): If `source' is interface,
14799         recursively look for merge with `target'.
14800
14801 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
14802
14803         * include/jni.h: Fix typo.
14804
14805 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
14806
14807         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
14808         correctly.
14809
14810 2002-02-13  Todd Stock  <toddastock@yahoo.com>
14811
14812         Fix for PR libgcj/5671:
14813         * verify.cc (state::merge): Handle case where we're merging
14814         against an interface.
14815
14816 2002-02-12  Tom Tromey  <tromey@redhat.com>
14817
14818         * exception.cc (std::abort): Mark as noreturn.
14819
14820 2002-02-12  Adam Megacz <adam@xwt.org>
14821
14822         * java/lang/Win32Process.java: Filled in a placeholder
14823         implementation so Win32 will build.
14824
14825 2002-02-12  Adam Megacz <adam@xwt.org>
14826
14827         * java/io/natFilePosix.cc: Copied this from natFile.cc.
14828         * java/io/natFile.cc: Removed from repository.
14829         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
14830
14831 2002-02-12  Adam Megacz <adam@xwt.org>
14832
14833         * win32.cc: Added two #includes to make win32.cc compile.
14834
14835 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14836
14837         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
14838         declarations.
14839         (_Jv_InitGC): Don't bother locking, as this is always called from a
14840         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
14841
14842 2002-02-11  Adam Megacz <adam@xwt.org>
14843
14844         * include/win32.h: Added _Jv_platform_gettimeofday.
14845         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
14846
14847 2002-02-11  Adam Megacz <adam@xwt.org>
14848
14849         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
14850         Added #undef STRICT to make windows.h and
14851         java/lang/reflect/Modifier.h cooperate.
14852
14853 2002-02-11  Adam Megacz <adam@xwt.org>
14854
14855         * java/io/natFileWin32.cc: Created a placeholder class with lots
14856         of FIXMEs.
14857
14858 2002-02-11  Adam Megacz <adam@xwt.org>
14859
14860         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
14861         std::abort() to simply abort(). Also added "fake" std::abort() so
14862         we can #include unwind-pe.h without having to link against
14863         libstdc++-v3.
14864
14865 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
14866
14867         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
14868
14869 2002-02-08  Tom Tromey  <tromey@redhat.com>
14870
14871         * interpret.cc (convert): New function.
14872         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
14873         convert.
14874         Include Long.h.
14875
14876 2002-02-08  Anthony Green  <green@redhat.com>
14877
14878         * configure.host: Add support for xscale-elf embedded target.
14879
14880 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
14881
14882         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
14883         dereferenced.
14884         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
14885         frame.
14886
14887 2002-02-07  Tom Tromey  <tromey@redhat.com>
14888
14889         * java/io/natFile.cc (_access): Use __builtin_alloca.
14890         (_stat): Likewise.
14891         (attr): Likewise.
14892         (getCanonicalPath): Likewise.
14893         (performList): Likewise.
14894         (performMkdir): Likewise.
14895         (performSetReadOnly): Likewise.
14896         (performRenameTo): Likewise.
14897         (performSetLastModified): Likewise.
14898         (performCreate): Likewise.
14899         (performDelete): Likewise.
14900
14901 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14902
14903         * HACKING: Fix URL for the automake-gcj.
14904
14905 2002-02-07  Tom Tromey  <tromey@redhat.com>
14906
14907         * java/lang/natThrowable.cc: Updated copyright.
14908         * java/io/natFileWin32.cc: Updated copyright.
14909         * java/io/natFileDescriptorWin32.cc: Updated copyright.
14910         * win32-threads.cc: Updated copyright.
14911         * name-finder.cc: Updated copyright.
14912         * include/name-finder.h: Updated copyright.
14913
14914         * include/name-finder.h: Conditionally include sys/wait.h.
14915         * include/config.h.in: Rebuilt.
14916
14917         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
14918         Size buffer based on real size of string.
14919         (_stat): Likewise.
14920         (attr): Likewise.
14921         (getCanonicalPath): Likewise.
14922         (performList): Likewise.
14923         (performMkdir): Likewise.
14924         (performSetReadOnly): Likewise.
14925         (unixroot): Removed.
14926         (performRenameTo): Likewise.
14927         (performSetLastModified): Likewise.
14928         (performCreate): Likewise.
14929         (performDelete): Likewise.
14930         (performListRoots): Always return new array.
14931
14932         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
14933         * win32.cc (win32_exception_handler): Now static.
14934         * include/win32.h (_Jv_platform_initialize): Declare.
14935         (win32_exception_handler): Don't declare.
14936         * java/lang/natSystem.cc (currentTimeMillis): Use
14937         _Jv_platform_gettimeofday.
14938         * posix.cc (_Jv_platform_gettimeofday): Renamed.
14939         (_Jv_select): Use new name.
14940         (_Jv_platform_initialize): New function.
14941         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
14942         _Jv_gettimeofday.
14943         (_Jv_platform_initialize): Declare.
14944
14945         * configure: Rebuilt.
14946         * configure.in: Removed unnecessary parens.
14947
14948 2002-02-06  Adam Megacz <adam@xwt.org>
14949
14950        * configure.in: Changed mingw) to *mingw*).
14951        * win32.cc: Created this file.
14952        * win32.h: Created this file.
14953        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
14954        win32_exception_handler from prims.cc to win32.cc, added
14955        header in win32.h.
14956        * prims.cc: removed some #ifdef-WIN32'd headers which are no
14957        longer needed now that we have platform.h
14958
14959 2002-02-06  Adam Megacz <adam@xwt.org>
14960
14961         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
14962         use uint<n>_t instead of LONG and BYTE
14963
14964 2002-02-06  Adam Megacz <adam@xwt.org>
14965
14966         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
14967
14968 2002-02-06  Anthony Green  <green@redhat.com>
14969
14970         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
14971         Implement missing method stubs.
14972         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
14973         targets.
14974         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
14975         concept of timezones.
14976         (init_properties): Don't refer to _Jv_Environment_Properties
14977         when this feature is not available.
14978         * include/config.h.in: Rebuilt.
14979         * acconfig.h: Add DISABLE_MAIN_ARGS.
14980         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
14981         * configure: Rebuilt.
14982         * configure.in: Add --disable-main-args option.  Test for
14983           opendir function.  Replace AC_CHECK_SIZEOF with
14984           AC_COMPILE_CHECK_SIZEOF.
14985         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
14986         * aclocal.m4: Rebuilt.
14987         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
14988
14989 2002-02-06  Tom Tromey  <tromey@redhat.com>
14990
14991         * verify.cc (require_array_type): If argument is a null array of
14992         references, return null as the element type.
14993
14994 2002-02-06  Mark Wielaard  <mark@klomp.org>
14995
14996         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
14997         duplicate of a wide type.
14998
14999 2002-02-06  Tom Tromey  <tromey@redhat.com>
15000
15001         * verify.cc (type::isnull): New method.
15002         (require_array_type): Handle case where array is null.
15003         (verify_instructions_0) [op_arraylength]: Likewise.
15004
15005 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15006
15007         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15008         Symlink PLATFORMH to platform.h.
15009         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15010         PLATFORMOBJS.
15011         * java/lang/natSystem.cc: #include platform.h not posix.h.
15012         * Makefile.in: Rebuilt with libgcj automake.
15013         * configure: Rebuilt.
15014
15015 2002-02-05  Richard Henderson  <rth@redhat.com>
15016
15017         * Makefile.in: Undo munging last change.
15018
15019 2002-02-04  Adam Megacz <adam@xwt.org>
15020
15021         * win32.cc: Created it.
15022         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15023         which is set to posix.cc or win32.cc.
15024         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15025
15026 2002-02-04  Adam Megacz <adam@xwt.org>
15027
15028         * configure.in: Corrected mingw case branches; added * before
15029         and after.
15030
15031 2002-02-04  Adam Megacz <adam@xwt.org>
15032
15033         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15034         if compiling for win32
15035
15036 2002-02-04  Adam Megacz <adam@xwt.org>
15037
15038         * win32-threads.cc: #undef STRICT after gc.h inclusion
15039
15040 2002-02-02  Tom Tromey  <tromey@redhat.com>
15041
15042         * Makefile.in: Rebuilt.
15043
15044 2002-02-02  Jason Merrill  <jason@redhat.com>
15045
15046         * Makefile.am (clean-nat): New target.
15047
15048 2002-02-02  Tom Tromey  <tromey@redhat.com>
15049
15050         * java/io/natFile.cc: Removed old "FIXME" comments.
15051
15052 2002-02-01  Tom Tromey  <tromey@redhat.com>
15053
15054         * java/lang/natPosixProcess.cc (myclose): New function.
15055         (fail): Use it.
15056         (startProcess): Likewise.
15057
15058 2002-02-01  Adam Megacz <adam@xwt.org>
15059
15060         * prims.cc: Added #undef STRICT after #include<windows.h>.
15061
15062 2002-02-01  Adam Megacz <adam@xwt.org>
15063
15064         * prims.cc
15065         (_Jv_CreateJavaVM): We now use WIN32 instead of
15066         USE_WIN32_SIGNALLING and USE_WINSOCK.
15067         (win32_exception_handler): Now throws an exception out of
15068         the signal handler; assumes SJLJ.
15069
15070 2002-02-01  Adam Megacz <adam@xwt.org>
15071
15072         * win32-threads.cc:
15073         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15074         wait() algorithm to make it safe.
15075         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15076         Added lazy creation of Win32 Events for better performance
15077         (really_start): This now uses GC_CreateThread so boehm-gc
15078         knows about new threads even when statically linked.
15079
15080 2002-02-01  Adam Megacz <adam@xwt.org>
15081
15082         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15083         enable safer wait() algorithm.
15084         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15085         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15086         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15087         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15088         instead of mutex.
15089         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15090
15091 2002-02-01  Adam Megacz <adam@xwt.org>
15092
15093         * configure.in: Added support for mingw.
15094         * java/lang/Win32Process.java: Created as empty file.
15095         * java/lang/natWin32Process.cc: Created as empty file.
15096
15097 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15098
15099         PR java/4972
15100         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15101         for libiconv in LIBICONV variable.
15102         * configure: Regenerated.
15103
15104 2002-01-31  Tom Tromey  <tromey@redhat.com>
15105
15106         * verify.cc (state::enter_subroutine): New method.
15107         (handle_jsr_insn): Use it.
15108         (state::merge): When processing a `ret', correctly use
15109         subroutine's state to determine which local variables have
15110         changed.
15111         (push_exception_jump): Don't let stack overflow.
15112
15113 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15114
15115         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15116         --version output.
15117
15118 2002-01-30  Tom Tromey  <tromey@redhat.com>
15119
15120         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15121         parameter for `recv' return type.
15122
15123         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15124         (state::merge): ... not here.
15125         (subr_entry_info): New structure.
15126         (entry_points): New field.
15127         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15128         entry_points.
15129
15130 2002-01-29  Tom Tromey  <tromey@redhat.com>
15131
15132         * java/awt/List.java (addNotify): Correctly check to see if peer
15133         does not exist.
15134
15135         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15136         to compute height of each cell, and number of columns to compute
15137         width of each cell.
15138         * java/awt/Window.java (getOwnedWindows): Don't return null.
15139         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15140         of component.  Increment x using horizontal gap, not vertical
15141         gap.
15142
15143 2002-01-28  Tom Tromey  <tromey@redhat.com>
15144
15145         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15146         `nargs' byte is number of words, not number of arguments.
15147
15148 2002-01-27  Tom Tromey  <tromey@redhat.com>
15149
15150         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15151         (when): Likewise.
15152         * java/awt/event/InputEvent.java (modifiers, when): Now
15153         package-private.
15154
15155         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15156         and to-do list.
15157         (state::merge): Use current class' class loader.
15158         (state::print): Print subroutine.
15159         (state::merge): Don't look at subroutine of unmerged `ret'.
15160
15161 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15162
15163         * nogc.cc: Remove warnings.
15164         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15165         New functions.
15166
15167 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15168
15169         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15170         int, int):  Remove empty "if" statement to work around compiler bug.
15171         (newPixels(int[], ColorModel, int, int): Likewise.
15172
15173 2002-01-25  Per Bothner  <per@bothner.com>
15174
15175         * verify.cc (verify_fail):  Change from being a top-level function
15176         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15177         Pass the current verifier to type: and state: methods as needed,
15178         for better error messages, and for resolve.
15179         (resolve):  Pass current class's loader for Class.forName and
15180         _Jv_FindClassFromSignature, rather than using the default loader.
15181         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15182         (get_type_val_for_signature):  Make non-static.
15183         (various methods):  Pass start_PC implicitly, not explicitly.
15184
15185 2002-01-25  Tom Tromey  <tromey@redhat.com>
15186
15187         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15188         loop termination condition.
15189         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15190         width.
15191
15192 2002-01-24  Tom Tromey  <tromey@redhat.com>
15193
15194         * java/awt/Shape.java: Merged with Classpath.
15195         * java/awt/Scrollbar.java: Merged with Classpath.
15196
15197         * java/awt/Container.java (addNotify): Unconditionally call
15198         addNotifyContainerChildren and superclass addNotify.
15199
15200         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15201         getAlpha, not getBlue.
15202
15203 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15204
15205         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15206
15207         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15208         (grabPixels(long)): Wait to be notified that the ImageProducer has
15209         completed.
15210
15211 2002-01-24  Per Bothner  <per@bothner.com>
15212
15213         * verify.cc (is_assignable_from_slow): If target is an interface,
15214         we must still check the source's superclass before giving up.
15215
15216 2002-01-24  Tom Tromey  <tromey@redhat.com>
15217
15218         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15219
15220 2002-01-23  Tom Tromey  <tromey@redhat.com>
15221
15222         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15223         `else'.
15224
15225         * Makefile.in: Rebuilt.
15226         * Makefile.am (awt_java_source_files): Added new files.
15227         * java/awt/Toolkit.java: Merged with Classpath.
15228         * java/awt/PrintGraphics.java: New file from Classpath.
15229         * java/awt/PrintJob.java: New file from Classpath.
15230         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15231         * java/awt/datatransfer/ClipboardOwner.java: New file from
15232         Classpath.
15233         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15234         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15235         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15236         Classpath.
15237         * java/awt/datatransfer/StringSelection.java: New file from
15238         Classpath.
15239         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15240         Classpath.
15241         * java/awt/datatransfer/Transferable.java: New file from
15242         Classpath.
15243         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15244         from Classpath.
15245
15246         * Makefile.in: Rebuilt.
15247         * Makefile.am (awt_java_source_files): Added new files.
15248         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15249         Classpath.
15250         * java/awt/image/CropImageFilter.java: New file from Classpath.
15251         * java/awt/image/FilteredImageSource.java: New file from
15252         Classpath.
15253         * java/awt/image/ImageFilter.java: New file from Classpath.
15254         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15255         * java/awt/image/PixelGrabber.java: New file from Classpath.
15256         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15257         * java/awt/image/ReplicateScaleFilter.java: New file from
15258         Classpath.
15259         * java/awt/image/ImageProducer.java: Replaced with Classpath
15260         version.
15261         * java/awt/image/ImageObserver.java: Replaced with Classpath
15262         version.
15263         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15264         version.
15265         * java/awt/GridBagConstraints.java (clone): Catch
15266         CloneNotSupportedException.
15267
15268 2002-01-23  Per Bothner  <per@bothner.com>
15269
15270         * java/lang/reflect/natField.cc (setAddr):  New function.
15271         Calls getAddr and then checks that the field isn't final.
15272         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15273         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15274         (set):  Call setAddr before check that new value has right type,
15275         to better match specified semantics.
15276
15277 2002-01-22  Tom Tromey  <tromey@redhat.com>
15278
15279         * java/awt/TextField.java: Replaced with Classpath version.
15280         * java/awt/TextArea.java: Replaced with Classpath version.
15281         * java/awt/TextComponent.java: Replaced with Classpath version.
15282
15283         * java/awt/GridBagConstraints.java: Updated copyright.
15284
15285 2002-01-22  Mark Wielaard <mark@klomp.org>
15286
15287         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15288         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15289         java/awt/Dialog.java java/awt/FileDialog.java
15290         java/awt/Font.java java/awt/FontMetrics.java
15291         java/awt/Image.java java/awt/ImageMediaEntry.java
15292         java/awt/Insets.java java/awt/List.java
15293         java/awt/MediaEntry.java java/awt/MediaTracker.java
15294         java/awt/Menu.java java/awt/MenuBar.java
15295         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15296         java/awt/PaintContext.java java/awt/Panel.java
15297         java/awt/PopupMenu.java java/awt/SystemColor.java
15298         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15299         java/awt/peer/CheckboxMenuItemPeer.java
15300         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15301         java/awt/peer/ComponentPeer.java
15302         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15303         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15304         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15305         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15306         java/awt/peer/MenuBarPeer.java
15307         java/awt/peer/MenuComponentPeer.java
15308         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15309         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15310         java/awt/peer/ScrollPanePeer.java
15311         java/awt/peer/ScrollbarPeer.java
15312         java/awt/peer/TextAreaPeer.java
15313         java/awt/peer/TextComponentPeer.java
15314         java/awt/peer/TextFieldPeer.java
15315         java/awt/peer/WindowPeer.java: Add license clarification.
15316
15317 2002-01-22  Mark Wielaard <mark@klomp.org>
15318
15319         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15320         gnu/gcj/runtime/StringBuffer.java
15321         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15322         gnu/java/awt/ComponentDataBlitOp.java
15323         gnu/java/awt/GLightweightPeer.java
15324         gnu/java/beans/BeanInfoEmbryo.java
15325         gnu/java/beans/EmptyBeanInfo.java
15326         gnu/java/beans/ExplicitBeanInfo.java
15327         gnu/java/beans/IntrospectionIncubator.java
15328         gnu/java/beans/editors/ColorEditor.java
15329         gnu/java/beans/editors/FontEditor.java
15330         gnu/java/beans/editors/NativeBooleanEditor.java
15331         gnu/java/beans/editors/NativeByteEditor.java
15332         gnu/java/beans/editors/NativeDoubleEditor.java
15333         gnu/java/beans/editors/NativeFloatEditor.java
15334         gnu/java/beans/editors/NativeIntEditor.java
15335         gnu/java/beans/editors/NativeLongEditor.java
15336         gnu/java/beans/editors/NativeShortEditor.java
15337         gnu/java/beans/editors/StringEditor.java
15338         gnu/java/beans/info/ComponentBeanInfo.java
15339         gnu/java/io/ClassLoaderObjectInputStream.java
15340         gnu/java/io/NullOutputStream.java
15341         gnu/java/io/ObjectIdentityWrapper.java
15342         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15343         gnu/java/lang/reflect/TypeSignature.java
15344         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15345         gnu/java/locale/Calendar_en.java
15346         gnu/java/locale/Calendar_nl.java
15347         gnu/java/locale/LocaleInformation.java
15348         gnu/java/locale/LocaleInformation_de.java
15349         gnu/java/locale/LocaleInformation_en.java
15350         gnu/java/locale/LocaleInformation_nl.java
15351         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15352         gnu/java/rmi/registry/RegistryImpl.java
15353         gnu/java/rmi/rmic/Compile_gcj.java
15354         gnu/java/rmi/rmic/Compiler.java
15355         gnu/java/rmi/rmic/CompilerProcess.java
15356         gnu/java/rmi/rmic/RMIC.java
15357         gnu/java/rmi/rmic/TabbedWriter.java
15358         gnu/java/rmi/server/ProtocolConstants.java
15359         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15360         gnu/java/rmi/server/RMIHashes.java
15361         gnu/java/rmi/server/RMIObjectInputStream.java
15362         gnu/java/rmi/server/RMIObjectOutputStream.java
15363         gnu/java/rmi/server/UnicastConnection.java
15364         gnu/java/rmi/server/UnicastConnectionManager.java
15365         gnu/java/rmi/server/UnicastRef.java
15366         gnu/java/rmi/server/UnicastRemoteCall.java
15367         gnu/java/rmi/server/UnicastRemoteStub.java
15368         gnu/java/rmi/server/UnicastServer.java
15369         gnu/java/rmi/server/UnicastServerRef.java
15370         gnu/java/security/provider/DefaultPolicy.java
15371         gnu/java/security/provider/Gnu.java
15372         gnu/java/security/provider/SHA.java
15373         gnu/java/security/provider/SHA1PRNG.java
15374         gnu/java/text/BaseBreakIterator.java
15375         gnu/java/text/CharacterBreakIterator.java
15376         gnu/java/text/LineBreakIterator.java
15377         gnu/java/text/SentenceBreakIterator.java
15378         gnu/java/text/WordBreakIterator.java
15379         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15380         java/applet/AppletContext.java java/applet/AppletStub.java
15381         java/applet/AudioClip.java java/awt/AWTError.java
15382         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15383         java/awt/AWTException.java java/awt/AWTPermission.java
15384         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15385         java/awt/Button.java java/awt/Canvas.java
15386         java/awt/CardLayout.java java/awt/Checkbox.java
15387         java/awt/CheckboxGroup.java java/awt/Component.java
15388         java/awt/ComponentOrientation.java java/awt/Container.java
15389         java/awt/Dimension.java java/awt/Event.java
15390         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15391         java/awt/FlowLayout.java java/awt/Frame.java
15392         java/awt/Graphics.java java/awt/Graphics2D.java
15393         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15394         java/awt/IllegalComponentStateException.java
15395         java/awt/ItemSelectable.java java/awt/Label.java
15396         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15397         java/awt/MenuComponent.java java/awt/MenuItem.java
15398         java/awt/Paint.java java/awt/Point.java
15399         java/awt/Rectangle.java java/awt/RenderingHints.java
15400         java/awt/Transparency.java java/awt/Window.java
15401         java/awt/color/ColorSpace.java
15402         java/awt/color/ICC_ColorSpace.java
15403         java/awt/color/ICC_Profile.java
15404         java/awt/event/HierarchyBoundsAdapter.java
15405         java/awt/event/HierarchyBoundsListener.java
15406         java/awt/event/HierarchyEvent.java
15407         java/awt/event/HierarchyListener.java
15408         java/awt/geom/AffineTransform.java
15409         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15410         java/awt/geom/IllegalPathStateException.java
15411         java/awt/geom/Line2D.java
15412         java/awt/geom/NoninvertibleTransformException.java
15413         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15414         java/awt/geom/Rectangle2D.java
15415         java/awt/geom/RectangularShape.java
15416         java/awt/geom/RoundRectangle2D.java
15417         java/awt/image/BufferedImage.java
15418         java/awt/image/ColorModel.java
15419         java/awt/image/ComponentColorModel.java
15420         java/awt/image/ComponentSampleModel.java
15421         java/awt/image/DataBuffer.java
15422         java/awt/image/DataBufferByte.java
15423         java/awt/image/DataBufferInt.java
15424         java/awt/image/DataBufferUShort.java
15425         java/awt/image/DirectColorModel.java
15426         java/awt/image/PackedColorModel.java
15427         java/awt/image/Raster.java java/awt/image/RasterOp.java
15428         java/awt/image/SampleModel.java
15429         java/awt/image/SinglePixelPackedSampleModel.java
15430         java/awt/image/WritableRaster.java
15431         java/beans/AppletInitializer.java
15432         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15433         java/beans/Beans.java java/beans/Customizer.java
15434         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15435         java/beans/FeatureDescriptor.java
15436         java/beans/IndexedPropertyDescriptor.java
15437         java/beans/IntrospectionException.java
15438         java/beans/Introspector.java java/beans/MethodDescriptor.java
15439         java/beans/ParameterDescriptor.java
15440         java/beans/PropertyChangeEvent.java
15441         java/beans/PropertyChangeListener.java
15442         java/beans/PropertyChangeSupport.java
15443         java/beans/PropertyDescriptor.java
15444         java/beans/PropertyEditor.java
15445         java/beans/PropertyEditorManager.java
15446         java/beans/PropertyEditorSupport.java
15447         java/beans/PropertyVetoException.java
15448         java/beans/SimpleBeanInfo.java
15449         java/beans/VetoableChangeListener.java
15450         java/beans/VetoableChangeSupport.java
15451         java/beans/Visibility.java
15452         java/beans/beancontext/BeanContext.java
15453         java/beans/beancontext/BeanContextChild.java
15454         java/beans/beancontext/BeanContextChildComponentProxy.java
15455         java/beans/beancontext/BeanContextChildSupport.java
15456         java/beans/beancontext/BeanContextContainerProxy.java
15457         java/beans/beancontext/BeanContextEvent.java
15458         java/beans/beancontext/BeanContextMembershipEvent.java
15459         java/beans/beancontext/BeanContextMembershipListener.java
15460         java/beans/beancontext/BeanContextProxy.java
15461         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15462         java/beans/beancontext/BeanContextServiceProvider.java
15463         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15464         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15465         java/beans/beancontext/BeanContextServiceRevokedListener.java
15466         java/beans/beancontext/BeanContextServices.java
15467         java/beans/beancontext/BeanContextServicesListener.java
15468         java/io/BufferedInputStream.java
15469         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15470         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15471         java/io/ByteArrayOutputStream.java
15472         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15473         java/io/CharConversionException.java java/io/DataInput.java
15474         java/io/DataInputStream.java java/io/DataOutput.java
15475         java/io/EOFException.java java/io/Externalizable.java
15476         java/io/FileFilter.java java/io/FileNotFoundException.java
15477         java/io/FilePermission.java java/io/FileReader.java
15478         java/io/FileWriter.java java/io/FilenameFilter.java
15479         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15480         java/io/FilterReader.java java/io/FilterWriter.java
15481         java/io/IOException.java java/io/InputStream.java
15482         java/io/InterruptedIOException.java
15483         java/io/InvalidClassException.java
15484         java/io/InvalidObjectException.java
15485         java/io/NotActiveException.java
15486         java/io/NotSerializableException.java java/io/ObjectInput.java
15487         java/io/ObjectInputStream.java
15488         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15489         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15490         java/io/ObjectStreamConstants.java
15491         java/io/ObjectStreamException.java
15492         java/io/ObjectStreamField.java
15493         java/io/OptionalDataException.java java/io/OutputStream.java
15494         java/io/PipedInputStream.java java/io/PipedOutputStream.java
15495         java/io/PipedReader.java java/io/PipedWriter.java
15496         java/io/PrintWriter.java java/io/PushbackInputStream.java
15497         java/io/PushbackReader.java java/io/Reader.java
15498         java/io/SequenceInputStream.java java/io/Serializable.java
15499         java/io/SerializablePermission.java
15500         java/io/StreamCorruptedException.java
15501         java/io/StreamTokenizer.java
15502         java/io/StringBufferInputStream.java java/io/StringReader.java
15503         java/io/StringWriter.java java/io/SyncFailedException.java
15504         java/io/UTFDataFormatException.java
15505         java/io/UnsupportedEncodingException.java
15506         java/io/WriteAbortedException.java java/io/Writer.java
15507         java/lang/AbstractMethodError.java
15508         java/lang/ArithmeticException.java
15509         java/lang/ArrayIndexOutOfBoundsException.java
15510         java/lang/ArrayStoreException.java java/lang/Boolean.java
15511         java/lang/Byte.java java/lang/CharSequence.java
15512         java/lang/ClassCastException.java
15513         java/lang/ClassCircularityError.java
15514         java/lang/ClassFormatError.java
15515         java/lang/ClassNotFoundException.java
15516         java/lang/CloneNotSupportedException.java
15517         java/lang/Cloneable.java java/lang/Comparable.java
15518         java/lang/Compiler.java java/lang/Double.java
15519         java/lang/Error.java java/lang/Exception.java
15520         java/lang/ExceptionInInitializerError.java
15521         java/lang/Float.java java/lang/IllegalAccessError.java
15522         java/lang/IllegalAccessException.java
15523         java/lang/IllegalArgumentException.java
15524         java/lang/IllegalMonitorStateException.java
15525         java/lang/IllegalStateException.java
15526         java/lang/IllegalThreadStateException.java
15527         java/lang/IncompatibleClassChangeError.java
15528         java/lang/IndexOutOfBoundsException.java
15529         java/lang/InheritableThreadLocal.java
15530         java/lang/InstantiationError.java
15531         java/lang/InstantiationException.java java/lang/Integer.java
15532         java/lang/InternalError.java
15533         java/lang/InterruptedException.java
15534         java/lang/LinkageError.java java/lang/Long.java
15535         java/lang/NegativeArraySizeException.java
15536         java/lang/NoClassDefFoundError.java
15537         java/lang/NoSuchFieldError.java
15538         java/lang/NoSuchFieldException.java
15539         java/lang/NoSuchMethodError.java
15540         java/lang/NoSuchMethodException.java
15541         java/lang/NullPointerException.java java/lang/Number.java
15542         java/lang/NumberFormatException.java
15543         java/lang/OutOfMemoryError.java java/lang/Package.java
15544         java/lang/Process.java java/lang/Runnable.java
15545         java/lang/RuntimeException.java
15546         java/lang/RuntimePermission.java
15547         java/lang/SecurityException.java
15548         java/lang/SecurityManager.java java/lang/Short.java
15549         java/lang/StackOverflowError.java java/lang/StringBuffer.java
15550         java/lang/StringIndexOutOfBoundsException.java
15551         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15552         java/lang/ThreadLocal.java java/lang/UnknownError.java
15553         java/lang/UnsatisfiedLinkError.java
15554         java/lang/UnsupportedClassVersionError.java
15555         java/lang/UnsupportedOperationException.java
15556         java/lang/VerifyError.java java/lang/VirtualMachineError.java
15557         java/lang/Void.java java/lang/ref/PhantomReference.java
15558         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15559         java/lang/ref/SoftReference.java
15560         java/lang/ref/WeakReference.java
15561         java/lang/reflect/AccessibleObject.java
15562         java/lang/reflect/InvocationTargetException.java
15563         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15564         java/lang/reflect/ReflectPermission.java
15565         java/math/BigDecimal.java java/math/BigInteger.java
15566         java/net/Authenticator.java java/net/BindException.java
15567         java/net/ConnectException.java java/net/ContentHandler.java
15568         java/net/ContentHandlerFactory.java
15569         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15570         java/net/FileNameMap.java java/net/MalformedURLException.java
15571         java/net/MulticastSocket.java java/net/NetPermission.java
15572         java/net/NoRouteToHostException.java
15573         java/net/PasswordAuthentication.java
15574         java/net/ProtocolException.java java/net/ServerSocket.java
15575         java/net/Socket.java java/net/SocketException.java
15576         java/net/SocketImpl.java java/net/SocketImplFactory.java
15577         java/net/SocketOptions.java java/net/SocketPermission.java
15578         java/net/URLDecoder.java java/net/URLEncoder.java
15579         java/net/URLStreamHandlerFactory.java
15580         java/net/UnknownHostException.java
15581         java/net/UnknownServiceException.java
15582         java/rmi/AccessException.java
15583         java/rmi/AlreadyBoundException.java
15584         java/rmi/ConnectException.java
15585         java/rmi/ConnectIOException.java
15586         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15587         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15588         java/rmi/NotBoundException.java
15589         java/rmi/RMISecurityException.java
15590         java/rmi/RMISecurityManager.java java/rmi/Remote.java
15591         java/rmi/RemoteException.java java/rmi/ServerError.java
15592         java/rmi/ServerException.java
15593         java/rmi/ServerRuntimeException.java
15594         java/rmi/StubNotFoundException.java
15595         java/rmi/UnexpectedException.java
15596         java/rmi/UnknownHostException.java
15597         java/rmi/UnmarshalException.java
15598         java/rmi/activation/Activatable.java
15599         java/rmi/activation/ActivateFailedException.java
15600         java/rmi/activation/ActivationDesc.java
15601         java/rmi/activation/ActivationException.java
15602         java/rmi/activation/ActivationGroup.java
15603         java/rmi/activation/ActivationGroupDesc.java
15604         java/rmi/activation/ActivationGroupID.java
15605         java/rmi/activation/ActivationID.java
15606         java/rmi/activation/ActivationInstantiator.java
15607         java/rmi/activation/ActivationMonitor.java
15608         java/rmi/activation/ActivationSystem.java
15609         java/rmi/activation/Activator.java
15610         java/rmi/activation/UnknownGroupException.java
15611         java/rmi/activation/UnknownObjectException.java
15612         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15613         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15614         java/rmi/registry/Registry.java
15615         java/rmi/registry/RegistryHandler.java
15616         java/rmi/server/ExportException.java
15617         java/rmi/server/LoaderHandler.java
15618         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15619         java/rmi/server/Operation.java
15620         java/rmi/server/RMIClassLoader.java
15621         java/rmi/server/RMIClientSocketFactory.java
15622         java/rmi/server/RMIFailureHandler.java
15623         java/rmi/server/RMIServerSocketFactory.java
15624         java/rmi/server/RMISocketFactory.java
15625         java/rmi/server/RemoteCall.java
15626         java/rmi/server/RemoteObject.java
15627         java/rmi/server/RemoteRef.java
15628         java/rmi/server/RemoteServer.java
15629         java/rmi/server/RemoteStub.java
15630         java/rmi/server/ServerCloneException.java
15631         java/rmi/server/ServerNotActiveException.java
15632         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15633         java/rmi/server/SkeletonMismatchException.java
15634         java/rmi/server/SkeletonNotFoundException.java
15635         java/rmi/server/SocketSecurityException.java
15636         java/rmi/server/UID.java
15637         java/rmi/server/UnicastRemoteObject.java
15638         java/rmi/server/Unreferenced.java
15639         java/security/AccessControlContext.java
15640         java/security/AccessControlException.java
15641         java/security/AccessController.java
15642         java/security/AlgorithmParameterGenerator.java
15643         java/security/AlgorithmParameterGeneratorSpi.java
15644         java/security/AlgorithmParameters.java
15645         java/security/AlgorithmParametersSpi.java
15646         java/security/AllPermission.java
15647         java/security/BasicPermission.java
15648         java/security/Certificate.java java/security/CodeSource.java
15649         java/security/DigestException.java
15650         java/security/DigestInputStream.java
15651         java/security/DigestOutputStream.java
15652         java/security/DomainCombiner.java
15653         java/security/DummyKeyPairGenerator.java
15654         java/security/DummyMessageDigest.java
15655         java/security/DummySignature.java
15656         java/security/GeneralSecurityException.java
15657         java/security/Guard.java java/security/GuardedObject.java
15658         java/security/Identity.java java/security/IdentityScope.java
15659         java/security/InvalidAlgorithmParameterException.java
15660         java/security/InvalidKeyException.java
15661         java/security/InvalidParameterException.java
15662         java/security/Key.java java/security/KeyException.java
15663         java/security/KeyFactory.java java/security/KeyFactorySpi.java
15664         java/security/KeyManagementException.java
15665         java/security/KeyPair.java java/security/KeyPairGenerator.java
15666         java/security/KeyPairGeneratorSpi.java
15667         java/security/KeyStore.java
15668         java/security/KeyStoreException.java
15669         java/security/KeyStoreSpi.java
15670         java/security/MessageDigest.java
15671         java/security/MessageDigestSpi.java
15672         java/security/NoSuchAlgorithmException.java
15673         java/security/NoSuchProviderException.java
15674         java/security/Permission.java
15675         java/security/PermissionCollection.java
15676         java/security/Permissions.java java/security/Policy.java
15677         java/security/Principal.java java/security/PrivateKey.java
15678         java/security/PrivilegedAction.java
15679         java/security/PrivilegedActionException.java
15680         java/security/PrivilegedExceptionAction.java
15681         java/security/ProtectionDomain.java
15682         java/security/Provider.java
15683         java/security/ProviderException.java
15684         java/security/PublicKey.java
15685         java/security/SecureClassLoader.java
15686         java/security/SecureRandom.java
15687         java/security/SecureRandomSpi.java java/security/Security.java
15688         java/security/SecurityPermission.java
15689         java/security/Signature.java
15690         java/security/SignatureException.java
15691         java/security/SignatureSpi.java
15692         java/security/SignedObject.java java/security/Signer.java
15693         java/security/UnrecoverableKeyException.java
15694         java/security/UnresolvedPermission.java
15695         java/security/acl/Acl.java java/security/acl/AclEntry.java
15696         java/security/acl/AclNotFoundException.java
15697         java/security/acl/Group.java
15698         java/security/acl/LastOwnerException.java
15699         java/security/acl/NotOwnerException.java
15700         java/security/acl/Owner.java java/security/acl/Permission.java
15701         java/security/cert/CRL.java
15702         java/security/cert/CRLException.java
15703         java/security/cert/Certificate.java
15704         java/security/cert/CertificateEncodingException.java
15705         java/security/cert/CertificateException.java
15706         java/security/cert/CertificateExpiredException.java
15707         java/security/cert/CertificateFactory.java
15708         java/security/cert/CertificateFactorySpi.java
15709         java/security/cert/CertificateNotYetValidException.java
15710         java/security/cert/CertificateParsingException.java
15711         java/security/cert/X509CRL.java
15712         java/security/cert/X509CRLEntry.java
15713         java/security/cert/X509Certificate.java
15714         java/security/cert/X509Extension.java
15715         java/security/interfaces/DSAKey.java
15716         java/security/interfaces/DSAKeyPairGenerator.java
15717         java/security/interfaces/DSAParams.java
15718         java/security/interfaces/DSAPrivateKey.java
15719         java/security/interfaces/DSAPublicKey.java
15720         java/security/interfaces/RSAKey.java
15721         java/security/interfaces/RSAPrivateCrtKey.java
15722         java/security/interfaces/RSAPrivateKey.java
15723         java/security/interfaces/RSAPublicKey.java
15724         java/security/spec/AlgorithmParameterSpec.java
15725         java/security/spec/DSAParameterSpec.java
15726         java/security/spec/DSAPrivateKeySpec.java
15727         java/security/spec/DSAPublicKeySpec.java
15728         java/security/spec/EncodedKeySpec.java
15729         java/security/spec/InvalidKeySpecException.java
15730         java/security/spec/InvalidParameterSpecException.java
15731         java/security/spec/KeySpec.java
15732         java/security/spec/PKCS8EncodedKeySpec.java
15733         java/security/spec/RSAKeyGenParameterSpec.java
15734         java/security/spec/RSAPrivateCrtKeySpec.java
15735         java/security/spec/RSAPrivateKeySpec.java
15736         java/security/spec/RSAPublicKeySpec.java
15737         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
15738         java/sql/BatchUpdateException.java java/sql/Blob.java
15739         java/sql/CallableStatement.java java/sql/Clob.java
15740         java/sql/Connection.java java/sql/DataTruncation.java
15741         java/sql/DatabaseMetaData.java java/sql/Date.java
15742         java/sql/Driver.java java/sql/DriverManager.java
15743         java/sql/DriverPropertyInfo.java
15744         java/sql/PreparedStatement.java java/sql/Ref.java
15745         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
15746         java/sql/SQLData.java java/sql/SQLException.java
15747         java/sql/SQLInput.java java/sql/SQLOutput.java
15748         java/sql/SQLWarning.java java/sql/Statement.java
15749         java/sql/Struct.java java/sql/Time.java
15750         java/sql/Timestamp.java java/sql/Types.java
15751         java/text/Annotation.java
15752         java/text/AttributedCharacterIterator.java
15753         java/text/AttributedString.java
15754         java/text/AttributedStringIterator.java
15755         java/text/BreakIterator.java java/text/CharacterIterator.java
15756         java/text/ChoiceFormat.java java/text/Collator.java
15757         java/text/DateFormat.java java/text/DateFormatSymbols.java
15758         java/text/DecimalFormat.java
15759         java/text/DecimalFormatSymbols.java
15760         java/text/FieldPosition.java java/text/Format.java
15761         java/text/MessageFormat.java java/text/NumberFormat.java
15762         java/text/ParseException.java java/text/ParsePosition.java
15763         java/text/SimpleDateFormat.java
15764         java/text/StringCharacterIterator.java
15765         java/util/AbstractCollection.java java/util/AbstractList.java
15766         java/util/AbstractMap.java
15767         java/util/AbstractSequentialList.java
15768         java/util/AbstractSet.java java/util/ArrayList.java
15769         java/util/Arrays.java java/util/BasicMapEntry.java
15770         java/util/BitSet.java java/util/Calendar.java
15771         java/util/Collection.java java/util/Collections.java
15772         java/util/Comparator.java
15773         java/util/ConcurrentModificationException.java
15774         java/util/Date.java java/util/Dictionary.java
15775         java/util/EmptyStackException.java java/util/Enumeration.java
15776         java/util/EventListener.java java/util/EventObject.java
15777         java/util/GregorianCalendar.java java/util/HashMap.java
15778         java/util/HashSet.java java/util/Hashtable.java
15779         java/util/IdentityHashMap.java java/util/Iterator.java
15780         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
15781         java/util/LinkedList.java java/util/List.java
15782         java/util/ListIterator.java java/util/ListResourceBundle.java
15783         java/util/Locale.java java/util/Map.java
15784         java/util/MissingResourceException.java
15785         java/util/NoSuchElementException.java
15786         java/util/Observable.java java/util/Observer.java
15787         java/util/Properties.java java/util/PropertyPermission.java
15788         java/util/PropertyResourceBundle.java java/util/Random.java
15789         java/util/RandomAccess.java java/util/ResourceBundle.java
15790         java/util/Set.java java/util/SimpleTimeZone.java
15791         java/util/SortedMap.java java/util/SortedSet.java
15792         java/util/Stack.java java/util/StringTokenizer.java
15793         java/util/TimeZone.java java/util/Timer.java
15794         java/util/TimerTask.java
15795         java/util/TooManyListenersException.java
15796         java/util/TreeMap.java java/util/TreeSet.java
15797         java/util/Vector.java java/util/WeakHashMap.java
15798         java/util/jar/Attributes.java java/util/jar/JarEntry.java
15799         java/util/jar/JarException.java java/util/jar/JarFile.java
15800         java/util/jar/JarInputStream.java
15801         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
15802         java/util/zip/Adler32.java java/util/zip/CRC32.java
15803         java/util/zip/CheckedInputStream.java
15804         java/util/zip/CheckedOutputStream.java
15805         java/util/zip/Checksum.java
15806         java/util/zip/DataFormatException.java
15807         java/util/zip/Deflater.java
15808         java/util/zip/DeflaterOutputStream.java
15809         java/util/zip/GZIPInputStream.java
15810         java/util/zip/GZIPOutputStream.java
15811         java/util/zip/Inflater.java
15812         java/util/zip/InflaterInputStream.java
15813         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
15814         java/util/zip/ZipException.java java/util/zip/ZipFile.java
15815         java/util/zip/ZipInputStream.java
15816         java/util/zip/ZipOutputStream.java
15817         javax/naming/BinaryRefAddr.java
15818         javax/naming/InvalidNameException.java javax/naming/Name.java
15819         javax/naming/NamingException.java javax/naming/RefAddr.java
15820         javax/naming/StringRefAddr.java: Add license clarification.
15821
15822 2002-01-22  Tom Tromey  <tromey@redhat.com>
15823
15824         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
15825         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
15826         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
15827         version.
15828         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
15829         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
15830         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
15831         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
15832         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
15833         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
15834         * java/awt/peer/FontPeer.java: Replace with Classpath version.
15835         * java/awt/peer/FramePeer.java: Replace with Classpath version.
15836         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
15837         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
15838         * java/awt/peer/ListPeer.java: Replace with Classpath version.
15839         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
15840         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
15841         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
15842         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
15843         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
15844         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
15845         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
15846         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
15847         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
15848         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
15849         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
15850         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
15851         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
15852         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
15853         (minimumSize, preferredSize, reshape): Likewise.
15854         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
15855         getColorModel): New methods.
15856         * java/awt/PopupMenu.java: Merged with Classpath.
15857         * java/awt/MenuBar.java: Merged with Classpath.
15858         * java/awt/SystemColor.java: Replace with Classpath version.
15859         * java/awt/Panel.java: Merged with Classpath.
15860         * java/awt/PaintContext.java: Updated copyright.
15861         * java/awt/MenuShortcut.java: Merged with Classpath.
15862         * java/awt/MenuContainer.java: Merged with Classpath.
15863         * java/awt/Menu.java: Merged with Classpath.
15864         * java/awt/MediaEntry.java: New file from Classpath.
15865         * java/awt/MediaTracker.java: New file from Classpath.
15866         * java/awt/List.java: Merged with Classpath version.
15867         * java/awt/Insets.java: Merged with Classpath version.
15868         * java/awt/ImageMediaEntry.java: New file from Classpath.
15869         * java/awt/Image.java: Replaced with Classpath version.
15870         * java/awt/FontMetrics.java: Merged with Classpath version.
15871         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
15872         constant.
15873         * java/awt/Font.java: Merged with Classpath version.
15874         * java/awt/Dialog.java: Merged with Classpath version.
15875         * java/awt/Color.java: Merged with Classpath version.
15876         * java/awt/Choice.java: Merged with Classpath version.
15877         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
15878         * java/awt/Adjustable.java: Replace with Classpath version.
15879         * java/awt/MenuItem.java (paramString): Don't include class name
15880         or brackets.  Call superclass paramString.
15881         * java/awt/MenuComponent.java (toString): Call paramString.
15882         (paramString): Compute string; don't call toString.
15883         * java/awt/Label.java (paramString): Don't include class name
15884         or brackets.  Call superclass paramString.
15885         * java/awt/Checkbox.java (paramString): Don't include class name
15886         or brackets.  Call superclass paramString.
15887         * java/awt/Button.java (paramString): Don't include class name or
15888         brackets.  Call superclass paramString.
15889         * java/awt/MenuComponent.java (getTreeLock): Now protected.
15890
15891 2002-01-20  Andreas Schwab  <schwab@suse.de>
15892
15893         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
15894         function and of parameter recv_func to ssize_t, as specified by
15895         POSIX.
15896
15897 2002-01-19  Per Bothner  <per@bothner.com>
15898
15899         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
15900         uncompressed_size in readiness for next entry.
15901
15902 2002-01-18  Tom Tromey  <tromey@redhat.com>
15903
15904         * java/net/natPlainSocketImpl.cc: Include
15905         IllegalArgumentException.h.
15906         (_Jv_recv): New template function.
15907         (BooleanClass): Removed.
15908         (read): Use _Jv_recv.
15909         (setOption): Use Boolean::class$.  Throw exception if object is
15910         not Boolean or Integer.
15911
15912 2002-01-17  Tom Tromey  <tromey@redhat.com>
15913
15914         * java/awt/MenuComponent.java: Merged with Classpath.
15915         * java/awt/MenuItem.java: Merged with Classpath.
15916         * java/awt/Button.java: Merged with Classpath.
15917
15918         * java/awt/ActiveEvent.java: Updated copyright.
15919
15920         * java/awt/AWTError.java: Replaced with Classpath version.
15921         * java/awt/AWTException.java: Replaced with Classpath version.
15922         * java/awt/IllegalComponentStateException.java: Replaced with
15923         Classpath version.
15924
15925 2002-01-16  Tom Tromey  <tromey@redhat.com>
15926
15927         * java/awt/Canvas.java (serialVersionUID): New constant.
15928         Updated copyright.  Added javadoc from Classpath.
15929         * java/awt/ItemSelectable.java: Replaced with Classpath version.
15930
15931         * java/awt/CheckboxGroup.java: Merged with Classpath.
15932         * java/awt/Checkbox.java: Merged with Classpath.
15933
15934         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
15935         Classpath.
15936         * java/awt/Point.java: Updated copyright.
15937
15938         * java/awt/Point.java (toString): Use getClass().getName().
15939         Added javadoc.
15940
15941         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
15942         commented code.
15943         (hash): Correctly compute initial value for `h'.
15944
15945         * java/awt/Label.java: Merged with Classpath.
15946
15947 2002-01-15  Tom Tromey  <tromey@redhat.com>
15948
15949         * java/awt/AWTPermission.java: Updated copyright.
15950
15951         * java/awt/LayoutManager2.java: Merged with Classpath.
15952         * java/awt/LayoutManager.java: Merged with Classpath.
15953         * java/awt/GridLayout.java: Updated copyright and javadoc.
15954         (getSize): Use `parent.ncomponents'.  Handle insets.
15955         (layoutContainer): Use `parent.ncomponents'.  Handle case where
15956         there are fewer children than columns.  Correctly compute size of
15957         each cell in the grid.  Handle case where there isn't enough
15958         space.
15959         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
15960         all users.
15961         (gotoComponent): Use parent.ncomponents.  Ensure child exists
15962         before calling setVisible() on it.  Last item is `num - 1', not
15963         `num'.
15964         (layoutContainer): Hoist invariants out of loop.
15965
15966         Start of AWT merge with Classpath:
15967         * Makefile.in: Rebuilt.
15968         * Makefile.am (awt_java_source_files): Reference files in
15969         gnu/java/awt, not gnu/gcj/awt.
15970         * java/awt/image/BufferedImage.java: Updated copyright.
15971         * java/awt/image/ComponentColorModel.java: Updated copyright.
15972         * java/awt/image/ComponentSampleModel.java: Updated copyright.
15973         * java/awt/image/DataBuffer.java: Updated copyright.
15974         * java/awt/image/DataBufferByte.java: Updated copyright.
15975         * java/awt/image/DataBufferInt.java: Updated copyright.
15976         * java/awt/image/DataBufferUShort.java: Updated copyright.
15977         * java/awt/image/IndexColorModel.java: Updated copyright.
15978         * java/awt/image/PackedColorModel.java: Updated copyright.
15979         * java/awt/image/Raster.java: Updated copyright.
15980         * java/awt/image/RasterOp.java: Updated copyright.
15981         * java/awt/image/SampleModel.java: Updated copyright.
15982         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
15983         * java/awt/image/WritableRaster.java: Updated copyright.
15984         * java/awt/color/ColorSpace.java: Updated copyright.
15985         * java/awt/color/ICC_ColorSpace.java: Updated copyright
15986         * java/awt/color/ICC_Profile.java: Updated copyright.
15987         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
15988         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
15989         * java/awt/event/HierarchyEvent.java: Updated copyright.
15990         * java/awt/event/HierarchyListener.java: Updated copyright.
15991         * java/awt/geom/AffineTransform.java: Updated copyright.
15992         * java/awt/geom/Dimension2D.java: Updated copyright.
15993         * java/awt/geom/Ellipse2D.java: Updated copyright.
15994         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
15995         * java/awt/geom/Line2D.java: Updated copyright.
15996         * java/awt/geom/NoninvertibleTransformException.java: Updated
15997         copyright.
15998         * java/awt/geom/PathIterator.java: Updated copyright.
15999         * java/awt/geom/Point2D.java: Updated copyright.
16000         * java/awt/geom/Rectangle2D.java: Updated copyright.
16001         * java/awt/geom/RectangularShape.java: Updated copyright.
16002         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16003         * java/awt/Toolkit.java: Updated import for file moves.
16004         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16005         Classpath.
16006         (hashCode): New method from Classpath.
16007         * java/awt/Graphics2D.java: Updated copyright.
16008         * java/awt/Transparency.java: Updated copyright.
16009         * java/awt/Paint.java: Updated copyright.
16010         * java/awt/Graphics.java: New version from Classpath.
16011         * java/awt/EventDispatchThread.java: Updated copyright.
16012         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16013         children.
16014         (gotoComponent): Wrap around on next/previous.
16015         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16016         * gnu/gcj/awt/Buffers.java: Removed.
16017         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16018         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16019         * gnu/java/awt/BitMaskExtent.java: Added.
16020         * gnu/java/awt/Buffers.java: Added.
16021         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16022         * gnu/java/awt/GLightweightPeer.java: Added.
16023         * java/awt/geom/Line2D.java (clone): Ignore
16024         CloneNotSupportedException.
16025         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16026         * java/awt/Frame.java: Merged with Classpath.
16027         * java/awt/RenderingHints.java: Copyright update.
16028         * java/awt/Paint.java: Copyright update.
16029         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16030         * java/awt/image/ColorModel.java: Merged with Classpath.
16031         * java/awt/Window.java (show): New Implementation from Classpath.
16032         (isShowing): Use super.isShowing().
16033         * java/awt/EventQueue.java: Merged with Classpath.
16034         * java/awt/AWTEventMulticaster.java (save): Throw
16035         RuntimeException.
16036         (saveInternal): Likewise.
16037         * java/awt/AWTEvent.java: Now implements Serializable.
16038         * java/awt/Event.java: Copyright update.
16039         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16040         * java/awt/image/BufferedImage.java: Copyright update.
16041         * java/awt/GraphicsConfiguration.java: Copyright update.
16042         * java/awt/Component.java: (addNotify): Don't call
16043         addNotifyContainerChildren().
16044         (addNotifyContainerChildren): Removed.
16045         (setPeer): New method from Classpath.
16046         (setTreeLock): Likewise.
16047         (setVisible): Rewrote.
16048         (show): Use it.
16049         (hide): Likewise.
16050         (validate): Set `valid'.
16051         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16052         (createImage(ImageProducer)): Likewise.
16053         (prepareImage): Likewise.
16054         * java/awt/Container.java (addImpl): Handle case where constraint
16055         is not a String.  Post event via system event queue.
16056         (remove): Post event via system event queue.
16057         (validateTree): Only validate child if it is invalid.
16058         (getAlignmentX): Call super method as default.
16059         (getAlignmentY): Likewise.
16060         (addContainerListener): Now synchronized.
16061         (removeContainerListener): Likewise.
16062         (addNotifyContainerChildren): Now private.
16063         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16064         @author.
16065         * java/awt/FlowLayout.java (serialVersionUID): New field.
16066         (setAlignment): Better exception message.
16067         (layoutContainer): Don't compute component's preferred size unless
16068         we're going to use it.
16069         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16070         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16071         (firstLine, lastLine, firstItem, lastItem): New fields.
16072         (addLayoutComponent): Handle case where constraints is null.
16073         Also, handle relative locations.
16074         (removeLayoutComponent): Handle relative locations.
16075         (MIN, MAX, PREF): New constants.
16076         (calcCompSize): New method.
16077         (calcSize): New method.
16078         (minimumLayoutSize): Use it.
16079         (preferredLayoutSize): Likewise.
16080         (maximumLayoutSize): Likewise.
16081         (toString): Include more information.
16082         (setBounds): New method.
16083         (layoutContainer): Use libgcj implementation; extended to handle
16084         relative locations.
16085
16086 2002-01-15  Tom Tromey  <tromey@redhat.com>
16087
16088         * java/lang/Float.java (equals): Preserve old code.
16089         * java/lang/Double.java (equals): Preserve old code.
16090
16091 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16092
16093         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16094         * java/lang/Float.java (equals, compare): Ditto.
16095
16096 2002-01-13  Mark Wielaard  <mark@klomp.org>
16097
16098         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16099         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16100         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16101         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16102
16103 2002-01-11  Mark Wielaard  <mark@klomp.org>
16104
16105         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16106         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16107         InetAddress.
16108         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16109         * java/net/Socket.java: Merge with Classpath.
16110         * java/net/ServerSocket.java: Likewise.
16111
16112 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16113
16114         * interpret.cc (NULLARRAYCHECK): New macro.
16115         (SAVE_PC): Just store `pc'.
16116         (find_exception): Subtract one from `pc' here.
16117         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16118         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16119         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16120         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16121         don't call SAVE_PC.
16122         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16123         call SAVE_PC.
16124
16125 2002-01-11  Tom Tromey  <tromey@redhat.com>
16126
16127         * java/lang/natSystem.cc (init_properties): Only look for default
16128         locale if LC_MESSAGES is defined.
16129         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16130         * configure.in: Call AM_LC_MESSAGES.
16131         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16132
16133 2002-01-10  Tom Tromey  <tromey@redhat.com>
16134
16135         For PR libgcj/5303:
16136         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16137         --version.  Recognize GNU-style long options.  Print GNU-style
16138         error messages.
16139         (usage): Print GNU-style help.  Exit with status 0.
16140         (error): New method.
16141         (run): Print error message if no class names found.
16142         (main): Don't print usage on error.
16143
16144 2002-01-09  Tom Tromey  <tromey@redhat.com>
16145
16146         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16147         property.
16148         (help, version): Use println(), not println("").
16149
16150         For PR libgcj/5303:
16151         * gnu/gcj/convert/Convert.java (error): Program is called
16152         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16153         -1.
16154         (main): Handle --help and --version.
16155         (help): New method.
16156         (version): Likewise.
16157
16158 2002-01-08  Tom Tromey  <tromey@redhat.com>
16159
16160         * Makefile.in: Rebuilt.
16161         * Makefile.am (ordinary_java_source_files): Added new files.
16162         * gnu/java/locale/LocaleInformation.java: Extend
16163         LocaleInformation_en.
16164         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16165         and time/date formats.
16166         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16167         generated.
16168         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16169         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16170         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16171         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16172         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16173         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16174         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16175         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16176         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16177         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16178         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16179         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16180         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16181         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16182         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16183         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16184         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16185         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16186         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16187         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16188         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16189         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16190         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16191         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16192         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16193         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16194         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16195         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16196         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16197         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16198         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16199         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16200         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16201         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16202         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16203         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16204         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16205         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16206         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16207         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16208         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16209         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16210         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16211         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16212         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16213         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16214         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16215         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16216         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16217         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16218         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16219         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16220         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16221         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16222         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16223         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16224         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16225         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16226         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16227         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16228         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16229         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16230         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16231         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16232         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16233         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16234         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16235         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16236         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16237         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16238         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16239         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16240         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16241         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16242         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16243         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16244         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16245         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16246         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16247         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16248         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16249         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16250         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16251         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16252         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16253         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16254         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16255         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16256         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16257         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16258         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16259         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16260         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16261         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16262         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16263         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16264         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16265         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16266         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16267         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16268         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16269         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16270         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16271         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16272         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16273         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16274         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16275         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16276         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16277         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16278         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16279         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16280         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16281         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16282         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16283         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16284         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16285         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16286         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16287         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16288         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16289         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16290         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16291         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16292         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16293         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16294         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16295         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16296         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16297         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16298
16299         For PR libgcj/5031:
16300         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16301         choose default locale.
16302
16303         * Makefile.in: Rebuilt.
16304         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16305
16306 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16307
16308         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16309         sockets.
16310         (close): New function closes the socket.
16311         (write): New functions for output to socket.
16312         (read): New functions for reading from socket.
16313         * java/net/PlainSocketImpl.java: Glue for new timeout
16314         implementation.
16315         (write): Call the native impl.
16316         (read): Likewise.
16317         (getInputStream): Get a stream to read from the socket.
16318         (getOutputStream): Get a stream to write to the socket.
16319
16320 2002-01-08  Tom Tromey  <tromey@redhat.com>
16321
16322         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16323
16324 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16325
16326         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16327         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16328
16329 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16330
16331         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16332         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16333         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16334         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16335         insn_bastore, insn_castore, insn_sastore]: Use it.
16336         (continue1) [insn_arraylength]: Check for null array.
16337
16338 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16339
16340         * configure, include/config.h.in: Rebuilt.
16341         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16342         * configure.in: Call AC_STRUCT_TIMEZONE.
16343
16344 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16345
16346         * configure.host: Disable the interpreter for Darwin.
16347
16348 2002-01-04  Tom Tromey  <tromey@redhat.com>
16349
16350         * java/lang/Thread.java (stop): No longer synchronized.
16351         (start): Likewise.
16352
16353 2002-01-02  Tom Tromey  <tromey@redhat.com>
16354
16355         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16356         patch.
16357
16358 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16359
16360         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16361         PPC Darwin, not for all of Darwin.