Update copyright.
[official-gcc.git] / libjava / ChangeLog
blob1e3b451db9a01d150ccf180ea9d632fc09aada0b
1 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4         jvalue for each argument. Simplify.
5         * testsuite/libjava.jni/calls.c (docall),
6         testsuite/libjava.jni/calls.java (longpb_f): check for argument
7         misalignment.
9 2003-02-28  Mark Wielaard  <mark@klomp.org>
11         * Makefile.am (nat_source_files): Remove
12         java/io/natObjectOutputStream.cc.
13         * Makefile.in: Regenerated.
14         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
15         * java/io/ObjectStreamField.java (typename): New field.
16         (ObjectStreamField(String, Class)): Initialize new field.
17         (ObjectStreamField(String, String)): New Constructor.
18         (getTypeCode): Use new field.
19         (getTypeString): Use new field.
20         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
21         ObjectStreamExceptions. Remember and reset old BlockDataMode.
22         Handle reading of Proxy classes. Never drain(), just write
23         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
24         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
25         (flush): Call flush(), not just drain().
26         (writeBoolean): Always use blockDataOutput.
27         (writeByte): Likewise.
28         (writeShort): Likewise.
29         (writeChar): Likewise.
30         (writeInt): Likewise.
31         (writeLong): Likewise.
32         (writeFloat): Likewise.
33         (writeDouble): Likewise.
34         (writeBytes): Likewise.
35         (putfield (put(String,Object))): Throw IllegalArgumentException if
36         field cannot be found.
37         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
38         (writeArraySizeAndElements): Write byte[] in one go.
39         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
40         set BlockDataMode to false.
41         (annotateProxyClass): New method.
42         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
43         (getField): No longer native.
44         (getMethod): Likewise.
45         (setBlockDataMode): Always drain() on switch, return old mode.
46         (static): New static code block.
47         * java/io/natObjectOutputStream.cc: Removed.
48         * java/io/ObjectInputStream.java (getField): No longer native.
49         (getMethod): Likewise.
50         (readObject): Remember and reset old BlockDataMode. Track whether
51         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
52         TC_LONGSTRING.
53         (defaultReadObject): Set BlockDataMode to false during readFields.
54         (resolveClass): Create new SecurityManager if necessary.
55         Use Class.forName() if null ClassLoader found.
56         (read(byte[],int,int): Copy remaining bytes to data before calling
57         readNextBlock().
58         (readFields): Set and reset BlockDataMode on call_read_method.
59         Catch NoSuchFieldErrors.
60         (setBlockDataMode): Return old mode.
61         (static): New static code block.
62         * java/io/natObjectInputStream.cc (getField): Removed.
63         (getMethod): Likewise.
65 2003-02-27  Michael Koch  <konqueror@gmx.de>
67         * java/beans/Beans.java,
68         java/beans/FeatureDescriptor.java
69         java/beans/PropertyEditorManager.java:
70         Reformated to GNU style.
72 2003-02-25  Michael Koch  <konqueror@gmx.de>
74         * gnu/java/nio/MappedByteFileBuffer.java,
75         gnu/java/nio/natMappedByteFileBuffer.cc:
76         New files, both are not compiled yet to get not noncompiling CVS.
78 2003-02-24  Tom Tromey  <tromey@redhat.com>
80         * java/util/prefs/AbstractPreferences.java (isUserNode):
81         Implemented.
83 2003-02-24  Tom Tromey  <tromey@redhat.com>
85         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
86         Deprecate.
87         * java/lang/Thread.java (resume): Deprecate.
88         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
89         in @deprecated.
91 2003-02-23  Tom Tromey  <tromey@redhat.com>
93         * Makefile.in: Rebuilt.
94         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
96 2003-02-23  Tom Tromey  <tromey@redhat.com>
98         * java/lang/natRuntime.cc (libraries_size, libraries_count,
99         libraries): Removed.
100         (add_library): Removed.
101         (_load): Don't call add_library.
102         (loadLibraryInternal): Likewise.
103         (init): Likewise.
104         (lookup_data): New struct.
105         (find_symbol): New function.
106         (_Jv_FindSymbolInExecutable): Use it.
108 2002-02-21  Anthony Green  <green@redhat.com>
110         * java/lang/Thread.java (Thread): New constructor taking stack
111         size parameter (ignored for now).
112         * Many methods: Merged GNU Classpath documentation.
114         * java/lang/Class.java (finalize): throws a Throwable.
116 2003-02-21  Mark Wielaard  <mark@klomp.org>
118         * java/util/zip/ZipEntry.java (setComment): Don't check length when
119         argument is null.
121 2003-02-21  Mark Wielaard  <mark@klomp.org>
123         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
124         then 65535 chars throw IllegalArgumentException.
126 2003-02-21  Mark Wielaard  <mark@klomp.org>
128         * java/util/zip/ZipFile.java (finalize): New method.
130 2003-02-21  Michael Koch  <konqueror@gmx.de>
132         * gnu/java/nio/natSocketChannelImpl.cc:
133         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
134         <cato@df.lth.se> for pointing to it.
136 2003-02-20  Raif S. Naffah <raif@fl.net.au>
138         * java/math/BigInteger.java (euclidInv): Take result array as an
139         argument.  Updated all callers.
140         (modInverse): Removed unused variables.
142 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
144         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
145         config.status.
146         * configure: Rebuilt.
148 2003-02-19  Michael Koch  <konqueror@gmx.de>
150         * gnu/java/nio/natSocketChannelImpl.cc:
151         Added support for platforms without network support.
153 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
155         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
156         after config.h.  Use <> for consistency.
157         * java/lang/natObject.cc: Likewise.
158         * java/lang/natRuntime.cc: Likewise.
159         * java/lang/natSystem.cc: Likewise.
160         * java/util/natTimeZone.cc: Likewise.
161         * win32.cc: Likewise.
162         * include/posix.h (fcntl, socket, connect, close, bind, accept,
163         listen, write, read): Undef to avoid interference from OS macros.
165 2003-02-19  Michael Koch  <konqueror@gmx.de>
167         * gnu/java/nio/ByteBufferImpl.java
168         (ByteBufferImpl): Renamed two variables.
169         * gnu/java/nio/CharBufferImpl.java
170         (CharBufferImpl): Renamed two variables.
171         * gnu/java/nio/DoubleBufferImpl.java
172         (DoubleBufferImpl): Renamed two variables.
173         * gnu/java/nio/FloatBufferImpl.java
174         (FloatBufferImpl): Renamed two variables.
175         * gnu/java/nio/IntBufferImpl.java
176         (IntBufferImpl): Renamed two variables.
177         * gnu/java/nio/LongBufferImpl.java
178         (LongBufferImpl): Renamed two variables.
179         * gnu/java/nio/ShortBufferImpl.java
180         (ShortBufferImpl): Renamed two variables.
181         * java/nio/CharBuffer.java
182         (wrap): Fixed arguments to CharBufferImpl constructor.
183         (hasArray): Only not read-only buffers have backing arrays.
184         (length): Documentation added.
185         (subSequence): Documentation added.
186         * java/nio/DoubleBuffer.java
187         (hasArray): Only not read-only buffers have backing arrays.
188         * java/nio/FloatBuffer.java
189         (hasArray): Only not read-only buffers have backing arrays.
190         * java/nio/IntBuffer.java
191         (hasArray): Only not read-only buffers have backing arrays.
192         * java/nio/LongBuffer.java
193         (hasArray): Only not read-only buffers have backing arrays.
194         * java/nio/ShortBuffer.java
195         (hasArray): Only not read-only buffers have backing arrays.
196         
197 2003-02-19  Michael Koch  <konqueror@gmx.de>
199         * javax/accessibility/AccessibleContext.java
200         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
202 2003-02-19  Michael Koch  <konqueror@gmx.de>
204         * java/awt/ScrollPaneAdjustable.java: Reformated.
206 2003-02-19  Michael Koch <konqueror@gmx.de>
208         * gnu/awt/j2d/Graphics2DImpl.java
209         (getFontRenderContext): New method.
210         (drawGlyphVector): New method.
211         * java/awt/Graphics2D.java
212         (getFontRenderContext): New abstract method.
213         (drawGlyphVector): New abstract method.
214         
215 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
217         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
218         if necessary.
219         
220         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
221         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
222         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
223         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
225         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
226         (setFont, gtkSetFont): add.
227         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
228         Propagate font to peer.  (setFont): add FIXME comment.
230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
231         (gtkTextGetSize): fix height, width computation.
233         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
234         Make X font name a bit less bogus.
236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
237         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
239         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
240         (processAdjustmentEvent): Adjust value.
242         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
243         logic errors.
245         * java/awt/Component.java (setVisible, show, hide): Call show and
246         hide methods in subclasses.
247         (getPreferredSize): don't set prefSize before we have peer.
249         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
250         Guess (0,0) if we don't have peer.
253 2003-02-18  Michael Koch  <konqueror@gmx.de>
255         * java/nio/channels/FileChannel.java
256         (toString): New implementation, added documentation.
257         (map): Added exception documentation.
258         (size): Added exception documentation.
259         (write): New methods, documentation work.
260         (read): New methods, documentation work.
261         (implCloseChannel): Rewrote exception documentation.
262         (force): Throws IOException, added documentation.
263         (lock): New methods.
264         (tryLock): New methods.
265         (position): New methods.
266         (transferTo): New method.
267         (transferFrom): New method.
268         (truncate): New method.
269         * java/nio/channels/spi/SelectorProvider.java
270         (provider): Implemented.
271         * Makefile.am
272         (ordinary_java_source_files): Added the following files:
273         gnu/java/nio/DatagramChannelImpl.java
274         gnu/java/nio/FileChannelImpl.java
275         gnu/java/nio/PipeImpl.java
276         gnu/java/nio/SelectionKeyImpl.java
277         gnu/java/nio/SelectorImpl.java
278         gnu/java/nio/SelectorProviderImpl.java
279         gnu/java/nio/ServerSocketChannelImpl.java
280         gnu/java/nio/SocketChannelImpl.java
281         java/nio/channels/FileLock.java
282         (nat_java_source_files): Added the following files:
283         gnu/java/nio/natFileChannelImpl.cc
284         gnu/java/nio/natSelectorImpl.cc
285         gnu/java/nio/natSocketChannelImpl.cc
286         * Makefile.in: Regenerated.
288 2003-02-17  Tom Tromey  <tromey@redhat.com>
290         * java/awt/image/ColorModel.java: Re-merged with Classpath.
291         * java/awt/image/ImageFilter.java: Likewise.
293 2003-02-17  Raif S. Naffah <raif@fl.net.au>
295         * java/math/BigInteger.java (euclidInv): Return array of
296         `BigInteger's.  Changed all callers.
298 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
300         * java/util/Properties.java (store): Move the code formerly in
301         list(), into this method.
302         (list (PrintStream)): Just call list (PrintWriter) with a 
303         PrintWriter object constructed from the given PrintStream object.
304         (list (PrintWriter)): Emulate the output of Properties.list()
305         as found in JDK 1.3/1.4.
307 2003-02-17  Michael Koch  <konqueror@gmx.de>
309         * java/net/DatagramSocket.java
310         (connect): Merged with classpath.
311         (disconnect): Merged documentation with classpath.
312         (receice): Merged documentation with classpath.
313         (send): Merged documentation with classpath.
314         
315 2003-02-17  Michael Koch  <konqueror@gmx.de>
317         * java/awt/dnd/DragSourceContext.java
318         (addDragSourceListener): Added documentation.
319         * java/awt/dnd/DragSourceDragEvent.java
320         (serialVersionUID): New member variable.
321         (getDropAction): Reformated.
322         * java/awt/dnd/DragSourceDropEvent.java
323         (serialVersionUID): New member variable.
324         (dropSuccess): Renamed from success for serialization issues.
325         * java/awt/dnd/DragSourceEvent.java
326         (serialVersionUID): New member variable.
327         * java/awt/dnd/DropTarget.java
328         (serialVersionUID): New member variable.
329         (DropTarget): Implemented, documentation reworked.
330         (setComponent): Documentation added.
331         (getComponent): Documentation added.
332         (setDefaultActions): Documentation added.
333         (getDefaultActions): Documentation added.
334         (addDropTargetListener): Documentation added.
335         * java/awt/dnd/DropTargetContext.java
336         (DropTargetContext): Documentation added.
337         (TransferableProxy.TransferableProxy): New method.
338         (dropComplete): Fixed documentation.
339         (getTransferable): Fixed documentation.
340         (createTransferableProxy): Implemented.
341         * java/awt/dnd/DropTargetDragEvent.java
342         (DropTargetDragEvent): Documentation added.
343         (serialVersionUID): New member variable.
344         (DropTargetDragEvent): Throw exceptions, documentation added.
345         (acceptDrag): Implemented.
346         (getCurrentDataFlavors): Implemented.3yy
347         (getCurrentDataFlavorsAsList): Implemented.
348         (isDataFlavorSupported): Implemented.
349         (rejectDrag): Implemented.
350         * java/awt/dnd/DropTargetDropEvent.java
351         (DropTargetDropEvent): Documentation added.
352         (serialVersionUID): New member variable.
353         (actions): Renamed from srcActions for serialization issues.
354         (isLocalTx): Renamed from isLocalTx for serialization issues.
355         (DropTargetDropEvent): New implementation, throw exceptions,
356         documentation added.
357         (getCurrentDataFlavors): Implemented.
358         (getCurrentDataFlavorsAsList): Implemented.
359         (isDataFlavorSupported): Implemented.
360         (getSourceActions): Implemented.
361         (getDropAction): Implemented.
362         (getTransferable): Implemented.
363         (acceptDrop): Implemented.
364         (rejectDrop): Implemented.
365         * java/awt/dnd/DropTargetListener.java
366         (drop): Fixed documentation.
367         * java/awt/dnd/MouseDragGestureRecognizer.java
368         (MouseDragGestureRecognizer): Documentation added.
370 2003-02-17  Michael Koch  <konqueror@gmx.de>
372         * java/awt/font/FontRenderContext.java,
373         java/awt/font/ShapeGraphicAttribute.java,
374         java/awt/font/MultipleMaster.java,
375         java/awt/font/TransformAttribute.java,
376         java/awt/font/GlyphJustificationInfo.java,
377         java/awt/font/LineBreakMeasurer.java,
378         java/awt/font/TextMeasurer.java,
379         java/awt/font/TextLayout.java,
380         java/awt/font/LineMetrics.java,
381         java/awt/font/TextAttribute.java,
382         java/awt/font/GlyphMetrics.java,
383         java/awt/font/OpenType.java,
384         java/awt/font/GlyphVector.java,
385         java/awt/font/GraphicAttribute.java,
386         java/awt/font/ImageGraphicAttribute.java,
387         java/awt/font/NumericShaper.java: New files.
388         * Makefile.am
389         (awt_java_source_files): Added the following files:
390         java/awt/font/FontRenderContext.java
391         java/awt/font/ShapeGraphicAttribute.java
392         java/awt/font/MultipleMaster.java
393         java/awt/font/TransformAttribute.java
394         java/awt/font/GlyphJustificationInfo.java
395         java/awt/font/LineBreakMeasurer.java
396         java/awt/font/TextMeasurer.java
397         java/awt/font/TextLayout.java
398         java/awt/font/LineMetrics.java
399         java/awt/font/TextAttribute.java
400         java/awt/font/GlyphMetrics.java
401         java/awt/font/OpenType.java
402         java/awt/font/GlyphVector.java
403         java/awt/font/GraphicAttribute.java
404         java/awt/font/ImageGraphicAttribute.java
405         java/awt/font/NumericShaper.java
406         * Makefile.in: Regenerated.
408 2003-02-17  Michael Koch  <konqueror@gmx.de>
410         * java/awt/print/Paper.java
411         (Paper): Implements Cloneable.
412         * java/awt/print/PrinterJob.java
413         (setJobName): Return value must be void.
414         (print): Throws PrinterException.
415         
416 2003-02-16  Tom Tromey  <tromey@redhat.com>
418         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
419         variable.
421 2003-02-15  Michael Koch  <konqueror@gmx.de>
423         * java/awt/datatransfer/DataFlavor.java
424         (isRepresentationClassByteBuffer): Removed try-catch block.
425         (isRepresentationClassCharBuffer): Removed try-catch block.
426         (isRepresentationClassReader): Removed try-catch block.
428 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
430         * java/nio/charset/Charset.java
431         (isRegistered): Fixed method args and implementation.
432         * java/nio/charset/CharsetEncoder.java
433         (unmappableCharacterAction): New method.
435 2003-02-15  Michael Koch  <konqueror@gmx.de>
437         * java/awt/CheckboxMenuItem.java
438         (CheckBoxMenuItem): Dont implement Serializable.
439         (getListeners): New method,
440         (getItemListeners): New method.
441         * java/awt/Choice.java
442         (getListeners): New method,
443         (getItemListeners): New method.
444         * java/awt/Container.java
445         (getListeners): Added exception documentation.
446         (setFocusTraversalKeys): Throw exceptions, added documentattion.
447         (getFocusTraversalKeys): Added documentation.
448         (areFocusTraversalKeysSet): Added documentation.
449         (applyComponentOrientation): Added documentation.
450         * java/awt/ContainerOrderFocusTraversalPolicy.java
451         (implicitDownCycleTraversal): Renamed from downCycle for
452         serialization.
453         (ContainerOrderFocusTraversalPolicy): Added documentation.
454         (accept): Reformated.
455         * java/awt/Dialog.java
456         (Dialog): Dont implement Serializable.
457         (Dialog): Added documentation.
458         * java/awt/Font.java
459         (Font): Dont use absolute class name.
460         * java/awt/Frame.java
461         (Frame): Font implement Serializable.
462         * java/awt/List.java
463         (getListeners): New method,
464         (getActionListeners): New method.       
465         (getItemListeners): New method.
466         * java/awt/Menu.java
467         (countItems): New deprecated method.
468         * java/awt/Scrollbar.java
469         (getListeners): New method,
470         (getAdjustmentListeners): New method,
471         * java/awt/TextComponent.java
472         (getListeners): New method,
473         (getTextListeners): New method,
474         * java/awt/TextField.java
475         (getListeners): New method,
476         (getActionListeners): New method.       
477         * java/awt/Window.java
478         (windowFocusListener): New member variable.
479         (windowStateListener): New member variable.
480         (getWindowFocusListeners): New method.
481         (getWindowStateListeners): New method.
482         (addWindowFocusListener): New method.
483         (addWindowStateListener): New method.
484         (removeWindowFocusListener): New method.
485         (removeWindowStateListener): New method.
486         * java/awt/datatransfer/DataFlavor.java
487         (isRepresentationClassByteBuffer): New method.
488         (isRepresentationClassCharBuffer): New method.
489         (isRepresentationClassReader): New method.
491 2003-02-14  Mark Wielaard  <mark@klomp.org>
493         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
494         zero when there is an exponent and the significant is zero.
495         (divide): Always set scale to newScale even in special ZERO case.
497 2003-02-14  Tom Tromey  <tromey@redhat.com>
499         * java/lang/System.java (properties): Use Properties.clone.
500         (setProperties): Likewise.
502 2003-02-14  Michael Koch  <konqueror@gmx.de>
504         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
505         * gnu/java/nio/ServerSocketChannelImpl.java
506         (SocketAccept): Removed.
507         (accept): Commented out use of SocketAccept.
509 2003-02-13  Tom Tromey  <tromey@redhat.com>
511         * verify.cc (state::seen_subrs): New field.
512         (state::state): Initialize it.
513         (state::clean_subrs): New method.
514         (state::~state): Call it.
515         (state::copy): Copy subroutine list.
516         (state::add_subr): New method.
517         (state::merge): Only register a change if the current subroutine
518         hasn't yet been noted.
520 2003-02-13  Mark Wielaard  <mark@klomp.org>
522         * java/io/InputStreamReader.java (getEncoding): Return null when
523         closed.
524         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
526 2003-02-13  Mark Wielaard  <mark@klomp.org>
528         * java/util/zip/InflaterInputStream.java (read): Return zero when len
529         is zero.
531 2003-02-13  Mark Wielaard  <mark@klomp.org>
533         * java/io/BufferedOutputStream.java (write(int)): Only flush when
534         next byte cannot be buffered.
536 2003-02-13  Michael Koch  <konqueror@gmx.de>
538         * java/awt/Label.java
539         (Label): Don't implement Serializable directly.
540         (addNotify): Fixed typo in documentation.
541         * java/awt/List.java
542         (List): Don't implement Serializable directly.
543         * java/awt/PopupMenu.java
544         (PopupMenu): Don't implement Serializable directly.
545         * java/awt/ScrollPane.java
546         (ScrollPane): Don't implement Serializable directly.
547         * java/awt/Scrollbar.java
548         (Scrollbar): Don't implement Serializable directly.
549         * java/awt/TextArea.java
550         (preferredSize): Fixed method arguments.
551         * java/awt/TextField.java
552         (TextField): Don't implement Serializable directly.
553         * java/awt/color/ICC_ColorSpace.java
554         (fromCIOXYZ): Documentation added.
555         (getMinValue): Documentation added.
556         (getMaxValue): Documentation added.
557         * java/awt/datatransfer/DataFlavor.java
558         (isMimeTypeEqual): May not be final.
559         (clone): Throws CloneNotSupportedException.
560         (getReaderForText): Don't throws UnsupportedEncodingException.
562 2003-02-13  Michael Koch  <konqueror@gmx.de>
564         * gnu/java/awt/peer/gtk/GdkGraphics.java
565         (drawString): New stubbed method.
566         * java/awt/Graphics.java
567         (drawString): New method.
569 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
571         PR libgcj/9271:
572         * java/security/SecureRandom.java (next): Avoid bias in results.
574 2003-02-13  Michael  <konqueror@gmx.de>
576         * gnu/java/nio/FileChannelImpl.java
577         (lengthInternal): Must be native.
578         (size): Check if channel is already closed.
579         (implCloseChannel): Reformated.
580         (read): w was unused, removed it.
581         (read): Removed.
582         (read): New method.
583         (write): New method.
584         (map): Check arguments.
585         (force): Throws IOException, check if channel is closed.
586         (transferTo): New method.
587         (transferFrom): New method.
588         (lock): New method.
589         (tryLock): New method.
590         (position): New method.
591         (truncate): New method.
592         (nio_mmap_file): Uncommented.
593         (nio_munmap_file): Uncommented.
594         (nio_msync): Uncommented.
595         * gnu/java/nio/natFileChannelImpl.cc: New file.
596         
597 2003-02-13  Michael Koch  <konqueror@gmx.de>
599         * java/nio/ByteBuffer.java
600         (endian): New member variable.
601         (get): New methods.
602         (equals): New method.
603         (compareTo): New method.
604         (order): New methods.
605         (compact): New method.
606         (isDirect): New method.
607         (slice): New method.
608         (duplicate): New method.
609         (asReadOnlyBuffer): New method.
610         (asCharBuffer): New method.
611         (asDoubleBuffer): New method.
612         (asFloatBuffer): New method.
613         (asIntBuffer): New method.
614         (asLongBuffer): New method.
615         (asShortBuffer): New method.
616         (get*): New methods.
617         (put*): New methods.
618         (toString): New method.
619         * java/nio/CharBuffer.java
620         (CharBuffer): Implement Comparable instead of Cloneable.
621         (get): May not be final.
622         (put): May not be final.
623         
624 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
626         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
627         lastIndexOf( ) instead of indexOf( ) to find the colon before
628         the line number, because Win32 file names might contain a 
629         drive letter and a colon at the start of an absolute path.
631 2003-02-13  Michael Koch  <konqueror@gmx.de>
633         * gnu/java/nio/natSocketChannelImpl.cc
634         (SocketConnect): This is not implemented yet.
635         (SocketBind): This is not implemented yet.
637 2003-02-13  Michael Koch  <konqueror@gmx.de>
639         * gnu/java/nio/natByteBufferImpl.cc,
640         gnu/java/nio/natCharBufferImpl.cc,
641         gnu/java/nio/natDoubleBufferImpl.cc,
642         gnu/java/nio/natFloatBufferImpl.cc,
643         gnu/java/nio/natIntBufferImpl.cc,
644         gnu/java/nio/natLongBufferImpl.cc,
645         gnu/java/nio/natShortBufferImpl.cc:
646         Added copyright and license.
647         * java/nio/DoubleBuffer.java,
648         java/nio/FloatBuffer.java,
649         java/nio/IntBuffer.java,
650         java/nio/LongBuffer.java,
651         java/nio/ShortBuffer.java
652         (array): Throw exceptions.
653         (arrayOffset): Throw exceptions.
655 2003-02-13  Michael Koch  <konqueror@gmx.de>
657         * gnu/java/util/prefs/FileBasedFactory.java,
658         gnu/java/util/prefs/MemmoryBasedFactory.java,
659         gnu/java/util/prefs/MemoryBasedPreferences.java,
660         gnu/java/util/prefs/NodeReader.java,
661         gnu/java/util/prefs/NodeWriter.java,
662         java/util/prefs/AbstractPreferences.java,
663         java/util/prefs/BackingStoreException.java,
664         java/util/prefs/InvalidPreferencesFormatException.java,
665         java/util/prefs/NodeChangeEvent.java,
666         java/util/prefs/NodeChangeListener.java,
667         java/util/prefs/PreferenceChangeEvent.java,
668         java/util/prefs/PreferenceChangeListener.java,
669         java/util/prefs/Preferences.java,
670         java/util/prefs/PreferencesFactory.java:
671         New files, all merged from classpath.
672         * Makefile.am
673         (ordinary_java_source_files): Added the following files:
674         gnu/java/util/prefs/FileBasedFactory.java,
675         gnu/java/util/prefs/MemmoryBasedFactory.java,
676         gnu/java/util/prefs/MemoryBasedPreferences.java,
677         gnu/java/util/prefs/NodeReader.java,
678         gnu/java/util/prefs/NodeWriter.java,
679         (core_java_source_files): Added the following files:
680         java/util/prefs/AbstractPreferences.java,
681         java/util/prefs/BackingStoreException.java,
682         java/util/prefs/InvalidPreferencesFormatException.java,
683         java/util/prefs/NodeChangeEvent.java,
684         java/util/prefs/NodeChangeListener.java,
685         java/util/prefs/PreferenceChangeEvent.java,
686         java/util/prefs/PreferenceChangeListener.java,
687         java/util/prefs/Preferences.java,
688         java/util/prefs/PreferencesFactory.java
689         * Makefile.in: Regenerated.
691 2003-02-13  Michael Koch  <konqueror@gmx.de>
693         * java/net/NetPermission.java
694         (NetPermission): Make doucmentation match the method declaration.
695         * java/net/NetworkInterface.java
696         (equals): Reformated for GNU coding style.
697         * java/net/ServerSocket.java: Merged with classpath.
698         * java/net/Socket.java: Partly merged with classpath (Added some @since).
699         * java/net/SocketImpl.java
700         (localPort): Merged with classpath (initialize with -1).
701         * java/net/SocketPermission.java: Merged with classpath (reindented).
702         * java/net/URLDecoder.java: Merged with classpath (reindented).
704 2003-02-13  Michael Koch  <konqueror@gmx.de>
706         * java/awt/GridBagConstraints.java
707         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
708         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
709         * java/awt/KeyboardFocusManager.java
710         (setGlobalCurrentFocusCycleRoot): Must be public.
711         * java/awt/MenuComponent.java
712         (MenuComponent): Must be public.
713         * java/awt/Toolkit.java:
714         Added some empty lines to make documentation more readable.
715         (getFontPeer): Added @deprecated.
716         (getColorModel): Added exception documentation.
717         (getProperty): Fixed documentation.
719 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
721         * configure.host (alpha*-*): Default to -mieee.
722         * configure.in (IEEESPEC): New.
723         * libgcj.spec.in (jc1): Add IEEESPEC.
724         * configure: Rebuild.
726 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
728         * include/win32.h: Include ws2tcpip.h instead of
729         winsock.h to obtain definition of the socklen_t type.
730         Remove IP_TOS definition - not needed with ws2tcpip.h
731         (_Jv_connect): Correct slight formatting error.
733 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
735         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
736         size of the arguments for a JNI function. For Win32,
737         modify to search for all forms of possible exported
738         names of an stdcall JNI function.
739         (_Jv_JNIMethod::call): Modify to calculate the size
740         of the arguments passed to a JNI function and pass
741         it to _Jv_LookupJNIMethod.
743 2003-02-12  Michael Koch  <konqueror@gmx.de>
745         * java/nio/channels/Channels.java: New file.
746         * Makefile.am
747         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
748         * Makefile.in: Regenerated.
750 2003-02-12  Michael Koch  <konqueror@gmx.de>
752         * java/nio/ByteBuffer.java
753         (allocate): Implemented.
754         (wrap): Implemented.
755         * java/nio/CharBuffer.java:
756         Some documentation added and reworked.
757         (endian): Removed.
758         (allocate): Implemented.
759         (wrap): Implemented.
760         (array): Throw exceptions.
761         (arrayOffset): Throw exceptions.
762         (toString): Implemented.
763         (length): Implemented.
764         (put): Implemented.
765         (charAt): Implemented.
767 2003-02-11  John Leuner  <jewel@debian.org>
769         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
770         reads from end of file.
772 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
774         * java/io/natFileDescriptorWin32.cc 
775         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
776         returns with Win32 error code ERROR_BROKEN_PIPE.
778 2003-02-11  Michael Koch  <konqueror@gmx.de>
780         * Makefile.in
781         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
783 2003-02-11  Michael Koch  <konqueror@gmx.de>
785         * gnu/java/nio/ByteBufferImpl.java:
786         Reformated and removed some code.
787         (backing_buffer): Removed.      
788         (array_offset): Removed.
789         (ro): Renamed to readOnly.
790         (ByteBufferImpl): Use parent constructor, initialize readOnly.
791         * gnu/java/nio/CharBufferImpl.java:
792         Reformated and removed some code.
793         (array_offset): Removed.
794         (ro): Renamed to readOnly.
795         (CharBufferImpl): Use parent constructor, initialize readOnly.
796         (inc_pos): Removed.
797         (order): New method.
798         * gnu/java/nio/DoubleBufferImpl.java:
799         Reformated and removed some code.
800         (array_offset): Removed.
801         (ro): Renamed to readOnly.
802         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
803         (inc_pos): Removed.
804         (order): New method.
805         * gnu/java/nio/FloatBufferImpl.java:
806         Reformated and removed some code.
807         (array_offset): Removed.
808         (ro): Renamed to readOnly.
809         (FloatBufferImpl): Use parent constructor, initialize readOnly.
810         (inc_pos): Removed.
811         (order): New method.
812         * gnu/java/nio/IntBufferImpl.java:
813         Reformated and removed some code.
814         (array_offset): Removed.
815         (ro): Renamed to readOnly.
816         (IntBufferImpl): Use parent constructor, initialize readOnly.
817         (inc_pos): Removed.
818         (order): New method.
819         * gnu/java/nio/LongBufferImpl.java:
820         Reformated and removed some code.
821         (array_offset): Removed.
822         (ro): Renamed to readOnly.
823         (LongBufferImpl): Use parent constructor, initialize readOnly.
824         (inc_pos): Removed.
825         (order): New method.
826         * gnu/java/nio/ShortBufferImpl.java:
827         Reformated and removed some code.
828         (array_offset): Removed.
829         (ro): Renamed to readOnly.
830         (ShortBufferImpl): Use parent constructor, initialize readOnly.
831         (inc_pos): Removed.
832         (order): New method.
833         * Makefile.am
834         (ordinary_java_source_files): Added the following files:
835         gnu/java/nio/ByteBufferImpl.java
836         gnu/java/nio/CharBufferImpl.java
837         gnu/java/nio/DoubleBufferImpl.java
838         gnu/java/nio/FloatBufferImpl.java
839         gnu/java/nio/IntBufferImpl.java
840         gnu/java/nio/LongBufferImpl.java
841         gnu/java/nio/ShortBufferImpl.java
842         java/nio/DoubleBuffer.java
843         java/nio/FloatBuffer.java
844         java/nio/IntBuffer.java
845         java/nio/LongBuffer.java
846         java/nio/ShortBuffer.java
847         (nat_source_files): Added the following files:
848         gnu/java/nio/natByteBufferImpl.cc
849         gnu/java/nio/natCharBufferImpl.cc
850         gnu/java/nio/natDoubleBufferImpl.cc
851         gnu/java/nio/natFloatBufferImpl.cc
852         gnu/java/nio/natIntBufferImpl.cc
853         gnu/java/nio/natLongBufferImpl.cc
854         gnu/java/nio/natShortBufferImpl.cc
855         * Makefile.in: Regenerated.
857 2003-02-11  Michael Koch  <konqueror@gmx.de>
859         * gnu/java/nio/natCharBufferImpl.cc
860         (nio_cast): Removed.
861         (nio_put_*): Removed.
862         (nio_get_*): Removed.
863         * gnu/java/nio/natDoubleBufferImpl.cc
864         (nio_cast): Removed.
865         (nio_put_*): Removed.
866         (nio_get_*): Removed.
867         * gnu/java/nio/natFloatBufferImpl.cc
868         (nio_cast): Removed.
869         (nio_put_*): Removed.
870         (nio_get_*): Removed.
871         * gnu/java/nio/natIntBufferImpl.cc
872         (nio_cast): Removed.
873         (nio_put_*): Removed.
874         (nio_get_*): Removed.
875         * gnu/java/nio/natLongBufferImpl.cc
876         (nio_cast): Removed.
877         (nio_put_*): Removed.
878         (nio_get_*): Removed.
879         * gnu/java/nio/natShortBufferImpl.cc
880         (nio_cast): Removed.
881         (nio_put_*): Removed.
882         (nio_get_*): Removed.
883         * gnu/java/nio/SelectorProviderImpl.java
884         (openDatagramChannel): Throws IOException.
885         (openPipe): Throws IOException.
886         (openSelector): Throws IOException.
887         (openServerSocketChannel): Throws IOException.
888         (openSocketChannel): Throws IOException.
889         * gnu/java/nio/ServerSocketChannelImpl.java
890         (ServerSocketChannelImpl): Throws IOException.
891         (implCloseSelectableChannel): Throws IOException.
892         (implConfigureBlocking): Throws IOException.
893         * java/nio/ByteBuffer.java
894         (readOnly): Removed.
895         (hasArray): Use isReadOnly() instead of readOnly.
896         (array): Use isReadOnly() instead of readOnly.
897         (arrayOffset): Use isReadOnly() instead of readOnly.
898         * java/nio/CharBuffer.java
899         (CharBuffer): Implements Cloneable and CharSequence.
901 2003-02-11  Michael Koch  <konqueror@gmx.de>
903         * java/nio/DoubleBuffer.java
904         (DoubleBuffer): Implements Comparable.
905         (endian): Removed.
906         (array_offset): New member variable.
907         (DoubleBuffer): New constuctor.
908         (get): May not be final.
909         (put): May not be final.
910         (arrayOffset): Implemented.
911         (order): Made abstract.
912         (order): Removed.
913         (as*Buffer): Removed.
914         (get*): Removed.
915         (put*): Removed.
916         * java/nio/FloatBuffer.java
917         (FloatBuffer): Implements Comparable.
918         (endian): Removed.
919         (array_offset): New member variable.
920         (FloatBuffer): New constuctor.
921         (get): May not be final.
922         (put): May not be final.
923         (arrayOffset): Implemented.
924         (order): Made abstract.
925         (order): Removed.
926         (as*Buffer): Removed.
927         (get*): Removed.
928         (put*): Removed.
929         * java/nio/IntBuffer.java
930         (IntBuffer): Implements Comparable.
931         (endian): Removed.
932         (array_offset): New member variable.
933         (IntBuffer): New constuctor.
934         (get): May not be final.
935         (put): May not be final.
936         (arrayOffset): Implemented.
937         (order): Made abstract.
938         (order): Removed.
939         (as*Buffer): Removed.
940         (get*): Removed.
941         (put*): Removed.
942         * java/nio/LongBuffer.java
943         (LongBuffer): Implements Comparable.
944         (endian): Removed.
945         (array_offset): New member variable.
946         (LongBuffer): New constuctor.
947         (get): May not be final.
948         (put): May not be final.
949         (arrayOffset): Implemented.
950         (order): Made abstract.
951         (order): Removed.
952         (as*Buffer): Removed.
953         (get*): Removed.
954         (put*): Removed.
955         * java/nio/ShortBuffer.java
956         (ShortBuffer): Implements Comparable.
957         (endian): Removed.
958         (array_offset): New member variable.
959         (ShortBuffer): New constuctor.
960         (get): May not be final.
961         (put): May not be final.
962         (arrayOffset): Implemented.
963         (order): Made abstract.
964         (order): Removed.
965         (as*Buffer): Removed.
966         (get*): Removed.
967         (put*): Removed.
969 2003-02-11   Michael Koch  <konqueror@gmx.de>
971         * java/nio/channels/SelectionKey.java
972         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
973         values.
975 2003-02-11  Michael Koch  <konqueror@gmx.de>
977         * java/nio/channels/DatagramChannel.java
978         (write): Throws IOException.
979         (connect): Throws IOException.
980         (disconnect): Throws IOException.
981         (read): Throws IOException.
982         (receive): Throws IOException.
983         (send): Throws IOException.
984         * java/nio/channels/Pipe.java
985         (open): Throws IOException.
986         * java/nio/channels/SelectableChannel.java
987         (configureBlocking): Throws IOException.
988         * java/nio/channels/ServerSocketChannel.java
989         (accept): Throws IOException.
990         * java/nio/channels/SocketChannel.java
991         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
992         GatheringByteChannel.
993         (read): Throws IOException.
994         (write): Throws IOException.
995         (finishConnect): Throws IOException.
996         * java/nio/channels/spi/AbstractInterruptibleChannel.java
997         (end): Throws AsynchronousCloseException.
998         * java/nio/channels/spi/AbstractSelectableChannel.java
999         (configureBlocking): Throws IOException.
1000         (implCloseChannel): Throws IOException.
1001         (implCloseSelectableChannel): Throws IOException.
1002         (implConfigureBlocking): Throws IOException.
1003         * java/nio/channels/spi/SelectorProvider.java
1004         (openDatagramChannel): Throws IOException.
1005         (openPipe): Throws IOException.
1006         (openSelector): Throws IOException.
1007         (openServerSocketChannel): Throws IOException.
1008         (openSocketChannel): Throws IOException.
1010 2003-02-11  Michael Koch  <konqueror@gmx.de>
1012         * gnu/java/nio/FileLockImpl.java,
1013         java/nio/channels/FileLock.java: New files.
1015 2003-02-11  Michael Koch  <konqueror@gmx.de>
1017         * java/nio/charset/IllegalCharsetNameException.java
1018         (serialVersionUID): New member variable.
1019         (charsetName): New member variable.
1020         (IllegalCharsetException): New implementation.
1021         (getCharsetName): New implementation.
1022         * java/nio/charset/UnsupportedCharsetException.java
1023         (serialVersionUID): New member variable.
1024         (charsetName): New member variable.
1025         (UnsupportedCharsetException): New implementation.
1026         (getCharsetName): New implementation.
1028 2003-02-10  Tom Tromey  <tromey@redhat.com>
1030         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
1031         (ex): Renamed from sqlException.
1033 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
1035         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
1036         method used to ensure seeding has occurred and that a specific 
1037         seed can be set and used.
1039 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
1041         * java/lang/Win32Process.java (destroy): Declare as native.
1042         (hasExited): New native method.
1043         (exitValue): Define.
1044         (getErrorStream): Likewise.
1045         (getInputStream): Likewise.
1046         (getOutputStream): Likewise.
1047         (waitFor): Declare as native.
1048         (startProcess): New native method.
1049         (cleanup): Likewise.
1050         (ConcreteProcess): Define.
1051         (outputStream, inputStream, errorStream): New members.
1052         (procHandle, exitCode): Likewise.
1054         * java/lang/natWin32Process.cc
1055         (java::lang::ConcreteProcess::cleanup): Define.
1056         (java::lang::ConcreteProcess::destroy): Likewise.
1057         (java::lang::ConcreteProcess::hasExited): Likewise.
1058         (java::lang::ConcreteProcess::waitFor): Likewise.
1059         (new_string): Likewise.
1060         (java::lang::ConcreteProcess::startProcess): Likewise.
1062 2003-02-10  Raif S. Naffah <raif@fl.net.au>
1064         * java/math/BigInteger.java:
1065         Updated notice to include years 2002 and 3.
1066         Added 2 private (int) arrays with values from the HAC (Handbook of
1067         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
1068         and t[] that contains nbr. of tests --used in isProbablePrime().
1070         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
1072         * java/math/BigInteger.java (make(int[],int), add(int,int),
1073         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
1074         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
1075         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
1076         make(long).
1078         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
1079         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
1080         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
1081         BIs and returns void.
1082         (modInverse(BI)): Use new signatures of euclidInv().
1084         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
1085         static small primes instead of remainder().
1086         Use pre-computed max nbr of trials based on bitlength of BI to test.
1087         Use pre-computed small primes for the trial tests instead of random
1088         numbers.
1090         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
1091         not used.
1093         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
1094         invoacation of MPN.chars_per_word().  not used.
1096         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
1097         local var and used where needed.
1099         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
1100         Combined declaration with initialisation of locals.
1101         Removed unused var.
1103         * java/math/BigInteger.java: Style changes
1104         (pow(int)): Removed 'else' keyword.
1105         (toString(int)): idem.
1106         (doubleValue()): idem.
1107         (bitLength()): idem.
1108         (equals(Object)): Use static methods name in same class w/o prepending
1109         class name.
1110         (doubleValue()): idem.
1111         (setNegative(BI)): idem.
1112         (negate()): idem.
1113         (and(BI,int)): idem.
1114         (and(BI)): idem.
1115         (gcd(BI)): idem.
1116         (byteArrayToIntArray()): Removed casting to (int). this is
1117         std. behaviour.
1118         (canonicalize()): idem.
1119         (alloc(int)): Always instantiate a new BI.
1121 2003-02-10  Tom Tromey  <tromey@redhat.com>
1123         * java/sql/Timestamp.java (compareTo(Object)): New method.
1124         (compareTo(Timestamp)): Likewise.
1125         (serialVersionUID): Updated.
1127 2003-02-07  Mark Wielaard  <mark@klomp.org>
1129         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
1130         when verify is true.
1131         (JarFile(File, boolean)): Likewise.
1132         (manifestRead): Set manifestRead field correctly.
1134 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
1136         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
1137         tests; see patch #1016 on Savannah.
1139 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
1141         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
1142         (toString): do not return Strings starting with . and - erroneously.
1143         Improves Mauve results to 12 of 600 instead of 16 of 338 on
1144         DiagBigDecimal.
1146 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
1148         * java/beans/PropertyDescriptor.java
1149         (PropertyDescriptor(String, Class)): Sanity check getter and setter
1150         methods.
1151         (PropertyDescriptor(String, Class, String, String)): Likewise.
1152         (PropertyDescriptor(String, Method, Method): Factor out getter and
1153         setter method sanity checks into new method.
1154         (findMethods): Don't do parameter sanity checking of get method here.
1155         (checkMethods): New method.
1157 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
1159         * java/beans/PropertyDescriptor.java: Reformat.
1161 2003-02-04  Tom Tromey  <tromey@redhat.com>
1163         * java/io/PipedOutputStream.java (flush): Declare as throwing
1164         IOException.
1165         (close): Likewise.
1166         * java/io/PipedWriter.java (close): Declare as throwing
1167         IOException.
1168         * java/io/StringWriter.java (close): Declare as throwing
1169         IOException.
1171 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
1173         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
1174         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
1175         could also have been exported as "JNI_OnLoad@8" (MinGW) or
1176         "_JNI_OnLoad@8" (MSVC).
1178 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
1180         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
1181         convention on Win32 to invoke native JNI methods.
1183 2003-02-03  Andrew Haley  <aph@redhat.com>
1185         * configure.host (x86_64): Enable interpreter.
1187 2003-02-03  Andrew Haley  <aph@redhat.com>
1189         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
1190         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
1191         * configure.in (BACKTRACESPEC): New.
1192         * configure: Regenerate.
1194 2003-02-02  Tom Tromey  <tromey@redhat.com>
1196         * configure: Rebuilt.
1197         * configure.in (TOOLKIT) [xlib]: Set correctly.
1199         * Makefile.in: Rebuilt.
1200         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
1201         libstdc++.
1203 2003-01-31  Mark WIelaard  <mark@klomp.org>
1205         * Makefile.in: Rebuilt.
1206         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
1208 2003-01-31  Tom Tromey  <tromey@redhat.com>
1210         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
1211         cast to element type.
1212         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
1213         (_Jv_JNI_GetObjectArrayElement): Likewise.
1215         * Makefile.in: Rebuilt.
1216         * Makefile.am (cond_x_ltlibrary): Renamed library to
1217         lib-gnu-awt-xlib.la.
1218         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
1219         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
1220         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
1221         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
1222         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
1223         (lib_gnu_awt_xlib_la_LINK): Likewise.
1224         (install-exec-hook): Removed.
1225         (lib-gnu-awt-xlib.la): Renamed.
1227 2003-01-31  Tom Tromey  <tromey@redhat.com>
1229         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1230         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
1231         aclocal.m4 and lost in some merge.
1233         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
1234         Don't try to find graphics configuration.
1235         * java/awt/Toolkit.java (default_toolkit_name): Use new
1236         Configuration entry.
1237         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
1238         New global.
1239         * configure: Rebuilt.
1240         * configure.in (TOOLKIT): New subst.
1241         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
1242         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
1243         directory.  Make output directories for .c files.
1244         * Makefile.in: Rebuilt.
1245         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
1246         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
1247         (all_java_source_files): Added new sources.
1248         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
1249         (gtk_c_files): New macro.
1250         (gtk_c_source_files): New macro.
1251         (cond_gtk_ltlibrary): New macro.
1252         ($(gtk_c_files)): New target.
1253         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
1254         (gtk_awt_peer_sources): New macro.
1255         (gtk_c_headers): New macro.
1256         ($(gtk_c_headers)): New target.
1257         (ACLOCAL_AMFLAGS): New macro.
1258         * gtk.m4, glib.m4, libart.m4: New files.
1259         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
1260         gnu/java/awt/peer/gtk/GdkGraphics.java,
1261         gnu/java/awt/peer/gtk/GtkArg.java,
1262         gnu/java/awt/peer/gtk/GtkArgList.java,
1263         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1264         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1265         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
1266         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1267         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1268         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1269         gnu/java/awt/peer/gtk/GtkClipboard.java,
1270         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1271         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1272         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1273         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1274         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1275         gnu/java/awt/peer/gtk/GtkFramePeer.java,
1276         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
1277         gnu/java/awt/peer/gtk/GtkImage.java,
1278         gnu/java/awt/peer/gtk/GtkImagePainter.java,
1279         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1280         gnu/java/awt/peer/gtk/GtkListPeer.java,
1281         gnu/java/awt/peer/gtk/GtkMainThread.java,
1282         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1283         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
1284         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1285         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1286         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
1287         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1288         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
1289         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1290         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1291         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1292         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
1293         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1294         gnu/java/awt/peer/gtk/GtkToolkit.java,
1295         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1296         gnu/java/awt/peer/gtk/TestAWT.java,
1297         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
1298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
1299         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1300         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1302         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
1303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
1304         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1305         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1306         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1308         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
1309         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
1311         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1313         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
1314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1315         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
1317         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
1318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1319         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
1320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1321         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1322         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1323         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1324         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1325         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
1326         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
1327         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
1328         jni/classpath/native_state.c, jni/classpath/native_state.h,
1329         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
1331 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
1333         * java/util/Properties.java (load): Ignore backslash before EOF.
1335 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
1337         * java/lang/natClass.cc (initializeClass): Check tables when
1338         (state == JV_STATE_IN_PROGRESS).
1339         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
1340         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
1341         interpreted classes.
1342         (linkClass0): Use _Jv_WaitForState.
1344 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
1346         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
1347         object when finished.
1349 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
1351         * libjava/configure.host: Disable can_unwind_signal on darwin.
1353 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
1355         Fixes PR java/9254:
1356         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
1357         additionally containing id of the owner thread as well as
1358         the number of nested times the thread has acquired the mutex.
1359         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
1360         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
1361         (_Jv_MutexUnlock): Check if really the owner thread, reset
1362         owner thread id to 0 before leaving, if leaving for the last
1363         time.
1364         (_Jv_MutexLock): Set owner thread id in the mutex and increment
1365         refcount.
1366         (_Jv_ThreadYield): Yield using a call to Sleep(0).
1367         * win32-threads.cc (_Jv_CondWait): Check if really owner of
1368         the passed mutex.
1369         Pass handle of the broadcast event, instead of a pointer to it
1370         in Win32 ResetEvent( ) call.
1371         Remove incorrect return values.
1372         (_Jv_CondDestroy): Close both event handles and delete
1373         critical section.
1374         (_Jv_CondNotify): Check if really the owner thread.
1375         (_Jv_CondNotifyAll): Check if really the owner thread.
1376         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
1377         (really_start): Use SetEvent( ) to signal daemon_cond.
1378         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
1379         WaitForSingleObject( ) instead to wait for daemon_cond to be
1380         signalled.
1382 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
1384         * configure.in: Specifically define HAVE_BACKTRACE if building
1385         for MinGW.
1386         * include/win32.h: Remove HAVE_BACKTRACE definition.
1387         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
1388         * configure: Rebuilt.
1390 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1392         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
1393         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
1394         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1395         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
1396         * Makefile.in, configure: Rebuilt.
1398 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
1400         Fixes PR java/9253:
1401         * java/io/natFileWin32.cc (performList): Append only "*.*"
1402         if the canonical file path already has a "\" at the end.
1404 2003-01-24  Tom Tromey  <tromey@redhat.com>
1406         * defineclass.cc (handleMethodsEnd): Precompute code for static
1407         method.
1408         (handleCodeAttribute): Likewise.
1409         * resolve.cc (ncode): Use run_class for unsynchronized static
1410         methods.
1411         * include/java-interp.h (class _Jv_InterpMethod): Declare
1412         run_class.
1413         * interpret.cc (run_synch_class): Initialize class.
1414         (run) [insn_invokestatic]: Don't initialize class.
1415         [insn_anewarray]: Likewise.
1416         [insn_multianewarray]: Likewise.
1417         (run_class): New function.
1419 2003-01-24  Tom Tromey  <tromey@redhat.com>
1421         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
1422         comment.
1424 2003-01-22  Andrew Haley  <aph@redhat.com>
1426         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
1427         * configure.host (CHECKREFSPEC): Define for x86_64.
1429 2003-01-21  Tom Tromey  <tromey@redhat.com>
1431         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
1432         search at 2, not 3.
1434 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
1436         * java/io/natFileWin32.cc (isAbsolute): Check path length before
1437         looking at any characters.
1438         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
1439         be used.
1440         (isAbsolute): Check path's length as well.
1442 2003-01-17  Mark Wielaard  <mark@klomp.org>
1444         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
1445         (nat_source_files): Add natVMObjectStreamClass.cc.
1446         * Makefile.in: Regenerated.
1447         * gcj/javaprims.h (namespace java): Regenerated.
1448         * java/io/ObjectStreamClass.java (getClassUID): Call
1449         VMObjectStreamClass.hasClassInitializer().
1450         (hasClassInitializer): Removed.
1451         * java/io/VMObjectStreamClass.java: New class.
1452         * java/io/natVMObjectStreamClass.cc: New file.
1453         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
1455 2003-01-16  Mark Wielaard  <mark@klomp.org>
1457         * java/net/SocketImpl.java (toString): Don't explicitly call
1458         toString() on possible null address.
1460 2003-01-16  Michael Koch  <konqueror@gmx.de>
1462         * java/net/MulticastSocket.java
1463         (setInterface): Reindented.
1465 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
1467         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
1468         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
1469         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
1470         translateY arguments.  Implement.
1471         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
1472         down translation arguments.
1473         (drawPolyline, drawPolygon): Fix incorrect tests.
1474         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
1475         translateX and translateY arguments.
1477 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
1479         * Makefile.in: Rebuilt.
1480         * Makefile.am (xlib_includes): New macro.
1481         (INCLUDES): Use it.
1483 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
1485         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
1486         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
1487         16-bit display mode.
1489 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
1491         * java/awt/CardLayout.java (show): Rewrote.
1492         (gotoComponent): Removed `target' argument.  Simplified code.
1493         Don't pre-compute `choice' unless `what' is FIRST or LAST.
1494         Changed all callers.
1495         (NONE): Removed.
1496         
1497 2003-01-14  Michael Koch  <konqueror@gmx.de>
1499         * java/net/InetSocketAddress.java
1500         (serialVersionUID): New member variable.
1501         * java/net/NetPermission.java
1502         (NetPermission): Dont implement java.io.Serialization directly.
1503         * java/net/SocketAddress.java:
1504         (serialVersionUID): Documentation added.
1505         
1506 2003-01-14  Michael Koch  <konqueror@gmx.de>
1508         * java/awt/Label.java
1509         (Label): Implements javax.accessibility.Accessible;
1510         * java/awt/List.java
1511         (List): Implements javax.accessibility.Accessible;
1512         * java/awt/ScrollPane.java
1513         (ScrollPane): Implements javax.accessibility.Accessible;
1514         * java/awt/Scrollbar.java
1515         (Scrollbar): Implements javax.accessibility.Accessible;
1516         * java/awt/TextComponent.java
1517         (setCaretPosition): Throw exception, documentation added.
1518         * java/awt/Toolkit.java:
1519         Added some newlines in method documentations.
1520         (createButton): Exception documentation added.
1521         (createTextField): Exception documentation added.
1522         (createLabel): Exception documentation added.
1523         (createList): Exception documentation added.
1524         (createCheckbox): Exception documentation added.
1525         (createScrollbar): Exception documentation added.
1526         (createScrollPane): Exception documentation added.
1527         (createTextArea): Exception documentation added.
1528         (createChoice): Exception documentation added.
1529         (createFrame): Exception documentation added.
1530         (createWindow): Exception documentation added.
1531         (createDialog): Exception documentation added.
1532         (createMenuBar): Exception documentation added.
1533         (createMenu): Exception documentation added.
1534         (createMenuItem): Exception documentation added.
1535         (createFileDialog): Exception documentation added.
1536         (createCheckboxMenuItem): Exception documentation added.
1537         (loadSystemColors): Exception documentation added.
1538         (setDynamicLayout): Exception documentation added.
1539         (isDynamicLayoutSet): Exception documentation added.
1540         (isDynamicLayoutActive): Exception documentation added.
1541         (getScreenSize): Exception documentation added.
1542         (getScreenResolution): Exception documentation added.
1543         (getScreenInsets): Exception documentation added.
1544         (getColorModel): Exception documentation added.
1545         (getSystemClipboard): Exception documentation added.
1546         (getSystemSelection): Exception documentation added.
1547         (getMenuShortcutKeyMask): Exception documentation added.
1548         (getSystemEventQueue): Exception documentation added.
1549         * java/awt/Window.java:
1550         Reindented some code.
1551         (Window): Centralized implementation, documentation added.
1552         (finalize): Documentation added.
1553         (hide): Fixed typo in comment.
1554         (getWindowListeners): Documentation added.
1555         * java/awt/color/ColorSpace.java
1556         (toRGB): Documentation added.
1557         * java/awt/color/ICC_ColorSpace.java
1558         (ICC_ColorSpace): Documentation added.
1559         (toRGB): Throw exception, documentation added.
1560         (fromRGB): Throw exception, documentation added.
1561         (toCIEXYZ): Documentation added.
1562         (fromCIEXYZ): Documentation added.
1563         (getMinValue): Documentation added.
1564         (getMaxValue): Documentation added.
1565         * java/awt/geom/Dimension2D.java
1566         (clone): Documentation added.
1567         * java/awt/geom/GeneralPath.java
1568         (clone): Documentation added.
1569         * java/awt/geom/Line2D.java
1570         (clone): Documentation added.
1571         * java/awt/geom/QuadCurve2D.java
1572         (clone): Documentation added.
1573         * java/awt/image/ColorModel.java
1574         (ColorModel): Throw exception, documentation added.
1575         * java/awt/image/ImageFilter.java
1576         (clone): Doesnt throw CloneNotSupportedException.
1578 2003-01-14  Andrew Haley  <aph@redhat.com>
1580         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
1581         in a try block.
1583 2003-01-10  Andrew Haley  <aph@redhat.com>
1585         * include/dwarf2-signal.h: Remove x86_64.
1586         * configure.host (x86_64 DIVIDESPEC): Remove.
1587         * include/x86_64-signal.h: New file.
1588         * configure.in: Regenerate.
1590 2003-01-10  Michael Koch  <konqueror@gmx.de>
1592         * java/net/DatagramSocket.java
1593         (ch): Description added.
1594         (remotePort): Initialize with -1.
1595         (connect): Doesnt throws SocketException.
1596         * java/net/MulticastSocket.java
1597         (setInterface): Merge with Classpath.
1598         * java/net/ServerSocket.java
1599         (closed): New member variable.
1600         (bind): Check if socket is closed.
1601         (close): Close an associated channel too, set new value to closed.
1602         (isBound): Reindented.
1603         (isClosed): Implemented.
1604         * java/net/Socket.java
1605         (closed): New member variable.
1606         (bind): Check if socket is closed.
1607         (connect): Check if socket is closed.
1608         (close): Close an associated channel too, set new value to closed.
1609         (isClosed): Implemented.
1611 2003-01-10  Michael Koch  <konqueror@gmx.de>
1613         * java/awt/DisplayMode.java
1614         (equals): Fixed argument type and implementation.
1616 2003-01-07  Tom Tromey  <tromey@redhat.com>
1618         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
1619         JV_HASH_SYNCHRONIZATION.
1620         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
1621         JV_HASH_SYNCHRONIZATION.
1623 2003-01-07  Michael Koch  <konqueror@gmx.de>
1625         * java/net/DatagramSocket.java:
1626         Added classpath license info.
1627         (DatagramSocket): Merged description with classpath.
1628         (close): Merged description with classpath.
1629         (getChannel): Merged description with classpath.
1630         (getInetAddress): Merged description with classpath.
1631         (getPort): Merged description with classpath.
1632         (getLocalAddress): Merged description with classpath.
1633         (getLocalPort): Merged description with classpath.
1634         (getSoTimeout): Merged description with classpath.
1635         (setSoTimeout): Merged description with classpath.
1636         (getSendBufferSize): Merged description with classpath.
1637         (setSendBufferSize): Merged description with classpath.
1638         (getReceiveBufferSize): Merged description with classpath.
1639         (setReceiveBufferSize): Merged description with classpath.
1640         
1641 2003-01-04  Tom Tromey  <tromey@redhat.com>
1643         * java/awt/List.java: Merged with Classpath.
1645 2003-01-03  Mark Wielaard  <mark@klomp.org>
1647         * java/io/FileDescriptor.java (position): New private field.
1648         * java/io/natFileDescriptorPosix.cc (write): Up position.
1649         (setLength): Use and set position.
1650         (seek): Set position.
1651         (getFilePointer): Return position.
1652         (read): Up position.
1654 2003-01-03  Mark Wielaard  <mark@klomp.org>
1656         Merge with Classpath:
1657         * java/io/ObjectStreamClass.java (lookup): Split method and call
1658         lookupForClassObject().
1659         (lookupForClassObject): New method.
1660         (isProxyClass): New field.
1661         (setClass): Set isProxyClass, add object to classLookupTable, set
1662         superClass and calculateOffsets.
1663         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
1664         and not a proxy class.
1665         (setFields): Set accessible true for serialPersistentFields.
1666         (getClassUID): Same for suid. And check if suid is of type long.
1667         (hasClassInitializer): Don't throw NoSuchMethodError.
1669 2003-01-03  Mark Wielaard  <mark@klomp.org>
1671         * java/io/FileInputStream.java (finalize): Don't explicitly
1672         finalize FileDescriptor.
1674 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
1676         * configure.host (sparc*-*): Enable bytecode interpreter.
1678 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
1680         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
1681         Don't throw RemoteException.
1682         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
1683         throw RemoteException.
1685 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
1687         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
1688         proxyHost): New static fields.
1689         (<clinit>): Initialize new fields.
1690         (connect): Use proxy if necessary.
1691         (usingProxy): Implement.
1693 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
1695         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
1696         (TreeIterator.remove): Prefer IllegalStateException over
1697         ConcurrentModificationException, to match Sun.
1699 2002-12-22  Anthony Green  <green@redhat.com>
1701         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
1703 2003-01-02  Mark Wielaard  <mark@klomp.org>
1705         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
1706         public.
1707         (HTTP_USE_PROXY): Add field.
1708         (getResponseVals): Only set responseCode when not yet explicitly
1709         set by subclass.
1711 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
1712             Mark Wielaard  <mark@klomp.org>
1714         * java/util/zip/ZipFile.java (entries): Now HashMap.
1715         (readLeShort(DataInput, byte[])): Read from given byte array.
1716         (readLeInt(DataInput, byte[]): Likewise.
1717         (readLeShort(byte[] b, int off)): New method.
1718         (readLeInt(byte[] b, int off)): Likewise.
1719         (readEntries): Use byte arrays to read info in bigger chunks.
1720         (getEntries): Return HashMap.
1721         (getEntry): Use HashMap.
1722         (locBuf): New private field.
1723         (checkLocalHeader): Use locBuf to read info in one chunk.
1724         (getInputStream): Use entries HashMap, wrap PartialInputStream
1725         in BufferedInputStream.
1726         (ZipEntryEnumeration): Use HashMap and Interator.
1728 2003-01-02  Mark Wielaard  <mark@klomp.org>
1729             Jeroen Frijters  <jeroen@sumatra.nl>
1731         * java/net/URLClassLoader.java (Resource.getCodeSource):
1732         Fix check certs == null.
1733         (getCanonicalFileURL): Removed method.
1734         (JarURLLoader): Don't call removed method.
1735         (FileURLLoader): Likewise.
1736         (FileURLLoader.getResource): Don't canonicalize file name.
1738 2003-01-01  Tom Tromey  <tromey@redhat.com>
1740         * Makefile.in: Rebuilt.
1741         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
1742         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
1743         java/awt/BufferCapabilities.java, java/awt/Button.java,
1744         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
1745         java/awt/Container.java, java/awt/Cursor.java,
1746         java/awt/EventQueue.java, java/awt/FileDialog.java,
1747         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
1748         java/awt/MenuBar.java, java/awt/MenuComponent.java,
1749         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
1750         java/awt/Scrollbar.java, java/awt/TextArea.java,
1751         java/awt/TextField.java, java/awt/color/CMMException.java,
1752         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
1753         java/awt/color/ProfileDataException.java,
1754         java/awt/datatransfer/Clipboard.java,
1755         java/awt/datatransfer/DataFlavor.java,
1756         java/awt/datatransfer/FlavorMap.java,
1757         java/awt/datatransfer/SystemFlavorMap.java,
1758         java/awt/dnd/DragGestureEvent.java,
1759         java/awt/dnd/DragGestureRecognizer.java,
1760         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
1761         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
1762         java/awt/im/InputMethodHighlight.java,
1763         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
1764         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
1766         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
1767         `op' to BufferedImageOp.
1769 2002-12-31  Tom Tromey  <tromey@redhat.com>
1771         Fix for PR libgcj/7416:
1772         * javax/naming/InitialContext.java (init): Use
1773         gnu.classpath.home.url.
1774         * java/security/Security.java: Use new properties.
1775         (loadProviders): Accept base url; use it.
1776         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
1777         gnu.classpath.home.url.
1778         (gnu.classpath.home.url): Define.
1779         (gnu.classpath.vm.shortname): Likewise.
1781 2002-12-31  Tom Tromey  <tromey@redhat.com>
1782             Ranjit Mathew  <rmathew@hotmail.com>
1784         Fix for PR libgcj/8997:
1785         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
1786         Include platform.h.
1787         * include/posix.h (_Jv_platform_usleep): New function.
1788         * include/win32.h (_Jv_platform_usleep): New function.
1790 2002-12-29  Tom Tromey  <tromey@redhat.com>
1792         * gcj/javaprims.h: Updated.
1793         * scripts/classes.pl (scan): Removed stray semicolon.
1795 2002-12-30  Mark Wielaard  <mark@klomp.org>
1797         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
1798         if zero or smaller.
1800 2002-12-30  Mark Wielaard  <mark@klomp.org>
1802         * java/util/Properties (formatForOutput): Don't fall through to
1803         default case after escaping character.
1805 2002-12-30  Mark Wielaard  <mark@klomp.org>
1807         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
1808         against count.
1810 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
1812         * boehm.cc: Remove stray semicolon.
1813         * interpret.cc: Likewise.
1814         * prims.cc: Likewise.
1815         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
1816         earlier to ensure default arguments are processed.
1817         * gcj/array.h (JArray): Add forward declaration.
1818         (elements): Likewise.
1819         * gcj/javaprim.h: Remove stray semicolons.
1820         * include/bohm-gc.h: Likewise.
1821         * include/jni.h: Likewise.
1822         * include/jvm.h: Likewise.
1823         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
1824         
1825 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
1827         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
1828         of catch_type.
1829         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
1830         idt tables after initializing superclass.
1831         * java/lang/natClassLoader.cc (uaddr): New typedef.
1832         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
1833         if they are constant pool indicies.  Don't link vtable, otable yet.
1835 2002-12-21  Anthony Green  <green@redhat.com>
1837         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
1838         libraries.
1839         * Makefile.in: Rebuilt.
1841 2002-12-19  Anthony Green  <green@redhat.com>
1843         * Makefile.am (ordinary_java_source_files): Add
1844         org/xml/sax/helpers/NewInstance.java.
1845         * Makefile.in: Rebuilt.
1846         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
1847         org/xml/sax/helpers/package.html: New files.
1848         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
1849         http://www.saxproject.org.
1851 2002-12-19  Andrew Haley  <aph@redhat.com>
1853         * java/util/natResourceBundle.cc: Include
1854         ArrayIndexOutOfBoundsException.h.
1855         (getCallingClassLoader): Don't put upper bound on stack search.
1856         Catch ArrayIndexOutOfBoundsException.
1858 2002-12-19  Tom Tromey  <tromey@redhat.com>
1860         * libtool-version: Increased `current'.
1862 2002-12-19  Tom Tromey  <tromey@redhat.com>
1864         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
1865         comment.
1866         * java/lang/ClassLoader.java (defineClass): Use chained
1867         exception when rethrowing.
1868         * defineclass.cc (handleClassBegin): Mark class as interpreted.
1869         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
1870         constants.
1871         * resolve.cc (_Jv_PrepareMissingMethods): New function.
1872         (_Jv_PrepareClass): Use it.
1873         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
1874         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
1875         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
1876         (Class): _Jv_PrepareMissingMethods now friend.
1877         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
1878         Record `NULL' for system class loader.
1879         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
1880         system class loader.
1881         (_Jv_FindClassInCache): Likewise.
1882         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
1883         (_Jv_FindClass): Special case system class loader.
1884         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
1885         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
1886         vtable slots.
1887         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
1888         in a final class.
1889         (_getDeclaredMethod): Don't return synthetic methods.
1890         (getDeclaredMethods): Likewise.
1891         (_getMethod): Likewise.
1892         (_getMethods): Likewise.
1894 2002-12-18  Raif Naffah  <raif@fl.net.au>
1896         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
1897         canonical form after divide().
1898         (modInverse): Likewise.
1900 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
1901             Mark Wielaard  <mark@klomp.org>
1903         * java/security/SecurityRandom (digest): Removed field.
1904         (SecureRandom): Check all providers for case-insensitive SecureRandom
1905         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
1906         if necessary.
1907         (getInstance(String,Provider,boolean): New method.
1908         (getInstance(String)): Use new method.
1909         (getInstance(String,String)): Likewise.
1910         (getInstance(String,Provider)): Likewise.
1912 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
1914         * java/security/Security.java (loadProviders): Increment i only once.
1916 2002-12-12  Mark Wielaard  <mark@klomp.org>
1918         * java/lang/ClassLoader.java (resolveClass0): Transform
1919         ClassNotFoundException to NoClassDefFoundError. Transform all other
1920         throwables to LinkageError.
1922 2002-12-11  Tom Tromey  <tromey@redhat.com>
1924         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
1926         * java/lang/ClassLoader.java (loadedClasses): New field.
1927         (defineClass): Fixed indentation.  Put new class in
1928         loadedClasses.
1929         (findLoadedClass): Implement here.
1930         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
1932 2002-12-10  Tom Tromey  <tromey@redhat.com>
1934         * Makefile.in: Rebuilt.
1935         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
1936         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
1937         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
1938         * java/lang/natClassLoader.cc
1939         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
1941 2002-12-10  Mark Wielaard  <mark@klomp.org>
1942             Tom Tromey  <tromey@redhat.com>
1944         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
1945         (JarURLLoader): Use it.
1946         (FileURLLoader): Likewise.
1947         (JarURLResource.getURL): Use chained exception.
1948         (FileResource.getURL): Likewise.
1949         (FileURLLoader.getResource): Use canonical file name.
1950         (addURL): Indentation fix.
1952 2002-12-10  Tom Tromey  <tromey@redhat.com>
1954         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
1955         From Laurent Bardet <l.bardet@magic.fr>.
1957 2002-12-09  Tom Tromey  <tromey@redhat.com>
1959         * include/win32.h (_Jv_platform_solib_prefix): New define.
1960         (_Jv_platform_solib_suffix): Likewise.
1961         * include/posix.h (_Jv_platform_solib_prefix): New define.
1962         (_Jv_platform_solib_suffix): Likewise.
1963         * java/lang/natRuntime.cc: Include StackTrace.h.
1964         (_load): Use findLibrary and new platform defines.
1965         (nativeGetLibname): Use new platform defines.
1967         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
1968         `t' won't be null.
1970 2002-12-08  Mark Wielaard  <mark@klomp.org>
1972         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
1973         cache remote jar files.
1974         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
1975         add File.separator to URL when it is a directory.
1976         * java/lang/ClassLoader.java: Add Classpath javadoc.
1977         (parent): final.
1978         (getParent): Add (disabled) security check.
1979         (findLibrary): New default method.
1980         * java/net/JarURLConnection.java (getManifest): Implement.
1981         (getInputStream): Only create InputStream when entry exists.
1982         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
1983         when they exist.
1984         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
1986 2002-12-08  Mark Wielaard  <mark@klomp.org>
1988         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
1989         (lastDefaultLocale): New field.
1990         (getBundle): When Locale.getDefault != lastDefaultLocale reset
1991         resourceBundleCache.
1993 2002-12-06  Mark Wielaard  <mark@klomp.org>
1995         * java/net/InetAddress.java (toString): Use hostname when not null,
1996         don't do an explicit reverse getHostName() lookup.
1997         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
1998         NullPointerException.
2000 2002-12-06  Tom Tromey  <tromey@redhat.com>
2002         * include/java-interp.h (class _Jv_InterpMethod): Added
2003         JV_MARKOBJ_DECL.
2004         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
2005         mark `prepared' field of interpreted method.
2006         * interpret.cc (compile): Use _Jv_AllocBytes.
2008 2002-12-05  Andrew Haley  <aph@redhat.com>
2010         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
2011         #ifdef (HAVE_BACKTRACE) around the whole function body.
2013 2002-12-05  Tom Tromey  <tromey@redhat.com>
2015         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
2016         * resolve.cc: Don't include AbstractMethodError.h.
2017         (_Jv_abstractMethodError): Removed.
2018         * defineclass.cc (handleMethodsBegin): Initialize method index to
2019         -1.
2020         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
2021         method index for "new" final method.
2022         (_Jv_SetVTableEntries): Compare index against -1 instead of using
2023         isVirtualMethod.  Added `flags' argument.
2024         (_Jv_MakeVTable): Throw exception for abstract method in concrete
2025         class.
2027 2002-12-04  Tom Tromey  <tromey@redhat.com>
2029         * java/net/SocketPermission.java (hashCode): Rewrote.
2031 2002-12-04  Tom Tromey  <tromey@redhat.com>
2033         * Makefile.in: Rebuilt.
2034         * Makefile.am (nat_source_files): Added natVMSecurityManager,
2035         natResourceBundle.
2036         * java/util/ResourceBundle.java (Security): Removed.
2037         (getCallingClassLoader): Now native.
2038         * java/util/natResourceBundle.cc: New file.
2039         * java/lang/natVMSecurityManager.cc: New file.
2040         * java/lang/VMSecurityManager.java (getClassContext): Now native.
2042 2002-12-03  Mark Wielaard  <mark@klomp.org>
2044         * java/util/jar/JarFile.java (manifest): Not final.
2045         (manifestRead): New field.
2046         (JarFile): Don't read Manifest in constructor.
2047         (getManifest): New method.
2048         (JarEnumeration.nextElement): Use new method.
2049         (getEntry): Likewise.
2050         * java/util/zip/ZipFile.java (name): Final.
2051         (raf): Likewsie.
2052         (entries): Change type to Hashtable.
2053         (closed): New field.
2054         (ZipFile): Don't read enties in constructor.
2055         (readEntries): Use Hashtable.
2056         (close): Set new close flag and set entries to null inside
2057         synchronized block.
2058         (entries): Contruct enumeration using new getEntries() method and
2059         entries Hashtable.
2060         (getEntryIndex): Removed.
2061         (getEntries): New method.
2062         (getEntry): Use new getEntries() method and entries Hastable.
2063         (getInputStream): Likewise.
2064         (size): Return getEntries().size().
2065         (ZipEntryEnumeration): Wrap entries Hashtable elements.
2066         * java/util/zip/ZipEntry.java (cal): Don't initialize.
2067         (time): Removed
2068         (dostime): New field.
2069         (zipFileIndex): Removed.
2070         (ZipEntry(ZipEntry)): Copy dostime.
2071         (setDOSTime): Now final and doesn't convert dos time.
2072         (getDOSTime): Likewise.
2073         (setTime): Convert dos time.
2074         (getTime): Likewise.
2075         (getCalendar): New method.
2076         (setExtra): Use setTime().
2077         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
2079 2002-12-03  Tom Tromey  <tromey@redhat.com>
2081         * java/lang/Character.java (forDigit): Formatting fix.
2083 2002-12-03  Raif Naffah  <raif@fl.net.au>
2085         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
2086         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
2087         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
2089 2002-12-03  Andrew Haley  <aph@redhat.com>
2091         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
2092         _Jv_PushClass.
2093         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
2094         (_Jv_PopClass): New.
2095         (_Jv_PushClass): New.
2096         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
2097         discover the ClassLoader of our caller.
2098         (_Jv_CheckArrayStore): Don't check that a class is assignment
2099         compatible with Object.
2100         * java/lang/natVMTHrowable.cc: Delete.
2101         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
2102         java.lang.VMThrowable.
2103         (StackTrace(), StackTrace(int)): New constructors.
2104         (classAt, methodAt, update, methodAtAddress): New methods.
2105         (map): New field.
2106         * java/lang/VMThrowable.java: Use StackTrace instead of
2107         natVMTHrowable.
2108         * java/lang/Class.h (getClassLoaderInternal): New.
2109         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
2110         Be friendly with gnu::gcj::runtime::StackTrace.
2111         (Object.chain): New field.
2112         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
2113         gnu::gcj::runtime::StackTrace.
2114         * gnu/gcj/runtime/natStackTrace.cc: New file.
2115         * gnu/gcj/runtime/MethodRef.java: New file.
2116         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
2117         instead of getClassLoader().
2118         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
2119         java::lang::VMThrowable.
2120         * Makefile.am (core_java_source_files): Add MethodRef.java,
2121         StackTrace.java.
2122         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
2123         * Makefile.in: Rebuild.
2125 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
2127         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
2128         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
2129         yes also for sh-linux* and sh[34]*-linux*.
2130         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
2131         set SIGNAL_HANDLER to use DWARF2 exception for them.
2132         * configure: Regenerate.
2134 2002-12-02  Tom Tromey  <tromey@redhat.com>
2136         * jni.cc: Added `name' argument.
2137         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
2138         `const char *' argument.
2139         (class _Jv_JNIEnv) [DefineClass]: Likewise.
2141 2002-12-01  Tom Tromey  <tromey@redhat.com>
2143         Bug compatibility, for PR libgcj/8738:
2144         * java/io/CharArrayWriter.java (close): Do nothing.
2145         (flush): Likewise.
2146         (reset): Don't touch `closed'.
2147         (write(int)): Don't throw IOException.
2148         (write(char[],int,int)): Likewise.
2149         (write(String,int,int)): Likewise.
2150         (closed): Removed.
2152 2002-12-01  Mark Wielaard  <mark@klomp.org>
2154         * java/lang/SecurityManager.java: Remerge comments, indenting and
2155         checkXXX methods with Classpath.
2157 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
2159         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
2160         getNormalizedComponents): Fix calculation which was using one too
2161         many bits in the unnormalized format.
2163 2002-11-29  Gary Benson  <gbenson@redhat.com>
2165         For PR libgcj/8759:
2166         * java/beans/Introspector.java (flushCaches): New method.
2167         (flushFromCaches): Likewise.
2169 2002-11-29  Michael Koch <konqueror@gmx.de>
2171         * java/nio/channels/DatagramChannel.java
2172         (open): Added exception documentation.
2173         (write): Added exception documentation.
2174         (connect): Added exception documentation.
2175         (disconnect): Added exception documentation.
2176         (isConnected): Added exception documentation.
2177         (read): Added exception documentation.
2178         (receive): Added exception documentation.
2179         (send): Added exception documentation.
2180         (validOps): Added exception documentation.
2181         * java/nio/channels/SocketChannel.java
2182         (open): Added exception documentation.
2183         (read): Added exception documentation.
2184         (write): Added exception documentation.
2185         (connect): Added exception documentation.
2186         (finishConnect): Added exception documentation.
2188 2002-11-29  Michael Koch <konqueror@gmx.de>
2190         * gnu/java/nio/DatagramChannelImpl:
2191         (fd): New member variable to store file descriptor of socket.
2192         * gnu/java/nio/SelectionKeyImpl.java:
2193         (ops): Removed.
2194         (readyOps): New member variable.
2195         (interestOps): New member variable.
2196         (readyOps): Implemented.
2197         (readyOps): New method to set member variable readyOps.
2198         (interestOps): Replaced ops by interestOps.
2199         * gnu/java/nio/SelectorImpl.java:
2200         (SelectorImpl): Initialize key sets.
2201         (select): Call select with -1 instead of Long.MAX_VALUE).
2202         (java_do_select): Make it a native method.
2203         (getFDsAsArray): New helper method.
2204         (select): Remove canceled keys, give only interested file discriptors
2205         to java_do_select, set ready ops.
2206         (add): No need to initialize keys set here.
2207         (add_selected): No need to initialize selected set here.
2208         (deregisterCanceledKeys): New helper method.
2209         (register): Set interest ops, set attachments, added handling of datagram
2210         channels.
2211         * gnu/java/nio/ServerSocketChannelImpl:
2212         (SocketAccept): Renamed from NioSocketAccept.
2213         (implConfigureBlocking): Implemented.
2214         (accept): Use SocketAccept instead of NioSocketAccept.
2215         * gnu/java/nio/SocketChannelImpl:
2216         Reactivate native methods.
2218 2002-11-29  Michael Koch <konqueror@gmx.de>
2220         * gnu/java/nio/natByteBufferImpl.cc,
2221         gnu/java/nio/natCharBufferImpl.cc,
2222         gnu/java/nio/natDoubleBufferImpl.cc,
2223         gnu/java/nio/natFloatBufferImpl.cc,
2224         gnu/java/nio/natIntBufferImpl.cc,
2225         gnu/java/nio/natLongBufferImpl.cc,
2226         gnu/java/nio/natSelectorImpl.cc,
2227         gnu/java/nio/natServerSocketChannelImpl.cc,
2228         gnu/java/nio/natShortBufferImpl.cc,
2229         gnu/java/nio/natSocketChannelImpl.cc:
2230         New files that implement native functionalities.
2232 2002-11-29  Michael Koch <konqueror@gmx.de>
2234         * gnu/java/nio/ByteBufferImpl.java
2235         (ByteBufferImpl): Moved position() after limit.
2236         (nio_*): Use native implementation.
2237         * gnu/java/nio/CharBufferImpl.java:
2238         Reformated.
2239         (endian): New member variable string endianess of buffer.
2240         (CharBufferImpl): Moved position() after limit.
2241         (nio_*): Use native implementation.
2242         (subSequence): Implemented.
2243         * gnu/java/nio/DoubleBufferImpl.java
2244         (DoubleBufferImpl): Moved position() after limit.
2245         (nio_*): Use native implementation.
2246         * gnu/java/nio/FloatBufferImpl.java
2247         Reformated.
2248         (FloatBufferImpl): Moved position() after limit.
2249         (nio_*): Use native implementation.
2250         * gnu/java/nio/IntBufferImpl.java
2251         Added needed imports, Reformated.
2252         (IntBufferImpl): Moved position() after limit.
2253         (nio_*): Use native implementation.
2254         * gnu/java/nio/LongBufferImpl.java
2255         Reformated.
2256         (LongBufferImpl): Moved position() after limit.
2257         (nio_*): Use native implementation.
2258         * gnu/java/nio/ShortBufferImpl.java
2259         Reformated.
2260         (ShortBufferImpl): Moved position() after limit.
2261         (nio_*): Use native implementation.
2263 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
2265         * java/util/Locale.java (toString): Improve efficiency if country
2266         and variant are both empty.
2268 2002-11-26  Tom Tromey  <tromey@redhat.com>
2270         * verify.cc (pop_init_ref): New method.
2271         (verify_instructions_0) [op_iaload, op_laload, op_faload,
2272         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
2273         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
2274         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
2275         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
2276         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
2277         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
2278         let `this' argument be uninitialized.  Don't let `null' be passed
2279         as `this' to construtor.
2281 2002-11-26  Mark Wielaard  <mark@klomp.org>
2283         * javax/transaction/HeuristicCommitException.java: Classpath merge.
2284         * javax/transaction/HeuristicMixedException.java: Likewise.
2285         * javax/transaction/HeuristicRollbackException.java: Likewise.
2286         * javax/transaction/InvalidTransactionException.java: Likewise.
2287         * javax/transaction/NotSupportedException.java: Likewise.
2288         * javax/transaction/RollbackException.java: Likewise.
2289         * javax/transaction/Status.java: Likewise.
2290         * javax/transaction/Synchronization.java: Likewise.
2291         * javax/transaction/SystemException.java: Likewise.
2292         * javax/transaction/Transaction.java: Likewise.
2293         * javax/transaction/TransactionManager.java: Likewise.
2294         * javax/transaction/TransactionRequiredException.java: Likewise.
2295         * javax/transaction/TransactionRolledbackException.java: Likewise.
2296         * javax/transaction/UserTransaction.java: Likewise.
2297         * javax/transaction/xa/XAException.java: Likewise.
2298         * javax/transaction/xa/XAResource.java: Likewise.
2299         * javax/transaction/xa/Xid.java: Likewise.
2301 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
2303         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
2304         define.
2305         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
2306         * include/posix.h (socklen_t): Define if not already defined.
2308 2002-11-25  Tom Tromey  <tromey@redhat.com>
2310         * verify.cc (type::compatible): Backed out broken change.
2312         * verify.cc (type::compatible): Check initialization status
2313         first.
2314         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
2315         Don't use NULLCHECK.
2317 2002-11-23  H.J. Lu <hjl@gnu.org>
2319         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
2320         Include ../config/accross.m4.
2321         * aclocal.m4; Rebuild.
2322         * configure: Likewise.
2324 2002-11-23  Mark Wielaard  <mark@klomp.org>
2326         * javax/naming/AuthenticationException.java: Update copyright header.
2327         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
2328         * javax/naming/Binding.java: Likewise.
2329         * javax/naming/CannotProceedException.java: Likewise.
2330         * javax/naming/CommunicationException.java: Likewise.
2331         * javax/naming/CompositeName.java: Likewise.
2332         * javax/naming/CompoundName.java: Likewise.
2333         * javax/naming/ConfigurationException.java: Likewise.
2334         * javax/naming/Context.java: Likewise.
2335         * javax/naming/ContextNotEmptyException.java: Likewise.
2336         * javax/naming/InitialContext.java: Likewise.
2337         * javax/naming/InsufficientResourcesException.java: Likewise.
2338         * javax/naming/InterruptedNamingException.java: Likewise.
2339         * javax/naming/LimitExceededException.java: Likewise.
2340         * javax/naming/LinkException.java: Likewise.
2341         * javax/naming/LinkLoopException.java: Likewise.
2342         * javax/naming/LinkRef.java: Likewise.
2343         * javax/naming/MalformedLinkException.java: Likewise.
2344         * javax/naming/NameAlreadyBoundException.java: Likewise.
2345         * javax/naming/NameClassPair.java: Likewise.
2346         * javax/naming/NameNotFoundException.java: Likewise.
2347         * javax/naming/NameParser.java: Likewise.
2348         * javax/naming/NamingEnumeration.java: Likewise.
2349         * javax/naming/NamingSecurityException.java: Likewise.
2350         * javax/naming/NoInitialContextException.java: Likewise.
2351         * javax/naming/NoPermissionException.java: Likewise.
2352         * javax/naming/NotContextException.java: Likewise.
2353         * javax/naming/OperationNotSupportedException.java: Likewise.
2354         * javax/naming/PartialResultException.java: Likewise.
2355         * javax/naming/Reference.java: Likewise.
2356         * javax/naming/Referenceable.java: Likewise.
2357         * javax/naming/ReferralException.java: Likewise.
2358         * javax/naming/ServiceUnavailableException.java: Likewise.
2359         * javax/naming/SizeLimitExceededException.java: Likewise.
2360         * javax/naming/TimeLimitExceededException.java: Likewise.
2361         * javax/naming/directory/Attribute.java: Likewise.
2362         * javax/naming/directory/AttributeInUseException.java: Likewise.
2363         * javax/naming/directory/AttributeModificationException.java: Likewise.
2364         * javax/naming/directory/Attributes.java: Likewise.
2365         * javax/naming/directory/BasicAttribute.java: Likewise.
2366         * javax/naming/directory/BasicAttributes.java: Likewise.
2367         * javax/naming/directory/DirContext.java: Likewise.
2368         * javax/naming/directory/InitialDirContext.java: Likewise.
2369         * javax/naming/directory/InvalidAttributeIdentifierException.java:
2370         Likewise.
2371         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
2372         * javax/naming/directory/InvalidAttributesException.java: Likewise.
2373         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
2374         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
2375         * javax/naming/directory/ModificationItem.java: Likewise.
2376         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
2377         * javax/naming/directory/SchemaViolationException.java: Likewise.
2378         * javax/naming/directory/SearchControls.java: Likewise.
2379         * javax/naming/directory/SearchResult.java: Likewise.
2380         * javax/naming/event/EventContext.java: Likewise.
2381         * javax/naming/event/EventDirContext.java: Likewise.
2382         * javax/naming/event/NamespaceChangeListener.java: Likewise.
2383         * javax/naming/event/NamingEvent.java: Likewise.
2384         * javax/naming/event/NamingExceptionEvent.java: Likewise.
2385         * javax/naming/event/NamingListener.java: Likewise.
2386         * javax/naming/event/ObjectChangeListener.java: Likewise.
2387         * javax/naming/ldap/Control.java: Likewise.
2388         * javax/naming/ldap/ControlFactory.java: Likewise.
2389         * javax/naming/ldap/ExtendedRequest.java: Likewise.
2390         * javax/naming/ldap/ExtendedResponse.java: Likewise.
2391         * javax/naming/ldap/HasControls.java: Likewise.
2392         * javax/naming/ldap/InitialLdapContext.java: Likewise.
2393         * javax/naming/ldap/LdapContext.java: Likewise.
2394         * javax/naming/ldap/LdapReferralException.java: Likewise.
2395         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
2396         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
2397         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
2398         * javax/naming/spi/DirObjectFactory.java: Likewise.
2399         * javax/naming/spi/DirStateFactory.java: Likewise.
2400         * javax/naming/spi/DirectoryManager.java: Likewise.
2401         * javax/naming/spi/InitialContextFactory.java: Likewise.
2402         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
2403         * javax/naming/spi/NamingManager.java: Likewise.
2404         * javax/naming/spi/ObjectFactory.java: Likewise.
2405         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
2406         * javax/naming/spi/ResolveResult.java: Likewise.
2407         * javax/naming/spi/Resolver.java: Likewise.
2408         * javax/naming/spi/StateFactory.java: Likewise.
2410         * javax/naming/spi/NamingManager.java (ofb): Package private.
2412 2002-11-21  Mark Wielaard  <mark@klomp.org>
2414         * java/net/URL.java: Merge with Classpath (partly).
2415         * java/net/URLStreamHandler: Merge with Classpath.
2417 2002-11-22  Michael Koch <konqueror@gmx.de>
2419         * include/posix.h:
2420         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
2421         * include/win32.h:
2422         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
2423         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
2425 2002-11-21  Michael Koch <konqueror@gmx.de>
2427         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
2428         Only the new network functions should be in it.
2430 2002-11-21  Michael Koch <konqueror@gmx.de>
2432         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
2433         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
2435 2002-11-21  Michael Koch <konqueror@gmx.de>
2437         * java/nio/channels/AsynchronousCloseException.java,
2438         java/nio/channels/CancelledKeyException.java,
2439         java/nio/channels/ClosedByInterruptException.java,
2440         java/nio/channels/ConnectionPendingException.java,
2441         java/nio/channels/FileLockInterruptionException.java,
2442         java/nio/channels/IllegalSelectorException.java,
2443         java/nio/channels/NoConnectionPendingException.java,
2444         java/nio/channels/NonReadableChannelException.java,
2445         java/nio/channels/NonWritableChannelException.java,
2446         java/nio/channels/NotYetBoundException.java,
2447         java/nio/channels/NotYetConnectedException.java,
2448         java/nio/channels/OverlappingFileLockException.java,
2449         java/nio/channels/UnresolvedAddressException.java,
2450         java/nio/channels/UnsupportedAddressTypeException.java:
2451         New files.
2452         * Makefile.am (ordinary_java_source_files): Added new files.
2453         * Makefile.in: Regenerated.
2455 2002-11-21  Michael Koch <konqueror@gmx.de>
2457         * include/posix.h
2458         (_Jv_socket): New method.
2459         (_Jv_connect): New method.
2460         (_Jv_close): New method.
2461         (_Jv_platform_close_on_exec): Prefixed system function with "::".
2462         (_Jv_bind): New method.
2463         (_Jv_listen): New method.
2464         (_Jv_write): New method.
2465         (_Jv_read): New method.
2466         * include/win32.h
2467         (_Jv_socket): New method.
2468         (_Jv_connect): New method.
2469         (_Jv_close): New method.
2470         (_Jv_bind): New method.
2471         (_Jv_listen): New method.
2472         (_Jv_write): New method.
2473         (_Jv_read): New method.
2474         * java/net/natNetworkInterface.cc:
2475         Include platform.h, removed inclusion of socket.h
2476         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
2477         ::close() by _Jv_close().
2478         * java/net/natPlainDatagramSocketImpl.cc:
2479         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
2480         added some new lines to make code more readable.
2481         (create): Replaced ::socket() by _Jv_socket().
2482         (close): Replaced NATIVE_CLOSE() by _Jv_close().
2483         * java/net/natPlainSocketImpl.cc:
2484         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
2485         removed include of socket.h, removed some windows defines
2486         (now in include/win32.h).
2487         (create): Replaced ::socket() by _Jv_socket().
2488         (close): Replaced NATIVE_CLOSE() by _Jv_close().
2489         (write): Replaced ::read by _Jv_write().
2490         (read): Replaced ::read by _Jv_read().
2492 2002-11-20  Michael Koch <konqueror@gmx.de>
2494         * Makefile.am (ordinary_java_source_files):
2495         Added java/nio/channels/FileChannel.java.
2496         * Makefile.in: Regenerated.
2498 2002-11-20  Michael Koch <konqueror@gmx.de>
2500         * java/io/FileInputStream.java
2501         (getChannel): New method.
2502         * java/io/FileOutputStream.java
2503         (getChannel): New method.
2504         * java/net/ServerSocket.java
2505         (bind): Removed duplicate code and called another bind method instead.
2506         * java/nio/channels/SelectionKey.java
2507         (isValid): Removed wrong exception documentation.
2508         * java/nio/channels/ServerSocketChannel.java
2509         (accept): Added exception documentation.
2510         (open): Fixed typo, added exception documentation.
2511         * java/nio/channels/spi/AbstractSelectableChannel.java
2512         (implCloseChannel): Added exception documentation.
2513         (add): Reformated.
2514         (register): Added exception documentation.
2516 2002-11-20  Andreas Jaeger  <aj@suse.de>
2518         * configure: Regenerated with new libtool.m4.
2520 2002-11-19  Tom Tromey  <tromey@redhat.com>
2522         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
2523         `referent'.
2524         (finalize_referred_to_object): Don't modify `referent' or `copy'
2525         fields.
2526         (add_to_hash): Correctly set `n->next' when updating list.
2527         * java/lang/ref/Reference.java (enqueue): Return false if already
2528         enqueued.
2530 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
2532         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
2533         to function and function pointer declarations in accordance with
2534         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
2535         based on whether __GCJ_JNI_IMPL__ has been defined or not.
2536         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
2537         JNI function definitions.
2539 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
2541         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
2542         that was causing CoderResults to be cached, not WeakReferences
2543         to CoderResults.
2545 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
2547         * java/security/KeyStore.java (getInstance): Fix
2548         comment and throw IllegalArgumentException if
2549         given provider is null.
2550         (getInstance): New method for jdk1.4 compatibility.
2552 2002-11-18  Michael Koch <konqueror@gmx.de>
2554         * java/net/PlainSocketImpl.java: Fix imports.
2556 2002-11-18  Michael Koch <konqueror@gmx.de>
2558         * java/nio/channels/SelectionKey.java
2559         (isValid): Added exception documentation.
2560         * java/nio/channels/Selector.java
2561         (open): Declare "throws IOException".
2563 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
2565         * java/nio/charset/Charset.java
2566         (<clinit>): New method.
2567         (encode): Synchronize use of cached encoder object.
2568         (decode): Synchronize use of cached encoder object.
2570 2002-11-18  Michael Koch <konqueror@gmx.de>
2572         * gnu/java/nio/ByteBufferImpl.java,
2573         gnu/java/nio/CharBufferImpl.java,
2574         gnu/java/nio/DatagramChannelImpl.java,
2575         gnu/java/nio/DoubleBufferImpl.java,
2576         gnu/java/nio/FileChannelImpl.java,
2577         gnu/java/nio/FloatBufferImpl.java,
2578         gnu/java/nio/IntBufferImpl.java,
2579         gnu/java/nio/LongBufferImpl.java,
2580         gnu/java/nio/PipeImpl.java,
2581         gnu/java/nio/SelectionKeyImpl.java,
2582         gnu/java/nio/SelectorImpl.java,
2583         gnu/java/nio/SelectorProviderImpl.java,
2584         gnu/java/nio/ServerSocketChannelImpl.java,
2585         gnu/java/nio/ShortBufferImpl.java,
2586         gnu/java/nio/SocketChannelImpl.java,
2587         java/nio/DoubleBuffer.java,
2588         java/nio/FloatBuffer.java,
2589         java/nio/IntBuffer.java,
2590         java/nio/LongBuffer.java,
2591         java/nio/ShortBuffer.java,
2592         java/nio/channels/FileChannel.java: New files.
2594 2002-11-18  Michael Koch <konqueror@gmx.de>
2596         * Makefile.am (ordinary_java_source_files):
2597         Added java/nio/ReadOnlyBufferException.java and
2598         java/nio/channels/ClosedSelectorException.java.
2599         * Makefile.in: Regenerated.
2601 2002-11-18  Michael Koch <konqueror@gmx.de>
2603         * java/net/PlainSocketImpl.java: Reworked imports.
2604         * java/net/ServerSocket.java
2605         (ServerSocket): Create socket.
2606         * java/net/SocketAddress.java: Documentation added.
2607         * java/net/natPlainSocketImpl.cc: Reindented.
2608         * java/nio/ReadOnlyBufferException.java: New file
2609         * java/nio/channels/ClosedChannelException.java: Documentation added.
2610         * java/nio/channels/ClosedSelectorException.java: New file.
2612 2002-11-17  Mark Wielaard  <mark@klomp.org>
2614         * java/net/HttpURLConnection.java ((getPermission): Take port
2615         into consideration.
2616         (getErrorStream): Implement.
2618 2002-11-17  Mark Wielaard  <mark@klomp.org>
2620         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
2622 2002-11-16  Mark Wielaard  <mark@klomp.org>
2624         Integrate work by Raif S. Naffah (raif@fl.net.au)
2625         * java/security/DummyKeyPairGenerator.java (clone): New method.
2626         * java/security/DummyMessageDigest.java (clone): New method.
2627         (engineUpdate): Now public.
2628         (engineReset): Likewise.
2629         (engineDigest): Likewise.
2630         (engineGetDigestLength): New method.
2631         * java/security/DummySignature.java (clone): New method.
2632         * java/security/KeyPairGenerator.java (provider): Now package private.
2633         (getInstance(String)): Use getInstance(String,Provider).
2634         (getInstance(String,String): Use getInstance(String,Provider)
2635         (getInstance(String,Provider): New method.
2636         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
2637         * java/security/KeyPairGeneratorSpi.java (clone): New method.
2638         * java/security/MessageDigest.java (provider): Now package private.
2639         (getInstance(String): Use getInstance(String,Provider).
2640         (getInstance(String,String): Use getInstance(String,Provider)
2641         (getInstance(String,Provider): New method.
2642         * java/security/Provider.java (toCanonicalKey): New method.
2643         (get): New method that uses toCanonicalKey().
2644         (put): Use toCanonicalKey().
2645         (remove): Likewise.
2646         * java/security/Security.java (insertProviderAt): Provider index is one
2647         based, not zero based.
2648         (addProvider): Likewise.
2649         (removeProvider): Likewise.
2650         * java/security/Signature.java (provider): Now package private.
2651         (getInstance(String)): Use getInstance(String,Provider).
2652         (getInstance(String,String): Use getInstance(String,Provider)
2653         (getInstance(String,Provider): New method.
2654         (getInstance(String,String,Provider): Don't cast DummySignature.
2656 2002-11-15  Tom Tromey  <tromey@redhat.com>
2658         For PR libgcj/8593:
2659         * java/util/zip/GZIPInputStream.java (read): Check file size.
2660         Look in inflater for remaining input bytes.
2661         (read4): Added buf and offset arguments.
2663 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
2665         * java/applet/AppletContext.java: Fix typo and remove redundant
2666         modifiers.
2668 2002-11-14  Tom Tromey  <tromey@redhat.com>
2670         * java/lang/natRuntime.cc (insertSystemProperties): Set
2671         gnu.classpath.home.
2673 2002-11-13  Michael Koch <konqueror@gmx.de>
2675         * java/nio/ByteBuffer.java
2676         (allocate): New method.
2677         (wrap): New method.
2678         (put): New method.
2679         (get): New method.
2681 2002-11-13  Michael Koch <konqueror@gmx.de>
2683         * java/nio/channels/AlreadyConnectedException.java:
2684         Removed unneeded import.
2685         (AlreadyConnectedException): Documentation added.
2686         * java/nio/channels/Pipe.java
2687         (SinkChannel.SinkChannel): Documentation added.
2688         (SinkChannel.validOps): New method.
2689         (SourceChannel.SourceChannel): Documentation added.
2690         (SourceChannel.validOps): New method.
2691         (Pipe): Documentation added.
2692         (open): Documentation added.
2693         (SinkChannel.channel): Documentation added.
2694         (SourceChannel.channel): Documentation added.
2695         * java/nio/channel/SelectableChannel.java
2696         (SelectableChannel): Documentation added.
2697         (blockingLock): Documentation added.
2698         (configureBlocking):Documentation added.
2699         (isBlocking):Documentation added.
2700         (isRegistered):Documentation added.
2701         (keyFor):Documentation added.
2702         (provider):Documentation added.
2703         (register): Documentation added.
2704         (validOps): Documentation added.
2705         * jaba/nio/channels/SelectionKey.java
2706         (SelectionKey): Documentation added.
2707         (attach): Documentation added.
2708         (attachment): Documentation added.
2709         (isAcceptable): Documentation added.
2710         (isConnetable): Documentation added.
2711         (isReadable): Documentation added.
2712         (isWritable): Documentation added.
2713         (cancel): Documentation added.
2714         (channel): Documentation added.
2715         (interestOps): Documentation added.
2716         (isValid): Documentation added.
2717         (readyOps): Documentation added.
2718         (selector): Documentation added.
2719         * jaba/nio/channels/Selector.java
2720         (Selector): Documentation added.
2721         (open): Documentation added.
2722         (close): Documentation added.
2723         (isOpen): Documentation added.
2724         (keys): Documentation added.
2725         (provider): Documentation added.
2726         (select): Documentation added.
2727         (selectedKeys): Documentation added.
2728         (selectNow): Documentation added.
2729         (wakeup): Documentation added.
2730         * java/nio/channels/spi/AbstractInterruptibleChannel.java
2731         (AbstractInterruptibleChannel): Documentation added.
2732         (opened): Default to true;
2733         (begin): Documentation added.
2734         (close): Set opened to false, documentation added.
2735         (isOpen): Documentation added.
2736         * java/nio/channels/spi/AbstractSelectionKey.java
2737         (AbstractSelectionKey): Documentation added.
2738         (cancel): Documentation added.
2739         (isValid): Documentation added.
2740         * java/nio/channels/spi/AbstractSelector.java
2741         (AbstractSelector): Documentation added.
2742         (begin): Documentation added.
2743         (close): Documentation added.
2744         (isOpen): Documentation added.
2745         (deregister): Documentation added.
2746         (end): Documentation added.
2747         (provider): Documentation added.
2748         (implCloseSelector): Documentation added.
2749         (register): Documentation added.
2750         * java/nio/channels/spi/SelectorProvider.java
2751         (SelectorProvider): Documentation added.
2752         (openDatagramChannel): Documentation added.
2753         (openPipe): Documentation added.
2754         (openSelector): Documentation added.
2755         (openServerSocketChannel): Documentation added.
2756         (openSocketChannel): Documentation added.
2757         (provider): Documentation added.
2759 2002-11-12  Michael Koch <konqueror@gmx.de>
2761         * java/nio/Buffer.java: Implemented.
2762         * java/nio/CharBuffer.java: New file.
2763         * java/nio/InvalidMarkException.java: New file.
2764         * java/nio/channels/DatagramChannel.java: Implemented.
2765         * java/nio/channels/ServerSocketChannel.java: Implemented.
2766         * java/nio/channels/SocketChannel.java: Implemented.
2767         * java/nio/channels/spi/AbstractChannel.java: Removed.
2768         * java/nio/channels/spi/AbstractSelectableChannel.java:
2769         Implemented.
2770         * java/nio/charset/Charset.java:
2771         Merge from Classpath.
2772         * java/nio/charset/CharsetDecoder.java: New file.
2773         * java/nio/charset/CharsetEncoder.java: New file.
2774         * java/nio/charset/CoderResult.java: New file.
2775         * Makefile.am (ordinary_java_source_files): Added new files.
2776         * Makefile.in: Regenerated.
2778 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2780         * gnu/java/nio/charset/ISO_8859_1.java,
2781         gnu/java/nio/charset/Provider.java,
2782         gnu/java/nio/charset/US_ASCII.java,
2783         gnu/java/nio/charset/UTF_16.java,
2784         gnu/java/nio/charset/UTF_16BE.java,
2785         gnu/java/nio/charset/UTF_16Decoder.java,
2786         gnu/java/nio/charset/UTF_16Encoder.java,
2787         gnu/java/nio/charset/UTF_16LE.java,
2788         gnu/java/nio/charset/UTF_8.java: New files.
2790 2002-11-11  Michael Koch <konqueror@gmx.de>
2792         * java/nio/charset/CharacterCodingException.java:
2793         This class must be public.
2794         * java/nio/charset/CoderMalfunctionError.java:
2795         This class must be public.
2796         * java/nio/charset/CodingErrorAction.java:
2797         This class must be public.
2798         * java/nio/charset/IllegalCharsetNameException.java:
2799         This class must be public, better implementation.
2800         * java/nio/charset/MalformedInputException.java:
2801         This class must be public, better implementation.
2802         * java/nio/charset/UnmappableCharacterException.java:
2803         This class must be public, better implementation.
2804         * java/nio/charset/UnsupportedCharsetException.java:
2805         This class must be public, better implementation.
2807 2002-11-11  Michael Koch <konqueror@gmx.de>
2809         * java/nio/BufferOverflowException.java,
2810         java/nio/BufferUnderflowException.java: New file.
2811         * Makefile.am (ordinary_java_source_files):
2812         Added new files.
2813         * Makefile.in: Regenerated.
2815 2002-11-10  Tom Tromey  <tromey@redhat.com>
2817         * java/awt/Container.java (validate): Use tree lock.
2818         (getComponent): Likewise.
2819         (getComponents): Likewise.
2820         (addImpl): Likewise.
2821         (remove): Likewise.
2822         (removeAll): Likewise.
2823         (processEvent): Fixed indentation.
2824         (getComponentAt): Use tree lock.
2825         (findComponentAt): Likewise.
2826         (removeNotify): Likewise.
2827         (isAncestorOf): Likewise.
2828         (list): Likewise.
2829         (visitChildren): Likewise.
2830         (findNextFocusComponent): Likewise.
2831         (addNotifyContainerChildren): Likewise.
2832         (getAccessibleChildrenCount): Likewise.
2833         (getAccessibleChild): Likewise.
2835         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
2836         (getSize): Likewise.
2837         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
2838         (getSize): Likewise.
2839         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
2840         (calcSize): Likewise.
2841         * java/awt/CardLayout.java (getSize): Use tree lock.
2842         (gotoComponent): Likewise.
2843         (layoutContainer): Likewise.
2845         * java/io/natFileDescriptorWin32.cc (read): Handle case where
2846         count is 0.
2847         * java/io/natFileDescriptorPosix.cc (read): Handle case where
2848         count is 0.
2850         * java/io/Externalizable.java, java/io/FilePermission.java,
2851         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
2852         java/io/SerializablePermission.java, java/text/Format.java,
2853         java/util/AbstractMap.java, java/util/HashMap.java,
2854         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
2855         versions from Classpath.
2857 2002-11-10  Anthony Green  <green@redhat.com>
2859         * java/util/jar/Attributes.java (Name): Fix name check.
2861 2002-11-10  Mark Wielaard  <mark@klomp.org>
2863         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
2864         with getName() as message.
2865         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
2866         type as message.
2868         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
2869         unused.
2871 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
2873         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
2874         for Win32. JNICALL has been defined to __stdcall to be compatible
2875         with Sun's JDKs.
2877 2002-11-10  Tom Tromey  <tromey@redhat.com>
2879         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
2880         (setRows): Check newRows, not rows.
2882         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
2884 2002-11-09  Tom Tromey  <tromey@redhat.com>
2886         * java/applet/Applet.java, java/applet/AppletContext.java,
2887         java/applet/AppletStub.java, java/applet/AudioClip.java,
2888         java/awt/CardLayout.java,
2889         java/awt/ContainerOrderFocusTraversalPolicy.java,
2890         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
2891         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
2892         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
2893         java/awt/color/ICC_ColorSpace.java,
2894         java/awt/color/ICC_Profile.java,
2895         java/awt/color/ICC_ProfileGray.java,
2896         java/awt/color/ICC_ProfileRGB.java,
2897         java/awt/datatransfer/DataFlavor.java,
2898         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
2899         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
2900         New versions from Classpath.
2901         * Makefile.in: Rebuilt.
2902         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
2903         ICC_ProfileRGB.
2905         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
2906         display policy.
2908         * java/awt/List.java (processEvent): Added missing `else's.
2910         * java/awt/Window.java (show): validate() before showing.  Make
2911         parent displayable.
2912         (isDisplayable): New method.
2914 2002-11-07  Mark Wielaard  <mark@klomp.org>
2916         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
2917         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
2919         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
2920         annotation.
2921         (loadClass): Take String as codebases.
2922         (getClassAnnotation): Use MyClassLoader annotations.
2923         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
2924         call exportObject(this).
2926         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
2927         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
2928         (setAnnotation): Don't set locBytesStream and locStream.
2929         (replaceObject): Removed.
2930         (flush): Don't test locStream.
2931         (getLocBytes): LikeWise.
2932         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
2933         (leaseCache): New field.
2934         (dirty): Use leaseCache.
2935         (LeaseRecord): New inner class.
2936         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
2937         explicitly call exportObject().
2938         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
2939         false to communicate with Sun JDK130.
2940         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
2941         * gnu/java/rmi/server/RMIObjectInputStream.java
2942         (UnicastConnectionManager): Removed field.
2943         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
2944         Use UnicastServer.getExportedRef().
2945         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
2946         (expireTime): Likewise.
2947         (CONNECTION_TIMEOUT): Likewise.
2948         (disconnect): Call sock.close().
2949         (isExpired): New method.
2950         (resetTime): Likewise.
2951         (run): Use do while loop and catch Exception for discardConnection().
2952         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
2953         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
2954         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
2955         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
2956         (exportObject): Use refcache.
2957         (unexportObject): Likewise.
2958         (getExportedRef): New method.
2959         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
2960         constructor.
2961         (exportObject): Save manager.serverobj.
2962         (getStub): New method.
2964 2002-11-07  Mark Wielaard  <mark@klomp.org>
2966         * java/lang/reflect/natField.cc (getBoolean): Use getType().
2967         (getByte): Likewise.
2968         (getShort): Likewise.
2969         (getInt): Likewise.
2970         (getLong): Likewise.
2971         (getFloat): Likewise.
2972         (getDouble): Likewise.
2973         (get): Likewise.
2974         (setChar): Likewise.
2975         (setByte): Likewise.
2976         (setShort): Likewise.
2977         (setInt): Likewise.
2978         (setLong): Likewise.
2979         (setFloat): Likewise.
2980         (setDouble): Likewise.
2982 2002-11-07  Michael Koch <konqueror@gmx.de>
2984         * java/awt/Choice.java,
2985         java/awt/Container.java,
2986         java/awt/GridBagLayout.java:
2987         Fixed documentation.
2988         * java/awt/peer/ContainerPeer.java:
2989         Reindented.
2991 2002-11-07  Michael Koch <konqueror@gmx.de>
2993         * java/awt/color/ICC_Profile.java:
2994         Added missing constants.
2995         * java/awt/color/ICC_ColorSpace.java
2996         (getMinValue): Added dummy implementation.
2997         (getMaxValue): Added dummy implementation.
2998         * java/awt/datatransfer/DataFlavor.java
2999         (imageFlavor): Added.
3000         (isMimeTypeEqual): Must be final.
3001         (getDefaultRepresentationClass): Must be non-static.
3002         (getDefaultRepresentationClassAsString): Must be non-static.
3003         * java/awt/dnd/DragSourceContext.java
3004         (dragExit): Corrected argument.
3005         (dragDropEnd): Corrected argument.
3006         * java/awt/dnd/DragSourceListener.java.java
3007         (dragExit): Corrected argument.
3008         (dragDropEnd): Corrected argument.
3009         * java/awt/font/TextHitInfo.java
3010         (toString): Added stubbed implementation.
3011         * java/awt/geom/PathIterator.java:
3012         The constants must be static.
3013         * java/awt/image/VolatileImage.java
3014         (IMAGE_INCOMPATIBLE): Fixed typo.
3015         * java/awt/image/renderable/RenderableImage.java
3016         (HINTS_OBSERVED): Must be static.
3017         * java/beans/BeanInfo.java:
3018         Constants must be final.
3020 2002-11-06  Tom Tromey  <tromey@redhat.com>
3022         From svens@it.uu.se.  For PR libgcj/8481.
3023         * java/util/Random.java (nextInt(int)): Only use 31 bits.
3025 2002-11-06  Tom Tromey  <tromey@redhat.com>
3027         * jni.cc (array_from_valist): Assume that jlong won't be
3028         promoted.
3030 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
3032         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
3033         Return 20.
3034         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
3035         Return 16.
3037 2002-11-03  Tom Tromey  <tromey@redhat.com>
3039         * java/lang/ClassLoader.java (loadClass): Call loadClass on
3040         VMClassLoader, not findClass.
3042 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
3044         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
3045         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
3046         _Jv_DetermineVTableIndex, to determine vtable offset.
3047         (_Jv_DetermineVTableIndex): Remove.
3048         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
3050         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
3052 2002-11-03  Tom Tromey  <tromey@redhat.com>
3054         * java/nio/channels/AlreadyConnectedException.java: Extend
3055         IllegalStateException, per spec.
3057 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
3059         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
3061 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
3063         * java/util/ArrayList.java (readObject, writeObject): Only read/write
3064         size items.
3066 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
3068         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
3069         initial estimated size to avoid enlarge buffer frequently.
3071 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
3073         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
3074         ClassLoader when null.
3075         (ProxyType.hashCode): Loader null check no longer needed.
3076         (ProxyType.sameTypes): New method.
3077         (ProxyType.equals): Use new method.
3079 2002-10-31  Mark Wielaard  <mark@klomp.org>
3081         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
3082         length of String.
3083         * java/net/URLEncoder.java (encode): Likewise.
3085 2002-10-31  Mark Wielaard  <mark@klomp.org>
3087         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
3088         when stream is closed.
3089         (closeEntry): Likewise.
3090         (read): Likewise.
3091         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
3092         ZipException when no entry active.
3093         (closeEntry): Likewise.
3094         (write): Likewise.
3096 2002-11-02  Tom Tromey  <tromey@redhat.com>
3098         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
3099         * java/lang/natClass.cc (initializeClass): Don't return just
3100         because self==thread.
3102         For PR java/8415:
3103         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
3104         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
3106 2002-11-02  Andreas Schwab  <schwab@suse.de>
3108         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
3109         pass GCJFLAGS.
3110         (FLAGS_TO_PASS): Define.
3111         * Makefile.in: Regenerated.
3113 2002-11-01  Michael Koch  <konqueror@gmx.de>
3115         * java/nio/ByteOrder.java: New file.
3116         * java/nio/channels/DatagramChannel.java:
3117         (DatagramChannel): New constructor.
3118         * java/nio/channels/Pipe.java: New file.
3119         * java/nio/channels/SelectableChannel.java: New file.
3120         * java/nio/channels/SelectionKey.java: New file.
3121         * java/nio/channels/Selector.java: New file.
3122         * java/nio/channels/ServerSocketChannel.java
3123         (ServerSocketChannel): New constructor.
3124         * java/nio/channels/SocketChannel.java
3125         (SocketChannel): New constructor.
3126         * java/nio/channels/Pipe.java: New file.
3127         * java/nio/channels/spi/AbstractChannel.java: New file.
3128         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
3129         * java/nio/channels/spi/AbstractSelectableChannel.java:
3130         License added
3131         (AbstractSelectableChannel): New stubbed method.
3132         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
3133         * java/nio/channels/spi/AbstractSelector.java: New file.
3134         * java/nio/channels/spi/SelectorProvider.java: New file.
3135         * java/nio/charset/Charset.java: New file.
3136         * java/nio/charset/CoderMalfunctionError.java: New file.
3137         * java/nio/charset/CodingErrorAction.java: New file.
3138         * java/nio/charset/spi/CharsetProvider.java
3139         (charsetForName): Uncommented.
3140         * Makefile.am (java_native_source_files): Added new files.
3141         * Makefile.in: Regenerated.
3143 2002-11-01  Michael Koch  <konqueror@gmx.de>
3145         * java/net/InetAddress.java:
3146         (isAnyLocalAddress): Implemented.
3147         (isLoopbackAddress): Implemented, comment added.
3148         (isLinkLocalAddress): Implemented, documentation added.
3149         (isSiteLocalAddress): Implemented, documentation added.
3150         (isMCGlobal): Implemented, documentation added.
3151         (isMCNodeLocal): Implemented, documentation added.
3152         (isMCLinkLocal): Implemented, documentation added.
3153         (isMCSiteLocal): Implemented, documentation added.
3154         (isMCOrgLocal): Implemented, documentation added.
3155         (getHostName): Documentation added.
3156         (getCanonicalHostName): Implemented, documentation added.
3157         (getAddress): Documentation added.
3158         (hashCode): Documentation added.
3159         (equals): Documentation added.
3160         (toString): Fixed implementation.
3161         (getByAddress): Use Inet4Address and Inet6Address.
3162         (lookup): New linewrap.
3163         (getByName): SecurityManager check added, support Inet4Address and
3164         Inet6address, comments added.
3165         (getAllByName): SecurityManager check added, comments added.
3166         * java/net/Inet6Address.java:
3167         (Inet6Address): Initialize parent class with addr instead of null.
3168         * java/net/URL.java
3169         (equals): Documentation added.
3170         (getFile): Documentation added.
3171         (hashCode): Documentation added.
3172         * java/net/natInetAddress.cc:
3173         (aton): Fix IPv6 support.
3174         * java/net/natPlainDatagramSocketImpl.cc:
3175         (peek): Throw PortUnreachableException when suitable.
3176         (peekData): Throw PortUnreachableException when suitable.
3177         (send): Throw PortUnreachableException when suitable.
3178         (receive): Throw PortUnreachableException when suitable.
3180 2002-10-27  Mark Wielaard  <mark@klomp.org>
3182         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
3183         argument.
3184         (readLeShort): Likewise and use byte[].
3185         (readLeInt): Likewise.
3186         (readEntries): Use new versions of methods and use byte[] for reading
3187         a complete zip entry. Add ZipFile name to exceptions.
3188         (entries): Add ZipFile name to exceptions.
3189         (getEntry): Likewise.
3190         (checkLocalHeader): Use new versions of methods and add ZipFile name
3191         to exceptions.
3193 2002-10-31  Mark Anderson  <mark@panonet.net>
3195         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
3196         added
3198 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
3200         * configure.in: Disable hash sync when not using threads.
3201         * configure: Regenerated.
3203 2002-10-24  Tom Tromey  <tromey@redhat.com>
3205         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
3206         (_Jv_FindSymbolInExecutable): Removed argument name.
3207         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
3208         java.library.path is set.
3210         * gij.cc (help): Document --showversion.
3211         (version): Don't exit.
3212         (main): Handle --showversion.  Exit if --version given.
3214 2002-10-23  Tom Tromey  <tromey@redhat.com>
3216         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
3217         (array_from_valist): Correctly handle promotion for jint, jlong,
3218         jfloat, and jdouble.
3220 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
3222         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
3223         GetFileAttributesEx( ) to find file length and modification times,
3224         as the latter is not present on Windows 95.
3226 2002-10-21  Michael Koch  <konqueror@gmx.de>
3228         * java/net/URL.java
3229         (URL): Activate SecurityManager checks.
3230         (equals): Use URLStreamHandler implementation instead of doing it
3231         alone. This allows special protocol stream handlers to change default
3232         behaviour.
3233         (hashCode): Use URLStreamHandler implementation instead of doing it
3234         alone. This allows special protocol stream handlers to change default
3235         behaviour.
3236         * java/net/URLStreamHandler.java
3237         (equals): Implemented default URL equality check.
3238         (hostsEqual): Implemented default URL equality check.
3239         (hashCode): Implemented default URL hashCode algorithm.
3240         * java/net/natPlainDatagramSocketImpl.cc:
3241         No lines longer then 80 characters.
3243 2002-10-20  Adam Megacz <adam@xwt.org>
3245         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
3246         * configure.in: enabled hash sync on Win32
3247         * include/win32-threads.h (_Jv_ThreadId_t): added.
3248         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
3249         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
3250         removed some posix-isms, use Thread::sleep() instead of usleep,
3251         added code to clear bottom three bits if platform has a broken
3252         linker.
3253         * include/win32-threads.h (_Jv_ThreadId_t): added.
3255 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
3257         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
3258         runtime property "gnu.gcj.progname" containing the name used to
3259         invoke the current Java program (similar to argv[0] for C
3260         programs).
3262 2002-10-15  Tom Tromey  <tromey@redhat.com>
3264         Fix for PR libgcj/8234:
3265         * java/util/zip/natInflater.cc (reset): Reset avail_in.
3266         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
3268 2002-10-13  Mark Wielaard  <mark@klomp.org>
3270         * mauve-libgcj: Enable Mauve tests that compile now.
3272 2002-10-11  Mark Wielaard  <mark@klomp.org>
3274         Fix for PR libgcj/8142
3275         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
3276         loading native modules.
3278 2002-10-10  Michael Koch  <konqueror@gmx.de>
3280         * javax/swing/AbstractListModel.java
3281         (getListDataListeners): New stubbed method.
3282         javax/swing/DefaultBoundedRangeModel.java
3283         (getChangeListeners): New stubbed method.
3284         javax/swing/DefaultSingleSelectionModel.java
3285         (getChangeListeners): New stubbed method.
3287 2002-10-10  Michael Koch  <konqueror@gmx.de>
3289         * gcj/.cvsignore: New file to ignore files generated during build.
3290         * include/.cvsignore: New file to ignore files generated during build.
3292 2002-10-10  Michael Koch  <konqueror@gmx.de>
3294         * java/net/HttpURLConnection.java
3295         (getPermission): New method.
3296         (getErrorStream): New stub method.
3297         (getHeaderFieldDate): New stub method.
3298         * java/net/Inet4Address.java:
3299         (isLinkLocalAddress): Typo fixed.
3300         * java/net/InetAddress.java:
3301         (readResolve): New stubbed method (for serialization).
3302         (isAnyLocalAddress): New stubbed method.
3303         (isLoopbackAddress): New stubbed method.
3304         (isLinkLocalAddress): New stubbed method.
3305         (isSiteLocalAddress): New stubbed method.
3306         (isMCGlobal): New stubbed method.
3307         (isMCNodeGlobal): New stubbed method.
3308         (isMCLinkLocal): New stubbed method.
3309         (isMCSiteLocal): New stubbed method.
3310         (isMCOrgLocal): New stubbed method.
3311         (getCanonicalHostName): New stubbed method.
3312         (getByAddress): Create instances of Inet4Address/Inet6Address,
3313         instead of InetAddress, documentation added.
3314         * java/net/MulticastSocket.java
3315         (getInterface): Removed FIXME.
3316         (getNetworkInterface): New method.
3317         (setNetworkInterface): New method.
3318         * java/net/NetworkInterface.java:
3319         (toString): Use property "line.separator" instead of "\n".
3320         * java/net/URLConnection.java
3321         (getContent): New stubbed method.
3322         * java/net/URLStreamHandler.java:
3323         (equals): New stubbed method.
3324         (hostsEqual): New stubbed method.
3325         (hashCode): New stubbed method.
3326         * java/net/natNetworkInterface.cc:
3327         (getRealNetworkInterfaces): Create Inet4Address object
3328         instead of InetAddress.
3330 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
3332         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
3333         unsigned long temporary to implement insn_iushr shifts.
3335 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
3337         * configure.host [s390*-*]: Enable Java interpreter.
3338         Enable hash synchronization.  Add sysdeps dir.
3339         * sysdep/s390/locks.h: New file.
3341 2002-10-06  Mark Wielaard  <mark@klomp.org>
3343         * java/lang/Thread.java (setDaemon): Check startable_flag,
3344         not isAlive().
3346 2002-10-07  Michael Koch  <konqueror@gmx.de>
3348         * java/nio/Buffer.java: New stub file.
3349         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
3350         of class Charset.
3351         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
3352         * Makefile.in: Regenerated.
3354 2002-10-07  Michael Koch  <konqueror@gmx.de>
3356         * java/nio/ByteBuffer.java:
3357         removed import of not commited class.
3359 2002-10-07  Michael Koch  <konqueror@gmx.de>
3361         * java/nio/ByteBuffer.java,
3362         java/nio/MappedByteBuffer.java:
3363         New files, forgot to add these dummies.
3364         * Makefile.am (java_native_source_files): Added new files.
3365         * Makefile.in: Regenerated.
3367 2002-10-07  Michael Koch  <konqueror@gmx.de>
3369         * java/nio/channels/AlreadyConnectedException.java,
3370         java/nio/channels/ClosedChannelException.java,
3371         java/nio/channels/ReadableByteChannel.java,
3372         java/nio/channels/InterruptibleChannel.java,
3373         java/nio/channels/Channel.java,
3374         java/nio/channels/ByteChannel.java,
3375         java/nio/channels/GatheringByteChannel.java,
3376         java/nio/channels/ScatteringByteChannel.java,
3377         java/nio/channels/WritableByteChannel.java,
3378         java/nio/charset/CharacterCodingException.java,
3379         java/nio/charset/IllegalCharsetNameException.java,
3380         java/nio/charset/MalformedInputException.java,
3381         java/nio/charset/UnmappableCharacterException.java,
3382         java/nio/charset/UnsupportedCharsetException.java,
3383         java/nio/charset/spi/CharsetProvider.java: New file.
3384         These files are exceptions or interfaces,
3385         no real or abstract classes.
3386         * Makefile.am (java_native_source_files): Added new files.
3387         * Makefile.in: Regenerated.
3389 2002-10-05  Michael Koch  <konqueror@gmx.de>
3391         * java/net/InetAddress.java
3392         (getByAddress): Fixed documentation.
3393         (getByAddress): New method.
3394         * java/net/Inet4Address.java: New file.
3395         * java/net/URL.java
3396         (URL): Documentation added.
3397         (getContent): Documentation added.
3398         (getContent): New stubbed method.
3399         (getQuery): New method.
3400         (openConnection): Documentation added.
3401         (openStream): Documentation added.
3402         (setURLStreamHandlerFactory): Documentation added.
3403         * java/net/URI.java: New stub file.
3404         * Makefile.am
3405         (java_native_source_files): Added java/net/Inet4Address.java,
3406         java/net/Inet6Address.java and java/net/URI.java.
3407         * Makefile.in: Regenerated.
3409 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
3411         * java/lang/ProtectionDomain.java (linesep): Remove field.
3412         (toString): Use System.getProperty("line.separator").
3414 2002-10-04  Michael Koch  <konqueror@gmx.de>
3416         * java/security/Identity.java: Added serialVersionUID.
3417         * java/security/KeyPair.java: Added serialVersionUID.
3418         * java/security/Provider.java: Added serialVersionUID.
3419         * java/security/SecureRandom.java: Added serialVersionUID.
3420         * java/security/SecureRandomSpi.java: Added serialVersionUID.
3421         * java/security/SignedObject.java: Added serialVersionUID.
3422         * java/security/cert/Certificate.java: Added serialVersionUID.
3424 2002-10-04  Mark Wielaard <mark@klomp.org>
3426         * java/security/Security.java: Use java.home or gnu.classpath.home
3427         to load providers.
3428         (loadProviders): Extra dir argument.
3429         (getProvider): Return null when not found.
3431 2002-10-04  Mark Wielaard  <mark@klomp.org>
3433         * java/lang/Throwable.java: Remerge with Classpath.
3435 2002-10-04  Michael Koch  <konqueror@gmx.de>
3437         * java/net/InetAddress.java:
3438         (isMulticastAddress): Added documentation.
3439         (getHostAddress): Added documentation.
3440         (toString): Added documentation.
3441         (getByAddress): Fixed documentation.
3442         (getByName): Added documentation.
3443         (getAllByName): Added documentation.
3444         (getLocalHost): Added documentation.
3446 2002-10-04  Michael Koch  <konqueror@gmx.de>
3448         * java/beans/beancontext/BeanContextChildSupport.java:
3449         Added serialVersionUID.
3450         * java/text/Collator.java: (compare): Made documentation HTML-aware.
3451         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
3452         * javax/naming/Name.java: Added serialVersionUID.
3454 2002-10-03  Adam Megacz <adam@xwt.org>
3456         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
3457         some functionality that isn't supported yet on WIN32.
3459 2002-10-03  Tom Tromey  <tromey@redhat.com>
3461         * Makefile.in: Rebuilt.
3462         * Makefile.am (awt_java_source_files): Added new files.
3464 2002-10-03  Michael Koch  <konqueror@gmx.de>
3466         * java/net/InetAddress.java
3467         (class InetAddress): Removed final keyword.
3468         (equals): Fixed typo.
3469         (getByAddress): New method.
3471 2002-10-03  Michael Koch  <konqueror@gmx.de>
3473         * java/awt/dnd/Autoscroll.java:
3474         New file, merge from Classpath.
3475         * java/awt/dnd/DragSourceAdapter.java:
3476         (dragExit): Fixed typos in argument type.
3477         (dragDropEnd): Fixed typos in argument type.
3478         * java/awt/dnd/DragSourceDropEvent.java:
3479         New file, merge from Classpath.
3480         * java/awt/dnd/DropTarget.java:
3481         Added stubs, merge from Classpath.
3482         * java/awt/dnd/DropTargetAdapter.java:
3483         New file, merge from Classpath.
3484         * java/awt/dnd/DropTargetContext.java:
3485         New file, merge from Classpath.
3486         * java/awt/dnd/DropTargetDragEvent.java:
3487         New file, merge from Classpath.
3488         * java/awt/dnd/DropTargetDropEvent.java:
3489         New file, merge from Classpath.
3490         * java/awt/dnd/DropTargetEvent.java:
3491         New file, merge from Classpath.
3492         * java/awt/dnd/DropTargetListener.java:
3493         New file, merge from Classpath.
3494         * java/awt/dnd/MouseDragGestureRecognizer.java:
3495         New file, merge from Classpath.
3496         * java/awt/dnd/peer/DropTargetContextPeer.java:
3497         New file, merge from Classpath.
3499 2002-10-03  Michael Koch  <konqueror@gmx.de>
3501         * java/net/DatagramPacket.java
3502         (setLength): Fixed typo and be HTML-aware.
3503         * java/net/InetSocketAddress.java
3504         (InetSocketAddress): Correct initialization of hostname, fixed typo.
3505         (equals): Added comment about equality of InetSocketAddress objects.
3506         * java/net/ServerSocket.java
3507         (accept): Added checks.
3508         (isClosed): New stubbed method.
3509         * java/net/SocketOptions.java: Reindention.
3510         * java/net/SocketPermission
3511         (SocketPermission): Documentation fixed.
3513 2002-10-03  Michael Koch  <konqueror@gmx.de>
3515         * java/net/DatagramSocket.java
3516         (receive): Check with SecurityManager AFTER the packet is received,
3517         check if connected to multicast address, documentation added.
3518         (send): Only check SecurityManager if connected, check address of
3519         packet to send.
3520         (connect): Implemented, documentation added.
3521         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
3522         * java/net/InetSocketAddress.java
3523         (whole file): Reindented.
3524         (hostname): New attribute.
3525         (InetSocketAddress): Initialize new attribute.
3526         (getAddress): Documentation added.
3527         (getHostName): Documentation added.
3528         (getPort): Documentation added.
3529         (hashCode): Documentation added.
3530         (isUnresolved): Documentation added.
3531         (toString): Conform to output of JDK 1.4.1, documentation added.
3532         * java/net/MulticastSocket.java
3533         (joinGroup): Removed FIXME, documentation added.
3534         (leaveGroup): Removed FIXME, documentation added.
3535         (send): Documentation added.
3536         * java/net/Socket.java
3537         (inputShutdown): New variable.
3538         (outputShutdown): New variable.
3539         (Socket): Initialize new variables.
3540         (getRemoteSocketAddress): Check if connected.
3541         (shutdownInput): Set new variable.
3542         (shutdownOutput): Set new variable.
3543         (isConnected): New method.
3544         (isClosed): New method.
3545         (isInputShutdown): New method.
3546         (isOutputShutdown): New method.
3547         * java/net/URLStreamHandler.java
3548         (URLStreamHandler): New method.
3549         (openConnection): Added documentation.
3550         (parseURL): Added documentation.
3551         (getHostAddress): New method.
3552         (getDefaultPort): New method.
3554 2002-10-02  Tom Tromey  <tromey@redhat.com>
3556         * java/rmi/activation/ActivationDesc.java,
3557         java/rmi/activation/ActivationGroupDesc.java,
3558         java/rmi/activation/ActivationGroupID.java,
3559         java/rmi/activation/ActivationID.java: New versions from
3560         Classpath.
3562 2002-09-30  Bo Thorsen  <bo@suse.de>
3564         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
3566 2002-09-30  Tom Tromey  <tromey@redhat.com>
3568         * java/io/ObjectInputStream.java (resolveProxyClass): New method
3569         from Classpath.
3570         * Makefile.in: Rebuilt.
3571         * Makefile.am (rmi_java_source_files): Added new files.
3572         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
3573         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
3574         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
3575         Classpath.
3576         * gnu/java/rmi/dgc/DGCImpl.java,
3577         gnu/java/rmi/dgc/DGCImpl_Skel.java,
3578         gnu/java/rmi/dgc/DGCImpl_Stub.java,
3579         gnu/java/rmi/registry/RegistryImpl_Skel.java,
3580         gnu/java/rmi/registry/RegistryImpl_Stub.java,
3581         gnu/java/rmi/server/RMIHashes.java,
3582         gnu/java/rmi/server/RMIObjectInputStream.java,
3583         gnu/java/rmi/server/RMIObjectOutputStream.java,
3584         gnu/java/rmi/server/UnicastConnection.java,
3585         gnu/java/rmi/server/UnicastConnectionManager.java,
3586         gnu/java/rmi/server/UnicastRef.java,
3587         gnu/java/rmi/server/UnicastServer.java,
3588         gnu/java/rmi/server/UnicastServerRef.java,
3589         java/rmi/MarshalledObject.java,
3590         java/rmi/server/RMIClassLoader.java,
3591         java/rmi/server/RemoteObject.java,
3592         java/rmi/server/UnicastRemoteObject.java,
3593         java/security/SecureClassLoader.java: Merged from Classpath.
3595 2002-09-29  Anthony Green  <green@redhat.com>
3597         * java/lang/reflect/UndeclaredThrowableException.java: New file.
3598         Imported from GNU Classpath.
3599         * java/lang/reflect/natProxy.cc: New file.
3600         * java/lang/reflect/InvocationHandler.java: New file.  Imported
3601         from GNU Classpath.
3602         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
3603         Classpath.
3604         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
3605         Classpath.
3606         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
3607         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
3608         New statics.
3609         * gcj/javaprims.h ("Java"): Add new classes.
3610         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
3611         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
3612         java/lang/reflect/Proxy$$ProxyType.h): And this.
3613         (inner_nat_headers): Add these new headers.
3614         (ordinary_java_source_files): Add new files.
3615         (nat_source_files): Add new file.
3616         * Makefile.in: Rebuilt.
3618 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
3620         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
3621         a single configuration.
3623 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3625         * java/util/TimeZone.java (getDSTSavings): New method.
3626         Fixes PR libgcj/7786.
3628 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3630         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
3631         to see if `the_method == 0' before looking up vtable index.
3632         Fixes PR libgcj/7709.
3634 2002-09-25  Tom Tromey  <tromey@redhat.com>
3636         * java/lang/natClassLoader.cc:
3637         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
3638         * resolve.cc: Include NoClassDefFoundError.h, not
3639         ClassNotFoundException.h.
3640         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
3642         * defineclass.cc: Don't include ClassNotFoundException.h.
3644         * resolve.cc: Include StringBuffer.
3645         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
3647         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
3648         allocated but not initialized.
3650 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3652         Fix for PR libgcj/7766:
3653         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
3654         (getNextEntry): Set it.
3655         (closeEntry): Likewise.
3656         (read): Likewise.
3657         (close): Likewise.
3658         (available): Use it.
3660 2002-09-25  Michael Koch  <konqueror@gmx.de>
3662         * java/net/DatagramSocket.java
3663         (DatagramSocket): Initialize new instance variables.
3664         (close): Reset new instance variables.
3665         (getLocalAddress): Remove unneeded SecurityManager usage.
3666         (getLocalPort): Check if socket is already bound.
3667         (isConnected): New method.
3668         (getInetAddress): Implemented.
3669         (getPort): Better Implementation, documentation fixed.
3670         (getRemoteSocketAddress): New method.
3671         * java/net/JarURLConnection.java
3672         (element): Typo fixed.
3673         (getMainAttributes): New method.
3674         (getAttributes): New method (stub only).
3675         (getManifest): New method (stub only).
3676         * java/net/NetPermission.java: Added serialVersionsUID.
3677         * java/net/Socket.java
3678         (connect): Check blocking mode of associated channel,
3679         documentation added.
3680         (getLocalSocketAddress): Better implementation.
3681         (getRemoteSocketAddress): Implemented.
3682         (isBound): New method.
3683         (setSendBufferSize): Documentation added.
3684         * java/net/SocketAddress.java: Added serialVersionsUID.
3685         * java/net/SocketPermission.java: Added serialVersionsUID.
3686         * java/net/URL.java
3687         (URL): Wrap for shorter lines, initialize new instance variables,
3688         documentation added.
3689         (equals): Check new instance variables too.
3690         (getContent): Documentation added.
3691         (getPath): Documentation added.
3692         (getAuthority): New method.
3693         (getHost): Documentation added.
3694         (getPort): Documentation added.
3695         (getDefaultPort): New method.
3696         (getProtocol): Documentation added.
3697         (getUserInfo): Documentation added.
3698         (set): Initialize new instance variables, documentation added.
3699         * java/net/URLStreamHandler.java
3700         (setURL): New method.
3701         * java/net/natPlainDatagramSocketImpl.cc
3702         (connect): Fix exception name.
3703         (disconnect): Fix exception name.
3705 2002-09-25  Michael Koch  <konqueror@gmx.de>
3707         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
3708         * java/nio/channels/DatagramChannel.java:
3709         extends AbstractSelectableChannel
3710         * java/nio/channels/ServerSocketChannel.java:
3711         extends AbstractSelectableChannel
3712         * java/nio/channels/SocketChannel.java:
3713         extends AbstractSelectableChannel
3714         * Makefile.am (ordinary_java_source_files):
3715         java/nio/channels/spi/AbstractSelectableChannel.java added.
3716         * Makefile.in: Regenerated.
3718 2002-09-25  Michael Koch  <konqueror@gmx.de>
3720         * java/net/DatagramSocket.java
3721         (DatagramSocket): Exception documentation added.
3722         (bind): Exception documentation added, addded SecurityManager check,
3723         added SocketAddress type check.
3724         (getSoTimeout): Check impl.
3725         (receive): Fix SecurityManager check, check impl, documentation added.
3726         (send): Check channel mode, documentation added.
3727         (connect): New method.
3728         (disconnect): Implemented.
3729         (getLocalSocketAddress): New method.
3730         (getReceiveBufferSize): Check impl.
3731         (setReuseAddress): Check impl.
3732         (getReuseAddress): Check impl.
3733         (setBroadcast): Check impl.
3734         (getBroadcast): Check impl.
3735         (setTrafficClass): Check impl, Documentation cleared.
3736         (getTrafficClass): Check impl.
3737         (getSendBufferSize): Check impl.
3738         (setReceiveBufferSize): Check impl, documentation added.
3739         (setSendBufferSize): Documentation added.
3740         (setDatagramSocketImplFactory): New method.
3741         * java/net/HttpURLConnection.java
3742         (HTTP_INTERNAL_ERROR): The correct code is 500.
3743         (HTTP_NOT_IMPLEMENTED): Added new constant.
3744         (setFollowRedirects): Documentation added.
3745         (getInstanceFollowRedirects): New method.
3746         (setInstanceFollowRedirects): New method.
3747         (setRequestMethod): Documentation added.
3748         (getResponseCode): Documentation added.
3749         (getResponseMessage): Documentation added.
3750         * java/net/JarURLConnection.java
3751         (JarURLConnection): protected since JDK 1.4.
3752         (getJarEntry): java.io.IOException to IOException, documentation added.
3753         (getJarFile): Documentation added.
3754         * java/net/ServerSocket.java
3755         (ServerSocket): Private to public, exception added.
3756         (ServerSocket): java.io.IOException to IOException, documentation added.
3757         (bind): Check socket address type, documentation added.
3758         (bind): java.io.IOException to IOException, documentation added.
3759         (accept): Documentation added.
3760         (implAccept): Check ch is not non-blocking, documentation added.
3761         (setSoTimeout): Documentation fixed.
3762         (setReceiveBufferSize): Documentation added.
3763         * java/net/Socket.java
3764         (Socket): Documentation added.
3765         (bind): Documentation added.
3766         (connect): Check socket address type, documentation added.
3767         (getRemoteSocketAddress): New method.
3768         (getLocalSocketAddress): New method.
3769         (setSoLinger): Documentation added.
3770         (getReuseAddress): New method.
3771         (setReuseAddress): New method.
3772         (getTrafficClass): New method.
3773         (setTrafficClass): New method.
3774         * java/net/URLStreamHandler.java
3775         (openConnection): java.io.IOException to IOException.
3776         (parseURL): Documentation added.
3777         (sameFile): public to protected, documentation added.
3778         (setURL): Documentation added.
3779         * java/nio/IllegalBlockingModeException.java: New file.
3780         * Makefile.am (ordinary_java_source_files):
3781         added java/nio/IllegalBlockingModeException.java
3782         * Makefile.in: Regenerated.
3784 2002-09-25  Michael Koch  <konqueror@gmx.de>
3786         * java/net/DatagramPacket
3787         (DatagramPacket): Exception documentation added.
3788         (setData): Likewise.
3789         (setSocketAddress): Likewise.
3790         * java/net/DatagramSocketImpl.java
3791         (peek): Documentation addded.
3792         (peekData): Documentation addded.
3793         (send): Documentation addded.
3794         (receive): Documentation addded.
3795         (connect): New method.
3796         (disconnect): New method.
3797         (joinGroup): New abstract method.
3798         (leaveGroup): New abstract method.
3799         * java/net/InetSocketAddress.java
3800         (InetSocketAddress): Documentation added.
3801         (equals): final keyword added.
3802         (getAddress): final keyword added.
3803         (getHostName): final keyword added.
3804         (getPort): final keyword added.
3805         (hashCode): final keyword added.
3806         (isUnresolved): final keyword added.
3807         * java/net/MulticastSocket.java
3808         (MulticastSocket): Documentation added.
3809         (MulticastSocket): New method.
3810         (joinGroup): Documentation added.
3811         (joinGroup): New method.
3812         (leaveGroup): Documentation added.
3813         (leaveGroup): New method.
3814         (send): Documentation added.
3815         * java/net/NetworkInterface.java
3816         (getByName): Documentation added.
3817         (getByInetAddress): Documentation added.
3818         (getNetworkInterfaces): Documentation added.
3819         * java/net/PlainDatagramSocketImpl.java
3820         (connect): New method.
3821         (disconnect): New method.
3822         * java/net/SocketImpl.java
3823         (create): Documentation added.
3824         (shutdownInput): Convert public to protected, as it always was.
3825         (shutdownOutput): Convert public to protected, as it always was.
3826         * java/net/SocketOptions.java
3827         (whole file): Reintented.
3828         * java/net/URLClassLoader.java
3829         (URLClassLoader): SecurityManager check added, documentation added.
3830         (findResources): Documentation added.
3831         (findClass): Documentation added.
3832         (newInstance): More correct method arguments.
3833         * java/net/URLConnection.java
3834         (connect): Documentation added.
3835         (getContent): Documentation added.
3836         (getPermission): Documentation added.
3837         (getInputStream): Documentation added.
3838         (getOutputStream): Documentation added.
3839         (setDoInput): Throw correct exception, documentation added.
3840         (setDoOutput): Throw correct exception, documentation added.
3841         (setAllowUserInteraction): Throw correct exception, documentation added.
3842         (setUseCaches): Throw correct exception, documentation added.
3843         (setIfModifiedSince): Throw correct exception, documentation added.
3844         (setRequestProperty): Throw exception, documentation added.
3845         (addRequestProperty): Throw exception, documentation added.
3846         (getRequestProperty): Throw exception, documentation added.
3847         (getRequestProperties): Documentation added.
3848         (setContentHandlerFactory): Documentation added.
3849         (guessContentTypeFromName): protected to public.
3850         (setFileNameMap): Documentation added.
3851         * java/net/URLDecoder.java
3852         (URLDecoder): New method.
3853         (decode): Documentation added.
3854         (whole file): Reindented.
3855         * java/net/URLEncoder.java
3856         (encode): Documentation added.
3857         * java/net/natPlainDatagramSocketImpl.cc
3858         (connect): New method.
3859         (disconnect): New method.
3860         * javax/naming/RefAddr:
3861         (addrType): addrType was never final.
3862         (equals): Fix typo in method name.
3863         * javax/naming/BinaryRefAddr:
3864         (equals): Fix typo in method name.
3866 2002-09-22  Tom Tromey  <tromey@redhat.com>
3868         Fix for PR libgcj/6576:
3869         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
3870         didn't find a given bundle.
3871         (getBundle): Don't require base bundle.
3872         (setParent): Removed old comment.
3873         (tryLocalBundle): Try components even if preceding components were
3874         empty.
3876 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3878         * Makefile.am (all-multi): Fix multilib parallel build.
3880 2002-09-21  Michael Koch  <konqueror@gmx.de>
3882         * java/net/Socket.java
3883         (sendUrgentData): New method.
3884         (getChannel): New method.
3885         * java/net/ServerSocket.java
3886         (getChannel): New method.
3887         (isBound): New method.
3888         * java/net/DatagramSocket.java
3889         (DatagramSocket): Two new methods.
3890         (bind): New method.
3891         (getChannel): New method.
3892         (isBound): New method.
3893         (send): Added newline to to make shorter lines.
3894         * java/net/PlainDatagramSocketImpl.java
3895         (mcastGrp): Added argument.
3896         (join): Use new mcastGrp.
3897         (leave): Use new mcastGrp.
3898         (joinGroup): New method.
3899         (leaveGroup): New method.
3900         * java/net/natPlainDatagramSocketImpl.cc
3901         (mcastGrp): Added argument, no yet really implemented.
3902         (getOption): Added newline for shorter lines.
3903         * java/net/natPlainSocketImpl.cc
3904         (read, setOption, getOption): Added newline for shorter lines.
3906 2002-09-19  Tom Tromey  <tromey@redhat.com>
3908        * java/lang/ClassLoader.java (resolveClass0): Set cause for
3909        newly-created exception.
3911 2002-09-18  Michael Koch  <konqueror@gmx.de>
3913         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
3914         java/util/regex/PatternSyntaxException.java:
3915         Merge with classpath, new files.
3916         * Makefile.am (core_java_source_files):
3917         Added java/util/regex/Matcher.java,
3918         java/util/regex/Pattern.java,
3919         java/util/regex/PatternSyntaxException.java
3920         * Makefile.in: Regenerated.
3921         * include/config.h.in: Added HAVE_NET_IF_H.
3922         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
3923         Removed #if 0 ... #endif.
3925 2002-09-17  Michael Koch  <konqueror@gmx.de>
3927         * java/net/natNetworkInterface.cc:
3928         Removed unneed and yet wrong includes.
3930 2002-09-17  Michael Koch  <konqueror@gmx.de>
3932         * java/net/NetworkInterface.java: New file.
3933         * java/net/natNetworkInterface.java: New file.
3934         * configure.in: Added check for net/if.h.
3935         * configure: Regenerated.
3936         * Makefile.am
3937         (ordinary_java_source_files): Added NetworkInterface.java.
3938         (nat_source_files): Added natNetworkInterface.cc.
3939         * Makefile.in: Regenerated.
3941 2002-09-16  Tom Tromey  <tromey@redhat.com>
3943         * java/net/URLClassLoader.java (findClass): Code source for a
3944         class from a jar is not necessarily a jar: URL.
3946 2002-09-16  Michael Koch  <konqueror@gmx.de>
3948         * java/lang/AssertionError.java:
3949         Merge with classpath, fixes HTML.
3950         * java/rmi/server/LogStream.java:
3951         Merge with classpath, fixes some constants.
3952         * java/net/server/RemoteServer.java:
3953         Merge with classpath, adds serialVersionUID.
3954         * javax/naming/BinaryRefAddr.java:
3955         Merge with classpath, s/equal/equals/.
3956         * javax/naming/NamingException.java:
3957         Merge with classpath, fixed typo.
3958         * javax/naming/RefAddr.java:
3959         Merge with classpath, s/equal/equals/.
3960         * java/awt/Toolkit.java:
3961         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
3962         and typo fixed.
3964 2002-09-15  Adam Megacz <adam@xwt.org>
3966         * java/net/natPlainSocketImpl.cc: fixed typo.
3968 2002-09-15  Adam Megacz <adam@xwt.org>
3970         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
3971         which don't work on Win32 (yet).
3973 2002-09-14  Adam Megacz <adam@xwt.org>
3975         * java/net/natPlainDatagramSocket.cc: removed #include
3976         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
3977         * include/win32.h: included definition for IP_TOS to satisfy
3978         natPlainDatagramSocket.cc
3980 2002-09-13  Michael Koch  <konqueror@gmx.de>
3982         * java/net/DatagramPacket.java (DatagramPacket):
3983         Added linebreak for 80 chars per line.
3984         * java/net/JarURLConection.java
3985         (getInputStreami, getJarEntry): Likewise.
3986         * java/net/SocketPErmission.java
3987         (SocketPermission class docu, implies): Likewise.
3988         * java/net/URLClassLoader.java (findResources): Likewise.
3989         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
3991 2002-09-13  Michael Koch  <konqueror@gmx.de>
3993         * java/nio/channels/DatagramChannel.java,
3994         java/nio/channels/ServerSocketChannel.java
3995         java/nio/channels/SocketChannel.java:
3996         New dummy files to make java.net fully JDK 1.4 compatible
3997         * Makefile.am (ordinary_java_source_files): Added
3998         java/net/DatagramSocketImplFactory.java (long forgotten),
3999         java/nio/SocketChannel.java,
4000         java/nio/ServerSocketChannel.java,
4001         java/nio/DatagramChannel.java
4002         * Makefile.in: Regenrated.
4004 2002-09-12  Michael Koch  <konqueror@gmx.de>
4006         * java/net/DatagramSocketImpl.java
4007         (peekData): New method.
4008         * java/net/PlainDatagramSocketImpl.java
4009         (peekData): New method.
4010         * java/net/natPlainDatagramSocketImpl.cc
4011         (peekData): New method.
4012         * java/net/URLConnection
4013         (getPermission): New method.
4014         (addRequestProperty): New method.
4015         (getRequestProperties): New method.
4016         (guessContentTypeFromStream): New method, not really implemented.
4017         (URLConnection): Added/updated documentation.
4018         (connect): Added/updated documentation.
4019         (getURL): Added/updated documentation.
4020         (getContentLength): Added/updated documentation.
4021         (getContentType: Added/updated documentation.
4022         (getContentEncoding): Added/updated documentation.
4023         (getExpiration): Added/updated documentation.
4024         (getDate): Added/updated documentation.
4025         (getLastModified): Added/updated documentation.
4026         (getHeaderField): Added/updated documentation.
4027         (getHeaderFields): Added/updated documentation.
4028         (getHeaderFieldInt): Added/updated documentation.
4029         (getHeaderFieldDate): Added/updated documentation.
4030         (getHeaderFieldKey): Added/updated documentation.
4031         (getContent): Added/updated documentation.
4032         (getInputStream): Added/updated documentation.
4033         (getOutputStream): Added/updated documentation.
4034         (toString): Added/updated documentation.
4035         (setDoInput): Added/updated documentation.
4036         (getDoInput): Added/updated documentation.
4037         (setDoOutput): Added/updated documentation.
4038         (getDoOutput): Added/updated documentation.
4039         (setAllowUserInteraction): Added/updated documentation.
4040         (getAllowUserInteraction): Added/updated documentation.
4041         (setDefaultAllowUserInteraction): Added/updated documentation.
4042         (getDefaultAllowUserInteraction): Added/updated documentation.
4043         (setUseCaches): Added/updated documentation.
4044         (getUseCaches): Added/updated documentation.
4045         (setIfModifiedSince): Added/updated documentation.
4046         (getIfModifiedSince): Added/updated documentation.
4047         (getDefaultUseCaches): Added/updated documentation.
4048         (setDefaultUseCaches): Added/updated documentation.
4049         (setRequestProperty): Added/updated documentation.
4050         (getRequestProperty): Added/updated documentation.
4051         (setDefaultRequestProperty): Added/updated documentation.
4052         (getDefaultRequestProperty): Added/updated documentation.
4053         (setContentHandlerFactory): Added/updated documentation.
4054         (guessContentTypeFromName): Added/updated documentation.
4055         (getFileNameMap): Added/updated documentation.
4056         (setFileNameMap): Added/updated documentation.
4058 2002-09-11  Michael Koch  <konqueror@gmx.de>
4060         * java/net/Socket.java
4061         (Socket): protected to public (since JDK 1.4). Added @specnote.
4062         (bind): New method.
4063         (connect): Two new methods.
4064         (getKeepalive): Get correct socket option.
4065         (setKeepalive): Set correct socket option.
4066         (getOOBInline): New method.
4067         (setOOBInline): New method.
4068         * java/net/ServerSocket.java
4069         (bind): Two new methods.
4070         (getInetAddress): Reimplemented, catch exception.
4071         (getLocalSocketAddress): New method.
4072         (setReuseAddress): New method.
4073         (getReuseAdress): New method.
4074         (setReceiveBufferSize): New method.
4075         (getReceiveBufferSize): New method.
4076         (toString): Made string JDK 1.4 compliant.
4078 2002-09-10  Michael Koch  <konqueror@gmx.de>
4080         * java/net/SocketImpl.java
4081         (connect): New method.
4082         (supportsUrgentData): New method.
4083         (sendUrgentData): New method.
4084         * java/net/PlainSocketImpl.java
4085         (connect): One new method and two new implementation.
4086         (sendUrgentData): New method.
4087         * java/natPlainSocketImpl.cc
4088         (connect): Arguments changed, added support for timeouts.
4089         (getOption): Another __java_boolean to jboolean.
4091 2002-09-07  Adam Megacz <adam@xwt.org>
4093         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
4094         definition of IP_TOS.
4096 2002-09-04  Michael Koch  <konqueror@gmx.de>
4098         * java/net/DatagramSocket.java
4099         (DatagramSocket): Added documentation.
4100         (close): Likewise.
4101         (getLocalAddress): Likewise.
4102         (getLocalPort): Likewise.
4103         (receive): Likewise.
4104         (send): Likewise.
4105         (setSoTimeout): Likewise.
4106         (connect): New method.
4107         (disconnect): New method.
4108         (getInetAddress): New method (FIXME)
4109         (getPort): New method.
4110         (setReuseAddress): New method.
4111         (getReuseAddress): New method.
4112         (setBroadcast): New method.
4113         (getBroadcast): New method.
4114         (setTrafficClass): New method.
4115         (getTrafficClass): New method.
4116         * java/net/MulticastSocket.java):
4117         (getTTL): Added @see in documentation.
4118         (setTTL): Added @see in documentation.
4119         (setLoopbackMode): New method.
4120         (getLoopbackMode): New method.
4121         * java/net/PlainSocketImpl.java:
4122         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
4123         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
4124         * java/net/PlainDatagramSocketImpl.java
4125         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
4126         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
4127         * java/net/natPlainSocketImpl.cc
4128         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
4129         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
4130         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
4131         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
4132         This should also fix SO_KEEPALIVE
4133         * java/net/natPlainDatagramSocketImpl.cc
4134         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
4135         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
4136         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
4137         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
4139 2002-09-04  Michael Koch  <konqueror@gmx.de>
4141         * java/net/SocketOptions.java: added static variables to be JDK 1.4
4142         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
4143         IP_MULTICAST_LOOP, IP_TOS
4145 2002-09-03  Tom Tromey  <tromey@redhat.com>
4147         * java/lang/Class.h (_getDeclaredMethod): Declare.
4148         (_getMethod): Now private.
4149         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
4150         getDeclaredMethod.  Now returns NULL on failure.
4151         * java/lang/Class.java (_getDeclaredMethod): Declare.
4152         (getDeclaredMethod): No longer native; implements access checks.
4154 2002-09-01  Mark Wielaard  <mark@klomp.org>
4156         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
4157         (sanitizeStack): Correctly reset unknown and interpreter counters,
4158         detect interpreter runtime frames.
4159         (demangleInterpreterMethod): New method.
4160         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
4161         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
4162         filling in addrs[].
4164 2002-09-02  Michael Koch  <konqueror@gmx.de>
4166         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
4167         re-indented documentation.
4169 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4171         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
4172         public, per 1.4 spec.  Fixes PR libgcj/7785.
4174 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
4176         * Makefile.in: Rebuilt.
4177         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
4179 2002-08-29  Tom Tromey  <tromey@redhat.com>
4181         * java/net/JarURLConnection.java (getCertificates): New method
4182         from Classpath.
4183         * java/net/URLClassLoader.java (URLClassLoader): Extends
4184         SecureClassLoader.
4185         (definePackage): New method from Classpath.
4186         (getPermissions): Likewise.
4187         (newInstance): Likewise.
4188         (findClass): Construct CodeSource for new class (from Classpath).
4189         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
4190         methods.
4191         * java/net/URL.java (getUserInfo): New method.
4192         (set(String,String,int,String,String,String,String,String)): New
4193         method.
4194         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
4195         (shutdownInput, shutdownOutput): Declare.
4196         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
4197         Define.
4198         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
4199         (getOption): Likewise.
4200         (shutdownInput): New method.
4201         (shutdownOutput): Likewise.
4202         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
4203         keepalive.
4204         (getOption): Likewise.
4205         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
4206         * java/net/Socket.java (setKeepAlive): New method.
4207         (getKeepAlive): Likewise.
4208         (shutdownInput, shutdownOutput): New methods.
4210 2002-08-29  Michael Koch  <konqueror@gmx.de>
4212         * java/net/DatagramPacket.java: updated to JDK 1.4 API
4213         new methods are:
4214         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
4215           address),
4216         DatagramPacket(byte[] buf, int length, SocketAddress address),
4217         void setSocketAddress(SocketAddress address)
4218         public SocketAddress getSocketAddress()
4220 2002-08-29  Tom Tromey  <tromey@redhat.com>
4222         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
4223         ftruncate is missing.
4224         * configure, include/config.h.in: Rebuilt.
4225         * acconfig.h (HAVE_FTRUNCATE): Mention.
4226         * configure.in: Check for ftruncate.
4228 2002-08-29  Tom Tromey  <tromey@redhat.com>
4230         * include/jvm.h (struct _Jv_frame_info): New structure.
4231         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
4232         java-interp.h.
4233         (lookupInterp): New method.
4234         (getAddrAsString): Use _Jv_frame_info.
4235         (dladdrLookup): Likewise.
4236         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
4237         interpreted frame.
4238         (lookupInterp): Declare.
4239         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
4240         (fillInStackTrace): Collect information on interpreted frames.
4241         Use _Jv_frame_info.
4242         * interpret.cc: Include Thread.h.
4243         (run): Create and push _Jv_MethodChain object.
4244         (_Jv_EndOfInterpreter): New global.
4245         * java/lang/Thread.java (interp_frame): New field.
4246         * include/java-interp.h (struct _Jv_MethodChain): New structure.
4247         Include NameFinder.h.
4249 2002-08-28  Tom Tromey  <tromey@redhat.com>
4251         * java/lang/Class.h: Include Package.h.
4252         (Class::getProtectionDomain): Declare.
4253         (Class::getPackage): Declare.
4255 2002-08-28  Michael Koch <konqueror@gmx.de>
4257         * java/net/InetSocketAddress.java: Added some documentation and argument
4258         checks for the port numbers.
4259         * java/net/DatagramSocketImplFactory.java: New file.
4261 2002-08-28  Michael Koch <konqueror@gmx.de>
4263         * java/net/Authenticator.java: added some documentation.
4265 2002-08-27  Tom Tromey  <tromey@redhat.com>
4267         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
4268         class.
4269         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
4271 2002-08-27  Michael Koch <konqueror@gmx.de>
4273         * java/net/BindException.java,
4274         java/net/JarURLConnection.java,
4275         java/net/FileNameMap.java,
4276         java/net/HttpURLConnection.java,
4277         java/net/InetSocketAddress.java,
4278         java/net/DatagramPacket.java,
4279         java/net/DatagramSocket.java,
4280         java/net/DatagramSocketImpl.java,
4281         java/net/MulticastSocket.java,
4282         java/net/PasswordAuthentication.java,
4283         java/net/ServerSocket.java,
4284         java/net/Socket.java,
4285         java/net/URLClassLoader.java,
4286         java/net/URLConnection.java: add/update of some @since/@deprecated
4288 2002-08-27  Tony Kimball <alk@pobox.com>
4289             Tom Tromey  <tromey@redhat.com>
4291         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
4292         define.
4293         (::close): Removed.
4294         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
4295         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
4296         (::close): Removed.
4297         (PlainSocketImpl::close): Use NATIVE_CLOSE.
4298         * include/win32.h (getcwd): Removed declaration.  Include io.h.
4300 2002-08-25  Adam Megacz <adam@xwt.org>
4302         * include/win32.h (getcwd): copied function declaration as
4303         temporary fix for header confusion.
4305 2002-08-24  Mark Wielaard <mark@klomp.org>
4307         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
4308         (core_java_source_files): Add VMThrowable.java and NameFinder.java
4309         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
4310         and natNameFinder.cc.
4311         * Makefile.in: Regenerate.
4312         * prims.cc: Use trace_enabled from VMThrowable.
4313         * name-finder.cc: Removed.
4314         * gcj/javaprims.h: Add class VMThrowable.
4315         * gnu/gcj/runtime/NameFinder.java: New file.
4316         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
4317         * include/name-finder.h: Removed.
4318         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
4319         method stackTraceString().
4320         (printStackTrace (PrintWriter)): Likewise.
4321         (stackTraceString): Complete rewrite of old printStackTrace using
4322         StringBuffer.
4323         (stackTraceStringBuffer): New helper method for stackTraceString().
4324         (fillInStackTrace): Delegate to VMTrowable.
4325         (getStackTrace): Likewise.
4326         (getStackTrace0): Removed.
4327         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
4328         (setStackTrace): Copy given array.
4329         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
4330         * java/lang/VMThrowable.java: New class.
4331         * java/lang/natVMThrowable.cc: New file.
4333 2003-08-23  Michael Koch  <konqueror@gmx.de>
4335         * java/net/URLConnection.java,
4336         java/netJarURLConnection.java,
4337         gnu/gcj/protocol/core/Connection.java,
4338         gnu/gcj/protocol/file/Connection.java,
4339         gnu/gcj/protocol/http/Connection.java: Added implementation of
4340         getHeaderFields().
4342 2002-08-22  Tom Tromey  <tromey@redhat.com>
4344         * gij.cc (help): Document -cp and -classpath.
4345         (main): Handle -classpath.
4347 2002-08-21  Tom Tromey  <tromey@redhat.com>
4349         * Makefile.in: Rebuilt.
4350         * Makefile.am (ordinary_java_source_files): Added
4351         SocketAddress.java, InetSocketAddress.java.
4352         * java/net/PortUnreachableException.java: Merged with Classpath.
4353         * java/net/SocketTimeoutException.java: Likewise.
4354         * java/net/URISyntaxException.java: Likewise.
4355         * java/net/SocketAddress.java: New class from Classpath.
4356         * java/net/InetSocketAddress.java: Likewise.
4358 2003-08-21  Michael Koch  <konqueror@gmx.de>
4360         * java/net/Authenticator.java: updated JDK 1.4
4361         * java/net/ContentHandler.java: updated JDK 1.4
4363 2002-08-20  Michael Koch  <konqueror@gmx.de>
4365         * java/net/URISyntaxException.java: New file.
4366         * java/net/SocketTimeoutException.java: New file.
4367         * java/net/PortUnreachableException.java: New file.
4368         * Makefile.am: Updated.
4369         * Makefile.in: Rebuilt.
4371 2002-08-18  Mark Wielaard  <mark@klomp.org>
4373         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
4374         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
4375         MessageDigestSpi (fixes Classpath bug #783).
4377 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4379         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
4380         (startProcess): Allocate path for chdir in async-signal-safe way.
4382 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4384         Fix for PR libgcj/7570 and PR libgcj/7578:
4385         * java/lang/natPosixProcess.cc: Include java/io/File.h.
4386         (startProcess): Handle new `dir' argument.
4387         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
4388         argument.
4389         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
4390         argument.
4391         (startProcess): Likewise.
4392         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
4393         argument.
4394         * java/lang/Runtime.java (execInternal): Added `dir' argument.
4395         (exec): Don't create new environment if ENV==null.  Pass DIR to
4396         execInternal.
4397         * java/lang/natRuntime.cc: Include java/io/File.h.
4398         (execInternal): Added `dir' argument.
4400 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
4402         * java/io/RandomAccessFile.java (skipBytes): Return number of
4403         bytes skipped.
4405 2002-08-01  Mark Wielaard  <mark@klomp.org>
4407         Reenable patch since shared library troubles on powerpc are solved:
4408         * gnu/java/security/provider/Gnu.java: Reference all implementation
4409         classes by using Class.getName().
4410         * gnu/java/security/der/DEREncodingException.java,
4411         gnu/java/security/provider/DERReader.java,
4412         gnu/java/security/provider/DERWriter.java,
4413         gnu/java/security/provider/DSAKeyPairGenerator.java,
4414         gnu/java/security/provider/DSAParameterGenerator.java,
4415         gnu/java/security/provider/DSAParameters.java,
4416         gnu/java/security/provider/DSASignature.java,
4417         gnu/java/security/provider/GnuDSAPrivateKey.java,
4418         gnu/java/security/provider/GnuDSAPublicKey.java,
4419         gnu/java/security/provider/MD5.java,
4420         gnu/java/security/util/Prime.java: New classes
4421         * Makefile.am (ordinary_java_source_files): Add above files.
4422         * Makefile.in: Regenerate.
4423         * gnu/java/security/provider/DefaultPolicy.java
4424         (getPermissions): Don't maintain static class variable of Permissions.
4425         * gnu/java/security/provider/SHA.java
4426         (engineUpdate): algorithm change.
4427         (engineDigest): algorithm change.
4429 2002-08-09  Mark Wielaard  <mark@klomp.org>
4431         * java/awt/image/MemoryImageSource.java: Change constructor to take
4432         int[] not byte[].
4433         * java/awt/Graphics2D.java: Uncomment methods that can now be
4434         compiled.
4435         * java/awt/GridBagLayout.java: New stub implementation.
4436         * javax/swing/text/html/HTML.java: Stub implementation.
4437         * javax/swing/text/html/parser/ParserDelegator.java: New stub
4438         implementation.
4440         * Makefile.am: Add new files.
4441         * Makefile.in: Rebuilt.
4443 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4445         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
4446         methods in Graphics2D.
4448 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4450         AWT/Swing merge from GNU Classpath.
4452         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
4453         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
4454         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
4455         java/awt/color/ProfileDataException.java,
4456         java/awt/CompositeContext.java, java/awt/Composite.java,
4457         java/awt/ContainerOrderFocusTraversalPolicy.java,
4458         java/awt/datatransfer/FlavorTable.java,
4459         java/awt/DefaultFocusTraversalPolicy.java,
4460         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
4461         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
4462         java/awt/dnd/DragGestureListener.java,
4463         java/awt/dnd/DragGestureRecognizer.java,
4464         java/awt/dnd/DragSourceAdapter.java,
4465         java/awt/dnd/DragSourceContext.java,
4466         java/awt/dnd/DragSourceDragEvent.java,
4467         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
4468         java/awt/dnd/DragSourceListener.java,
4469         java/awt/dnd/DragSourceMotionListener.java,
4470         java/awt/dnd/DropTarget.java,
4471         java/awt/dnd/InvalidDnDOperationException.java,
4472         java/awt/dnd/peer/DragSourceContextPeer.java,
4473         java/awt/event/AWTEventListenerProxy.java,
4474         java/awt/event/MouseWheelEvent.java,
4475         java/awt/event/MouseWheelListener.java,
4476         java/awt/event/WindowFocusListener.java,
4477         java/awt/event/WindowStateListener.java,
4478         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
4479         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
4480         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
4481         java/awt/geom/FlatteningPathIterator.java,
4482         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
4483         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
4484         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
4485         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
4486         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
4487         java/awt/image/ImagingOpException.java,
4488         java/awt/image/RasterFormatException.java,
4489         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
4490         java/awt/image/VolatileImage.java,
4491         java/awt/image/WritableRenderedImage.java,
4492         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
4493         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
4494         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
4495         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
4496         java/awt/PageAttributes.java, java/awt/print/Book.java,
4497         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
4498         java/awt/print/Paper.java, java/awt/print/Printable.java,
4499         java/awt/print/PrinterAbortException.java,
4500         java/awt/print/PrinterException.java,
4501         java/awt/print/PrinterGraphics.java,
4502         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
4503         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
4504         java/awt/Stroke.java, java/awt/TexturePaint.java,
4505         javax/accessibility/AccessibleAction.java,
4506         javax/accessibility/AccessibleBundle.java,
4507         javax/accessibility/AccessibleComponent.java,
4508         javax/accessibility/AccessibleContext.java,
4509         javax/accessibility/AccessibleEditableText.java,
4510         javax/accessibility/AccessibleExtendedComponent.java,
4511         javax/accessibility/AccessibleExtendedTable.java,
4512         javax/accessibility/AccessibleHyperlink.java,
4513         javax/accessibility/AccessibleHypertext.java,
4514         javax/accessibility/AccessibleIcon.java,
4515         javax/accessibility/Accessible.java,
4516         javax/accessibility/AccessibleKeyBinding.java,
4517         javax/accessibility/AccessibleRelation.java,
4518         javax/accessibility/AccessibleRelationSet.java,
4519         javax/accessibility/AccessibleResourceBundle.java,
4520         javax/accessibility/AccessibleRole.java,
4521         javax/accessibility/AccessibleSelection.java,
4522         javax/accessibility/AccessibleState.java,
4523         javax/accessibility/AccessibleStateSet.java,
4524         javax/accessibility/AccessibleTable.java,
4525         javax/accessibility/AccessibleTableModelChange.java,
4526         javax/accessibility/AccessibleText.java,
4527         javax/accessibility/AccessibleValue.java,
4528         javax/swing/AbstractAction.java,
4529         javax/swing/AbstractButton.java,
4530         javax/swing/AbstractCellEditor.java,
4531         javax/swing/AbstractListModel.java,
4532         javax/swing/AbstractSet.java, javax/swing/Action.java,
4533         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
4534         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
4535         javax/swing/border/CompoundBorder.java,
4536         javax/swing/border/EmptyBorder.java,
4537         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
4538         javax/swing/border/LineBorder.java,
4539         javax/swing/border/MatteBorder.java,
4540         javax/swing/border/TitledBorder.java,
4541         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
4542         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
4543         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
4544         javax/swing/CellRendererPane.java,
4545         javax/swing/colorchooser/AbstractColorChooserPanel.java,
4546         javax/swing/colorchooser/ColorChooserComponentFactory.java,
4547         javax/swing/colorchooser/ColorSelectionModel.java,
4548         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4549         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
4550         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
4551         javax/swing/DefaultBoundedRangeModel.java,
4552         javax/swing/DefaultButtonModel.java,
4553         javax/swing/DefaultCellEditor.java,
4554         javax/swing/DefaultCellRenderer.java,
4555         javax/swing/DefaultComboBoxModel.java,
4556         javax/swing/DefaultDesktopManager.java,
4557         javax/swing/DefaultFocusManager.java,
4558         javax/swing/DefaultListCellRenderer.java,
4559         javax/swing/DefaultListModel.java,
4560         javax/swing/DefaultListSelectionModel.java,
4561         javax/swing/DefaultSingleSelectionModel.java,
4562         javax/swing/DesktopManager.java,
4563         javax/swing/event/AncestorEvent.java,
4564         javax/swing/event/AncestorListener.java,
4565         javax/swing/event/CaretEvent.java,
4566         javax/swing/event/CaretListener.java,
4567         javax/swing/event/CellEditorListener.java,
4568         javax/swing/event/ChangeEvent.java,
4569         javax/swing/event/ChangeListener.java,
4570         javax/swing/event/DocumentEvent.java,
4571         javax/swing/event/DocumentListener.java,
4572         javax/swing/event/EventListenerList.java,
4573         javax/swing/event/HyperlinkEvent.java,
4574         javax/swing/event/HyperlinkListener.java,
4575         javax/swing/event/InternalFrameAdapter.java,
4576         javax/swing/event/InternalFrameEvent.java,
4577         javax/swing/event/InternalFrameListener.java,
4578         javax/swing/event/ListDataEvent.java,
4579         javax/swing/event/ListDataListener.java,
4580         javax/swing/event/ListSelectionEvent.java,
4581         javax/swing/event/ListSelectionListener.java,
4582         javax/swing/event/MenuDragMouseEvent.java,
4583         javax/swing/event/MenuDragMouseListener.java,
4584         javax/swing/event/MenuEvent.java,
4585         javax/swing/event/MenuKeyEvent.java,
4586         javax/swing/event/MenuKeyListener.java,
4587         javax/swing/event/MenuListener.java,
4588         javax/swing/event/MouseInputAdapter.java,
4589         javax/swing/event/MouseInputListener.java,
4590         javax/swing/event/PopupMenuEvent.java,
4591         javax/swing/event/PopupMenuListener.java,
4592         javax/swing/event/SwingPropertyChangeSupport.java,
4593         javax/swing/event/TableColumnModelEvent.java,
4594         javax/swing/event/TableColumnModelListener.java,
4595         javax/swing/event/TableModelEvent.java,
4596         javax/swing/event/TableModelListener.java,
4597         javax/swing/event/TreeExpansionEvent.java,
4598         javax/swing/event/TreeExpansionListener.java,
4599         javax/swing/event/TreeModelEvent.java,
4600         javax/swing/event/TreeModelListener.java,
4601         javax/swing/event/TreeSelectionEvent.java,
4602         javax/swing/event/TreeSelectionListener.java,
4603         javax/swing/event/TreeWillExpandListener.java,
4604         javax/swing/event/UndoableEditEvent.java,
4605         javax/swing/event/UndoableEditListener.java,
4606         javax/swing/filechooser/FileFilter.java,
4607         javax/swing/filechooser/FileSystemView.java,
4608         javax/swing/filechooser/FileView.java,
4609         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
4610         javax/swing/Icon.java, javax/swing/ImageIcon.java,
4611         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
4612         javax/swing/JApplet.java, javax/swing/JButton.java,
4613         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
4614         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
4615         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
4616         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
4617         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
4618         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
4619         javax/swing/JLayeredPane.java, javax/swing/JList.java,
4620         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
4621         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
4622         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
4623         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
4624         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
4625         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
4626         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
4627         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
4628         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
4629         javax/swing/JTextField.java, javax/swing/JTextPane.java,
4630         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
4631         javax/swing/JToolTip.java, javax/swing/JTree.java,
4632         javax/swing/JViewport.java, javax/swing/JWindow.java,
4633         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
4634         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
4635         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
4636         javax/swing/MenuSelectionManager.java,
4637         javax/swing/MutableComboBoxModel.java,
4638         javax/swing/OverlayLayout.java,
4639         javax/swing/plaf/ActionMapUIResource.java,
4640         javax/swing/plaf/basic/BasicBorders.java,
4641         javax/swing/plaf/basic/BasicButtonUI.java,
4642         javax/swing/plaf/basic/BasicCheckBoxUI.java,
4643         javax/swing/plaf/basic/BasicDefaults.java,
4644         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4645         javax/swing/plaf/basic/BasicIconFactory.java,
4646         javax/swing/plaf/basic/BasicLabelUI.java,
4647         javax/swing/plaf/basic/BasicListUI.java,
4648         javax/swing/plaf/basic/BasicLookAndFeel.java,
4649         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4650         javax/swing/plaf/basic/BasicPanelUI.java,
4651         javax/swing/plaf/basic/BasicRadioButtonUI.java,
4652         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4653         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4654         javax/swing/plaf/basic/BasicTextUI.java,
4655         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4656         javax/swing/plaf/basic/BasicTreeUI.java,
4657         javax/swing/plaf/basic/BasicViewportUI.java,
4658         javax/swing/plaf/BorderUIResource.java,
4659         javax/swing/plaf/ButtonUI.java,
4660         javax/swing/plaf/ColorChooserUI.java,
4661         javax/swing/plaf/ColorUIResource.java,
4662         javax/swing/plaf/ComboBoxUI.java,
4663         javax/swing/plaf/ComponentInputMapUIResource.java,
4664         javax/swing/plaf/ComponentUI.java,
4665         javax/swing/plaf/DesktopIconUI.java,
4666         javax/swing/plaf/DesktopPaneUI.java,
4667         javax/swing/plaf/DimensionUIResource.java,
4668         javax/swing/plaf/FileChooserUI.java,
4669         javax/swing/plaf/FontUIResource.java,
4670         javax/swing/plaf/IconUIResource.java,
4671         javax/swing/plaf/InputMapUIResource.java,
4672         javax/swing/plaf/InsetsUIResource.java,
4673         javax/swing/plaf/InternalFrameUI.java,
4674         javax/swing/plaf/LabelUI.java,
4675         javax/swing/plaf/ListUI.java,
4676         javax/swing/plaf/MenuBarUI.java,
4677         javax/swing/plaf/MenuItemUI.java,
4678         javax/swing/plaf/OptionPaneUI.java,
4679         javax/swing/plaf/PanelUI.java,
4680         javax/swing/plaf/PopupMenuUI.java,
4681         javax/swing/plaf/ProgressBarUI.java,
4682         javax/swing/plaf/RootPaneUI.java,
4683         javax/swing/plaf/ScrollBarUI.java,
4684         javax/swing/plaf/ScrollPaneUI.java,
4685         javax/swing/plaf/SeparatorUI.java,
4686         javax/swing/plaf/SliderUI.java,
4687         javax/swing/plaf/SplitPaneUI.java,
4688         javax/swing/plaf/TabbedPaneUI.java,
4689         javax/swing/plaf/TableHeaderUI.java,
4690         javax/swing/plaf/TableUI.java,
4691         javax/swing/plaf/TextUI.java,
4692         javax/swing/plaf/ToolBarUI.java,
4693         javax/swing/plaf/ToolTipUI.java,
4694         javax/swing/plaf/TreeUI.java,
4695         javax/swing/plaf/UIResource.java,
4696         javax/swing/plaf/ViewportUI.java,
4697         javax/swing/ProgressMonitorInputStream.java,
4698         javax/swing/ProgressMonitor.java,
4699         javax/swing/Renderer.java,
4700         javax/swing/RepaintManager.java,
4701         javax/swing/RootPaneContainer.java,
4702         javax/swing/Scrollable.java,
4703         javax/swing/ScrollPaneConstants.java,
4704         javax/swing/ScrollPaneLayout.java,
4705         javax/swing/SingleSelectionModel.java,
4706         javax/swing/SizeRequirements.java,
4707         javax/swing/SizeSequence.java,
4708         javax/swing/SwingConstants.java,
4709         javax/swing/SwingUtilities.java,
4710         javax/swing/table/AbstractTableModel.java,
4711         javax/swing/table/DefaultTableCellRenderer.java,
4712         javax/swing/table/DefaultTableColumnModel.java,
4713         javax/swing/table/DefaultTableModel.java,
4714         javax/swing/table/TableCellEditor.java,
4715         javax/swing/table/TableCellRenderer.java,
4716         javax/swing/table/TableColumn.java,
4717         javax/swing/table/TableColumnModel.java,
4718         javax/swing/table/TableModel.java,
4719         javax/swing/text/AbstractDocument.java,
4720         javax/swing/text/AttributeSet.java,
4721         javax/swing/text/BadLocationException.java,
4722         javax/swing/text/Caret.java,
4723         javax/swing/text/CharacterIterator.java,
4724         javax/swing/text/ComponentView.java,
4725         javax/swing/text/DefaultCaret.java,
4726         javax/swing/text/DefaultEditorKit.java,
4727         javax/swing/text/Document.java,
4728         javax/swing/text/EditorKit.java,
4729         javax/swing/text/Element.java,
4730         javax/swing/text/GapContent.java,
4731         javax/swing/text/JTextComponent.java,
4732         javax/swing/text/Keymap.java,
4733         javax/swing/text/MutableAttributeSet.java,
4734         javax/swing/text/PlainDocument.java,
4735         javax/swing/text/PlainEditorKit.java,
4736         javax/swing/text/Position.java,
4737         javax/swing/text/Segment.java,
4738         javax/swing/text/StyledDocument.java,
4739         javax/swing/text/StyledEditorKit.java,
4740         javax/swing/text/Style.java,
4741         javax/swing/text/TextAction.java,
4742         javax/swing/text/ViewFactory.java,
4743         javax/swing/text/View.java,
4744         javax/swing/Timer.java,
4745         javax/swing/ToggleButtonModel.java,
4746         javax/swing/ToolTipManager.java,
4747         javax/swing/tree/AbstractLayoutCache.java,
4748         javax/swing/tree/DefaultMutableTreeNode.java,
4749         javax/swing/tree/DefaultTreeCellEditor.java,
4750         javax/swing/tree/DefaultTreeCellRenderer.java,
4751         javax/swing/tree/DefaultTreeModel.java,
4752         javax/swing/tree/DefaultTreeSelectionModel.java,
4753         javax/swing/tree/ExpandVetoException.java,
4754         javax/swing/tree/FixedHeightLayoutCache.java,
4755         javax/swing/tree/MutableTreeNode.java,
4756         javax/swing/tree/RowMapper.java,
4757         javax/swing/tree/TreeCellEditor.java,
4758         javax/swing/tree/TreeCellRenderer.java,
4759         javax/swing/tree/TreeModel.java,
4760         javax/swing/tree/TreeNode.java,
4761         javax/swing/tree/TreePath.java,
4762         javax/swing/tree/TreeSelectionModel.java,
4763         javax/swing/tree/VariableHeightLayoutCache.java,
4764         javax/swing/UIDefaults.java,
4765         javax/swing/UIManager.java,
4766         javax/swing/undo/AbstractUndoableEdit.java,
4767         javax/swing/undo/CannotRedoException.java,
4768         javax/swing/undo/CannotUndoException.java,
4769         javax/swing/undo/CompoundEdit.java,
4770         javax/swing/undo/StateEditable.java,
4771         javax/swing/undo/StateEdit.java,
4772         javax/swing/undo/UndoableEdit.java,
4773         javax/swing/undo/UndoableEditSupport.java,
4774         javax/swing/undo/UndoManager.java,
4775         javax/swing/UnsupportedLookAndFeelException.java,
4776         javax/swing/ViewportLayout.java,
4777         javax/swing/WindowConstants.java: New files, from GNU Classpath.
4779         * java/awt/ActiveEvent.java,
4780         java/awt/Adjustable.java, java/awt/AWTError.java,
4781         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
4782         java/awt/AWTException.java, java/awt/AWTPermission.java,
4783         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
4784         java/awt/Color.java, java/awt/Component.java,
4785         java/awt/ComponentOrientation.java, java/awt/Container.java,
4786         java/awt/datatransfer/MimeTypeParseException.java,
4787         java/awt/datatransfer/Transferable.java,
4788         java/awt/datatransfer/UnsupportedFlavorException.java,
4789         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
4790         java/awt/event/ActionListener.java,
4791         java/awt/event/AdjustmentEvent.java,
4792         java/awt/event/AdjustmentListener.java,
4793         java/awt/event/AWTEventListener.java,
4794         java/awt/event/ComponentAdapter.java,
4795         java/awt/event/ComponentEvent.java,
4796         java/awt/event/ComponentListener.java,
4797         java/awt/event/ContainerAdapter.java,
4798         java/awt/event/ContainerEvent.java,
4799         java/awt/event/ContainerListener.java,
4800         java/awt/event/FocusAdapter.java,
4801         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
4802         java/awt/event/HierarchyBoundsAdapter.java,
4803         java/awt/event/HierarchyBoundsListener.java,
4804         java/awt/event/HierarchyEvent.java,
4805         java/awt/event/HierarchyListener.java,
4806         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
4807         java/awt/event/InputMethodListener.java,
4808         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
4809         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
4810         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
4811         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
4812         java/awt/event/MouseListener.java,
4813         java/awt/event/MouseMotionAdapter.java,
4814         java/awt/event/MouseMotionListener.java,
4815         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
4816         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
4817         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
4818         java/awt/event/WindowListener.java, java/awt/Font.java,
4819         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
4820         java/awt/geom/Ellipse2D.java,
4821         java/awt/geom/IllegalPathStateException.java,
4822         java/awt/geom/Line2D.java,
4823         java/awt/geom/NoninvertibleTransformException.java,
4824         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
4825         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
4826         java/awt/geom/RoundRectangle2D.java,
4827         java/awt/GraphicsConfiguration.java,
4828         java/awt/IllegalComponentStateException.java,
4829         java/awt/image/IndexColorModel.java,
4830         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
4831         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
4832         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
4833         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
4834         java/awt/MenuItem.java, java/awt/PaintContext.java,
4835         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
4836         java/awt/Polygon.java, java/awt/PrintGraphics.java,
4837         java/awt/PrintJob.java, java/awt/Rectangle.java,
4838         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
4839         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
4840         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
4842         * java/awt/im/spi/InputMethod.java,
4843         java/awt/im/spi/InputMethodContext.java,
4844         java/awt/im/spi/InputMethodDescriptor.java,
4845         java/awt/image/renderable/ContextualRenderedImageFactory.java,
4846         java/awt/image/renderable/ParameterBlock.java,
4847         java/awt/image/renderable/RenderContext.java,
4848         java/awt/image/renderable/RenderableImage.java,
4849         java/awt/image/renderable/RenderableImageOp.java,
4850         java/awt/image/renderable/RenderableImageProducer.java,
4851         java/awt/image/renderable/RenderedImageFactory.java: New files from
4852         classpath.
4854         * gnu/java/awt/EventModifier.java,
4855         gnu/java/awt/image/ImageDecoder.java,
4856         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
4858         * gnu/awt/xlib/XGraphicsConfiguration.java,
4859         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
4860         API.
4862         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
4863         GNU Classpath.
4865         * Makefile.am: Add new files.
4866         * Makefile.in: Rebuilt.
4868 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4870         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
4871         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
4872         findResource, getResources, findResources): Add javadoc from classpath.
4873         (getSystemResources): Implemented.
4875 2002-08-01  Mark Wielaard  <mark@klomp.org>
4877         Revert patch that breaks libgcj shared library on powerpc:
4878         * gnu/java/security/provider/Gnu.java: Reverse referencing all
4879         implementation classes by using Class.getName(). Uses Strings again.
4880         * gnu/java/security/der/DEREncodingException.java,
4881         gnu/java/security/provider/DERReader.java,
4882         gnu/java/security/provider/DERWriter.java,
4883         gnu/java/security/provider/DSAKeyPairGenerator.java,
4884         gnu/java/security/provider/DSAParameterGenerator.java,
4885         gnu/java/security/provider/DSAParameters.java,
4886         gnu/java/security/provider/DSASignature.java,
4887         gnu/java/security/provider/GnuDSAPrivateKey.java,
4888         gnu/java/security/provider/GnuDSAPublicKey.java,
4889         gnu/java/security/provider/MD5.java,
4890         gnu/java/security/util/Prime.java: Removed.
4891         * Makefile.am (ordinary_java_source_files): Remove above files.
4892         * Makefile.in: Regenerate.
4893         * gnu/java/security/provider/DefaultPolicy.java
4894         (getPermissions): Revert to maintaining static class variable of
4895         Permissions.
4896         * gnu/java/security/provider/SHA.java
4897         (engineUpdate): Revert algorithm change.
4898         (engineDigest): Revert algorithm change.
4900 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
4902         * configure.host: Add SH support.
4903         * sysdep/sh/locks.h: New file.
4905 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4907         * java/awt/Frame.java (Frame): Remove println calls.
4909 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
4911         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
4912         * configure: Rebuilt.
4914 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
4916         * sysdep/powerpc/locks.h: Formatting.
4917         (_LARX): Define.
4918         (_STCX): Define.
4919         (compare_and_swap): Use _LARX and _STCX.
4920         (compare_and_swap_release): Likewise.
4922 2002-07-26  Tom Tromey  <tromey@redhat.com>
4924         * java/net/Authenticator.java: New version from Classpath.
4925         * java/net/DatagramSocketImpl.java: New version from Classpath.
4927 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
4929         * configure.host: Add powerpc64*-* entry.
4931 2002-07-26  Tom Tromey  <tromey@redhat.com>
4933         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
4934         fcntl.h.
4936 2002-07-24  Tom Tromey  <tromey@redhat.com>
4938         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
4939         argument to _load.
4941 2002-07-24  Tom Tromey  <tromey@redhat.com>
4942             Tony Kimball <alk@pobox.com>
4944         * java/io/natFileDescriptorWin32.cc (setLength): New method.
4945         * java/io/natFileDescriptorPosix.cc (setLength): New method.
4946         * java/io/RandomAccessFile.java (setLength): New method.
4947         * java/io/natFileDescriptorEcos.cc (setLength): New method.
4948         * java/io/FileDescriptor.java (setLength): New method.
4950 2002-07-24  Mark Wielaard  <mark@klomp.org>
4952         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
4953         * java/io/ObjectInputStream.java (setBooleanField): Before setting
4954         field call setAccessible(true).
4955         (setByteField): Likewise.
4956         (setCharField): Likewise.
4957         (setDoubleField): Likewise.
4958         (setFloatField): Likewise.
4959         (setIntField): Likewise.
4960         (setLongField): Likewise.
4961         (setShortField): Likewise.
4962         (setObjectField): Likewise.
4964 2002-07-24  Tom Tromey  <tromey@redhat.com>
4966         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
4967         use toString() to format array element.
4969 2002-07-23  Mark Wielaard  <mark@klomp.org>
4971         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
4972         MessageDigestSpi (fixes Classpath bug #783).
4974 2002-07-21  Mark Wielaard  <mark@klomp.org>
4976         * gnu/java/security/provider/Gnu.java: Reference all implementation
4977         classes by using Class.getName().
4979 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
4981         * java/lang/ieeefp.h: Add x86-64 support.
4982         * configure.in: Likewise.
4983         * configure.host: Likewise.
4984         * configure: Regenerated.
4985         * sysdep/x86-64/locks.h: New file with x86-64 locks.
4987 2002-07-16  Mark Wielaard  <mark@klomp.org>
4989         * java/io/StreamTokenizer.java (pushBack): Update documentation.
4990         (whitespaceChars): call resetChar().
4992 2002-07-15  Tom Tromey  <tromey@redhat.com>
4994         * Makefile.in: Rebuilt.
4995         * Makefile.am (awt_java_source_files): Added new files.
4996         * java/beans/ExceptionListener.java: Merged with Classpath.
4997         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
4998         * java/beans/PropertyChangeListener.java: Merged with Classpath.
4999         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
5000         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
5001         * java/beans/VetoableChangeListener.java: Merged with Classpath.
5002         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
5003         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
5005 2002-07-14  Mark Wielaard  <mark@klomp.org>
5007         * gnu/java/security/der/DEREncodingException.java,
5008         gnu/java/security/provider/DERReader.java,
5009         gnu/java/security/provider/DERWriter.java,
5010         gnu/java/security/provider/DSAKeyPairGenerator.java,
5011         gnu/java/security/provider/DSAParameterGenerator.java,
5012         gnu/java/security/provider/DSAParameters.java,
5013         gnu/java/security/provider/DSASignature.java,
5014         gnu/java/security/provider/GnuDSAPrivateKey.java,
5015         gnu/java/security/provider/GnuDSAPublicKey.java,
5016         gnu/java/security/provider/MD5.java,
5017         gnu/java/security/util/Prime.java: New files from Classpath.
5018         * Makefile.am (ordinary_java_source_files): Add new files.
5019         * Makefile.in: Regenerate.
5021 2002-07-14  C. Brian Jones <cbj@gnu.org>
5023         * gnu/java/security/provider/DefaultPolicy.java
5024         (getPermissions): do not maintain static class variable of
5025         Permissions
5026         * gnu/java/security/provider/SHA.java
5027         (engineUpdate): algorithm change
5028         (engineDigest): algorithm change
5030 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
5032         For PR libgcj/7292:
5033         * java/lang/Character.java (toString(char)): Now static.
5035 2002-07-12  Mark Wielaard  <mark@klomp.org>
5037         * java/lang/natThrowable.cc (printRawStackTrace): removed.
5038         (getStackTrace0): new method.
5039         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
5040         (printStackTrace(PrintWriter)): replace with pure java implementation.
5041         (printRawStackTrace): removed.
5042         (getStackTrace0): new method.
5043         * java/lang/StackTraceElement.java (toString): add extra whitespace.
5044         * gcj/javaprims.h: regenerate class list.
5045         * include/name-finder.h (lookup): new returns StackTraceElement*.
5046         (method_name, file_name): fields removed.
5047         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
5048         (~_Jv_name_finder): close new descriptors.
5049         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
5050         (createStackTraceElement): new method.
5051         (lookup): returns StackTraceElement*, uses createStackTraceElement().
5053 2002-07-10  Tom Tromey  <tromey@redhat.com>
5055         * configure: Rebuilt.
5056         * configure.in: Use `test' after `&&'.  From Chris Faylor.
5058 2002-07-08  Mark Wielaard  <mark@klomp.org>
5060         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
5061         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
5062         java.sql.DatabaseMetaData.TestJdbc20
5064 2002-07-05  Tony Kimball  <alk@pobox.com>
5066         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
5068 2002-07-04  Tom Tromey  <tromey@redhat.com>
5069             Jeff Sturm  <jsturm@one-point.com>
5071         Fix for PR libgcj/7060:
5072         * java/lang/Class.h (_getMethod): Renamed from getMethod.
5073         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
5074         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
5075         * java/lang/Class.java (getMethod): New Java implementation;
5076         complies with spec.
5077         (_getMethod): New native method.
5079 2002-07-02  Tom Tromey  <tromey@redhat.com>
5080             David Hovemeyer  <daveho@cs.umd.edu>
5082         * java/text/ChoiceFormat.java
5083         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
5084         in check loop.
5085         * java/text/MessageFormat.java
5086         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
5087         to MessageFormat.
5089 2002-07-01  Tom Tromey  <tromey@redhat.com>
5091         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
5092         StringTokenizer on null string.  For PR libgcj/7180.
5093         From daveho@cs.umd.edu.
5095 2002-06-24  Tom Tromey  <tromey@redhat.com>
5097         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
5098         (IntegerClass): Likewise.
5099         * java/lang/natClass.cc (CloneableClass): Removed.
5100         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
5101         ConstructorClass): Likewise.
5102         * java/lang/natClassLoader.cc (CloneableClass): Removed.
5103         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
5104         SerializableClass): Likewise.
5105         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
5106         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
5107         LongClass, FloatClass, DoubleClass): Likewise.
5109         * verify.cc (branch_prepass): Updated for change to exception
5110         handler type.
5111         (verify_instructions_0): Likewise.
5112         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
5113         (handleExceptionTableEntry): Updated for change to exception
5114         handler type.
5115         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
5116         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
5117         (union _Jv_InterpPC): New.
5118         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
5119         (class _Jv_InterpMethod): Added new `prepared' field.
5120         (class _Jv_InterpMethod): Added `compile' method.  Removed
5121         `continue1' and `find_exception'.  Changed arguments to `run'.
5122         * interpret.cc (union insn_slot): New.
5123         (find_exception): Removed.
5124         (run_normal): Removed most logic.
5125         (run_synch_object): Likewise; also, use JvSynchronize.
5126         (run_synch_class): Likewise.
5127         (run): Removed.
5128         (continue1): Renamed as `run'.  Compile bytecode if required.
5129         Add new code to allow refinement of direct-threaded code at
5130         runtime.  Handle exceptions.
5131         (SAVE_PC): Removed.
5132         (compile): New method.
5133         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
5134         (NULLARRAYCHECK): Don't use SAVE_PC.
5135         (pc_t): New typedef.
5136         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
5137         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
5139 2002-06-23  Tom Tromey  <tromey@redhat.com>
5141         * configure: Rebuilt.
5142         * configure.in (INTERPRETER): New subst.
5143         (AM_RUNTESTFLAGS): Don't subst.
5145         * Makefile.in: Rebuilt.
5146         * Makefile.am ($(srcdir)/java/lang/Object.h,
5147         $(srcdir)/java/lang/Class.h): Added dummy targets.
5149 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5151         Reformat JDBC classes and add new JDK 1.4 classes and methods.
5153         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
5154         java/sql/Savepoint.java: New files.
5155         * java/sql/Array.java, java/sql/BatchUpdateException.java,
5156         java/sql/Blob.java, java/sql/CallableStatement.java,
5157         java/sql/Clob.java, java/sql/Connection.java,
5158         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
5159         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
5160         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
5161         java/sql/Ref.java, java/sql/ResultSet.java,
5162         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
5163         java/sql/SQLException.java, java/sql/SQLInput.java,
5164         java/sql/SQLOutput.java, java/sql/SQLWarning.java
5165         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
5166         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
5167         (JDK 1.4) specification.
5168         * javax/sql/ConnectionEvent.java,
5169         javax/sql/ConnectionEventListener.java,
5170         javax/sql/ConnectionPoolDataSource.java,
5171         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
5172         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
5173         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
5174         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
5175         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
5176         javax/sql/XADataSource.java: New files.
5177         * Makefile.am: Add new files.
5178         * Makefile.in: Rebuilt.
5180 2002-06-20  Tom Tromey  <tromey@redhat.com>
5182         For PR libgcj/7073:
5183         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
5184         exists.
5185         * defineclass.cc (handleClassBegin): Superclass for interface is
5186         `null'.
5188 2002-06-18  Tom Tromey  <tromey@redhat.com>
5190         * gcj/javaprims.h: Updated class declaration list.
5191         * Makefile.in: Rebuilt.
5192         * Makefile.am (core_java_source_files): Removed
5193         BasicMapEntry.java.
5194         * java/util/BasicMapEntry.java: Removed.
5196 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
5198         * java/net/natPlainDatagramSocketImpl.cc (receive):
5199         Check bounds of argument to FD_SET.
5200         (setOption): Throw exception if socket is closed.
5202         * java/net/natPlainSocketImpl.cc (accept, read):
5203         Check bounds of argument to FD_SET.
5204         (setOption): Throw exception if socket is closed.
5206 2002-06-18  Tom Tromey  <tromey@redhat.com>
5208         * gcj/javaprims.h: Updated class declaration list.
5209         * Makefile.in: Rebuilt.
5210         * Makefile.am (core_java_source_files): Added
5211         PropertyPermissionCollection.java.
5212         * java/lang/Thread.java (group, name): Now package-private.
5213         * java/lang/ThreadGroup.java: Re-merge with Classpath.
5214         * java/util/AbstractList.java: Likewise.
5215         * java/util/AbstractMap.java: Likewise.
5216         * java/util/Calendar.java: Likewise.
5217         * java/util/Collections.java: Likewise.
5218         * java/util/HashMap.java: Likewise.
5219         * java/util/Hashtable.java: Likewise.
5220         * java/util/LinkedHashMap.java: Likewise.
5221         * java/util/LinkedList.java: Likewise.
5222         * java/util/List.java: Likewise.
5223         * java/util/ListResourceBundle.java: Likewise.
5224         * java/util/Map.java: Likewise.
5225         * java/util/Observable.java: Likewise.
5226         * java/util/Properties.java: Likewise.
5227         * java/util/PropertyPermission.java: Likewise.
5228         * java/util/PropertyPermissionCollection.java: Likewise.
5229         * java/util/PropertyResourceBundle.java: Likewise.
5230         * java/util/Random.java: Likewise.
5231         * java/util/SimpleTimeZone.java: Likewise.
5232         * java/util/StringTokenizer.java: Likewise.
5233         * java/util/TimerTask.java: Likewise.
5234         * java/util/TreeMap.java: Likewise.
5235         * java/util/WeakHashMap.java: Likewise.
5236         * java/util/jar/Attributes.java: Likewise.
5237         * java/util/jar/JarException.java: Likewise.
5238         * java/util/jar/Manifest.java: Likewise.
5240 2002-06-17  Tom Tromey  <tromey@redhat.com>
5242         * gcj/javaprims.h: Updated class declaration list.
5243         * Makefile.in: Rebuilt.
5244         * Makefile.am (core_java_source_files): Added new file.
5245         * java/util/EventListenerProxy.java: New file.
5246         * java/util/EventListener.java: Re-merge with Classpath.
5247         * java/util/EventObject.java: Re-merge with Classpath.
5249 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
5251         * java/lang/ClassNotFoundException.java: New Classpath version.
5253 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
5255         * java/rmi/activation/ActivateFailedException.java: Remerge from
5256         Classpath version.
5257         * java/rmi/activation/ActivationException.java: Ditto.
5258         * java/rmi/activation/UnknownGroupException.java: Ditto.
5259         * java/rmi/activation/UnknownObjectException.java: Ditto.
5260         * java/rmi/server/ExportException: Ditto.
5261         * java/rmi/server/ServerCloneException: Ditto.
5262         * java/rmi/server/ServerNotActiveException: Ditto.
5263         * java/rmi/server/SkeletonMismatchException: Ditto.
5264         * java/rmi/server/SkeletonNotFoundException: Ditto.
5265         * java/rmi/server/SocketSecurityException: Ditto.
5267 2002-06-16  Tom Tromey  <tromey@redhat.com>
5269         * gcj/javaprims.h: Updated class declaration list.
5271         * java/io/LineNumberInputStream.java: Merged with Classpath.
5273         * java/lang/RuntimeException.java: Re-merge with Classpath.
5274         * java/util/ArrayList.java: Likewise.
5275         * java/util/Arrays.java: Likewise.
5276         * java/util/BitSet.java: Likewise.
5277         * java/util/Dictionary.java: Likewise.
5278         * java/util/IdentityHashMap.java: Likewise.
5279         * java/util/MissingResourceException.java: Likewise.
5280         * java/util/Observer.java: Likewise.
5281         * java/util/TooManyListenersException.java: Likewise.
5282         * java/util/zip/DataFormatException.java: Likewise.
5283         * java/util/zip/ZipException.java: Likewise.
5285 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
5287         * java/rmi/AccessException.java: Remerge from Classpath.
5288         * java/rmi/AlreadyBoundException.java: Ditto.
5289         * java/rmi/ConnectException.java: Ditto.
5290         * java/rmi/ConnectIOException.java: Ditto.
5291         * java/rmi/MarshalException.java: Ditto.
5292         * java/rmi/NoSuchObjectException.java: Ditto.
5293         * java/rmi/NotBoundException.java: Ditto.
5294         * java/rmi/RemoteException.java: Ditto.
5295         * java/rmi/RMISecurityException.java: Ditto.
5296         * java/rmi/ServerError.java: Ditto.
5297         * java/rmi/ServerException.java: Ditto.
5298         * java/rmi/ServerRuntimeException.java: Ditto.
5299         * java/rmi/StubNotFoundException.java: Ditto.
5300         * java/rmi/UnexpectedExcpetion.java: Ditto.
5301         * java/rmi/UnknownHostException.java: Ditto.
5302         * java/rmi/UnmarshalException.java: Ditto.
5304 2002-06-15  Tom Tromey  <tromey@redhat.com>
5306         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
5307         * java/lang/ArithmeticException.java: Likewise.
5308         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
5309         * java/lang/ArrayStoreException.java: Likewise.
5310         * java/lang/Byte.java: Likewise.
5311         * java/lang/CharSequence.java: Likewise.
5312         * java/lang/ClassCastException.java: Likewise.
5313         * java/lang/ClassCircularityError.java: Likewise.
5314         * java/lang/ClassFormatError.java: Likewise.
5315         * java/lang/CloneNotSupportedException.java: Likewise.
5316         * java/lang/Cloneable.java: Likewise.
5317         * java/lang/Comparable.java: Likewise.
5318         * java/lang/Compiler.java: Likewise.
5319         * java/lang/Error.java: Likewise.
5320         * java/lang/ExceptionInInitializerError.java: Likewise.
5321         * java/lang/IllegalAccessError.java: Likewise.
5322         * java/lang/IllegalAccessException.java: Likewise.
5323         * java/lang/IllegalArgumentException.java: Likewise.
5324         * java/lang/IllegalMonitorStateException.java: Likewise.
5325         * java/lang/IllegalStateException.java: Likewise.
5326         * java/lang/IllegalThreadStateException.java: Likewise.
5327         * java/lang/IncompatibleClassChangeError.java: Likewise.
5328         * java/lang/IndexOutOfBoundsException.java: Likewise.
5329         * java/lang/InheritableThreadLocal.java: Likewise.
5330         * java/lang/InstantiationError.java: Likewise.
5331         * java/lang/InstantiationException.java: Likewise.
5332         * java/lang/InternalError.java: Likewise.
5333         * java/lang/InterruptedException.java: Likewise.
5334         * java/lang/LinkageError.java: Likewise.
5335         * java/lang/NegativeArraySizeException.java: Likewise.
5336         * java/lang/NoClassDefFoundError.java: Likewise.
5337         * java/lang/NoSuchFieldError.java: Likewise.
5338         * java/lang/NoSuchFieldException.java: Likewise.
5339         * java/lang/NoSuchMethodError.java: Likewise.
5340         * java/lang/NoSuchMethodException.java: Likewise.
5341         * java/lang/NullPointerException.java: Likewise.
5342         * java/lang/NumberFormatException.java: Likewise.
5343         * java/lang/OutOfMemoryError.java: Likewise.
5344         * java/lang/Process.java: Likewise.
5345         * java/lang/Runnable.java: Likewise.
5346         * java/lang/RuntimePermission.java: Likewise.
5347         * java/lang/SecurityException.java: Likewise.
5348         * java/lang/Short.java: Likewise.
5349         * java/lang/StackOverflowError.java: Likewise.
5350         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
5351         * java/lang/ThreadDeath.java: Likewise.
5352         * java/lang/ThreadLocal.java: Likewise.
5353         * java/lang/UnknownError.java: Likewise.
5354         * java/lang/UnsatisfiedLinkError.java: Likewise.
5355         * java/lang/UnsupportedClassVersionError.java: Likewise.
5356         * java/lang/UnsupportedOperationException.java: Likewise.
5357         * java/lang/VerifyError.java: Likewise.
5358         * java/lang/VirtualMachineError.java: Likewise.
5359         * java/lang/reflect/InvocationTargetException.java: Likewise.
5360         * java/net/BindException.java: Likewise.
5361         * java/net/ConnectException.java: Likewise.
5362         * java/net/MalformedURLException.java: Likewise.
5363         * java/net/NoRouteToHostException.java: Likewise.
5364         * java/net/ProtocolException.java: Likewise.
5365         * java/net/SocketException.java: Likewise.
5366         * java/net/UnknownHostException.java: Likewise.
5367         * java/net/UnknownServiceException.java: Likewise.
5369         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
5370         * java/io/CharConversionException.java: Likewise.
5371         * java/io/EOFException.java: Likewise.
5372         * java/io/FileNotFoundException.java: Likewise.
5373         * java/io/IOException.java: Likewise.
5374         * java/io/InterruptedIOException.java: Likewise.
5375         * java/io/InvalidClassException.java: Likewise.
5376         * java/io/InvalidObjectException.java: Likewise.
5377         * java/io/NotActiveException.java: Likewise.
5378         * java/io/NotSerializableException.java: Likewise.
5379         * java/io/ObjectStreamException.java: Likewise.
5380         * java/io/ObjectStreamConstants.java: Likewise.
5381         * java/io/OptionalDataException.java: Likewise.
5382         * java/io/PipedInputStream.java: Likewise.
5383         * java/io/PushbackInputStream.java: Likewise.
5384         * java/io/StreamCorruptedException.java: Likewise.
5385         * java/io/SyncFailedException.java: Likewise.
5386         * java/io/UTFDataFormatException.java: Likewise.
5387         * java/io/UnsupportedEncodingException.java: Likewise.
5388         * java/io/WriteAbortedException.java: Likewise.
5390 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
5392         * java/text/ChoiceFormat.java: Update comments from Classpath.
5393         * java/text/ParseException.java (serialVersionUID): New
5394         field from Classpath.
5395         * java/text/ParseException.java: Update formatting & comments
5396         from Classpath.
5398 2002-06-15  Tom Tromey  <tromey@redhat.com>
5400         * java/util/zip/InflaterInputStream.java (read): Loop if data has
5401         been read but none output by inflater.
5402         * java/util/zip/natDeflater.cc (reset): Set is_finished.
5403         * java/util/zip/natInflater.cc (reset): Set dist_needed and
5404         is_finished.
5405         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
5406         version.
5407         * java/util/zip/ZipFile.java: Replaced with Classpath version.
5408         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
5409         * java/util/zip/ZipInputStream.java: Replaced with Classpath
5410         version.
5411         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
5413 2002-06-13  Tom Tromey  <tromey@redhat.com>
5415         * java/lang/natString.cc (init): Handle case where DONT_COPY is
5416         true and OFFSET!=0.
5417         * java/lang/String.java (String(char[],int,int,boolean): New
5418         constructor.
5419         * java/lang/Long.java: Imported new version from Classpath.
5420         * java/lang/Number.java: Likewise.
5421         * java/lang/Integer.java: Likewise.
5422         * java/lang/Long.java: Likewise.
5423         * java/lang/Float.java: Likewise.
5424         * java/lang/Boolean.java: Likewise.
5425         * java/lang/Double.java: Likewise.
5426         * java/lang/Void.java: Likewise.
5428 2002-06-12  Tom Tromey  <tromey@redhat.com>
5430         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
5431         Fixes PR libgcj/6652.
5433 2002-06-10  Tom Tromey  <tromey@redhat.com>
5435         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
5436         (Class::getPackagePortion): Likewise.
5437         * java/lang/Class.java (desiredAssertionStatus): New method from
5438         Classpath.
5439         (getPackagePortion): Likewise.
5440         * java/lang/VMClassLoader.java (defaultAssertionStatus,
5441         packageAssertionStatus, classAssertionStatus): New methods from
5442         Classpath.
5443         * java/lang/ClassLoader.java (defaultAssertionStatus,
5444         systemPackageAssertionStatus, packageAssertionStatus,
5445         systemClassAssertionStatus, classAssertionStatus): New fields from
5446         Classpath.
5447         (setDefaultAssertionStatus, setPackageAssertionStatus,
5448         setClassAssertionStatus, clearAssertionStatus): New methods from
5449         Classpath.
5450         * Makefile.in: Rebuilt.
5451         * Makefile.am (core_java_source_files): Added AssertionError.java.
5452         * java/lang/AssertionError.java: New from Classpath.
5454 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5456         * configure.host: Disable hash synchronization and slow_pthread_self
5457         for cygwin.
5459 2002-06-06  Adam Megacz <adam@xwt.org>
5461         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
5462         locking, just like the Sun JVM does.
5464 2002-06-05  H.J. Lu  (hjl@gnu.org)
5466         * Makefile.am (libgcj_convenience.la): Revert the last change.
5467         (libgcj.la): Likewise.
5468         * Makefile.in: Regenerated.
5470 2002-06-04  H.J. Lu  (hjl@gnu.org)
5472         * Makefile.am (libgcj_convenience.la): New target.
5473         (libgcj.la): Depend on libgcj_convenience.la.
5474         * Makefile.in: Regenerated.
5476 2002-06-04  H.J. Lu  (hjl@gnu.org)
5478         * configure.in (--with-newlib): New option:
5479         Check ${with_newlib} instead of ${with_cross_host} for newlib.
5480         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
5481         Linux.
5482         * configure: Regenerated.
5484 2002-06-04  Tom Tromey  <tromey@redhat.com>
5486         * java/util/natTimeZone.cc: Include <stdio.h>.
5488 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
5490         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
5491         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
5492         Set SIGNAL_HANDLER=include/s390-linux.h.
5493         * configure: Regenerate.
5494         * include/s390-linux.h: New file.
5496 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5498         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
5499         not "stackTrace".
5501 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5503         Merge JDK 1.4 java.security changes from classpath.
5505         * java/security/AccessControlException.java: Merge from Classpath.
5506         * java/security/AccessController.java: Likewise.
5507         * java/security/AllPermission.java: Likewise.
5508         * java/security/BasicPermission.java: Likewise.
5509         * java/security/Certificate.java: Likewise.
5510         * java/security/CodeSource.java: Likewise.
5511         * java/security/DigestException.java: Likewise.
5512         * java/security/DigestOutputStream.java: Likewise.
5513         * java/security/DomainCombiner.java: Likewise.
5514         * java/security/GeneralSecurityException.java: Likewise.
5515         * java/security/Guard.java: Likewise.
5516         * java/security/GuardedObject.java: Likewise.
5517         * java/security/InvalidAlgorithmParameterException.java: Likewise.
5518         * java/security/InvalidKeyException.java: Likewise.
5519         * java/security/InvalidParameterException.java: Likewise.
5520         * java/security/Key.java: Likewise.
5521         * java/security/KeyException.java: Likewise.
5522         * java/security/KeyManagementException.java: Likewise.
5523         * java/security/KeyStoreException.java: Likewise.
5524         * java/security/MessageDigest.java: Likewise.
5525         * java/security/NoSuchAlgorithmException.java: Likewise.
5526         * java/security/NoSuchProviderException.java: Likewise.
5527         * java/security/Permission.java: Likewise.
5528         * java/security/PermissionCollection.java: Likewise.
5529         * java/security/Permissions.java: Likewise.
5530         * java/security/Policy.java: Likewise.
5531         * java/security/Principal.java: Likewise.
5532         * java/security/PrivateKey.java: Likewise.
5533         * java/security/PrivilegedAction.java: Likewise.
5534         * java/security/PrivilegedActionException.java: Likewise.
5535         * java/security/PrivilegedExceptionAction.java: Likewise.
5536         * java/security/ProtectionDomain.java: Likewise.
5537         * java/security/ProviderException.java: Likewise.
5538         * java/security/PublicKey.java: Likewise.
5539         * java/security/SecureClassLoader.java: Likewise.
5540         * java/security/SecurityPermission.java: Likewise.
5541         * java/security/SignatureException.java: Likewise.
5542         * java/security/UnrecoverableKeyException.java: Likewise.
5543         * java/security/UnresolvedPermission.java: Likewise.
5544         * java/security/acl/AclNotFoundException.java: Likewise.
5545         * java/security/acl/LastOwnerException.java: Likewise.
5546         * java/security/acl/NotOwnerException.java: Likewise.
5547         * java/security/cert/CRLException.java: Likewise.
5548         * java/security/cert/CertificateEncodingException.java: Likewise.
5549         * java/security/cert/CertificateException.java: Likewise.
5550         * java/security/cert/CertificateExpiredException.java: Likewise.
5551         * java/security/cert/CertificateFactory.java: Likewise.
5552         * java/security/cert/CertificateNotYetValidException.java: Likewise.
5553         * java/security/cert/CertificateParsingException.java: Likewise.
5554         * java/security/spec/InvalidKeySpecException.java: Likewise.
5555         * java/security/spec/InvalidParameterSpecException.java: Likewise.
5557         * java/security/cert/CertPath.java: New file.
5558         * java/security/cert/CertPathBuilderException.java: New file.
5559         * java/security/cert/CertPathValidatorException.java: New file.
5560         * java/security/cert/CertStoreException.java: New file.
5562         * Makefile.am: Add new CertPath classes.
5563         * Makefile.in: Rebuilt.
5565         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
5567 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5569         Merge JDK 1.4 exception chaining support from classpath.
5571         * java/lang/Throwable.java: Merge 1.4 support from classpath.
5572         (stackTraceBytes): Rename from stackTrace.
5573         * java/lang/Exception.java: Merge from classpath.
5574         * java/lang/StackTraceElement: New file from classpath.
5575         * gcj/javaprims.h: Rebuild CNI namespace declarations.
5576         * Makefile.am: Add StackTraceElement.
5577         * Makefile.in: Rebuilt.
5579 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5581         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
5582         they build first.
5583         * Makefile.in: Rebuilt.
5585 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5587         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
5588         * configure.in: Likewise.
5589         * aclocal.m4: Regenerate.
5590         * configure: Regenerate.
5592 2002-05-13  Tom Tromey  <tromey@redhat.com>
5594         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
5595         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
5596         Include platform.h.
5598         Fixes PR libgcj/6389:
5599         * Makefile.in: Rebuilt.
5600         * Makefile.am (nat_source_files): Added natTimeZone.cc.
5601         * java/util/natTimeZone.cc: New file.
5602         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
5603         * java/lang/System.java: Merged with Classpath.
5604         * java/lang/Runtime.java: Merged with Classpath.
5605         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
5606         security check.
5607         (setIn0): Renamed from setIn; don't run security check.
5608         (setOut0): Renamed from setOut; don't run security check.
5609         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
5610         init_properties): Moved to natRuntime.cc.
5611         Moved many includes to natRuntime.cc.
5612         (isWordsBigEndian): New method.
5613         * java/lang/natRuntime.cc: Include Long.h, also other includes
5614         previously in natSystem.cc.
5615         (maxMemory): New function.
5616         (exitInternal): Renamed from `_exit'.
5617         (exit): Removed.
5618         (init): Don't set finalize_on_exit.
5619         (exitInternal): Use `finalizeOnExit'.
5620         (file_encoding, getpwuid_adaptor): New functions from
5621         natSystem.cc.
5622         (insertSystemProperties): New method, renamed from
5623         System::init_properties.  Don't set user.timezone.
5624         (_load): Don't call checkLink.
5625         (execInternal): New method.
5626         (availableProcessors): Likewise.
5627         (nativeGetLibname): Likewise.
5629 2002-05-11  Mark Wielaard  <mark@klomp.org>
5631         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
5632         space characters.
5633         (previous_internal): Likewise.
5635 2002-05-09  Tom Tromey  <tromey@redhat.com>
5637         * jni.cc (_Jv_JNIFunctions): Fixed typo.
5639         * java/util/ResourceBundle.java: New version from Classpath.
5640         * java/util/Locale.java: Likewise.
5642 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
5644         * testsuite/lib/libjava.exp (libjava_arguments): Append all
5645         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
5646         LD_LIBRARY_PATH.
5648 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
5650         * libjava/Makefile.am (all_java_source_files): New variable.
5651         (all_java_class_files): Likewise.
5652         .java.class: New rule.
5653         (CLEANFILES): Remove tmp-list.
5654         * libjava/Makefile.in: Regenerated.
5656 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
5658         * testsuite/lib/libjava.exp (test_libjava_from_javac):
5659         Append .exe to executable names.  Fix for cygwin.
5661 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
5663         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
5664         script entry, and set LD to it when configuring multilibs.
5665         * configure: Rebuilt.
5667 2002-05-07  Tom Tromey  <tromey@redhat.com>
5669         * java/lang/natString.cc (unintern): Fixed typo.
5671 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
5673         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
5674         with -no-install on *-*-cygwin*.
5676 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
5678         * testsuite/lib/libjava.exp (test_libjava_from_source):
5679         Add comment explaining last patch
5681 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
5683         * testsuite/lib/libjava.exp (test_libjava_from_source):
5684         Append .exe to executable names.  If no suffix is present,
5685         then ".exe" is added by default on win32.  Harmless
5686         elsewhere so always do it.
5688 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
5689             Tom Tromey  <tromey@redhat.com>
5691         * java/lang/natSystem.cc (getSystemTimeZone): Use
5692         HAVE_UNDERSCORE_TIMEZONE.
5693         * include/config.h.in: Rebuilt.
5694         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
5695         * aclocal.m4, configure: Rebuilt.
5696         * acinclude.m4: Run AC_EXEEXT.
5697         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
5698         Add test for `_timezone'.
5700 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
5702         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5703         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
5704         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
5705         * Makefile.in: Rebuilt.
5707 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
5709         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
5710         use sigaction instead of __libc_sigaction.
5712 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5714         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
5715         (libjava_init): Use it to find libgcj.spec.
5716         (libjava_arguments): Likewise.
5718 2002-05-02  David S. Miller  <davem@redhat.com>
5720         PR bootstrap/6525
5721         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
5722         __libc_sigaction on Sparc.
5724 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
5726         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
5727         sys/filio.h, if present.
5729 2002-04-30  Tom Tromey  <tromey@redhat.com>
5731         * java/io/BufferedReader.java (fill): Handle case where markPos
5732         point to ignored \n.  Fixes PR libgcj/6301.
5734 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
5736         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
5738 2002-04-29  Adam King <aking@dreammechanics.com>
5740         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
5741         of file in APPEND mode.
5743 2002-04-25  David S. Miller  <davem@redhat.com>
5745         PR target/6422
5746         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
5747         program counter to next program counter minus 8.  Update
5748         comments in this macro to explain why.
5750 2002-04-26  Tom Tromey  <tromey@redhat.com>
5752         * verify.cc (construct_primitive_array_type) [void_type]: New
5753         case.
5754         (branch_prepass): Added dummy entries for unused instruction
5755         values.
5756         (verify_instructions_0): Likewise.
5757         * interpret.cc (continue1): Comment fix.
5758         * include/java-insns.h (op_xxxunusedxxx1): Removed.
5759         * Makefile.in: Rebuilt.
5760         * Makefile.am: Added -Wswitch-enum.
5762 2002-04-24  Tom Tromey  <tromey@redhat.com>
5764         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
5765         correct length of UTF-8 encoded name.  Strip leading `/'.
5766         (_Jv_RegisterResource): Use _Jv_Malloc.
5768 2002-04-23  Adam Megacz <adam@xwt.org>
5770         * win32.cc, include/win32.cc (backtrace): Added this function
5771         because Win32 does not supply it.
5773 2002-04-21  David S. Miller  <davem@redhat.com>
5775         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
5776         magic instruction reading sequence.
5778 2002-04-21  Mark Wielaard  <mark@klomp.org>
5780         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
5782 2002-04-19  David S. Miller  <davem@redhat.com>
5784         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
5785         arg.
5786         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
5787         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
5788         on Sparc too.
5789         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
5790         for 64-bit sparc.
5791         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
5792         * sysdeps/sparc/locks.h: New file.
5793         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
5794         on all sparc Solaris configurations.  Set to
5795         include/dwarf2-signal.h on sparc Linux.
5796         * configure: Regenerate
5797         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
5799 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
5801         * configure: Rebuilt.
5802         * configure.in (backtrace): Function doesn't work on IA-64.
5804 2002-04-17  Adam King <aking@dreammechanics.com>
5806         * java/io/File.java (normalizePath): Add Win32 support for auto
5807         conversion of a '/' path separator to Win32's '\' separator.
5809 2002-04-16  Tom Tromey  <tromey@redhat.com>
5811         Fix for PR libgcj/6081:
5812         * Makefile.in: Rebuilt.
5813         * Makefile.am (install-data-local): Use GNU make trick to avoid
5814         shell limit.
5816 2002-04-16  Adam King <aking@dreammechanics.com>
5817             Tom Tromey  <tromey@redhat.com>
5819         * java/io/natFileWin32.cc (performList): Return the correct array
5820         type.  Don't duplicate the creation of a File since it's already
5821         done earlier in the method and the existing code would cause a
5822         ArrayStoreException.  Don't use fixed-size array.
5823         (_access, _stat, attr, getCanonicalPath, performMkdir,
5824         performRenameTo): Don't use fixed-size array.
5825         (getCanonicalPath): Use throw, not _Jv_Throw.
5827 2002-04-15  DJ Delorie  <dj@redhat.com>
5829         * configure.in: Allow building in $srcdir.
5830         * configure: Regenerated.
5832 2002-04-14  Mark Wielaard <mark@klomp.org>
5834         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
5835         * java/net/natSocketImpl.cc (close): Likewise.
5837 2002-04-14  Mark Wielaard <mark@klomp.org>
5839         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
5841 2002-04-13  Adam King <aking@dreammechanics.com>
5843         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
5844         the f/F/d/D modifiers.
5846 2002-04-12  Anthony Green  <green@redhat.com>
5848         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
5849         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
5850         * Makefile.in: Rebuilt.
5851         * configure.in: Substitute gcc_version.
5852         * configure: Rebuilt.
5854 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5856         * configure.host: Set can_unwind_signal on hosts which support it.
5857         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
5858         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
5859         exceptions and can_unwind_signal isn't set.
5860         * configure: Rebuilt.
5862 2002-04-11  Tom Tromey  <tromey@redhat.com>
5864         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
5866 2002-04-11  Adam King <aking@dreammechanics.com>
5867             Tom Tromey  <tromey@redhat.com>
5869         * include/jvm.h (_Jv_ThrowBadArrayIndex,
5870         _Jv_ThrowNullPointerException): Mark as noreturn.
5871         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
5872         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
5873         fixes.
5875 2002-04-10  Tom Tromey  <tromey@redhat.com>
5877         * Makefile.in: Rebuilt.
5878         * Makefile.am (java/lang/Thread.h): Mark
5879         _Jv_AttachCurrentThreadAsDaemon as friend.
5880         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
5881         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
5882         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
5883         function.
5884         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
5885         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
5886         (_Jv_JNI_InvokeFunctions): Added
5887         _Jv_JNI_AttachCurrentThreadAsDaemon.
5888         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
5889         (JNI_GetDefaultJavaVMInitArgs): Likewise.
5890         (JNI_CreateJavaVM): Likewise.
5891         (_Jv_JNI_AttachCurrentThread): Likewise.
5892         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
5893         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
5894         (_Jv_JNIFunctions): Initialize new fields.
5895         (_Jv_JNI_NewDirectByteBuffer): New function.
5896         (_Jv_JNI_GetDirectBufferAddress): Likewise.
5897         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
5898         * include/jni.h (JNI_VERSION_1_4): New macro.
5899         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
5900         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
5901         (JNINativeInterface::NewDirectByteBuffer): New field.
5902         (JNINativeInterface::GetDirectBufferAddress): New field.
5903         (JNINativeInterface::GetDirectBufferCapacity): New field.
5904         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
5905         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
5906         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
5908 2002-04-09  Tom Tromey  <tromey@redhat.com>
5910         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
5912 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
5914         Fix for PR libgcj/6187:
5915         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
5916         distance.
5918 2002-04-07  Mark Wielaard <mark@klomp.org>
5920         * java/util/AbstractMap.java (putAll): Use entrySet size.
5921         (toString): Explicitly use getKey() and getValue().
5923 2002-04-07  Mark Wielaard <mark@klomp.org>
5925         * java/util/Hashtable.java (contains): Remove NullPointer check.
5926         (containsValue): Add NullPointer check.
5927         (remove): Always throw NullPointerException when key
5928         is null.
5930 2002-04-07  Adam King <aking@dreammechanics.com>
5932         * java/lang/natSystem.cc (init_properties): Call new function
5933         _Jv_platform_initProperties.
5934         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
5935         support for the System properties os.name, os.arch, os.version,
5936         user.name, user.home, and user.dir.
5937         * include/posix.h, include/win32.h, posix.cc: New function
5938         _Jv_platform_initProperties.
5940 2002-04-06  Mark Wielaard <mark@klomp.org>
5942         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
5944 2002-04-06  Mark Wielaard <mark@klomp.org>
5946         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
5947         all of the remaining elements.
5948         * java/util/Vector.java (addAll(int,Collection)): Likewise.
5949         (removeRange): If toIndex == fromIndex do
5950         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
5951         (removeAll): Always throw NullPointerException when collection is
5952         null.
5953         (retrainAll): Likewise.
5955 2002-04-05  Mark Wielaard <mark@klomp.org>
5957         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
5958         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
5960 2002-04-05  Adam Megacz <adam@xwt.org>
5962         * exception.cc (abort): added static modifier
5964 2002-04-04  Adam Megacz <adam@xwt.org>
5966         * include/win32.h (_Jv_platform_close_on_exec): added inline
5967         modifier.
5969 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
5971         * configure.host: Add case statement to support generic port
5972         properties.  Add *-*-freebsd* section.
5974 2002-04-04  Mark Wielaard  <mark@klomp.org>
5976         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
5977         test.
5978         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
5979         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
5980         that depend on awt code and BufferedByteOutputStream.interrupt.
5982 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5984         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
5985         incorrect "hi" value when count > 40.
5987 2002-04-03  Mark Wielaard  <mark@klomp.org>
5989         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
5990         ordering.
5992 2002-04-02  Tom Tromey  <tromey@redhat.com>
5994         * java/lang/natClassLoader.cc (findClass): Compare against `3',
5995         not `0'.
5997 2002-04-02  Mark Wielaard  <mark@klomp.org>
5999         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
6000         list of testsuite crashers.
6002 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6004         * java/util/IdentityHashMap.java (put): Set new threshold correctly
6005         when resizing table.
6007 2002-04-01  Mark Wielaard  <mark@klomp.org>
6009         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
6010         NegativeArraySizeException
6011         (clear(int)): Use sign extended shift.
6012         (flip(int)): Likewise.
6013         (get(int)): Likewise.
6014         (nextClearBit(int)): Likewise.
6015         (nextSetBit(int)): Likewise.
6016         (set(int)): Likewise.
6018 2002-04-01  Mark Wielaard  <mark@klomp.org>
6020         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
6021         that can be compiled now and add testsuite crashers to ignore list.
6023 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
6025         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
6027         * libgcj.spec.in: Override libgcc, not lib.
6028         * libgcj-test.spec.in: Likewise.
6030 2002-03-29  Tom Tromey  <tromey@redhat.com>
6032         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
6033         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
6035 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
6037         * java/net/PlainDatagramSocketImpl.java
6038         (close): Use native implementation.
6039         (finalize): New method.
6041         * java/net/PlainSocketImpl.java (finalize): New method.
6043         * java/net/natPlainDatagramSocketImpl.cc
6044         (java/io/FileDescriptor.h): Don't include.
6045         (close): Implement method here.
6046         (create): Don't assign fd.
6048         * java/net/natPlainSocketImpl.cc
6049         (java/io/FileDescriptor.h): Don't include.
6050         (create): Don't assign fd.
6051         (accept): Likewise.
6052         (close): Synchronize.
6054 2002-03-27  Richard Henderson  <rth@redhat.com>
6056         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
6058 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
6060         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
6061         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
6062         instead of syscall on IA-64.
6063         Add FIXME comment.
6065 2002-03-27  Anthony Green  <green@redhat.com>
6067         * libgcj.spec.in: Add CHECKREFSPEC.
6068         * configure.in: Ditto.
6069         * configure.host: Ditto.  Check references for xscale-elf.
6070         * configure: Rebuilt.
6072 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
6074         * include/dwarf2-signal.h: Temporarily back out last change.
6076 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
6078         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
6080 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
6082         * configure.in, configure: enable dwarf2-exception-style
6083         exception handling on IA-64.
6084         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
6085         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
6086         Add FIXME comment.
6088 2002-03-25  Tom Tromey  <tromey@redhat.com>
6090         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
6091         (jv_convert_LDFLAGS): Likewise.
6092         (gij_LDFLAGS): Likewise.
6093         (rmic_LDFLAGS): Likewise.
6094         (rmiregistry_LDFLAGS): Likewise.
6095         * configure.in (THREADLDFLAGS): New subst; set correctly for
6096         *BSD.
6098 2002-03-25  Tom Tromey  <tromey@redhat.com>
6100         For PR libgcj/5303:
6101         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
6102         and --version.
6103         (help): New method.
6104         (version): Likewise.
6105         * gnu/gcj/convert/Convert.java (version): Removed extraneous
6106         "GNU".
6107         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
6108         "GNU".
6110 2002-03-25  Tom Tromey  <tromey@redhat.com>
6112         * java/awt/Component.java (processEvent): Check ComponentEvent
6113         after KeyEvent.
6115 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6117         * java/io/PushbackReader.java: Reformat.
6119         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
6120         calculate correct number of bytes skipped.
6122         Based on patch from Intel's ORP team:
6123         * java/io/PushbackInputStream.java (available): Calculate correct
6124         number of bytes in buffer.
6125         (read): Remove redundant bound check. Return bytes from both the
6126         buffer and the stream.
6128 2002-03-24  Tom Tromey  <tromey@redhat.com>
6130         * java/awt/TextComponent.java (TextComponent): Editable by
6131         default.
6133         * java/awt/MenuItem.java (eventMask): No longer private.
6134         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
6135         superclass if we didn't handle event.
6136         * java/awt/Checkbox.java (dispatchEventImpl): New method.
6137         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
6138         * java/awt/Choice.java (dispatchEventImpl): New method.
6139         * java/awt/List.java (dispatchEventImpl): New method.
6140         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
6141         * java/awt/TextComponent.java (dispatchEventImpl): New method.
6142         * java/awt/TextField.java (dispatchEventImpl): New method.
6144 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
6146         * java/beans/IntrospectionException.java: Update to 1.4.
6147         * java/beans/PropertyVetoException.java: Ditto.
6149 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
6151         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
6152         Arrays.equals instead of ArrayHelper.equalsArray.
6154 2002-03-24  C. Brian Jones <cbj@gnu.org>
6156         * java/beans/Introspector.java: added new static final fields
6157         introduced in 1.2, lots of other updates remain to be done
6159 2002-03-24  C. Brian Jones <cbj@gnu.org>
6161         * java/beans/Introspector.java: reformatting
6163 2002-03-24  C. Brian Jones <cbj@gnu.org>
6165         * java/beans/Introspector.java: default beanInfoSearchPath will
6166         not include sun.beans.infos given we provide no such package and
6167         the API doesn't really require it; gnu.java.beans.info is the
6168         default.
6170 2002-03-24  Mark Wielaard  <mark@klomp.org>
6172         Thanks to Orp developers
6173         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
6174         switch TRUE and FALSE return values.
6176 2002-03-23  Tom Tromey  <tromey@redhat.com>
6178         * include/name-finder.h (_Jv_name_finder::myclose): New method.
6179         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
6181 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
6183         * java/util/GregorianCalendar.java (minimums, maximums): Correct
6184         MONTH entry.  Fixes PR libgcj/6045.
6186 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
6188         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
6190 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6192         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
6193         not release_set.
6194         * sysdep/powerpc/locks.h (write_barrier): New function.
6195         * sysdep/i386/locks.h (write_barrier): New function.
6197 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
6199         * include/jni.h Use correct C comments.
6201 2002-03-18  Tom Tromey  <tromey@redhat.com>
6203         * include/jni.h (JNIIMPORT): New macro.
6204         (JNIEXPORT): Likewise.
6205         (JNICALL): Likewise.
6207 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6209         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
6210         systems.
6212 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
6214         * include/i386-signal.h (old_i386_kernel_sigaction): New.
6215         INIT_SEGV: Use old_i386_kernel_sigaction.
6216         INIT_FP: Likewise.
6218 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6220         * java/lang/natSystem.cc (init_properties): Update VM version
6221         properties.
6222         * configure.in: Set GCJVERSION.
6223         * acconfig.h: Add GCJVERSION.
6224         * configure: Rebuilt.
6225         * include/config.h.in: Rebuilt.
6227 2002-03-17  Anthony Green  <green@redhat.com>
6229         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
6231 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6233         Build a single libgcj.so, without separate gc and zlib libraries.
6234         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
6235         SYS_ZLIBS if system zlib is used.
6236         * configure: Rebuilt.
6237         * Makefile.am: Use boehm-gc and zlib convenience libraries.
6238         * Makefile.in: Rebuilt.
6239         * libtool-version: Increment .so version number.
6241         * Makefile.am: Escape quotes in echo.
6242         * Makefile.in: Rebuilt.
6244 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6246         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
6247         * Makefile.in: Rebuilt.
6249 2002-03-15  Anthony Green  <green@redhat.com>
6251         * configure.host (FILE): New macro for specifing File
6252         implementation.
6253         * configure: Rebuilt.
6254         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
6256 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
6258         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
6259         already implicitly brought in from libgcj.la.
6260         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
6261         * Makefile.in: Rebuilt.
6263 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
6265         * THANKS: Fix punctuation, alphabetization.
6267 2002-03-15  Tom Tromey  <tromey@redhat.com>
6268             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6270         Fix for PR libgcj/5944.
6271         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
6273 2002-03-15  Anthony Green  <green@redhat.com>
6275         * configure.in (tool_include_dir): Define.
6276         * configure: Rebuilt.
6277         * gcj/Makefile.am: Install libgcj-config.h relative to
6278         tool_include_dir.
6279         * gcj/Makefile: Rebuilt.
6280         * gcj/libgcj-config.h: Add warning comment.
6282 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
6284         * configure.host (powerpc*-darwin*): Enable interpreter.
6286 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6288         * include/posix.h: Add multiple include header protection.
6289         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
6291 2002-03-10  Adam Megacz <adam@xwt.org>
6293         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
6295 2002-03-10  Tom Tromey  <tromey@redhat.com>
6297         * java/awt/GridLayout.java (layoutContainer): Handle case where
6298         there are no items in container.
6300         * java/lang/Win32Process.java: Added comment.
6301         * include/posix.h (_Jv_platform_close_on_exec): New function.
6302         Include fcntl.h.
6303         * include/win32.h (_Jv_platform_close_on_exec): New function.
6304         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
6305         flag.
6306         (accept): Likewise.
6307         * java/net/natPlainDatagramSocketImpl.cc (create): Set
6308         close-on-exec flag.
6309         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
6310         flag.
6312 2002-03-09  Tom Tromey  <tromey@redhat.com>
6314         * verify.cc (state::NO_STACK): New constant.
6315         (state::is_unmerged_ret_state): Handle case where stacktop is
6316         NO_STACK.
6317         (state::merge): Handle NO_STACK merges.
6318         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
6319         for instruction following jsr.
6320         (stacktop, stackdepth): Removed unused variables.
6321         (pop_jump): Ignore case where all remaining states are skipped.
6323 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6325         * java/awt/ImageMediaEntry: Removed.
6326         * java/awt/MediaEntry: Removed.
6328 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6330         Hashtable synchronization for PowerPC.
6331         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
6332         slow_pthread_self. Set up symlink for sysdeps directory.
6333         * configure: Rebuild.
6334         * configure.host: Document more shell variables. Set sysdeps_dir
6335         for most platforms. Set slow_pthread_self for i686. Set
6336         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
6337         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
6338         that memory barrier is emitted where required.
6339         * prims.cc: 64-bit align static primitive class instances.
6340         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
6341         read_barrier() to enforce ordering of reads.
6342         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
6343         primitives for PowerPC.
6344         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
6345         moved from natObject.cc.
6346         * sysdep/alpha/locks.h: Likewise.
6347         * sysdep/ia64/locks.h: Likewise.
6348         * sysdep/generic/locks.h: Likewise.
6349         * java/lang/natObject.cc: Move thread synchronization primitives to
6350         system-dependent headers.
6352 2002-03-09  Adam Megacz  <adam@xwt.org>
6354         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
6355         bytes read and no failure code returned.
6357 2002-03-09  Adam Megacz  <adam@xwt.org>
6359         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
6360         definitions to simulate -mthreads.
6362 2002-03-09  Adam Megacz  <adam@xwt.org>
6364         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
6365         avoid precision loss.
6367 2002-03-09  Per Bothner  <per@bothner.com>
6369         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
6370         * gnu/gcj/xlib/XImage.java:  Likewise.
6371         * gnu/gcj/xlib/XColor.java:  Likewise.
6373 2002-03-09  Adam Megacz  <adam@xwt.org>
6375         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
6376         IOException so that Throwable.printStackTrace fails correctly.
6378 2002-03-08  Adam Megacz  <adam@xwt.org>
6380         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
6381         fixed.
6383 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6385         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
6386         truncated to int.
6388 2002-03-08  Tom Tromey  <tromey@redhat.com>
6390         * include/jni.h: Include stdio.h.
6392 2002-03-08  Tom Tromey  <tromey@redhat.com>
6394         * posix.cc (internal_gettimeofday): New function.
6395         (_Jv_select): Use it.
6397 2002-03-07  Adam Megacz  <adam@xwt.org>
6399         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
6400         WIN32, and added thunks for read(), write(), and close().
6401         * java/net/natPlainSocketImpl.cc (accept, read, read):
6402         Disabled timeouts on WIN32 pending discussion.
6404 2002-03-07  Adam Megacz  <adam@xwt.org>
6406         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
6407         returns jlong. Added implementation
6408         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
6409         returns jlong.
6410         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
6411         returns jlong.
6412         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
6413         returns jlong.
6414         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
6415         _Jv_platform_gettimeofday signature.
6417 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6419         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
6420         (read): Call recv() directly, not _Jv_recv().
6422 2002-03-06  Tom Tromey  <tromey@redhat.com>
6424         * java/io/natFileDescriptorEcos.cc (init): Don't use
6425         GetStdHandle.
6426         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
6427         is negative.
6428         (init): Don't use GetStdHandle.
6430         * include/config.h.in: Rebuilt.
6431         * configure: Rebuilt.
6432         * Makefile.in: Rebuilt.
6434 2002-03-06  Adam Megacz  <adam@xwt.org>
6436         * java/io/FileDescriptor.java: Initialize in/out/err in init().
6437         * java/io/natFileDescriptorWin32.cc (init()): Added function.
6438         * java/io/natFileDescriptorPosix.cc (init()): Added function.
6439         * java/io/natFileDescriptorEcos.cc (init()): Added function.
6441 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
6443         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
6444         the code for generating include/java-chartables.h.
6445         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
6446         merge with Classpath.
6447         * scripts/unicode-muncher.pl: Copy from Classpath.
6448         * scritps/MakeCharTables.java: New file.
6449         * gnu/gcj/convert/Blocks-3.txt: New file.
6450         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
6451         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
6452         * gnu/java/lang/CharData.java: Copy from Classpath.
6453         * Makefile.am (ordinary_java_source_files): Add
6454         gnu/java/lang/CharData.java.
6455         * configure.in: Remove --enable-fast-character option.
6456         * java/lang/Character.java: Merge algorithms and Javadoc with
6457         Classpath.
6458         * java/lang/natCharacter.cc: Implement Unicode lookup table more
6459         efficiently.
6460         * include/java-chardecomp.h: Regenerate.
6461         * include/java-chartables.h: Regenerate.
6463 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6465         * java/awt/MediaTracker.java: Implemented.
6466         * Makefile.am: Add MediaTracker.
6467         * Makefile.in: Rebuilt.
6469 2002-03-05  Tom Tromey  <tromey@redhat.com>
6471         * java/lang/natPosixProcess.cc (fail): Removed.
6472         (startProcess): Simplified error-handling.  Preserve
6473         LD_LIBRARY_PATH across exec.
6475         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
6476         AbstractMethodError.
6478 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6480         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
6481         * Makefile.in: Rebuilt.
6483 2002-03-03 Mark Wielaard <mark@klomp.org>
6485         * java/util/Timer (TaskQueue.stop): set elements to zero.
6487 2002-02-28  Anthony Green  <green@redhat.com>
6489         * java/lang/reflect/natMethod.cc (result): Add void* element.
6490         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
6491         constructor test.
6493 2002-02-27  Adam Megacz <adam@xwt.org>
6495         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
6496         '#undef STRICT'.
6498 2002-02-26  Tom Tromey  <tromey@redhat.com>
6500         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
6501         * gij.cc (version): Use __VERSION__.
6502         * include/config.h.in: Rebuilt.
6503         * acconfig.h (GCJVERSION): Removed.
6504         * configure: Rebuilt.
6505         * configure.in (GCJVERSION): Removed.
6507 2002-02-26  Andreas Schwab  <schwab@suse.de>
6509         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
6510         glibcpp_CXX, since libjava uses even another CXX.
6511         * aclocal.m4, configure: Regenerated.
6513 2002-02-26  Tom Tromey  <tromey@redhat.com>
6515         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
6516         `1'.
6518 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6520         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
6521         dependency tracking for .java files.
6522         * Makefile.in: Rebuilt.
6524 2002-02-24  Adam Megacz  <adam@xwt.org>
6526         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
6527         typo. Sorry.
6529 2002-02-24  Adam Megacz  <adam@xwt.org>
6531         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
6532         for Win32, changed #ifdefs to check WIN32 instead of the
6533         (now-obsolete) USE_WINSOCK, and removed support for socket
6534         timeouts on Win32 pending further discussion.
6536 2002-02-24  Adam Megacz  <adam@xwt.org>
6538         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
6539         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
6540         delete
6542 2002-02-24  Adam Megacz  <adam@xwt.org>
6544         * java/lang/Win32Process.java: Created a dummy class to allow
6545         build process to run to completion.
6547 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
6549         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
6550         Define ffi_result union for ffi_call result.  Cast
6551         ffi_result members to jvalue.
6553 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
6555         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
6556         * testsuite/Makefile.in: Likewise.
6558 2002-02-20  Per Bothner  <per@bothner.com>
6560         * java/net/URL.java (getPath):  New JDK 1.3 method.
6562         * java/net/URLStreamHandler.java (parseURL):
6563         It is wrong to prepend '/' to the file part of a relative url.
6565         * java/net/URLStreamHandler.java (parseURL):
6566         Minor optizations - append '/' rather than "/".
6568         * java/net/URLStreamHandler.java (parseURL):
6569         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
6570         We probably should canonicalize for a context-relative url, though.
6571         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
6572         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
6573         (sameFile):  New method.  Uses canonicalizeFilename.
6575 2002-02-22  Tom Tromey  <tromey@redhat.com>
6577         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
6578         java.vendor and java.vm.vendor.
6579         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
6580         recent copyright date.
6581         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
6582         * gij.cc (version): Print `Inc'.
6584 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
6586         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
6587         * aclocal.m4, configure: Rebuilt.
6589 2002-02-20  Per Bothner  <per@bothner.com>
6591         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
6592         and/or output streams immediately here, instead of using File.exists.
6593         (inputStream, outputStream):  New fields to save open streams.
6594         (getInputStream, getOutputStream):  Use already-opened streams.
6596 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
6598         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
6599         Use it.
6600         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
6601         * aclocal.m4, configure, Makefile.in: Rebuilt.
6603 2002-02-19  Tom Tromey  <tromey@redhat.com>
6605         Fix for PR libgcj/5696:
6606         * verify.cc (is_assignable_from_slow): Never call
6607         _Jv_IsAssignableFrom.
6608         (verify_instructions_0): Added new debug statement.
6609         (state::print): Print information about whether local has
6610         changed.
6611         (state::merge): Don't call note_variable when merging locals.
6612         (state::set_exception): Removed old FIXME comment.
6614 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6616         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
6617         enable SO_BROADCAST.
6619 2002-02-18  Jason Merrill  <jason@redhat.com>
6621         * name-finder.cc (toHex): Use word mode, not long long.
6623         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
6625 2002-02-15  Tom Tromey  <tromey@redhat.com>
6627         Fix for PR libgcj/5695:
6628         * verify.cc (is_assignable_from_slow): Check to see if target is
6629         an Object before checking to see if source is an interface.
6630         (verify_instructions_0) [op_invokeinterface]: Handle case where
6631         we're making an interface call on Object.
6633 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6635         * Makefile.in: Rebuilt with Eric's change below.
6637         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
6638         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
6639         Removed functions which are now implemented in Math.java.
6641 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
6643         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
6644         * Makefile.am (core_java_source_files): Add
6645         java/lang/StrictMath.java.
6646         * java/lang/Math.java: Merge with Classpath.
6647         * java/lang/StrictMath.java: New file - merge with Classpath.
6649 2002-02-14  Mark Wielaard  <mark@klomp.org>
6651         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
6652         package as a workaround for gcj 3.0.x
6654 2002-02-14  Mark Wielaard <mark@klomp.org>
6656         * java/security/BasicPermission.java: extends with fully qualified
6657         classname as workaround for gcj 3.0.4.
6659 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
6661         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
6662         around gcj bug of wrong emitted qualifier for inherited method.
6663         * java/net/SocketImpl.java (setOption, getOption): Ditto.
6664         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
6665         constructor to reduce amount of emitted bytecode. While this
6666         happens to work around a jikes 1.15 bug, it is still a useful
6667         patch even for correct compilers.
6668         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
6669         * gnu/java/rmi/server/UnicastRemoteCall.java
6670         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
6672 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
6674         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
6675         * java/net/SocketImpl.java: Ditto.
6676         * java/rmi/server/RMIClassLoader.java: Ditto.
6677         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
6679 2002-02-14  Mark Wielaard <mark@klomp.org>
6681         Thanks to Takashi Okamoto
6682         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
6683         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
6684         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
6686 2002-02-13  Todd Stock  <toddastock@yahoo.com>
6688         Fix for PR libgcj/5670:
6689         * verify.cc (is_assignable_from_slow): If `source' is interface,
6690         recursively look for merge with `target'.
6692 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
6694         * include/jni.h: Fix typo.
6696 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
6698         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
6699         correctly.
6701 2002-02-13  Todd Stock  <toddastock@yahoo.com>
6703         Fix for PR libgcj/5671:
6704         * verify.cc (state::merge): Handle case where we're merging
6705         against an interface.
6707 2002-02-12  Tom Tromey  <tromey@redhat.com>
6709         * exception.cc (std::abort): Mark as noreturn.
6711 2002-02-12  Adam Megacz <adam@xwt.org>
6713         * java/lang/Win32Process.java: Filled in a placeholder
6714         implementation so Win32 will build.
6716 2002-02-12  Adam Megacz <adam@xwt.org>
6718         * java/io/natFilePosix.cc: Copied this from natFile.cc.
6719         * java/io/natFile.cc: Removed from repository.
6720         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
6722 2002-02-12  Adam Megacz <adam@xwt.org>
6724         * win32.cc: Added two #includes to make win32.cc compile.
6726 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6728         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
6729         declarations.
6730         (_Jv_InitGC): Don't bother locking, as this is always called from a
6731         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
6733 2002-02-11  Adam Megacz <adam@xwt.org>
6735         * include/win32.h: Added _Jv_platform_gettimeofday.
6736         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
6738 2002-02-11  Adam Megacz <adam@xwt.org>
6740         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
6741         Added #undef STRICT to make windows.h and
6742         java/lang/reflect/Modifier.h cooperate.
6744 2002-02-11  Adam Megacz <adam@xwt.org>
6746         * java/io/natFileWin32.cc: Created a placeholder class with lots
6747         of FIXMEs.
6749 2002-02-11  Adam Megacz <adam@xwt.org>
6751         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
6752         std::abort() to simply abort(). Also added "fake" std::abort() so
6753         we can #include unwind-pe.h without having to link against
6754         libstdc++-v3.
6756 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
6758         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
6760 2002-02-08  Tom Tromey  <tromey@redhat.com>
6762         * interpret.cc (convert): New function.
6763         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
6764         convert.
6765         Include Long.h.
6767 2002-02-08  Anthony Green  <green@redhat.com>
6769         * configure.host: Add support for xscale-elf embedded target.
6771 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
6773         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
6774         dereferenced.
6775         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
6776         frame.
6778 2002-02-07  Tom Tromey  <tromey@redhat.com>
6780         * java/io/natFile.cc (_access): Use __builtin_alloca.
6781         (_stat): Likewise.
6782         (attr): Likewise.
6783         (getCanonicalPath): Likewise.
6784         (performList): Likewise.
6785         (performMkdir): Likewise.
6786         (performSetReadOnly): Likewise.
6787         (performRenameTo): Likewise.
6788         (performSetLastModified): Likewise.
6789         (performCreate): Likewise.
6790         (performDelete): Likewise.
6792 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6794         * HACKING: Fix URL for the automake-gcj.
6796 2002-02-07  Tom Tromey  <tromey@redhat.com>
6798         * java/lang/natThrowable.cc: Updated copyright.
6799         * java/io/natFileWin32.cc: Updated copyright.
6800         * java/io/natFileDescriptorWin32.cc: Updated copyright.
6801         * win32-threads.cc: Updated copyright.
6802         * name-finder.cc: Updated copyright.
6803         * include/name-finder.h: Updated copyright.
6805         * include/name-finder.h: Conditionally include sys/wait.h.
6806         * include/config.h.in: Rebuilt.
6808         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
6809         Size buffer based on real size of string.
6810         (_stat): Likewise.
6811         (attr): Likewise.
6812         (getCanonicalPath): Likewise.
6813         (performList): Likewise.
6814         (performMkdir): Likewise.
6815         (performSetReadOnly): Likewise.
6816         (unixroot): Removed.
6817         (performRenameTo): Likewise.
6818         (performSetLastModified): Likewise.
6819         (performCreate): Likewise.
6820         (performDelete): Likewise.
6821         (performListRoots): Always return new array.
6823         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
6824         * win32.cc (win32_exception_handler): Now static.
6825         * include/win32.h (_Jv_platform_initialize): Declare.
6826         (win32_exception_handler): Don't declare.
6827         * java/lang/natSystem.cc (currentTimeMillis): Use
6828         _Jv_platform_gettimeofday.
6829         * posix.cc (_Jv_platform_gettimeofday): Renamed.
6830         (_Jv_select): Use new name.
6831         (_Jv_platform_initialize): New function.
6832         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
6833         _Jv_gettimeofday.
6834         (_Jv_platform_initialize): Declare.
6836         * configure: Rebuilt.
6837         * configure.in: Removed unnecessary parens.
6839 2002-02-06  Adam Megacz <adam@xwt.org>
6841        * configure.in: Changed mingw) to *mingw*).
6842        * win32.cc: Created this file.
6843        * win32.h: Created this file.
6844        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
6845        win32_exception_handler from prims.cc to win32.cc, added
6846        header in win32.h.
6847        * prims.cc: removed some #ifdef-WIN32'd headers which are no
6848        longer needed now that we have platform.h
6850 2002-02-06  Adam Megacz <adam@xwt.org>
6852         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
6853         use uint<n>_t instead of LONG and BYTE
6855 2002-02-06  Adam Megacz <adam@xwt.org>
6857         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
6859 2002-02-06  Anthony Green  <green@redhat.com>
6861         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
6862         Implement missing method stubs.
6863         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
6864         targets.
6865         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
6866         concept of timezones.
6867         (init_properties): Don't refer to _Jv_Environment_Properties
6868         when this feature is not available.
6869         * include/config.h.in: Rebuilt.
6870         * acconfig.h: Add DISABLE_MAIN_ARGS.
6871         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
6872         * configure: Rebuilt.
6873         * configure.in: Add --disable-main-args option.  Test for
6874           opendir function.  Replace AC_CHECK_SIZEOF with
6875           AC_COMPILE_CHECK_SIZEOF.
6876         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
6877         * aclocal.m4: Rebuilt.
6878         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
6880 2002-02-06  Tom Tromey  <tromey@redhat.com>
6882         * verify.cc (require_array_type): If argument is a null array of
6883         references, return null as the element type.
6885 2002-02-06  Mark Wielaard  <mark@klomp.org>
6887         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
6888         duplicate of a wide type.
6890 2002-02-06  Tom Tromey  <tromey@redhat.com>
6892         * verify.cc (type::isnull): New method.
6893         (require_array_type): Handle case where array is null.
6894         (verify_instructions_0) [op_arraylength]: Likewise.
6896 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6898         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
6899         Symlink PLATFORMH to platform.h.
6900         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
6901         PLATFORMOBJS.
6902         * java/lang/natSystem.cc: #include platform.h not posix.h.
6903         * Makefile.in: Rebuilt with libgcj automake.
6904         * configure: Rebuilt.
6906 2002-02-05  Richard Henderson  <rth@redhat.com>
6908         * Makefile.in: Undo munging last change.
6910 2002-02-04  Adam Megacz <adam@xwt.org>
6912         * win32.cc: Created it.
6913         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
6914         which is set to posix.cc or win32.cc.
6915         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
6917 2002-02-04  Adam Megacz <adam@xwt.org>
6919         * configure.in: Corrected mingw case branches; added * before
6920         and after.
6922 2002-02-04  Adam Megacz <adam@xwt.org>
6924         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
6925         if compiling for win32
6927 2002-02-04  Adam Megacz <adam@xwt.org>
6929         * win32-threads.cc: #undef STRICT after gc.h inclusion
6931 2002-02-02  Tom Tromey  <tromey@redhat.com>
6933         * Makefile.in: Rebuilt.
6935 2002-02-02  Jason Merrill  <jason@redhat.com>
6937         * Makefile.am (clean-nat): New target.
6939 2002-02-02  Tom Tromey  <tromey@redhat.com>
6941         * java/io/natFile.cc: Removed old "FIXME" comments.
6943 2002-02-01  Tom Tromey  <tromey@redhat.com>
6945         * java/lang/natPosixProcess.cc (myclose): New function.
6946         (fail): Use it.
6947         (startProcess): Likewise.
6949 2002-02-01  Adam Megacz <adam@xwt.org>
6951         * prims.cc: Added #undef STRICT after #include<windows.h>.
6953 2002-02-01  Adam Megacz <adam@xwt.org>
6955         * prims.cc
6956         (_Jv_CreateJavaVM): We now use WIN32 instead of
6957         USE_WIN32_SIGNALLING and USE_WINSOCK.
6958         (win32_exception_handler): Now throws an exception out of
6959         the signal handler; assumes SJLJ.
6961 2002-02-01  Adam Megacz <adam@xwt.org>
6963         * win32-threads.cc:
6964         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
6965         wait() algorithm to make it safe.
6966         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
6967         Added lazy creation of Win32 Events for better performance
6968         (really_start): This now uses GC_CreateThread so boehm-gc
6969         knows about new threads even when statically linked.
6971 2002-02-01  Adam Megacz <adam@xwt.org>
6973         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
6974         enable safer wait() algorithm.
6975         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
6976         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
6977         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
6978         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
6979         instead of mutex.
6980         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
6982 2002-02-01  Adam Megacz <adam@xwt.org>
6984         * configure.in: Added support for mingw.
6985         * java/lang/Win32Process.java: Created as empty file.
6986         * java/lang/natWin32Process.cc: Created as empty file.
6988 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
6990         PR java/4972
6991         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
6992         for libiconv in LIBICONV variable.
6993         * configure: Regenerated.
6995 2002-01-31  Tom Tromey  <tromey@redhat.com>
6997         * verify.cc (state::enter_subroutine): New method.
6998         (handle_jsr_insn): Use it.
6999         (state::merge): When processing a `ret', correctly use
7000         subroutine's state to determine which local variables have
7001         changed.
7002         (push_exception_jump): Don't let stack overflow.
7004 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
7006         * gnu/gcj/convert/Convert.java: Only include one copyright year in
7007         --version output.
7009 2002-01-30  Tom Tromey  <tromey@redhat.com>
7011         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
7012         parameter for `recv' return type.
7014         * verify.cc (handle_ret_insn): Check for subroutine merge here...
7015         (state::merge): ... not here.
7016         (subr_entry_info): New structure.
7017         (entry_points): New field.
7018         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
7019         entry_points.
7021 2002-01-29  Tom Tromey  <tromey@redhat.com>
7023         * java/awt/List.java (addNotify): Correctly check to see if peer
7024         does not exist.
7026         * java/awt/GridLayout.java (layoutContainer): Use number of rows
7027         to compute height of each cell, and number of columns to compute
7028         width of each cell.
7029         * java/awt/Window.java (getOwnedWindows): Don't return null.
7030         * java/awt/FlowLayout.java (layoutContainer): Set width and height
7031         of component.  Increment x using horizontal gap, not vertical
7032         gap.
7034 2002-01-28  Tom Tromey  <tromey@redhat.com>
7036         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
7037         `nargs' byte is number of words, not number of arguments.
7039 2002-01-27  Tom Tromey  <tromey@redhat.com>
7041         * java/awt/event/MouseEvent.java (modifiers): Removed field.
7042         (when): Likewise.
7043         * java/awt/event/InputEvent.java (modifiers, when): Now
7044         package-private.
7046         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
7047         and to-do list.
7048         (state::merge): Use current class' class loader.
7049         (state::print): Print subroutine.
7050         (state::merge): Don't look at subroutine of unmerged `ret'.
7052 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
7054         * nogc.cc: Remove warnings.
7055         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
7056         New functions.
7058 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7060         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
7061         int, int):  Remove empty "if" statement to work around compiler bug.
7062         (newPixels(int[], ColorModel, int, int): Likewise.
7064 2002-01-25  Per Bothner  <per@bothner.com>
7066         * verify.cc (verify_fail):  Change from being a top-level function
7067         to e method of _Jv_BytecodeVerifier.  Emit current method name.
7068         Pass the current verifier to type: and state: methods as needed,
7069         for better error messages, and for resolve.
7070         (resolve):  Pass current class's loader for Class.forName and
7071         _Jv_FindClassFromSignature, rather than using the default loader.
7072         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
7073         (get_type_val_for_signature):  Make non-static.
7074         (various methods):  Pass start_PC implicitly, not explicitly.
7076 2002-01-25  Tom Tromey  <tromey@redhat.com>
7078         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
7079         loop termination condition.
7080         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
7081         width.
7083 2002-01-24  Tom Tromey  <tromey@redhat.com>
7085         * java/awt/Shape.java: Merged with Classpath.
7086         * java/awt/Scrollbar.java: Merged with Classpath.
7088         * java/awt/Container.java (addNotify): Unconditionally call
7089         addNotifyContainerChildren and superclass addNotify.
7091         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
7092         getAlpha, not getBlue.
7094 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7096         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
7098         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
7099         (grabPixels(long)): Wait to be notified that the ImageProducer has
7100         completed.
7102 2002-01-24  Per Bothner  <per@bothner.com>
7104         * verify.cc (is_assignable_from_slow): If target is an interface,
7105         we must still check the source's superclass before giving up.
7107 2002-01-24  Tom Tromey  <tromey@redhat.com>
7109         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
7111 2002-01-23  Tom Tromey  <tromey@redhat.com>
7113         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
7114         `else'.
7116         * Makefile.in: Rebuilt.
7117         * Makefile.am (awt_java_source_files): Added new files.
7118         * java/awt/Toolkit.java: Merged with Classpath.
7119         * java/awt/PrintGraphics.java: New file from Classpath.
7120         * java/awt/PrintJob.java: New file from Classpath.
7121         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
7122         * java/awt/datatransfer/ClipboardOwner.java: New file from
7123         Classpath.
7124         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
7125         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
7126         * java/awt/datatransfer/MimeTypeParseException.java: New file from
7127         Classpath.
7128         * java/awt/datatransfer/StringSelection.java: New file from
7129         Classpath.
7130         * java/awt/datatransfer/SystemFlavorMap.java: New file from
7131         Classpath.
7132         * java/awt/datatransfer/Transferable.java: New file from
7133         Classpath.
7134         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
7135         from Classpath.
7137         * Makefile.in: Rebuilt.
7138         * Makefile.am (awt_java_source_files): Added new files.
7139         * java/awt/image/AreaAveragingScaleFilter.java: New file from
7140         Classpath.
7141         * java/awt/image/CropImageFilter.java: New file from Classpath.
7142         * java/awt/image/FilteredImageSource.java: New file from
7143         Classpath.
7144         * java/awt/image/ImageFilter.java: New file from Classpath.
7145         * java/awt/image/MemoryImageSource.java: New file from Classpath.
7146         * java/awt/image/PixelGrabber.java: New file from Classpath.
7147         * java/awt/image/RGBImageFilter.java: New file from Classpath.
7148         * java/awt/image/ReplicateScaleFilter.java: New file from
7149         Classpath.
7150         * java/awt/image/ImageProducer.java: Replaced with Classpath
7151         version.
7152         * java/awt/image/ImageObserver.java: Replaced with Classpath
7153         version.
7154         * java/awt/image/ImageConsumer.java: Replaced with Classpath
7155         version.
7156         * java/awt/GridBagConstraints.java (clone): Catch
7157         CloneNotSupportedException.
7159 2002-01-23  Per Bothner  <per@bothner.com>
7161         * java/lang/reflect/natField.cc (setAddr):  New function.
7162         Calls getAddr and then checks that the field isn't final.
7163         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
7164         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
7165         (set):  Call setAddr before check that new value has right type,
7166         to better match specified semantics.
7168 2002-01-22  Tom Tromey  <tromey@redhat.com>
7170         * java/awt/TextField.java: Replaced with Classpath version.
7171         * java/awt/TextArea.java: Replaced with Classpath version.
7172         * java/awt/TextComponent.java: Replaced with Classpath version.
7174         * java/awt/GridBagConstraints.java: Updated copyright.
7176 2002-01-22  Mark Wielaard <mark@klomp.org>
7178         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
7179         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
7180         java/awt/Dialog.java java/awt/FileDialog.java
7181         java/awt/Font.java java/awt/FontMetrics.java
7182         java/awt/Image.java java/awt/ImageMediaEntry.java
7183         java/awt/Insets.java java/awt/List.java
7184         java/awt/MediaEntry.java java/awt/MediaTracker.java
7185         java/awt/Menu.java java/awt/MenuBar.java
7186         java/awt/MenuContainer.java java/awt/MenuShortcut.java
7187         java/awt/PaintContext.java java/awt/Panel.java
7188         java/awt/PopupMenu.java java/awt/SystemColor.java
7189         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
7190         java/awt/peer/CheckboxMenuItemPeer.java
7191         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
7192         java/awt/peer/ComponentPeer.java
7193         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
7194         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
7195         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
7196         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
7197         java/awt/peer/MenuBarPeer.java
7198         java/awt/peer/MenuComponentPeer.java
7199         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
7200         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
7201         java/awt/peer/ScrollPanePeer.java
7202         java/awt/peer/ScrollbarPeer.java
7203         java/awt/peer/TextAreaPeer.java
7204         java/awt/peer/TextComponentPeer.java
7205         java/awt/peer/TextFieldPeer.java
7206         java/awt/peer/WindowPeer.java: Add license clarification.
7208 2002-01-22  Mark Wielaard <mark@klomp.org>
7210         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
7211         gnu/gcj/runtime/StringBuffer.java
7212         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
7213         gnu/java/awt/ComponentDataBlitOp.java
7214         gnu/java/awt/GLightweightPeer.java
7215         gnu/java/beans/BeanInfoEmbryo.java
7216         gnu/java/beans/EmptyBeanInfo.java
7217         gnu/java/beans/ExplicitBeanInfo.java
7218         gnu/java/beans/IntrospectionIncubator.java
7219         gnu/java/beans/editors/ColorEditor.java
7220         gnu/java/beans/editors/FontEditor.java
7221         gnu/java/beans/editors/NativeBooleanEditor.java
7222         gnu/java/beans/editors/NativeByteEditor.java
7223         gnu/java/beans/editors/NativeDoubleEditor.java
7224         gnu/java/beans/editors/NativeFloatEditor.java
7225         gnu/java/beans/editors/NativeIntEditor.java
7226         gnu/java/beans/editors/NativeLongEditor.java
7227         gnu/java/beans/editors/NativeShortEditor.java
7228         gnu/java/beans/editors/StringEditor.java
7229         gnu/java/beans/info/ComponentBeanInfo.java
7230         gnu/java/io/ClassLoaderObjectInputStream.java
7231         gnu/java/io/NullOutputStream.java
7232         gnu/java/io/ObjectIdentityWrapper.java
7233         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
7234         gnu/java/lang/reflect/TypeSignature.java
7235         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
7236         gnu/java/locale/Calendar_en.java
7237         gnu/java/locale/Calendar_nl.java
7238         gnu/java/locale/LocaleInformation.java
7239         gnu/java/locale/LocaleInformation_de.java
7240         gnu/java/locale/LocaleInformation_en.java
7241         gnu/java/locale/LocaleInformation_nl.java
7242         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
7243         gnu/java/rmi/registry/RegistryImpl.java
7244         gnu/java/rmi/rmic/Compile_gcj.java
7245         gnu/java/rmi/rmic/Compiler.java
7246         gnu/java/rmi/rmic/CompilerProcess.java
7247         gnu/java/rmi/rmic/RMIC.java
7248         gnu/java/rmi/rmic/TabbedWriter.java
7249         gnu/java/rmi/server/ProtocolConstants.java
7250         gnu/java/rmi/server/RMIDefaultSocketFactory.java
7251         gnu/java/rmi/server/RMIHashes.java
7252         gnu/java/rmi/server/RMIObjectInputStream.java
7253         gnu/java/rmi/server/RMIObjectOutputStream.java
7254         gnu/java/rmi/server/UnicastConnection.java
7255         gnu/java/rmi/server/UnicastConnectionManager.java
7256         gnu/java/rmi/server/UnicastRef.java
7257         gnu/java/rmi/server/UnicastRemoteCall.java
7258         gnu/java/rmi/server/UnicastRemoteStub.java
7259         gnu/java/rmi/server/UnicastServer.java
7260         gnu/java/rmi/server/UnicastServerRef.java
7261         gnu/java/security/provider/DefaultPolicy.java
7262         gnu/java/security/provider/Gnu.java
7263         gnu/java/security/provider/SHA.java
7264         gnu/java/security/provider/SHA1PRNG.java
7265         gnu/java/text/BaseBreakIterator.java
7266         gnu/java/text/CharacterBreakIterator.java
7267         gnu/java/text/LineBreakIterator.java
7268         gnu/java/text/SentenceBreakIterator.java
7269         gnu/java/text/WordBreakIterator.java
7270         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
7271         java/applet/AppletContext.java java/applet/AppletStub.java
7272         java/applet/AudioClip.java java/awt/AWTError.java
7273         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
7274         java/awt/AWTException.java java/awt/AWTPermission.java
7275         java/awt/ActiveEvent.java java/awt/BorderLayout.java
7276         java/awt/Button.java java/awt/Canvas.java
7277         java/awt/CardLayout.java java/awt/Checkbox.java
7278         java/awt/CheckboxGroup.java java/awt/Component.java
7279         java/awt/ComponentOrientation.java java/awt/Container.java
7280         java/awt/Dimension.java java/awt/Event.java
7281         java/awt/EventDispatchThread.java java/awt/EventQueue.java
7282         java/awt/FlowLayout.java java/awt/Frame.java
7283         java/awt/Graphics.java java/awt/Graphics2D.java
7284         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
7285         java/awt/IllegalComponentStateException.java
7286         java/awt/ItemSelectable.java java/awt/Label.java
7287         java/awt/LayoutManager.java java/awt/LayoutManager2.java
7288         java/awt/MenuComponent.java java/awt/MenuItem.java
7289         java/awt/Paint.java java/awt/Point.java
7290         java/awt/Rectangle.java java/awt/RenderingHints.java
7291         java/awt/Transparency.java java/awt/Window.java
7292         java/awt/color/ColorSpace.java
7293         java/awt/color/ICC_ColorSpace.java
7294         java/awt/color/ICC_Profile.java
7295         java/awt/event/HierarchyBoundsAdapter.java
7296         java/awt/event/HierarchyBoundsListener.java
7297         java/awt/event/HierarchyEvent.java
7298         java/awt/event/HierarchyListener.java
7299         java/awt/geom/AffineTransform.java
7300         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
7301         java/awt/geom/IllegalPathStateException.java
7302         java/awt/geom/Line2D.java
7303         java/awt/geom/NoninvertibleTransformException.java
7304         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
7305         java/awt/geom/Rectangle2D.java
7306         java/awt/geom/RectangularShape.java
7307         java/awt/geom/RoundRectangle2D.java
7308         java/awt/image/BufferedImage.java
7309         java/awt/image/ColorModel.java
7310         java/awt/image/ComponentColorModel.java
7311         java/awt/image/ComponentSampleModel.java
7312         java/awt/image/DataBuffer.java
7313         java/awt/image/DataBufferByte.java
7314         java/awt/image/DataBufferInt.java
7315         java/awt/image/DataBufferUShort.java
7316         java/awt/image/DirectColorModel.java
7317         java/awt/image/PackedColorModel.java
7318         java/awt/image/Raster.java java/awt/image/RasterOp.java
7319         java/awt/image/SampleModel.java
7320         java/awt/image/SinglePixelPackedSampleModel.java
7321         java/awt/image/WritableRaster.java
7322         java/beans/AppletInitializer.java
7323         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
7324         java/beans/Beans.java java/beans/Customizer.java
7325         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
7326         java/beans/FeatureDescriptor.java
7327         java/beans/IndexedPropertyDescriptor.java
7328         java/beans/IntrospectionException.java
7329         java/beans/Introspector.java java/beans/MethodDescriptor.java
7330         java/beans/ParameterDescriptor.java
7331         java/beans/PropertyChangeEvent.java
7332         java/beans/PropertyChangeListener.java
7333         java/beans/PropertyChangeSupport.java
7334         java/beans/PropertyDescriptor.java
7335         java/beans/PropertyEditor.java
7336         java/beans/PropertyEditorManager.java
7337         java/beans/PropertyEditorSupport.java
7338         java/beans/PropertyVetoException.java
7339         java/beans/SimpleBeanInfo.java
7340         java/beans/VetoableChangeListener.java
7341         java/beans/VetoableChangeSupport.java
7342         java/beans/Visibility.java
7343         java/beans/beancontext/BeanContext.java
7344         java/beans/beancontext/BeanContextChild.java
7345         java/beans/beancontext/BeanContextChildComponentProxy.java
7346         java/beans/beancontext/BeanContextChildSupport.java
7347         java/beans/beancontext/BeanContextContainerProxy.java
7348         java/beans/beancontext/BeanContextEvent.java
7349         java/beans/beancontext/BeanContextMembershipEvent.java
7350         java/beans/beancontext/BeanContextMembershipListener.java
7351         java/beans/beancontext/BeanContextProxy.java
7352         java/beans/beancontext/BeanContextServiceAvailableEvent.java
7353         java/beans/beancontext/BeanContextServiceProvider.java
7354         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
7355         java/beans/beancontext/BeanContextServiceRevokedEvent.java
7356         java/beans/beancontext/BeanContextServiceRevokedListener.java
7357         java/beans/beancontext/BeanContextServices.java
7358         java/beans/beancontext/BeanContextServicesListener.java
7359         java/io/BufferedInputStream.java
7360         java/io/BufferedOutputStream.java java/io/BufferedReader.java
7361         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
7362         java/io/ByteArrayOutputStream.java
7363         java/io/CharArrayReader.java java/io/CharArrayWriter.java
7364         java/io/CharConversionException.java java/io/DataInput.java
7365         java/io/DataInputStream.java java/io/DataOutput.java
7366         java/io/EOFException.java java/io/Externalizable.java
7367         java/io/FileFilter.java java/io/FileNotFoundException.java
7368         java/io/FilePermission.java java/io/FileReader.java
7369         java/io/FileWriter.java java/io/FilenameFilter.java
7370         java/io/FilterInputStream.java java/io/FilterOutputStream.java
7371         java/io/FilterReader.java java/io/FilterWriter.java
7372         java/io/IOException.java java/io/InputStream.java
7373         java/io/InterruptedIOException.java
7374         java/io/InvalidClassException.java
7375         java/io/InvalidObjectException.java
7376         java/io/NotActiveException.java
7377         java/io/NotSerializableException.java java/io/ObjectInput.java
7378         java/io/ObjectInputStream.java
7379         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
7380         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
7381         java/io/ObjectStreamConstants.java
7382         java/io/ObjectStreamException.java
7383         java/io/ObjectStreamField.java
7384         java/io/OptionalDataException.java java/io/OutputStream.java
7385         java/io/PipedInputStream.java java/io/PipedOutputStream.java
7386         java/io/PipedReader.java java/io/PipedWriter.java
7387         java/io/PrintWriter.java java/io/PushbackInputStream.java
7388         java/io/PushbackReader.java java/io/Reader.java
7389         java/io/SequenceInputStream.java java/io/Serializable.java
7390         java/io/SerializablePermission.java
7391         java/io/StreamCorruptedException.java
7392         java/io/StreamTokenizer.java
7393         java/io/StringBufferInputStream.java java/io/StringReader.java
7394         java/io/StringWriter.java java/io/SyncFailedException.java
7395         java/io/UTFDataFormatException.java
7396         java/io/UnsupportedEncodingException.java
7397         java/io/WriteAbortedException.java java/io/Writer.java
7398         java/lang/AbstractMethodError.java
7399         java/lang/ArithmeticException.java
7400         java/lang/ArrayIndexOutOfBoundsException.java
7401         java/lang/ArrayStoreException.java java/lang/Boolean.java
7402         java/lang/Byte.java java/lang/CharSequence.java
7403         java/lang/ClassCastException.java
7404         java/lang/ClassCircularityError.java
7405         java/lang/ClassFormatError.java
7406         java/lang/ClassNotFoundException.java
7407         java/lang/CloneNotSupportedException.java
7408         java/lang/Cloneable.java java/lang/Comparable.java
7409         java/lang/Compiler.java java/lang/Double.java
7410         java/lang/Error.java java/lang/Exception.java
7411         java/lang/ExceptionInInitializerError.java
7412         java/lang/Float.java java/lang/IllegalAccessError.java
7413         java/lang/IllegalAccessException.java
7414         java/lang/IllegalArgumentException.java
7415         java/lang/IllegalMonitorStateException.java
7416         java/lang/IllegalStateException.java
7417         java/lang/IllegalThreadStateException.java
7418         java/lang/IncompatibleClassChangeError.java
7419         java/lang/IndexOutOfBoundsException.java
7420         java/lang/InheritableThreadLocal.java
7421         java/lang/InstantiationError.java
7422         java/lang/InstantiationException.java java/lang/Integer.java
7423         java/lang/InternalError.java
7424         java/lang/InterruptedException.java
7425         java/lang/LinkageError.java java/lang/Long.java
7426         java/lang/NegativeArraySizeException.java
7427         java/lang/NoClassDefFoundError.java
7428         java/lang/NoSuchFieldError.java
7429         java/lang/NoSuchFieldException.java
7430         java/lang/NoSuchMethodError.java
7431         java/lang/NoSuchMethodException.java
7432         java/lang/NullPointerException.java java/lang/Number.java
7433         java/lang/NumberFormatException.java
7434         java/lang/OutOfMemoryError.java java/lang/Package.java
7435         java/lang/Process.java java/lang/Runnable.java
7436         java/lang/RuntimeException.java
7437         java/lang/RuntimePermission.java
7438         java/lang/SecurityException.java
7439         java/lang/SecurityManager.java java/lang/Short.java
7440         java/lang/StackOverflowError.java java/lang/StringBuffer.java
7441         java/lang/StringIndexOutOfBoundsException.java
7442         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
7443         java/lang/ThreadLocal.java java/lang/UnknownError.java
7444         java/lang/UnsatisfiedLinkError.java
7445         java/lang/UnsupportedClassVersionError.java
7446         java/lang/UnsupportedOperationException.java
7447         java/lang/VerifyError.java java/lang/VirtualMachineError.java
7448         java/lang/Void.java java/lang/ref/PhantomReference.java
7449         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
7450         java/lang/ref/SoftReference.java
7451         java/lang/ref/WeakReference.java
7452         java/lang/reflect/AccessibleObject.java
7453         java/lang/reflect/InvocationTargetException.java
7454         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
7455         java/lang/reflect/ReflectPermission.java
7456         java/math/BigDecimal.java java/math/BigInteger.java
7457         java/net/Authenticator.java java/net/BindException.java
7458         java/net/ConnectException.java java/net/ContentHandler.java
7459         java/net/ContentHandlerFactory.java
7460         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
7461         java/net/FileNameMap.java java/net/MalformedURLException.java
7462         java/net/MulticastSocket.java java/net/NetPermission.java
7463         java/net/NoRouteToHostException.java
7464         java/net/PasswordAuthentication.java
7465         java/net/ProtocolException.java java/net/ServerSocket.java
7466         java/net/Socket.java java/net/SocketException.java
7467         java/net/SocketImpl.java java/net/SocketImplFactory.java
7468         java/net/SocketOptions.java java/net/SocketPermission.java
7469         java/net/URLDecoder.java java/net/URLEncoder.java
7470         java/net/URLStreamHandlerFactory.java
7471         java/net/UnknownHostException.java
7472         java/net/UnknownServiceException.java
7473         java/rmi/AccessException.java
7474         java/rmi/AlreadyBoundException.java
7475         java/rmi/ConnectException.java
7476         java/rmi/ConnectIOException.java
7477         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
7478         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
7479         java/rmi/NotBoundException.java
7480         java/rmi/RMISecurityException.java
7481         java/rmi/RMISecurityManager.java java/rmi/Remote.java
7482         java/rmi/RemoteException.java java/rmi/ServerError.java
7483         java/rmi/ServerException.java
7484         java/rmi/ServerRuntimeException.java
7485         java/rmi/StubNotFoundException.java
7486         java/rmi/UnexpectedException.java
7487         java/rmi/UnknownHostException.java
7488         java/rmi/UnmarshalException.java
7489         java/rmi/activation/Activatable.java
7490         java/rmi/activation/ActivateFailedException.java
7491         java/rmi/activation/ActivationDesc.java
7492         java/rmi/activation/ActivationException.java
7493         java/rmi/activation/ActivationGroup.java
7494         java/rmi/activation/ActivationGroupDesc.java
7495         java/rmi/activation/ActivationGroupID.java
7496         java/rmi/activation/ActivationID.java
7497         java/rmi/activation/ActivationInstantiator.java
7498         java/rmi/activation/ActivationMonitor.java
7499         java/rmi/activation/ActivationSystem.java
7500         java/rmi/activation/Activator.java
7501         java/rmi/activation/UnknownGroupException.java
7502         java/rmi/activation/UnknownObjectException.java
7503         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
7504         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
7505         java/rmi/registry/Registry.java
7506         java/rmi/registry/RegistryHandler.java
7507         java/rmi/server/ExportException.java
7508         java/rmi/server/LoaderHandler.java
7509         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
7510         java/rmi/server/Operation.java
7511         java/rmi/server/RMIClassLoader.java
7512         java/rmi/server/RMIClientSocketFactory.java
7513         java/rmi/server/RMIFailureHandler.java
7514         java/rmi/server/RMIServerSocketFactory.java
7515         java/rmi/server/RMISocketFactory.java
7516         java/rmi/server/RemoteCall.java
7517         java/rmi/server/RemoteObject.java
7518         java/rmi/server/RemoteRef.java
7519         java/rmi/server/RemoteServer.java
7520         java/rmi/server/RemoteStub.java
7521         java/rmi/server/ServerCloneException.java
7522         java/rmi/server/ServerNotActiveException.java
7523         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
7524         java/rmi/server/SkeletonMismatchException.java
7525         java/rmi/server/SkeletonNotFoundException.java
7526         java/rmi/server/SocketSecurityException.java
7527         java/rmi/server/UID.java
7528         java/rmi/server/UnicastRemoteObject.java
7529         java/rmi/server/Unreferenced.java
7530         java/security/AccessControlContext.java
7531         java/security/AccessControlException.java
7532         java/security/AccessController.java
7533         java/security/AlgorithmParameterGenerator.java
7534         java/security/AlgorithmParameterGeneratorSpi.java
7535         java/security/AlgorithmParameters.java
7536         java/security/AlgorithmParametersSpi.java
7537         java/security/AllPermission.java
7538         java/security/BasicPermission.java
7539         java/security/Certificate.java java/security/CodeSource.java
7540         java/security/DigestException.java
7541         java/security/DigestInputStream.java
7542         java/security/DigestOutputStream.java
7543         java/security/DomainCombiner.java
7544         java/security/DummyKeyPairGenerator.java
7545         java/security/DummyMessageDigest.java
7546         java/security/DummySignature.java
7547         java/security/GeneralSecurityException.java
7548         java/security/Guard.java java/security/GuardedObject.java
7549         java/security/Identity.java java/security/IdentityScope.java
7550         java/security/InvalidAlgorithmParameterException.java
7551         java/security/InvalidKeyException.java
7552         java/security/InvalidParameterException.java
7553         java/security/Key.java java/security/KeyException.java
7554         java/security/KeyFactory.java java/security/KeyFactorySpi.java
7555         java/security/KeyManagementException.java
7556         java/security/KeyPair.java java/security/KeyPairGenerator.java
7557         java/security/KeyPairGeneratorSpi.java
7558         java/security/KeyStore.java
7559         java/security/KeyStoreException.java
7560         java/security/KeyStoreSpi.java
7561         java/security/MessageDigest.java
7562         java/security/MessageDigestSpi.java
7563         java/security/NoSuchAlgorithmException.java
7564         java/security/NoSuchProviderException.java
7565         java/security/Permission.java
7566         java/security/PermissionCollection.java
7567         java/security/Permissions.java java/security/Policy.java
7568         java/security/Principal.java java/security/PrivateKey.java
7569         java/security/PrivilegedAction.java
7570         java/security/PrivilegedActionException.java
7571         java/security/PrivilegedExceptionAction.java
7572         java/security/ProtectionDomain.java
7573         java/security/Provider.java
7574         java/security/ProviderException.java
7575         java/security/PublicKey.java
7576         java/security/SecureClassLoader.java
7577         java/security/SecureRandom.java
7578         java/security/SecureRandomSpi.java java/security/Security.java
7579         java/security/SecurityPermission.java
7580         java/security/Signature.java
7581         java/security/SignatureException.java
7582         java/security/SignatureSpi.java
7583         java/security/SignedObject.java java/security/Signer.java
7584         java/security/UnrecoverableKeyException.java
7585         java/security/UnresolvedPermission.java
7586         java/security/acl/Acl.java java/security/acl/AclEntry.java
7587         java/security/acl/AclNotFoundException.java
7588         java/security/acl/Group.java
7589         java/security/acl/LastOwnerException.java
7590         java/security/acl/NotOwnerException.java
7591         java/security/acl/Owner.java java/security/acl/Permission.java
7592         java/security/cert/CRL.java
7593         java/security/cert/CRLException.java
7594         java/security/cert/Certificate.java
7595         java/security/cert/CertificateEncodingException.java
7596         java/security/cert/CertificateException.java
7597         java/security/cert/CertificateExpiredException.java
7598         java/security/cert/CertificateFactory.java
7599         java/security/cert/CertificateFactorySpi.java
7600         java/security/cert/CertificateNotYetValidException.java
7601         java/security/cert/CertificateParsingException.java
7602         java/security/cert/X509CRL.java
7603         java/security/cert/X509CRLEntry.java
7604         java/security/cert/X509Certificate.java
7605         java/security/cert/X509Extension.java
7606         java/security/interfaces/DSAKey.java
7607         java/security/interfaces/DSAKeyPairGenerator.java
7608         java/security/interfaces/DSAParams.java
7609         java/security/interfaces/DSAPrivateKey.java
7610         java/security/interfaces/DSAPublicKey.java
7611         java/security/interfaces/RSAKey.java
7612         java/security/interfaces/RSAPrivateCrtKey.java
7613         java/security/interfaces/RSAPrivateKey.java
7614         java/security/interfaces/RSAPublicKey.java
7615         java/security/spec/AlgorithmParameterSpec.java
7616         java/security/spec/DSAParameterSpec.java
7617         java/security/spec/DSAPrivateKeySpec.java
7618         java/security/spec/DSAPublicKeySpec.java
7619         java/security/spec/EncodedKeySpec.java
7620         java/security/spec/InvalidKeySpecException.java
7621         java/security/spec/InvalidParameterSpecException.java
7622         java/security/spec/KeySpec.java
7623         java/security/spec/PKCS8EncodedKeySpec.java
7624         java/security/spec/RSAKeyGenParameterSpec.java
7625         java/security/spec/RSAPrivateCrtKeySpec.java
7626         java/security/spec/RSAPrivateKeySpec.java
7627         java/security/spec/RSAPublicKeySpec.java
7628         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
7629         java/sql/BatchUpdateException.java java/sql/Blob.java
7630         java/sql/CallableStatement.java java/sql/Clob.java
7631         java/sql/Connection.java java/sql/DataTruncation.java
7632         java/sql/DatabaseMetaData.java java/sql/Date.java
7633         java/sql/Driver.java java/sql/DriverManager.java
7634         java/sql/DriverPropertyInfo.java
7635         java/sql/PreparedStatement.java java/sql/Ref.java
7636         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
7637         java/sql/SQLData.java java/sql/SQLException.java
7638         java/sql/SQLInput.java java/sql/SQLOutput.java
7639         java/sql/SQLWarning.java java/sql/Statement.java
7640         java/sql/Struct.java java/sql/Time.java
7641         java/sql/Timestamp.java java/sql/Types.java
7642         java/text/Annotation.java
7643         java/text/AttributedCharacterIterator.java
7644         java/text/AttributedString.java
7645         java/text/AttributedStringIterator.java
7646         java/text/BreakIterator.java java/text/CharacterIterator.java
7647         java/text/ChoiceFormat.java java/text/Collator.java
7648         java/text/DateFormat.java java/text/DateFormatSymbols.java
7649         java/text/DecimalFormat.java
7650         java/text/DecimalFormatSymbols.java
7651         java/text/FieldPosition.java java/text/Format.java
7652         java/text/MessageFormat.java java/text/NumberFormat.java
7653         java/text/ParseException.java java/text/ParsePosition.java
7654         java/text/SimpleDateFormat.java
7655         java/text/StringCharacterIterator.java
7656         java/util/AbstractCollection.java java/util/AbstractList.java
7657         java/util/AbstractMap.java
7658         java/util/AbstractSequentialList.java
7659         java/util/AbstractSet.java java/util/ArrayList.java
7660         java/util/Arrays.java java/util/BasicMapEntry.java
7661         java/util/BitSet.java java/util/Calendar.java
7662         java/util/Collection.java java/util/Collections.java
7663         java/util/Comparator.java
7664         java/util/ConcurrentModificationException.java
7665         java/util/Date.java java/util/Dictionary.java
7666         java/util/EmptyStackException.java java/util/Enumeration.java
7667         java/util/EventListener.java java/util/EventObject.java
7668         java/util/GregorianCalendar.java java/util/HashMap.java
7669         java/util/HashSet.java java/util/Hashtable.java
7670         java/util/IdentityHashMap.java java/util/Iterator.java
7671         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
7672         java/util/LinkedList.java java/util/List.java
7673         java/util/ListIterator.java java/util/ListResourceBundle.java
7674         java/util/Locale.java java/util/Map.java
7675         java/util/MissingResourceException.java
7676         java/util/NoSuchElementException.java
7677         java/util/Observable.java java/util/Observer.java
7678         java/util/Properties.java java/util/PropertyPermission.java
7679         java/util/PropertyResourceBundle.java java/util/Random.java
7680         java/util/RandomAccess.java java/util/ResourceBundle.java
7681         java/util/Set.java java/util/SimpleTimeZone.java
7682         java/util/SortedMap.java java/util/SortedSet.java
7683         java/util/Stack.java java/util/StringTokenizer.java
7684         java/util/TimeZone.java java/util/Timer.java
7685         java/util/TimerTask.java
7686         java/util/TooManyListenersException.java
7687         java/util/TreeMap.java java/util/TreeSet.java
7688         java/util/Vector.java java/util/WeakHashMap.java
7689         java/util/jar/Attributes.java java/util/jar/JarEntry.java
7690         java/util/jar/JarException.java java/util/jar/JarFile.java
7691         java/util/jar/JarInputStream.java
7692         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
7693         java/util/zip/Adler32.java java/util/zip/CRC32.java
7694         java/util/zip/CheckedInputStream.java
7695         java/util/zip/CheckedOutputStream.java
7696         java/util/zip/Checksum.java
7697         java/util/zip/DataFormatException.java
7698         java/util/zip/Deflater.java
7699         java/util/zip/DeflaterOutputStream.java
7700         java/util/zip/GZIPInputStream.java
7701         java/util/zip/GZIPOutputStream.java
7702         java/util/zip/Inflater.java
7703         java/util/zip/InflaterInputStream.java
7704         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
7705         java/util/zip/ZipException.java java/util/zip/ZipFile.java
7706         java/util/zip/ZipInputStream.java
7707         java/util/zip/ZipOutputStream.java
7708         javax/naming/BinaryRefAddr.java
7709         javax/naming/InvalidNameException.java javax/naming/Name.java
7710         javax/naming/NamingException.java javax/naming/RefAddr.java
7711         javax/naming/StringRefAddr.java: Add license clarification.
7713 2002-01-22  Tom Tromey  <tromey@redhat.com>
7715         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
7716         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
7717         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
7718         version.
7719         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
7720         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
7721         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
7722         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
7723         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
7724         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
7725         * java/awt/peer/FontPeer.java: Replace with Classpath version.
7726         * java/awt/peer/FramePeer.java: Replace with Classpath version.
7727         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
7728         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
7729         * java/awt/peer/ListPeer.java: Replace with Classpath version.
7730         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
7731         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
7732         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
7733         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
7734         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
7735         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
7736         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
7737         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
7738         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
7739         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
7740         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
7741         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
7742         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
7743         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
7744         (minimumSize, preferredSize, reshape): Likewise.
7745         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
7746         getColorModel): New methods.
7747         * java/awt/PopupMenu.java: Merged with Classpath.
7748         * java/awt/MenuBar.java: Merged with Classpath.
7749         * java/awt/SystemColor.java: Replace with Classpath version.
7750         * java/awt/Panel.java: Merged with Classpath.
7751         * java/awt/PaintContext.java: Updated copyright.
7752         * java/awt/MenuShortcut.java: Merged with Classpath.
7753         * java/awt/MenuContainer.java: Merged with Classpath.
7754         * java/awt/Menu.java: Merged with Classpath.
7755         * java/awt/MediaEntry.java: New file from Classpath.
7756         * java/awt/MediaTracker.java: New file from Classpath.
7757         * java/awt/List.java: Merged with Classpath version.
7758         * java/awt/Insets.java: Merged with Classpath version.
7759         * java/awt/ImageMediaEntry.java: New file from Classpath.
7760         * java/awt/Image.java: Replaced with Classpath version.
7761         * java/awt/FontMetrics.java: Merged with Classpath version.
7762         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
7763         constant.
7764         * java/awt/Font.java: Merged with Classpath version.
7765         * java/awt/Dialog.java: Merged with Classpath version.
7766         * java/awt/Color.java: Merged with Classpath version.
7767         * java/awt/Choice.java: Merged with Classpath version.
7768         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
7769         * java/awt/Adjustable.java: Replace with Classpath version.
7770         * java/awt/MenuItem.java (paramString): Don't include class name
7771         or brackets.  Call superclass paramString.
7772         * java/awt/MenuComponent.java (toString): Call paramString.
7773         (paramString): Compute string; don't call toString.
7774         * java/awt/Label.java (paramString): Don't include class name
7775         or brackets.  Call superclass paramString.
7776         * java/awt/Checkbox.java (paramString): Don't include class name
7777         or brackets.  Call superclass paramString.
7778         * java/awt/Button.java (paramString): Don't include class name or
7779         brackets.  Call superclass paramString.
7780         * java/awt/MenuComponent.java (getTreeLock): Now protected.
7782 2002-01-20  Andreas Schwab  <schwab@suse.de>
7784         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
7785         function and of parameter recv_func to ssize_t, as specified by
7786         POSIX.
7788 2002-01-19  Per Bothner  <per@bothner.com>
7790         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
7791         uncompressed_size in readiness for next entry.
7793 2002-01-18  Tom Tromey  <tromey@redhat.com>
7795         * java/net/natPlainSocketImpl.cc: Include
7796         IllegalArgumentException.h.
7797         (_Jv_recv): New template function.
7798         (BooleanClass): Removed.
7799         (read): Use _Jv_recv.
7800         (setOption): Use Boolean::class$.  Throw exception if object is
7801         not Boolean or Integer.
7803 2002-01-17  Tom Tromey  <tromey@redhat.com>
7805         * java/awt/MenuComponent.java: Merged with Classpath.
7806         * java/awt/MenuItem.java: Merged with Classpath.
7807         * java/awt/Button.java: Merged with Classpath.
7809         * java/awt/ActiveEvent.java: Updated copyright.
7811         * java/awt/AWTError.java: Replaced with Classpath version.
7812         * java/awt/AWTException.java: Replaced with Classpath version.
7813         * java/awt/IllegalComponentStateException.java: Replaced with
7814         Classpath version.
7816 2002-01-16  Tom Tromey  <tromey@redhat.com>
7818         * java/awt/Canvas.java (serialVersionUID): New constant.
7819         Updated copyright.  Added javadoc from Classpath.
7820         * java/awt/ItemSelectable.java: Replaced with Classpath version.
7822         * java/awt/CheckboxGroup.java: Merged with Classpath.
7823         * java/awt/Checkbox.java: Merged with Classpath.
7825         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
7826         Classpath.
7827         * java/awt/Point.java: Updated copyright.
7829         * java/awt/Point.java (toString): Use getClass().getName().
7830         Added javadoc.
7832         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
7833         commented code.
7834         (hash): Correctly compute initial value for `h'.
7836         * java/awt/Label.java: Merged with Classpath.
7838 2002-01-15  Tom Tromey  <tromey@redhat.com>
7840         * java/awt/AWTPermission.java: Updated copyright.
7842         * java/awt/LayoutManager2.java: Merged with Classpath.
7843         * java/awt/LayoutManager.java: Merged with Classpath.
7844         * java/awt/GridLayout.java: Updated copyright and javadoc.
7845         (getSize): Use `parent.ncomponents'.  Handle insets.
7846         (layoutContainer): Use `parent.ncomponents'.  Handle case where
7847         there are fewer children than columns.  Correctly compute size of
7848         each cell in the grid.  Handle case where there isn't enough
7849         space.
7850         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
7851         all users.
7852         (gotoComponent): Use parent.ncomponents.  Ensure child exists
7853         before calling setVisible() on it.  Last item is `num - 1', not
7854         `num'.
7855         (layoutContainer): Hoist invariants out of loop.
7857         Start of AWT merge with Classpath:
7858         * Makefile.in: Rebuilt.
7859         * Makefile.am (awt_java_source_files): Reference files in
7860         gnu/java/awt, not gnu/gcj/awt.
7861         * java/awt/image/BufferedImage.java: Updated copyright.
7862         * java/awt/image/ComponentColorModel.java: Updated copyright.
7863         * java/awt/image/ComponentSampleModel.java: Updated copyright.
7864         * java/awt/image/DataBuffer.java: Updated copyright.
7865         * java/awt/image/DataBufferByte.java: Updated copyright.
7866         * java/awt/image/DataBufferInt.java: Updated copyright.
7867         * java/awt/image/DataBufferUShort.java: Updated copyright.
7868         * java/awt/image/IndexColorModel.java: Updated copyright.
7869         * java/awt/image/PackedColorModel.java: Updated copyright.
7870         * java/awt/image/Raster.java: Updated copyright.
7871         * java/awt/image/RasterOp.java: Updated copyright.
7872         * java/awt/image/SampleModel.java: Updated copyright.
7873         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
7874         * java/awt/image/WritableRaster.java: Updated copyright.
7875         * java/awt/color/ColorSpace.java: Updated copyright.
7876         * java/awt/color/ICC_ColorSpace.java: Updated copyright
7877         * java/awt/color/ICC_Profile.java: Updated copyright.
7878         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
7879         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
7880         * java/awt/event/HierarchyEvent.java: Updated copyright.
7881         * java/awt/event/HierarchyListener.java: Updated copyright.
7882         * java/awt/geom/AffineTransform.java: Updated copyright.
7883         * java/awt/geom/Dimension2D.java: Updated copyright.
7884         * java/awt/geom/Ellipse2D.java: Updated copyright.
7885         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
7886         * java/awt/geom/Line2D.java: Updated copyright.
7887         * java/awt/geom/NoninvertibleTransformException.java: Updated
7888         copyright.
7889         * java/awt/geom/PathIterator.java: Updated copyright.
7890         * java/awt/geom/Point2D.java: Updated copyright.
7891         * java/awt/geom/Rectangle2D.java: Updated copyright.
7892         * java/awt/geom/RectangularShape.java: Updated copyright.
7893         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
7894         * java/awt/Toolkit.java: Updated import for file moves.
7895         * java/awt/Rectangle.java: Updated copyright; added javadoc from
7896         Classpath.
7897         (hashCode): New method from Classpath.
7898         * java/awt/Graphics2D.java: Updated copyright.
7899         * java/awt/Transparency.java: Updated copyright.
7900         * java/awt/Paint.java: Updated copyright.
7901         * java/awt/Graphics.java: New version from Classpath.
7902         * java/awt/EventDispatchThread.java: Updated copyright.
7903         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
7904         children.
7905         (gotoComponent): Wrap around on next/previous.
7906         * gnu/gcj/awt/BitMaskExtent.java: Removed.
7907         * gnu/gcj/awt/Buffers.java: Removed.
7908         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
7909         * gnu/gcj/awt/GLightweightPeer.java: Removed.
7910         * gnu/java/awt/BitMaskExtent.java: Added.
7911         * gnu/java/awt/Buffers.java: Added.
7912         * gnu/java/awt/ComponentDataBlitOp.java: Added.
7913         * gnu/java/awt/GLightweightPeer.java: Added.
7914         * java/awt/geom/Line2D.java (clone): Ignore
7915         CloneNotSupportedException.
7916         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
7917         * java/awt/Frame.java: Merged with Classpath.
7918         * java/awt/RenderingHints.java: Copyright update.
7919         * java/awt/Paint.java: Copyright update.
7920         * java/awt/image/DirectColorModel.java: Merged with Classpath.
7921         * java/awt/image/ColorModel.java: Merged with Classpath.
7922         * java/awt/Window.java (show): New Implementation from Classpath.
7923         (isShowing): Use super.isShowing().
7924         * java/awt/EventQueue.java: Merged with Classpath.
7925         * java/awt/AWTEventMulticaster.java (save): Throw
7926         RuntimeException.
7927         (saveInternal): Likewise.
7928         * java/awt/AWTEvent.java: Now implements Serializable.
7929         * java/awt/Event.java: Copyright update.
7930         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
7931         * java/awt/image/BufferedImage.java: Copyright update.
7932         * java/awt/GraphicsConfiguration.java: Copyright update.
7933         * java/awt/Component.java: (addNotify): Don't call
7934         addNotifyContainerChildren().
7935         (addNotifyContainerChildren): Removed.
7936         (setPeer): New method from Classpath.
7937         (setTreeLock): Likewise.
7938         (setVisible): Rewrote.
7939         (show): Use it.
7940         (hide): Likewise.
7941         (validate): Set `valid'.
7942         (checkImage(Image,ImageObserver)): Implementation from Classpath.
7943         (createImage(ImageProducer)): Likewise.
7944         (prepareImage): Likewise.
7945         * java/awt/Container.java (addImpl): Handle case where constraint
7946         is not a String.  Post event via system event queue.
7947         (remove): Post event via system event queue.
7948         (validateTree): Only validate child if it is invalid.
7949         (getAlignmentX): Call super method as default.
7950         (getAlignmentY): Likewise.
7951         (addContainerListener): Now synchronized.
7952         (removeContainerListener): Likewise.
7953         (addNotifyContainerChildren): Now private.
7954         * java/awt/ComponentOrientation.java: Updated copyright.  Added
7955         @author.
7956         * java/awt/FlowLayout.java (serialVersionUID): New field.
7957         (setAlignment): Better exception message.
7958         (layoutContainer): Don't compute component's preferred size unless
7959         we're going to use it.
7960         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
7961         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
7962         (firstLine, lastLine, firstItem, lastItem): New fields.
7963         (addLayoutComponent): Handle case where constraints is null.
7964         Also, handle relative locations.
7965         (removeLayoutComponent): Handle relative locations.
7966         (MIN, MAX, PREF): New constants.
7967         (calcCompSize): New method.
7968         (calcSize): New method.
7969         (minimumLayoutSize): Use it.
7970         (preferredLayoutSize): Likewise.
7971         (maximumLayoutSize): Likewise.
7972         (toString): Include more information.
7973         (setBounds): New method.
7974         (layoutContainer): Use libgcj implementation; extended to handle
7975         relative locations.
7977 2002-01-15  Tom Tromey  <tromey@redhat.com>
7979         * java/lang/Float.java (equals): Preserve old code.
7980         * java/lang/Double.java (equals): Preserve old code.
7982 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
7984         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
7985         * java/lang/Float.java (equals, compare): Ditto.
7987 2002-01-13  Mark Wielaard  <mark@klomp.org>
7989         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
7990         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
7991         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
7992         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
7994 2002-01-11  Mark Wielaard  <mark@klomp.org>
7996         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
7997         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
7998         InetAddress.
7999         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
8000         * java/net/Socket.java: Merge with Classpath.
8001         * java/net/ServerSocket.java: Likewise.
8003 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
8005         * interpret.cc (NULLARRAYCHECK): New macro.
8006         (SAVE_PC): Just store `pc'.
8007         (find_exception): Subtract one from `pc' here.
8008         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
8009         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
8010         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
8011         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
8012         don't call SAVE_PC.
8013         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
8014         call SAVE_PC.
8016 2002-01-11  Tom Tromey  <tromey@redhat.com>
8018         * java/lang/natSystem.cc (init_properties): Only look for default
8019         locale if LC_MESSAGES is defined.
8020         * aclocal.m4, configure, include/config.h.in: Rebuilt.
8021         * configure.in: Call AM_LC_MESSAGES.
8022         * acinclude.m4 (AM_LC_MESSAGES): New macro.
8024 2002-01-10  Tom Tromey  <tromey@redhat.com>
8026         For PR libgcj/5303:
8027         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
8028         --version.  Recognize GNU-style long options.  Print GNU-style
8029         error messages.
8030         (usage): Print GNU-style help.  Exit with status 0.
8031         (error): New method.
8032         (run): Print error message if no class names found.
8033         (main): Don't print usage on error.
8035 2002-01-09  Tom Tromey  <tromey@redhat.com>
8037         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
8038         property.
8039         (help, version): Use println(), not println("").
8041         For PR libgcj/5303:
8042         * gnu/gcj/convert/Convert.java (error): Program is called
8043         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
8044         -1.
8045         (main): Handle --help and --version.
8046         (help): New method.
8047         (version): Likewise.
8049 2002-01-08  Tom Tromey  <tromey@redhat.com>
8051         * Makefile.in: Rebuilt.
8052         * Makefile.am (ordinary_java_source_files): Added new files.
8053         * gnu/java/locale/LocaleInformation.java: Extend
8054         LocaleInformation_en.
8055         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
8056         and time/date formats.
8057         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
8058         generated.
8059         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
8060         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
8061         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
8062         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
8063         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
8064         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
8065         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
8066         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
8067         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
8068         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
8069         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
8070         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
8071         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
8072         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
8073         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
8074         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
8075         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
8076         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
8077         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
8078         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
8079         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
8080         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
8081         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
8082         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
8083         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
8084         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
8085         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
8086         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
8087         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
8088         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
8089         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
8090         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
8091         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
8092         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
8093         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
8094         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
8095         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
8096         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
8097         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
8098         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
8099         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
8100         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
8101         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
8102         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
8103         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
8104         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
8105         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
8106         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
8107         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
8108         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
8109         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
8110         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
8111         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
8112         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
8113         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
8114         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
8115         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
8116         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
8117         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
8118         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
8119         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
8120         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
8121         * gnu/java/locale/LocaleInformation_es_US.java: New file.
8122         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
8123         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
8124         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
8125         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
8126         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
8127         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
8128         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
8129         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
8130         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
8131         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
8132         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
8133         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
8134         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
8135         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
8136         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
8137         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
8138         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
8139         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
8140         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
8141         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
8142         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
8143         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
8144         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
8145         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
8146         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
8147         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
8148         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
8149         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
8150         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
8151         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
8152         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
8153         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
8154         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
8155         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
8156         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
8157         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
8158         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
8159         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
8160         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
8161         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
8162         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
8163         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
8164         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
8165         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
8166         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
8167         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
8168         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
8169         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
8170         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
8171         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
8172         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
8173         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
8174         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
8175         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
8176         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
8177         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
8178         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
8179         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
8180         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
8181         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
8182         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
8183         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
8184         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
8185         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
8186         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
8187         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
8188         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
8190         For PR libgcj/5031:
8191         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
8192         choose default locale.
8194         * Makefile.in: Rebuilt.
8195         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
8197 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
8199         * java/net/natPlainSocketImpl.cc: Added timeout handling for
8200         sockets.
8201         (close): New function closes the socket.
8202         (write): New functions for output to socket.
8203         (read): New functions for reading from socket.
8204         * java/net/PlainSocketImpl.java: Glue for new timeout
8205         implementation.
8206         (write): Call the native impl.
8207         (read): Likewise.
8208         (getInputStream): Get a stream to read from the socket.
8209         (getOutputStream): Get a stream to write to the socket.
8211 2002-01-08  Tom Tromey  <tromey@redhat.com>
8213         * resolve.cc (_Jv_PrepareClass): Enable verifier.
8215 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
8217         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
8218         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
8220 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
8222         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
8223         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
8224         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
8225         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
8226         insn_bastore, insn_castore, insn_sastore]: Use it.
8227         (continue1) [insn_arraylength]: Check for null array.
8229 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
8231         * configure, include/config.h.in: Rebuilt.
8232         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
8233         * configure.in: Call AC_STRUCT_TIMEZONE.
8235 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
8237         * configure.host: Disable the interpreter for Darwin.
8239 2002-01-04  Tom Tromey  <tromey@redhat.com>
8241         * java/lang/Thread.java (stop): No longer synchronized.
8242         (start): Likewise.
8244 2002-01-02  Tom Tromey  <tromey@redhat.com>
8246         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
8247         patch.
8249 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
8251         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
8252         PPC Darwin, not for all of Darwin.