2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
[official-gcc.git] / libjava / ChangeLog
blob493794200f71e14f34e4dcbefdf0753df0be34f8
1 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
3         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4         tests; see patch #1016 on Savannah.
6 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
8         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9         (toString): do not return Strings starting with . and - erroneously.
10         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11         DiagBigDecimal.
13 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
15         * java/beans/PropertyDescriptor.java
16         (PropertyDescriptor(String, Class)): Sanity check getter and setter
17         methods.
18         (PropertyDescriptor(String, Class, String, String)): Likewise.
19         (PropertyDescriptor(String, Method, Method): Factor out getter and
20         setter method sanity checks into new method.
21         (findMethods): Don't do parameter sanity checking of get method here.
22         (checkMethods): New method.
24 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
26         * java/beans/PropertyDescriptor.java: Reformat.
28 2003-02-04  Tom Tromey  <tromey@redhat.com>
30         * java/io/PipedOutputStream.java (flush): Declare as throwing
31         IOException.
32         (close): Likewise.
33         * java/io/PipedWriter.java (close): Declare as throwing
34         IOException.
35         * java/io/StringWriter.java (close): Declare as throwing
36         IOException.
38 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
40         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
41         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
42         could also have been exported as "JNI_OnLoad@8" (MinGW) or
43         "_JNI_OnLoad@8" (MSVC).
45 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
47         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
48         convention on Win32 to invoke native JNI methods.
50 2003-02-03  Andrew Haley  <aph@redhat.com>
52         * configure.host (x86_64): Enable interpreter.
54 2003-02-03  Andrew Haley  <aph@redhat.com>
56         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
57         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
58         * configure.in (BACKTRACESPEC): New.
59         * configure: Regenerate.
61 2003-02-02  Tom Tromey  <tromey@redhat.com>
63         * configure: Rebuilt.
64         * configure.in (TOOLKIT) [xlib]: Set correctly.
66         * Makefile.in: Rebuilt.
67         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
68         libstdc++.
70 2003-01-31  Mark WIelaard  <mark@klomp.org>
72         * Makefile.in: Rebuilt.
73         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
75 2003-01-31  Tom Tromey  <tromey@redhat.com>
77         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
78         cast to element type.
79         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
80         (_Jv_JNI_GetObjectArrayElement): Likewise.
82         * Makefile.in: Rebuilt.
83         * Makefile.am (cond_x_ltlibrary): Renamed library to
84         lib-gnu-awt-xlib.la.
85         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
86         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
87         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
88         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
89         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
90         (lib_gnu_awt_xlib_la_LINK): Likewise.
91         (install-exec-hook): Removed.
92         (lib-gnu-awt-xlib.la): Renamed.
94 2003-01-31  Tom Tromey  <tromey@redhat.com>
96         * aclocal.m4, configure, include/config.h.in: Rebuilt.
97         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
98         aclocal.m4 and lost in some merge.
100         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
101         Don't try to find graphics configuration.
102         * java/awt/Toolkit.java (default_toolkit_name): Use new
103         Configuration entry.
104         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
105         New global.
106         * configure: Rebuilt.
107         * configure.in (TOOLKIT): New subst.
108         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
109         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
110         directory.  Make output directories for .c files.
111         * Makefile.in: Rebuilt.
112         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
113         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
114         (all_java_source_files): Added new sources.
115         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
116         (gtk_c_files): New macro.
117         (gtk_c_source_files): New macro.
118         (cond_gtk_ltlibrary): New macro.
119         ($(gtk_c_files)): New target.
120         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
121         (gtk_awt_peer_sources): New macro.
122         (gtk_c_headers): New macro.
123         ($(gtk_c_headers)): New target.
124         (ACLOCAL_AMFLAGS): New macro.
125         * gtk.m4, glib.m4, libart.m4: New files.
126         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
127         gnu/java/awt/peer/gtk/GdkGraphics.java,
128         gnu/java/awt/peer/gtk/GtkArg.java,
129         gnu/java/awt/peer/gtk/GtkArgList.java,
130         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
131         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
132         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
133         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
134         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
135         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
136         gnu/java/awt/peer/gtk/GtkClipboard.java,
137         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
138         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
139         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
140         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
141         gnu/java/awt/peer/gtk/GtkFontPeer.java,
142         gnu/java/awt/peer/gtk/GtkFramePeer.java,
143         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
144         gnu/java/awt/peer/gtk/GtkImage.java,
145         gnu/java/awt/peer/gtk/GtkImagePainter.java,
146         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
147         gnu/java/awt/peer/gtk/GtkListPeer.java,
148         gnu/java/awt/peer/gtk/GtkMainThread.java,
149         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
150         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
151         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
152         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
153         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
154         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
155         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
156         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
157         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
158         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
159         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
160         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
161         gnu/java/awt/peer/gtk/GtkToolkit.java,
162         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
163         gnu/java/awt/peer/gtk/TestAWT.java,
164         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
166         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
167         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
168         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
169         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
170         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
171         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
172         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
173         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
174         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
175         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
176         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
177         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
178         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
179         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
180         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
181         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
182         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
183         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
184         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
185         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
186         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
187         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
188         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
189         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
190         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
191         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
192         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
193         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
194         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
195         jni/classpath/native_state.c, jni/classpath/native_state.h,
196         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
198 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
200         * java/util/Properties.java (load): Ignore backslash before EOF.
202 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
204         * java/lang/natClass.cc (initializeClass): Check tables when
205         (state == JV_STATE_IN_PROGRESS).
206         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
207         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
208         interpreted classes.
209         (linkClass0): Use _Jv_WaitForState.
211 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
213         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
214         object when finished.
216 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
218         * libjava/configure.host: Disable can_unwind_signal on darwin.
220 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
222         Fixes PR java/9254:
223         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
224         additionally containing id of the owner thread as well as
225         the number of nested times the thread has acquired the mutex.
226         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
227         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
228         (_Jv_MutexUnlock): Check if really the owner thread, reset
229         owner thread id to 0 before leaving, if leaving for the last
230         time.
231         (_Jv_MutexLock): Set owner thread id in the mutex and increment
232         refcount.
233         (_Jv_ThreadYield): Yield using a call to Sleep(0).
234         * win32-threads.cc (_Jv_CondWait): Check if really owner of
235         the passed mutex.
236         Pass handle of the broadcast event, instead of a pointer to it
237         in Win32 ResetEvent( ) call.
238         Remove incorrect return values.
239         (_Jv_CondDestroy): Close both event handles and delete
240         critical section.
241         (_Jv_CondNotify): Check if really the owner thread.
242         (_Jv_CondNotifyAll): Check if really the owner thread.
243         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
244         (really_start): Use SetEvent( ) to signal daemon_cond.
245         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
246         WaitForSingleObject( ) instead to wait for daemon_cond to be
247         signalled.
249 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
251         * configure.in: Specifically define HAVE_BACKTRACE if building
252         for MinGW.
253         * include/win32.h: Remove HAVE_BACKTRACE definition.
254         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
255         * configure: Rebuilt.
257 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
259         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
260         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
261         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
262         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
263         * Makefile.in, configure: Rebuilt.
265 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
267         Fixes PR java/9253:
268         * java/io/natFileWin32.cc (performList): Append only "*.*"
269         if the canonical file path already has a "\" at the end.
271 2003-01-24  Tom Tromey  <tromey@redhat.com>
273         * defineclass.cc (handleMethodsEnd): Precompute code for static
274         method.
275         (handleCodeAttribute): Likewise.
276         * resolve.cc (ncode): Use run_class for unsynchronized static
277         methods.
278         * include/java-interp.h (class _Jv_InterpMethod): Declare
279         run_class.
280         * interpret.cc (run_synch_class): Initialize class.
281         (run) [insn_invokestatic]: Don't initialize class.
282         [insn_anewarray]: Likewise.
283         [insn_multianewarray]: Likewise.
284         (run_class): New function.
286 2003-01-24  Tom Tromey  <tromey@redhat.com>
288         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
289         comment.
291 2003-01-22  Andrew Haley  <aph@redhat.com>
293         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
294         * configure.host (CHECKREFSPEC): Define for x86_64.
296 2003-01-21  Tom Tromey  <tromey@redhat.com>
298         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
299         search at 2, not 3.
301 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
303         * java/io/natFileWin32.cc (isAbsolute): Check path length before
304         looking at any characters.
305         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
306         be used.
307         (isAbsolute): Check path's length as well.
309 2003-01-17  Mark Wielaard  <mark@klomp.org>
311         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
312         (nat_source_files): Add natVMObjectStreamClass.cc.
313         * Makefile.in: Regenerated.
314         * gcj/javaprims.h (namespace java): Regenerated.
315         * java/io/ObjectStreamClass.java (getClassUID): Call
316         VMObjectStreamClass.hasClassInitializer().
317         (hasClassInitializer): Removed.
318         * java/io/VMObjectStreamClass.java: New class.
319         * java/io/natVMObjectStreamClass.cc: New file.
320         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
322 2003-01-16  Mark Wielaard  <mark@klomp.org>
324         * java/net/SocketImpl.java (toString): Don't explicitly call
325         toString() on possible null address.
327 2003-01-16  Michael Koch  <konqueror@gmx.de>
329         * java/net/MulticastSocket.java
330         (setInterface): Reindented.
332 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
334         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
335         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
336         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
337         translateY arguments.  Implement.
338         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
339         down translation arguments.
340         (drawPolyline, drawPolygon): Fix incorrect tests.
341         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
342         translateX and translateY arguments.
344 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
346         * Makefile.in: Rebuilt.
347         * Makefile.am (xlib_includes): New macro.
348         (INCLUDES): Use it.
350 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
352         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
353         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
354         16-bit display mode.
356 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
358         * java/awt/CardLayout.java (show): Rewrote.
359         (gotoComponent): Removed `target' argument.  Simplified code.
360         Don't pre-compute `choice' unless `what' is FIRST or LAST.
361         Changed all callers.
362         (NONE): Removed.
363         
364 2003-01-14  Michael Koch  <konqueror@gmx.de>
366         * java/net/InetSocketAddress.java
367         (serialVersionUID): New member variable.
368         * java/net/NetPermission.java
369         (NetPermission): Dont implement java.io.Serialization directly.
370         * java/net/SocketAddress.java:
371         (serialVersionUID): Documentation added.
372         
373 2003-01-14  Michael Koch  <konqueror@gmx.de>
375         * java/awt/Label.java
376         (Label): Implements javax.accessibility.Accessible;
377         * java/awt/List.java
378         (List): Implements javax.accessibility.Accessible;
379         * java/awt/ScrollPane.java
380         (ScrollPane): Implements javax.accessibility.Accessible;
381         * java/awt/Scrollbar.java
382         (Scrollbar): Implements javax.accessibility.Accessible;
383         * java/awt/TextComponent.java
384         (setCaretPosition): Throw exception, documentation added.
385         * java/awt/Toolkit.java:
386         Added some newlines in method documentations.
387         (createButton): Exception documentation added.
388         (createTextField): Exception documentation added.
389         (createLabel): Exception documentation added.
390         (createList): Exception documentation added.
391         (createCheckbox): Exception documentation added.
392         (createScrollbar): Exception documentation added.
393         (createScrollPane): Exception documentation added.
394         (createTextArea): Exception documentation added.
395         (createChoice): Exception documentation added.
396         (createFrame): Exception documentation added.
397         (createWindow): Exception documentation added.
398         (createDialog): Exception documentation added.
399         (createMenuBar): Exception documentation added.
400         (createMenu): Exception documentation added.
401         (createMenuItem): Exception documentation added.
402         (createFileDialog): Exception documentation added.
403         (createCheckboxMenuItem): Exception documentation added.
404         (loadSystemColors): Exception documentation added.
405         (setDynamicLayout): Exception documentation added.
406         (isDynamicLayoutSet): Exception documentation added.
407         (isDynamicLayoutActive): Exception documentation added.
408         (getScreenSize): Exception documentation added.
409         (getScreenResolution): Exception documentation added.
410         (getScreenInsets): Exception documentation added.
411         (getColorModel): Exception documentation added.
412         (getSystemClipboard): Exception documentation added.
413         (getSystemSelection): Exception documentation added.
414         (getMenuShortcutKeyMask): Exception documentation added.
415         (getSystemEventQueue): Exception documentation added.
416         * java/awt/Window.java:
417         Reindented some code.
418         (Window): Centralized implementation, documentation added.
419         (finalize): Documentation added.
420         (hide): Fixed typo in comment.
421         (getWindowListeners): Documentation added.
422         * java/awt/color/ColorSpace.java
423         (toRGB): Documentation added.
424         * java/awt/color/ICC_ColorSpace.java
425         (ICC_ColorSpace): Documentation added.
426         (toRGB): Throw exception, documentation added.
427         (fromRGB): Throw exception, documentation added.
428         (toCIEXYZ): Documentation added.
429         (fromCIEXYZ): Documentation added.
430         (getMinValue): Documentation added.
431         (getMaxValue): Documentation added.
432         * java/awt/geom/Dimension2D.java
433         (clone): Documentation added.
434         * java/awt/geom/GeneralPath.java
435         (clone): Documentation added.
436         * java/awt/geom/Line2D.java
437         (clone): Documentation added.
438         * java/awt/geom/QuadCurve2D.java
439         (clone): Documentation added.
440         * java/awt/image/ColorModel.java
441         (ColorModel): Throw exception, documentation added.
442         * java/awt/image/ImageFilter.java
443         (clone): Doesnt throw CloneNotSupportedException.
445 2003-01-14  Andrew Haley  <aph@redhat.com>
447         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
448         in a try block.
450 2003-01-10  Andrew Haley  <aph@redhat.com>
452         * include/dwarf2-signal.h: Remove x86_64.
453         * configure.host (x86_64 DIVIDESPEC): Remove.
454         * include/x86_64-signal.h: New file.
455         * configure.in: Regenerate.
457 2003-01-10  Michael Koch  <konqueror@gmx.de>
459         * java/net/DatagramSocket.java
460         (ch): Description added.
461         (remotePort): Initialize with -1.
462         (connect): Doesnt throws SocketException.
463         * java/net/MulticastSocket.java
464         (setInterface): Merge with Classpath.
465         * java/net/ServerSocket.java
466         (closed): New member variable.
467         (bind): Check if socket is closed.
468         (close): Close an associated channel too, set new value to closed.
469         (isBound): Reindented.
470         (isClosed): Implemented.
471         * java/net/Socket.java
472         (closed): New member variable.
473         (bind): Check if socket is closed.
474         (connect): Check if socket is closed.
475         (close): Close an associated channel too, set new value to closed.
476         (isClosed): Implemented.
478 2003-01-10  Michael Koch  <konqueror@gmx.de>
480         * java/awt/DisplayMode.java
481         (equals): Fixed argument type and implementation.
483 2003-01-07  Tom Tromey  <tromey@redhat.com>
485         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
486         JV_HASH_SYNCHRONIZATION.
487         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
488         JV_HASH_SYNCHRONIZATION.
490 2003-01-07  Michael Koch  <konqueror@gmx.de>
492         * java/net/DatagramSocket.java:
493         Added classpath license info.
494         (DatagramSocket): Merged description with classpath.
495         (close): Merged description with classpath.
496         (getChannel): Merged description with classpath.
497         (getInetAddress): Merged description with classpath.
498         (getPort): Merged description with classpath.
499         (getLocalAddress): Merged description with classpath.
500         (getLocalPort): Merged description with classpath.
501         (getSoTimeout): Merged description with classpath.
502         (setSoTimeout): Merged description with classpath.
503         (getSendBufferSize): Merged description with classpath.
504         (setSendBufferSize): Merged description with classpath.
505         (getReceiveBufferSize): Merged description with classpath.
506         (setReceiveBufferSize): Merged description with classpath.
507         
508 2003-01-04  Tom Tromey  <tromey@redhat.com>
510         * java/awt/List.java: Merged with Classpath.
512 2003-01-03  Mark Wielaard  <mark@klomp.org>
514         * java/io/FileDescriptor.java (position): New private field.
515         * java/io/natFileDescriptorPosix.cc (write): Up position.
516         (setLength): Use and set position.
517         (seek): Set position.
518         (getFilePointer): Return position.
519         (read): Up position.
521 2003-01-03  Mark Wielaard  <mark@klomp.org>
523         Merge with Classpath:
524         * java/io/ObjectStreamClass.java (lookup): Split method and call
525         lookupForClassObject().
526         (lookupForClassObject): New method.
527         (isProxyClass): New field.
528         (setClass): Set isProxyClass, add object to classLookupTable, set
529         superClass and calculateOffsets.
530         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
531         and not a proxy class.
532         (setFields): Set accessible true for serialPersistentFields.
533         (getClassUID): Same for suid. And check if suid is of type long.
534         (hasClassInitializer): Don't throw NoSuchMethodError.
536 2003-01-03  Mark Wielaard  <mark@klomp.org>
538         * java/io/FileInputStream.java (finalize): Don't explicitly
539         finalize FileDescriptor.
541 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
543         * configure.host (sparc*-*): Enable bytecode interpreter.
545 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
547         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
548         Don't throw RemoteException.
549         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
550         throw RemoteException.
552 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
554         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
555         proxyHost): New static fields.
556         (<clinit>): Initialize new fields.
557         (connect): Use proxy if necessary.
558         (usingProxy): Implement.
560 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
562         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
563         (TreeIterator.remove): Prefer IllegalStateException over
564         ConcurrentModificationException, to match Sun.
566 2002-12-22  Anthony Green  <green@redhat.com>
568         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
570 2003-01-02  Mark Wielaard  <mark@klomp.org>
572         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
573         public.
574         (HTTP_USE_PROXY): Add field.
575         (getResponseVals): Only set responseCode when not yet explicitly
576         set by subclass.
578 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
579             Mark Wielaard  <mark@klomp.org>
581         * java/util/zip/ZipFile.java (entries): Now HashMap.
582         (readLeShort(DataInput, byte[])): Read from given byte array.
583         (readLeInt(DataInput, byte[]): Likewise.
584         (readLeShort(byte[] b, int off)): New method.
585         (readLeInt(byte[] b, int off)): Likewise.
586         (readEntries): Use byte arrays to read info in bigger chunks.
587         (getEntries): Return HashMap.
588         (getEntry): Use HashMap.
589         (locBuf): New private field.
590         (checkLocalHeader): Use locBuf to read info in one chunk.
591         (getInputStream): Use entries HashMap, wrap PartialInputStream
592         in BufferedInputStream.
593         (ZipEntryEnumeration): Use HashMap and Interator.
595 2003-01-02  Mark Wielaard  <mark@klomp.org>
596             Jeroen Frijters  <jeroen@sumatra.nl>
598         * java/net/URLClassLoader.java (Resource.getCodeSource):
599         Fix check certs == null.
600         (getCanonicalFileURL): Removed method.
601         (JarURLLoader): Don't call removed method.
602         (FileURLLoader): Likewise.
603         (FileURLLoader.getResource): Don't canonicalize file name.
605 2003-01-01  Tom Tromey  <tromey@redhat.com>
607         * Makefile.in: Rebuilt.
608         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
609         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
610         java/awt/BufferCapabilities.java, java/awt/Button.java,
611         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
612         java/awt/Container.java, java/awt/Cursor.java,
613         java/awt/EventQueue.java, java/awt/FileDialog.java,
614         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
615         java/awt/MenuBar.java, java/awt/MenuComponent.java,
616         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
617         java/awt/Scrollbar.java, java/awt/TextArea.java,
618         java/awt/TextField.java, java/awt/color/CMMException.java,
619         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
620         java/awt/color/ProfileDataException.java,
621         java/awt/datatransfer/Clipboard.java,
622         java/awt/datatransfer/DataFlavor.java,
623         java/awt/datatransfer/FlavorMap.java,
624         java/awt/datatransfer/SystemFlavorMap.java,
625         java/awt/dnd/DragGestureEvent.java,
626         java/awt/dnd/DragGestureRecognizer.java,
627         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
628         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
629         java/awt/im/InputMethodHighlight.java,
630         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
631         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
633         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
634         `op' to BufferedImageOp.
636 2002-12-31  Tom Tromey  <tromey@redhat.com>
638         Fix for PR libgcj/7416:
639         * javax/naming/InitialContext.java (init): Use
640         gnu.classpath.home.url.
641         * java/security/Security.java: Use new properties.
642         (loadProviders): Accept base url; use it.
643         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
644         gnu.classpath.home.url.
645         (gnu.classpath.home.url): Define.
646         (gnu.classpath.vm.shortname): Likewise.
648 2002-12-31  Tom Tromey  <tromey@redhat.com>
649             Ranjit Mathew  <rmathew@hotmail.com>
651         Fix for PR libgcj/8997:
652         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
653         Include platform.h.
654         * include/posix.h (_Jv_platform_usleep): New function.
655         * include/win32.h (_Jv_platform_usleep): New function.
657 2002-12-29  Tom Tromey  <tromey@redhat.com>
659         * gcj/javaprims.h: Updated.
660         * scripts/classes.pl (scan): Removed stray semicolon.
662 2002-12-30  Mark Wielaard  <mark@klomp.org>
664         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
665         if zero or smaller.
667 2002-12-30  Mark Wielaard  <mark@klomp.org>
669         * java/util/Properties (formatForOutput): Don't fall through to
670         default case after escaping character.
672 2002-12-30  Mark Wielaard  <mark@klomp.org>
674         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
675         against count.
677 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
679         * boehm.cc: Remove stray semicolon.
680         * interpret.cc: Likewise.
681         * prims.cc: Likewise.
682         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
683         earlier to ensure default arguments are processed.
684         * gcj/array.h (JArray): Add forward declaration.
685         (elements): Likewise.
686         * gcj/javaprim.h: Remove stray semicolons.
687         * include/bohm-gc.h: Likewise.
688         * include/jni.h: Likewise.
689         * include/jvm.h: Likewise.
690         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
691         
692 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
694         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
695         of catch_type.
696         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
697         idt tables after initializing superclass.
698         * java/lang/natClassLoader.cc (uaddr): New typedef.
699         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
700         if they are constant pool indicies.  Don't link vtable, otable yet.
702 2002-12-21  Anthony Green  <green@redhat.com>
704         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
705         libraries.
706         * Makefile.in: Rebuilt.
708 2002-12-19  Anthony Green  <green@redhat.com>
710         * Makefile.am (ordinary_java_source_files): Add
711         org/xml/sax/helpers/NewInstance.java.
712         * Makefile.in: Rebuilt.
713         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
714         org/xml/sax/helpers/package.html: New files.
715         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
716         http://www.saxproject.org.
718 2002-12-19  Andrew Haley  <aph@redhat.com>
720         * java/util/natResourceBundle.cc: Include
721         ArrayIndexOutOfBoundsException.h.
722         (getCallingClassLoader): Don't put upper bound on stack search.
723         Catch ArrayIndexOutOfBoundsException.
725 2002-12-19  Tom Tromey  <tromey@redhat.com>
727         * libtool-version: Increased `current'.
729 2002-12-19  Tom Tromey  <tromey@redhat.com>
731         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
732         comment.
733         * java/lang/ClassLoader.java (defineClass): Use chained
734         exception when rethrowing.
735         * defineclass.cc (handleClassBegin): Mark class as interpreted.
736         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
737         constants.
738         * resolve.cc (_Jv_PrepareMissingMethods): New function.
739         (_Jv_PrepareClass): Use it.
740         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
741         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
742         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
743         (Class): _Jv_PrepareMissingMethods now friend.
744         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
745         Record `NULL' for system class loader.
746         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
747         system class loader.
748         (_Jv_FindClassInCache): Likewise.
749         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
750         (_Jv_FindClass): Special case system class loader.
751         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
752         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
753         vtable slots.
754         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
755         in a final class.
756         (_getDeclaredMethod): Don't return synthetic methods.
757         (getDeclaredMethods): Likewise.
758         (_getMethod): Likewise.
759         (_getMethods): Likewise.
761 2002-12-18  Raif Naffah  <raif@fl.net.au>
763         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
764         canonical form after divide().
765         (modInverse): Likewise.
767 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
768             Mark Wielaard  <mark@klomp.org>
770         * java/security/SecurityRandom (digest): Removed field.
771         (SecureRandom): Check all providers for case-insensitive SecureRandom
772         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
773         if necessary.
774         (getInstance(String,Provider,boolean): New method.
775         (getInstance(String)): Use new method.
776         (getInstance(String,String)): Likewise.
777         (getInstance(String,Provider)): Likewise.
779 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
781         * java/security/Security.java (loadProviders): Increment i only once.
783 2002-12-12  Mark Wielaard  <mark@klomp.org>
785         * java/lang/ClassLoader.java (resolveClass0): Transform
786         ClassNotFoundException to NoClassDefFoundError. Transform all other
787         throwables to LinkageError.
789 2002-12-11  Tom Tromey  <tromey@redhat.com>
791         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
793         * java/lang/ClassLoader.java (loadedClasses): New field.
794         (defineClass): Fixed indentation.  Put new class in
795         loadedClasses.
796         (findLoadedClass): Implement here.
797         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
799 2002-12-10  Tom Tromey  <tromey@redhat.com>
801         * Makefile.in: Rebuilt.
802         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
803         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
804         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
805         * java/lang/natClassLoader.cc
806         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
808 2002-12-10  Mark Wielaard  <mark@klomp.org>
809             Tom Tromey  <tromey@redhat.com>
811         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
812         (JarURLLoader): Use it.
813         (FileURLLoader): Likewise.
814         (JarURLResource.getURL): Use chained exception.
815         (FileResource.getURL): Likewise.
816         (FileURLLoader.getResource): Use canonical file name.
817         (addURL): Indentation fix.
819 2002-12-10  Tom Tromey  <tromey@redhat.com>
821         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
822         From Laurent Bardet <l.bardet@magic.fr>.
824 2002-12-09  Tom Tromey  <tromey@redhat.com>
826         * include/win32.h (_Jv_platform_solib_prefix): New define.
827         (_Jv_platform_solib_suffix): Likewise.
828         * include/posix.h (_Jv_platform_solib_prefix): New define.
829         (_Jv_platform_solib_suffix): Likewise.
830         * java/lang/natRuntime.cc: Include StackTrace.h.
831         (_load): Use findLibrary and new platform defines.
832         (nativeGetLibname): Use new platform defines.
834         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
835         `t' won't be null.
837 2002-12-08  Mark Wielaard  <mark@klomp.org>
839         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
840         cache remote jar files.
841         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
842         add File.separator to URL when it is a directory.
843         * java/lang/ClassLoader.java: Add Classpath javadoc.
844         (parent): final.
845         (getParent): Add (disabled) security check.
846         (findLibrary): New default method.
847         * java/net/JarURLConnection.java (getManifest): Implement.
848         (getInputStream): Only create InputStream when entry exists.
849         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
850         when they exist.
851         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
853 2002-12-08  Mark Wielaard  <mark@klomp.org>
855         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
856         (lastDefaultLocale): New field.
857         (getBundle): When Locale.getDefault != lastDefaultLocale reset
858         resourceBundleCache.
860 2002-12-06  Mark Wielaard  <mark@klomp.org>
862         * java/net/InetAddress.java (toString): Use hostname when not null,
863         don't do an explicit reverse getHostName() lookup.
864         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
865         NullPointerException.
867 2002-12-06  Tom Tromey  <tromey@redhat.com>
869         * include/java-interp.h (class _Jv_InterpMethod): Added
870         JV_MARKOBJ_DECL.
871         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
872         mark `prepared' field of interpreted method.
873         * interpret.cc (compile): Use _Jv_AllocBytes.
875 2002-12-05  Andrew Haley  <aph@redhat.com>
877         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
878         #ifdef (HAVE_BACKTRACE) around the whole function body.
880 2002-12-05  Tom Tromey  <tromey@redhat.com>
882         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
883         * resolve.cc: Don't include AbstractMethodError.h.
884         (_Jv_abstractMethodError): Removed.
885         * defineclass.cc (handleMethodsBegin): Initialize method index to
886         -1.
887         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
888         method index for "new" final method.
889         (_Jv_SetVTableEntries): Compare index against -1 instead of using
890         isVirtualMethod.  Added `flags' argument.
891         (_Jv_MakeVTable): Throw exception for abstract method in concrete
892         class.
894 2002-12-04  Tom Tromey  <tromey@redhat.com>
896         * java/net/SocketPermission.java (hashCode): Rewrote.
898 2002-12-04  Tom Tromey  <tromey@redhat.com>
900         * Makefile.in: Rebuilt.
901         * Makefile.am (nat_source_files): Added natVMSecurityManager,
902         natResourceBundle.
903         * java/util/ResourceBundle.java (Security): Removed.
904         (getCallingClassLoader): Now native.
905         * java/util/natResourceBundle.cc: New file.
906         * java/lang/natVMSecurityManager.cc: New file.
907         * java/lang/VMSecurityManager.java (getClassContext): Now native.
909 2002-12-03  Mark Wielaard  <mark@klomp.org>
911         * java/util/jar/JarFile.java (manifest): Not final.
912         (manifestRead): New field.
913         (JarFile): Don't read Manifest in constructor.
914         (getManifest): New method.
915         (JarEnumeration.nextElement): Use new method.
916         (getEntry): Likewise.
917         * java/util/zip/ZipFile.java (name): Final.
918         (raf): Likewsie.
919         (entries): Change type to Hashtable.
920         (closed): New field.
921         (ZipFile): Don't read enties in constructor.
922         (readEntries): Use Hashtable.
923         (close): Set new close flag and set entries to null inside
924         synchronized block.
925         (entries): Contruct enumeration using new getEntries() method and
926         entries Hashtable.
927         (getEntryIndex): Removed.
928         (getEntries): New method.
929         (getEntry): Use new getEntries() method and entries Hastable.
930         (getInputStream): Likewise.
931         (size): Return getEntries().size().
932         (ZipEntryEnumeration): Wrap entries Hashtable elements.
933         * java/util/zip/ZipEntry.java (cal): Don't initialize.
934         (time): Removed
935         (dostime): New field.
936         (zipFileIndex): Removed.
937         (ZipEntry(ZipEntry)): Copy dostime.
938         (setDOSTime): Now final and doesn't convert dos time.
939         (getDOSTime): Likewise.
940         (setTime): Convert dos time.
941         (getTime): Likewise.
942         (getCalendar): New method.
943         (setExtra): Use setTime().
944         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
946 2002-12-03  Tom Tromey  <tromey@redhat.com>
948         * java/lang/Character.java (forDigit): Formatting fix.
950 2002-12-03  Raif Naffah  <raif@fl.net.au>
952         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
953         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
954         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
956 2002-12-03  Andrew Haley  <aph@redhat.com>
958         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
959         _Jv_PushClass.
960         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
961         (_Jv_PopClass): New.
962         (_Jv_PushClass): New.
963         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
964         discover the ClassLoader of our caller.
965         (_Jv_CheckArrayStore): Don't check that a class is assignment
966         compatible with Object.
967         * java/lang/natVMTHrowable.cc: Delete.
968         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
969         java.lang.VMThrowable.
970         (StackTrace(), StackTrace(int)): New constructors.
971         (classAt, methodAt, update, methodAtAddress): New methods.
972         (map): New field.
973         * java/lang/VMThrowable.java: Use StackTrace instead of
974         natVMTHrowable.
975         * java/lang/Class.h (getClassLoaderInternal): New.
976         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
977         Be friendly with gnu::gcj::runtime::StackTrace.
978         (Object.chain): New field.
979         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
980         gnu::gcj::runtime::StackTrace.
981         * gnu/gcj/runtime/natStackTrace.cc: New file.
982         * gnu/gcj/runtime/MethodRef.java: New file.
983         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
984         instead of getClassLoader().
985         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
986         java::lang::VMThrowable.
987         * Makefile.am (core_java_source_files): Add MethodRef.java,
988         StackTrace.java.
989         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
990         * Makefile.in: Rebuild.
992 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
994         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
995         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
996         yes also for sh-linux* and sh[34]*-linux*.
997         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
998         set SIGNAL_HANDLER to use DWARF2 exception for them.
999         * configure: Regenerate.
1001 2002-12-02  Tom Tromey  <tromey@redhat.com>
1003         * jni.cc: Added `name' argument.
1004         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
1005         `const char *' argument.
1006         (class _Jv_JNIEnv) [DefineClass]: Likewise.
1008 2002-12-01  Tom Tromey  <tromey@redhat.com>
1010         Bug compatibility, for PR libgcj/8738:
1011         * java/io/CharArrayWriter.java (close): Do nothing.
1012         (flush): Likewise.
1013         (reset): Don't touch `closed'.
1014         (write(int)): Don't throw IOException.
1015         (write(char[],int,int)): Likewise.
1016         (write(String,int,int)): Likewise.
1017         (closed): Removed.
1019 2002-12-01  Mark Wielaard  <mark@klomp.org>
1021         * java/lang/SecurityManager.java: Remerge comments, indenting and
1022         checkXXX methods with Classpath.
1024 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
1026         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
1027         getNormalizedComponents): Fix calculation which was using one too
1028         many bits in the unnormalized format.
1030 2002-11-29  Gary Benson  <gbenson@redhat.com>
1032         For PR libgcj/8759:
1033         * java/beans/Introspector.java (flushCaches): New method.
1034         (flushFromCaches): Likewise.
1036 2002-11-29  Michael Koch <konqueror@gmx.de>
1038         * java/nio/channels/DatagramChannel.java
1039         (open): Added exception documentation.
1040         (write): Added exception documentation.
1041         (connect): Added exception documentation.
1042         (disconnect): Added exception documentation.
1043         (isConnected): Added exception documentation.
1044         (read): Added exception documentation.
1045         (receive): Added exception documentation.
1046         (send): Added exception documentation.
1047         (validOps): Added exception documentation.
1048         * java/nio/channels/SocketChannel.java
1049         (open): Added exception documentation.
1050         (read): Added exception documentation.
1051         (write): Added exception documentation.
1052         (connect): Added exception documentation.
1053         (finishConnect): Added exception documentation.
1055 2002-11-29  Michael Koch <konqueror@gmx.de>
1057         * gnu/java/nio/DatagramChannelImpl:
1058         (fd): New member variable to store file descriptor of socket.
1059         * gnu/java/nio/SelectionKeyImpl.java:
1060         (ops): Removed.
1061         (readyOps): New member variable.
1062         (interestOps): New member variable.
1063         (readyOps): Implemented.
1064         (readyOps): New method to set member variable readyOps.
1065         (interestOps): Replaced ops by interestOps.
1066         * gnu/java/nio/SelectorImpl.java:
1067         (SelectorImpl): Initialize key sets.
1068         (select): Call select with -1 instead of Long.MAX_VALUE).
1069         (java_do_select): Make it a native method.
1070         (getFDsAsArray): New helper method.
1071         (select): Remove canceled keys, give only interested file discriptors
1072         to java_do_select, set ready ops.
1073         (add): No need to initialize keys set here.
1074         (add_selected): No need to initialize selected set here.
1075         (deregisterCanceledKeys): New helper method.
1076         (register): Set interest ops, set attachments, added handling of datagram
1077         channels.
1078         * gnu/java/nio/ServerSocketChannelImpl:
1079         (SocketAccept): Renamed from NioSocketAccept.
1080         (implConfigureBlocking): Implemented.
1081         (accept): Use SocketAccept instead of NioSocketAccept.
1082         * gnu/java/nio/SocketChannelImpl:
1083         Reactivate native methods.
1085 2002-11-29  Michael Koch <konqueror@gmx.de>
1087         * gnu/java/nio/natByteBufferImpl.cc,
1088         gnu/java/nio/natCharBufferImpl.cc,
1089         gnu/java/nio/natDoubleBufferImpl.cc,
1090         gnu/java/nio/natFloatBufferImpl.cc,
1091         gnu/java/nio/natIntBufferImpl.cc,
1092         gnu/java/nio/natLongBufferImpl.cc,
1093         gnu/java/nio/natSelectorImpl.cc,
1094         gnu/java/nio/natServerSocketChannelImpl.cc,
1095         gnu/java/nio/natShortBufferImpl.cc,
1096         gnu/java/nio/natSocketChannelImpl.cc:
1097         New files that implement native functionalities.
1099 2002-11-29  Michael Koch <konqueror@gmx.de>
1101         * gnu/java/nio/ByteBufferImpl.java
1102         (ByteBufferImpl): Moved position() after limit.
1103         (nio_*): Use native implementation.
1104         * gnu/java/nio/CharBufferImpl.java:
1105         Reformated.
1106         (endian): New member variable string endianess of buffer.
1107         (CharBufferImpl): Moved position() after limit.
1108         (nio_*): Use native implementation.
1109         (subSequence): Implemented.
1110         * gnu/java/nio/DoubleBufferImpl.java
1111         (DoubleBufferImpl): Moved position() after limit.
1112         (nio_*): Use native implementation.
1113         * gnu/java/nio/FloatBufferImpl.java
1114         Reformated.
1115         (FloatBufferImpl): Moved position() after limit.
1116         (nio_*): Use native implementation.
1117         * gnu/java/nio/IntBufferImpl.java
1118         Added needed imports, Reformated.
1119         (IntBufferImpl): Moved position() after limit.
1120         (nio_*): Use native implementation.
1121         * gnu/java/nio/LongBufferImpl.java
1122         Reformated.
1123         (LongBufferImpl): Moved position() after limit.
1124         (nio_*): Use native implementation.
1125         * gnu/java/nio/ShortBufferImpl.java
1126         Reformated.
1127         (ShortBufferImpl): Moved position() after limit.
1128         (nio_*): Use native implementation.
1130 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
1132         * java/util/Locale.java (toString): Improve efficiency if country
1133         and variant are both empty.
1135 2002-11-26  Tom Tromey  <tromey@redhat.com>
1137         * verify.cc (pop_init_ref): New method.
1138         (verify_instructions_0) [op_iaload, op_laload, op_faload,
1139         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
1140         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
1141         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
1142         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
1143         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
1144         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
1145         let `this' argument be uninitialized.  Don't let `null' be passed
1146         as `this' to construtor.
1148 2002-11-26  Mark Wielaard  <mark@klomp.org>
1150         * javax/transaction/HeuristicCommitException.java: Classpath merge.
1151         * javax/transaction/HeuristicMixedException.java: Likewise.
1152         * javax/transaction/HeuristicRollbackException.java: Likewise.
1153         * javax/transaction/InvalidTransactionException.java: Likewise.
1154         * javax/transaction/NotSupportedException.java: Likewise.
1155         * javax/transaction/RollbackException.java: Likewise.
1156         * javax/transaction/Status.java: Likewise.
1157         * javax/transaction/Synchronization.java: Likewise.
1158         * javax/transaction/SystemException.java: Likewise.
1159         * javax/transaction/Transaction.java: Likewise.
1160         * javax/transaction/TransactionManager.java: Likewise.
1161         * javax/transaction/TransactionRequiredException.java: Likewise.
1162         * javax/transaction/TransactionRolledbackException.java: Likewise.
1163         * javax/transaction/UserTransaction.java: Likewise.
1164         * javax/transaction/xa/XAException.java: Likewise.
1165         * javax/transaction/xa/XAResource.java: Likewise.
1166         * javax/transaction/xa/Xid.java: Likewise.
1168 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
1170         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
1171         define.
1172         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
1173         * include/posix.h (socklen_t): Define if not already defined.
1175 2002-11-25  Tom Tromey  <tromey@redhat.com>
1177         * verify.cc (type::compatible): Backed out broken change.
1179         * verify.cc (type::compatible): Check initialization status
1180         first.
1181         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
1182         Don't use NULLCHECK.
1184 2002-11-23  H.J. Lu <hjl@gnu.org>
1186         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
1187         Include ../config/accross.m4.
1188         * aclocal.m4; Rebuild.
1189         * configure: Likewise.
1191 2002-11-23  Mark Wielaard  <mark@klomp.org>
1193         * javax/naming/AuthenticationException.java: Update copyright header.
1194         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
1195         * javax/naming/Binding.java: Likewise.
1196         * javax/naming/CannotProceedException.java: Likewise.
1197         * javax/naming/CommunicationException.java: Likewise.
1198         * javax/naming/CompositeName.java: Likewise.
1199         * javax/naming/CompoundName.java: Likewise.
1200         * javax/naming/ConfigurationException.java: Likewise.
1201         * javax/naming/Context.java: Likewise.
1202         * javax/naming/ContextNotEmptyException.java: Likewise.
1203         * javax/naming/InitialContext.java: Likewise.
1204         * javax/naming/InsufficientResourcesException.java: Likewise.
1205         * javax/naming/InterruptedNamingException.java: Likewise.
1206         * javax/naming/LimitExceededException.java: Likewise.
1207         * javax/naming/LinkException.java: Likewise.
1208         * javax/naming/LinkLoopException.java: Likewise.
1209         * javax/naming/LinkRef.java: Likewise.
1210         * javax/naming/MalformedLinkException.java: Likewise.
1211         * javax/naming/NameAlreadyBoundException.java: Likewise.
1212         * javax/naming/NameClassPair.java: Likewise.
1213         * javax/naming/NameNotFoundException.java: Likewise.
1214         * javax/naming/NameParser.java: Likewise.
1215         * javax/naming/NamingEnumeration.java: Likewise.
1216         * javax/naming/NamingSecurityException.java: Likewise.
1217         * javax/naming/NoInitialContextException.java: Likewise.
1218         * javax/naming/NoPermissionException.java: Likewise.
1219         * javax/naming/NotContextException.java: Likewise.
1220         * javax/naming/OperationNotSupportedException.java: Likewise.
1221         * javax/naming/PartialResultException.java: Likewise.
1222         * javax/naming/Reference.java: Likewise.
1223         * javax/naming/Referenceable.java: Likewise.
1224         * javax/naming/ReferralException.java: Likewise.
1225         * javax/naming/ServiceUnavailableException.java: Likewise.
1226         * javax/naming/SizeLimitExceededException.java: Likewise.
1227         * javax/naming/TimeLimitExceededException.java: Likewise.
1228         * javax/naming/directory/Attribute.java: Likewise.
1229         * javax/naming/directory/AttributeInUseException.java: Likewise.
1230         * javax/naming/directory/AttributeModificationException.java: Likewise.
1231         * javax/naming/directory/Attributes.java: Likewise.
1232         * javax/naming/directory/BasicAttribute.java: Likewise.
1233         * javax/naming/directory/BasicAttributes.java: Likewise.
1234         * javax/naming/directory/DirContext.java: Likewise.
1235         * javax/naming/directory/InitialDirContext.java: Likewise.
1236         * javax/naming/directory/InvalidAttributeIdentifierException.java:
1237         Likewise.
1238         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
1239         * javax/naming/directory/InvalidAttributesException.java: Likewise.
1240         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
1241         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
1242         * javax/naming/directory/ModificationItem.java: Likewise.
1243         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
1244         * javax/naming/directory/SchemaViolationException.java: Likewise.
1245         * javax/naming/directory/SearchControls.java: Likewise.
1246         * javax/naming/directory/SearchResult.java: Likewise.
1247         * javax/naming/event/EventContext.java: Likewise.
1248         * javax/naming/event/EventDirContext.java: Likewise.
1249         * javax/naming/event/NamespaceChangeListener.java: Likewise.
1250         * javax/naming/event/NamingEvent.java: Likewise.
1251         * javax/naming/event/NamingExceptionEvent.java: Likewise.
1252         * javax/naming/event/NamingListener.java: Likewise.
1253         * javax/naming/event/ObjectChangeListener.java: Likewise.
1254         * javax/naming/ldap/Control.java: Likewise.
1255         * javax/naming/ldap/ControlFactory.java: Likewise.
1256         * javax/naming/ldap/ExtendedRequest.java: Likewise.
1257         * javax/naming/ldap/ExtendedResponse.java: Likewise.
1258         * javax/naming/ldap/HasControls.java: Likewise.
1259         * javax/naming/ldap/InitialLdapContext.java: Likewise.
1260         * javax/naming/ldap/LdapContext.java: Likewise.
1261         * javax/naming/ldap/LdapReferralException.java: Likewise.
1262         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
1263         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
1264         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
1265         * javax/naming/spi/DirObjectFactory.java: Likewise.
1266         * javax/naming/spi/DirStateFactory.java: Likewise.
1267         * javax/naming/spi/DirectoryManager.java: Likewise.
1268         * javax/naming/spi/InitialContextFactory.java: Likewise.
1269         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
1270         * javax/naming/spi/NamingManager.java: Likewise.
1271         * javax/naming/spi/ObjectFactory.java: Likewise.
1272         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
1273         * javax/naming/spi/ResolveResult.java: Likewise.
1274         * javax/naming/spi/Resolver.java: Likewise.
1275         * javax/naming/spi/StateFactory.java: Likewise.
1277         * javax/naming/spi/NamingManager.java (ofb): Package private.
1279 2002-11-21  Mark Wielaard  <mark@klomp.org>
1281         * java/net/URL.java: Merge with Classpath (partly).
1282         * java/net/URLStreamHandler: Merge with Classpath.
1284 2002-11-22  Michael Koch <konqueror@gmx.de>
1286         * include/posix.h:
1287         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
1288         * include/win32.h:
1289         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
1290         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
1292 2002-11-21  Michael Koch <konqueror@gmx.de>
1294         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
1295         Only the new network functions should be in it.
1297 2002-11-21  Michael Koch <konqueror@gmx.de>
1299         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
1300         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
1302 2002-11-21  Michael Koch <konqueror@gmx.de>
1304         * java/nio/channels/AsynchronousCloseException.java,
1305         java/nio/channels/CancelledKeyException.java,
1306         java/nio/channels/ClosedByInterruptException.java,
1307         java/nio/channels/ConnectionPendingException.java,
1308         java/nio/channels/FileLockInterruptionException.java,
1309         java/nio/channels/IllegalSelectorException.java,
1310         java/nio/channels/NoConnectionPendingException.java,
1311         java/nio/channels/NonReadableChannelException.java,
1312         java/nio/channels/NonWritableChannelException.java,
1313         java/nio/channels/NotYetBoundException.java,
1314         java/nio/channels/NotYetConnectedException.java,
1315         java/nio/channels/OverlappingFileLockException.java,
1316         java/nio/channels/UnresolvedAddressException.java,
1317         java/nio/channels/UnsupportedAddressTypeException.java:
1318         New files.
1319         * Makefile.am (ordinary_java_source_files): Added new files.
1320         * Makefile.in: Regenerated.
1322 2002-11-21  Michael Koch <konqueror@gmx.de>
1324         * include/posix.h
1325         (_Jv_socket): New method.
1326         (_Jv_connect): New method.
1327         (_Jv_close): New method.
1328         (_Jv_platform_close_on_exec): Prefixed system function with "::".
1329         (_Jv_bind): New method.
1330         (_Jv_listen): New method.
1331         (_Jv_write): New method.
1332         (_Jv_read): New method.
1333         * include/win32.h
1334         (_Jv_socket): New method.
1335         (_Jv_connect): New method.
1336         (_Jv_close): New method.
1337         (_Jv_bind): New method.
1338         (_Jv_listen): New method.
1339         (_Jv_write): New method.
1340         (_Jv_read): New method.
1341         * java/net/natNetworkInterface.cc:
1342         Include platform.h, removed inclusion of socket.h
1343         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
1344         ::close() by _Jv_close().
1345         * java/net/natPlainDatagramSocketImpl.cc:
1346         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
1347         added some new lines to make code more readable.
1348         (create): Replaced ::socket() by _Jv_socket().
1349         (close): Replaced NATIVE_CLOSE() by _Jv_close().
1350         * java/net/natPlainSocketImpl.cc:
1351         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
1352         removed include of socket.h, removed some windows defines
1353         (now in include/win32.h).
1354         (create): Replaced ::socket() by _Jv_socket().
1355         (close): Replaced NATIVE_CLOSE() by _Jv_close().
1356         (write): Replaced ::read by _Jv_write().
1357         (read): Replaced ::read by _Jv_read().
1359 2002-11-20  Michael Koch <konqueror@gmx.de>
1361         * Makefile.am (ordinary_java_source_files):
1362         Added java/nio/channels/FileChannel.java.
1363         * Makefile.in: Regenerated.
1365 2002-11-20  Michael Koch <konqueror@gmx.de>
1367         * java/io/FileInputStream.java
1368         (getChannel): New method.
1369         * java/io/FileOutputStream.java
1370         (getChannel): New method.
1371         * java/net/ServerSocket.java
1372         (bind): Removed duplicate code and called another bind method instead.
1373         * java/nio/channels/SelectionKey.java
1374         (isValid): Removed wrong exception documentation.
1375         * java/nio/channels/ServerSocketChannel.java
1376         (accept): Added exception documentation.
1377         (open): Fixed typo, added exception documentation.
1378         * java/nio/channels/spi/AbstractSelectableChannel.java
1379         (implCloseChannel): Added exception documentation.
1380         (add): Reformated.
1381         (register): Added exception documentation.
1383 2002-11-20  Andreas Jaeger  <aj@suse.de>
1385         * configure: Regenerated with new libtool.m4.
1387 2002-11-19  Tom Tromey  <tromey@redhat.com>
1389         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
1390         `referent'.
1391         (finalize_referred_to_object): Don't modify `referent' or `copy'
1392         fields.
1393         (add_to_hash): Correctly set `n->next' when updating list.
1394         * java/lang/ref/Reference.java (enqueue): Return false if already
1395         enqueued.
1397 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
1399         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
1400         to function and function pointer declarations in accordance with
1401         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
1402         based on whether __GCJ_JNI_IMPL__ has been defined or not.
1403         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
1404         JNI function definitions.
1406 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
1408         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
1409         that was causing CoderResults to be cached, not WeakReferences
1410         to CoderResults.
1412 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
1414         * java/security/KeyStore.java (getInstance): Fix
1415         comment and throw IllegalArgumentException if
1416         given provider is null.
1417         (getInstance): New method for jdk1.4 compatibility.
1419 2002-11-18  Michael Koch <konqueror@gmx.de>
1421         * java/net/PlainSocketImpl.java: Fix imports.
1423 2002-11-18  Michael Koch <konqueror@gmx.de>
1425         * java/nio/channels/SelectionKey.java
1426         (isValid): Added exception documentation.
1427         * java/nio/channels/Selector.java
1428         (open): Declare "throws IOException".
1430 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
1432         * java/nio/charset/Charset.java
1433         (<clinit>): New method.
1434         (encode): Synchronize use of cached encoder object.
1435         (decode): Synchronize use of cached encoder object.
1437 2002-11-18  Michael Koch <konqueror@gmx.de>
1439         * gnu/java/nio/ByteBufferImpl.java,
1440         gnu/java/nio/CharBufferImpl.java,
1441         gnu/java/nio/DatagramChannelImpl.java,
1442         gnu/java/nio/DoubleBufferImpl.java,
1443         gnu/java/nio/FileChannelImpl.java,
1444         gnu/java/nio/FloatBufferImpl.java,
1445         gnu/java/nio/IntBufferImpl.java,
1446         gnu/java/nio/LongBufferImpl.java,
1447         gnu/java/nio/PipeImpl.java,
1448         gnu/java/nio/SelectionKeyImpl.java,
1449         gnu/java/nio/SelectorImpl.java,
1450         gnu/java/nio/SelectorProviderImpl.java,
1451         gnu/java/nio/ServerSocketChannelImpl.java,
1452         gnu/java/nio/ShortBufferImpl.java,
1453         gnu/java/nio/SocketChannelImpl.java,
1454         java/nio/DoubleBuffer.java,
1455         java/nio/FloatBuffer.java,
1456         java/nio/IntBuffer.java,
1457         java/nio/LongBuffer.java,
1458         java/nio/ShortBuffer.java,
1459         java/nio/channels/FileChannel.java: New files.
1461 2002-11-18  Michael Koch <konqueror@gmx.de>
1463         * Makefile.am (ordinary_java_source_files):
1464         Added java/nio/ReadOnlyBufferException.java and
1465         java/nio/channels/ClosedSelectorException.java.
1466         * Makefile.in: Regenerated.
1468 2002-11-18  Michael Koch <konqueror@gmx.de>
1470         * java/net/PlainSocketImpl.java: Reworked imports.
1471         * java/net/ServerSocket.java
1472         (ServerSocket): Create socket.
1473         * java/net/SocketAddress.java: Documentation added.
1474         * java/net/natPlainSocketImpl.cc: Reindented.
1475         * java/nio/ReadOnlyBufferException.java: New file
1476         * java/nio/channels/ClosedChannelException.java: Documentation added.
1477         * java/nio/channels/ClosedSelectorException.java: New file.
1479 2002-11-17  Mark Wielaard  <mark@klomp.org>
1481         * java/net/HttpURLConnection.java ((getPermission): Take port
1482         into consideration.
1483         (getErrorStream): Implement.
1485 2002-11-17  Mark Wielaard  <mark@klomp.org>
1487         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
1489 2002-11-16  Mark Wielaard  <mark@klomp.org>
1491         Integrate work by Raif S. Naffah (raif@fl.net.au)
1492         * java/security/DummyKeyPairGenerator.java (clone): New method.
1493         * java/security/DummyMessageDigest.java (clone): New method.
1494         (engineUpdate): Now public.
1495         (engineReset): Likewise.
1496         (engineDigest): Likewise.
1497         (engineGetDigestLength): New method.
1498         * java/security/DummySignature.java (clone): New method.
1499         * java/security/KeyPairGenerator.java (provider): Now package private.
1500         (getInstance(String)): Use getInstance(String,Provider).
1501         (getInstance(String,String): Use getInstance(String,Provider)
1502         (getInstance(String,Provider): New method.
1503         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
1504         * java/security/KeyPairGeneratorSpi.java (clone): New method.
1505         * java/security/MessageDigest.java (provider): Now package private.
1506         (getInstance(String): Use getInstance(String,Provider).
1507         (getInstance(String,String): Use getInstance(String,Provider)
1508         (getInstance(String,Provider): New method.
1509         * java/security/Provider.java (toCanonicalKey): New method.
1510         (get): New method that uses toCanonicalKey().
1511         (put): Use toCanonicalKey().
1512         (remove): Likewise.
1513         * java/security/Security.java (insertProviderAt): Provider index is one
1514         based, not zero based.
1515         (addProvider): Likewise.
1516         (removeProvider): Likewise.
1517         * java/security/Signature.java (provider): Now package private.
1518         (getInstance(String)): Use getInstance(String,Provider).
1519         (getInstance(String,String): Use getInstance(String,Provider)
1520         (getInstance(String,Provider): New method.
1521         (getInstance(String,String,Provider): Don't cast DummySignature.
1523 2002-11-15  Tom Tromey  <tromey@redhat.com>
1525         For PR libgcj/8593:
1526         * java/util/zip/GZIPInputStream.java (read): Check file size.
1527         Look in inflater for remaining input bytes.
1528         (read4): Added buf and offset arguments.
1530 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
1532         * java/applet/AppletContext.java: Fix typo and remove redundant
1533         modifiers.
1535 2002-11-14  Tom Tromey  <tromey@redhat.com>
1537         * java/lang/natRuntime.cc (insertSystemProperties): Set
1538         gnu.classpath.home.
1540 2002-11-13  Michael Koch <konqueror@gmx.de>
1542         * java/nio/ByteBuffer.java
1543         (allocate): New method.
1544         (wrap): New method.
1545         (put): New method.
1546         (get): New method.
1548 2002-11-13  Michael Koch <konqueror@gmx.de>
1550         * java/nio/channels/AlreadyConnectedException.java:
1551         Removed unneeded import.
1552         (AlreadyConnectedException): Documentation added.
1553         * java/nio/channels/Pipe.java
1554         (SinkChannel.SinkChannel): Documentation added.
1555         (SinkChannel.validOps): New method.
1556         (SourceChannel.SourceChannel): Documentation added.
1557         (SourceChannel.validOps): New method.
1558         (Pipe): Documentation added.
1559         (open): Documentation added.
1560         (SinkChannel.channel): Documentation added.
1561         (SourceChannel.channel): Documentation added.
1562         * java/nio/channel/SelectableChannel.java
1563         (SelectableChannel): Documentation added.
1564         (blockingLock): Documentation added.
1565         (configureBlocking):Documentation added.
1566         (isBlocking):Documentation added.
1567         (isRegistered):Documentation added.
1568         (keyFor):Documentation added.
1569         (provider):Documentation added.
1570         (register): Documentation added.
1571         (validOps): Documentation added.
1572         * jaba/nio/channels/SelectionKey.java
1573         (SelectionKey): Documentation added.
1574         (attach): Documentation added.
1575         (attachment): Documentation added.
1576         (isAcceptable): Documentation added.
1577         (isConnetable): Documentation added.
1578         (isReadable): Documentation added.
1579         (isWritable): Documentation added.
1580         (cancel): Documentation added.
1581         (channel): Documentation added.
1582         (interestOps): Documentation added.
1583         (isValid): Documentation added.
1584         (readyOps): Documentation added.
1585         (selector): Documentation added.
1586         * jaba/nio/channels/Selector.java
1587         (Selector): Documentation added.
1588         (open): Documentation added.
1589         (close): Documentation added.
1590         (isOpen): Documentation added.
1591         (keys): Documentation added.
1592         (provider): Documentation added.
1593         (select): Documentation added.
1594         (selectedKeys): Documentation added.
1595         (selectNow): Documentation added.
1596         (wakeup): Documentation added.
1597         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1598         (AbstractInterruptibleChannel): Documentation added.
1599         (opened): Default to true;
1600         (begin): Documentation added.
1601         (close): Set opened to false, documentation added.
1602         (isOpen): Documentation added.
1603         * java/nio/channels/spi/AbstractSelectionKey.java
1604         (AbstractSelectionKey): Documentation added.
1605         (cancel): Documentation added.
1606         (isValid): Documentation added.
1607         * java/nio/channels/spi/AbstractSelector.java
1608         (AbstractSelector): Documentation added.
1609         (begin): Documentation added.
1610         (close): Documentation added.
1611         (isOpen): Documentation added.
1612         (deregister): Documentation added.
1613         (end): Documentation added.
1614         (provider): Documentation added.
1615         (implCloseSelector): Documentation added.
1616         (register): Documentation added.
1617         * java/nio/channels/spi/SelectorProvider.java
1618         (SelectorProvider): Documentation added.
1619         (openDatagramChannel): Documentation added.
1620         (openPipe): Documentation added.
1621         (openSelector): Documentation added.
1622         (openServerSocketChannel): Documentation added.
1623         (openSocketChannel): Documentation added.
1624         (provider): Documentation added.
1626 2002-11-12  Michael Koch <konqueror@gmx.de>
1628         * java/nio/Buffer.java: Implemented.
1629         * java/nio/CharBuffer.java: New file.
1630         * java/nio/InvalidMarkException.java: New file.
1631         * java/nio/channels/DatagramChannel.java: Implemented.
1632         * java/nio/channels/ServerSocketChannel.java: Implemented.
1633         * java/nio/channels/SocketChannel.java: Implemented.
1634         * java/nio/channels/spi/AbstractChannel.java: Removed.
1635         * java/nio/channels/spi/AbstractSelectableChannel.java:
1636         Implemented.
1637         * java/nio/charset/Charset.java:
1638         Merge from Classpath.
1639         * java/nio/charset/CharsetDecoder.java: New file.
1640         * java/nio/charset/CharsetEncoder.java: New file.
1641         * java/nio/charset/CoderResult.java: New file.
1642         * Makefile.am (ordinary_java_source_files): Added new files.
1643         * Makefile.in: Regenerated.
1645 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
1647         * gnu/java/nio/charset/ISO_8859_1.java,
1648         gnu/java/nio/charset/Provider.java,
1649         gnu/java/nio/charset/US_ASCII.java,
1650         gnu/java/nio/charset/UTF_16.java,
1651         gnu/java/nio/charset/UTF_16BE.java,
1652         gnu/java/nio/charset/UTF_16Decoder.java,
1653         gnu/java/nio/charset/UTF_16Encoder.java,
1654         gnu/java/nio/charset/UTF_16LE.java,
1655         gnu/java/nio/charset/UTF_8.java: New files.
1657 2002-11-11  Michael Koch <konqueror@gmx.de>
1659         * java/nio/charset/CharacterCodingException.java:
1660         This class must be public.
1661         * java/nio/charset/CoderMalfunctionError.java:
1662         This class must be public.
1663         * java/nio/charset/CodingErrorAction.java:
1664         This class must be public.
1665         * java/nio/charset/IllegalCharsetNameException.java:
1666         This class must be public, better implementation.
1667         * java/nio/charset/MalformedInputException.java:
1668         This class must be public, better implementation.
1669         * java/nio/charset/UnmappableCharacterException.java:
1670         This class must be public, better implementation.
1671         * java/nio/charset/UnsupportedCharsetException.java:
1672         This class must be public, better implementation.
1674 2002-11-11  Michael Koch <konqueror@gmx.de>
1676         * java/nio/BufferOverflowException.java,
1677         java/nio/BufferUnderflowException.java: New file.
1678         * Makefile.am (ordinary_java_source_files):
1679         Added new files.
1680         * Makefile.in: Regenerated.
1682 2002-11-10  Tom Tromey  <tromey@redhat.com>
1684         * java/awt/Container.java (validate): Use tree lock.
1685         (getComponent): Likewise.
1686         (getComponents): Likewise.
1687         (addImpl): Likewise.
1688         (remove): Likewise.
1689         (removeAll): Likewise.
1690         (processEvent): Fixed indentation.
1691         (getComponentAt): Use tree lock.
1692         (findComponentAt): Likewise.
1693         (removeNotify): Likewise.
1694         (isAncestorOf): Likewise.
1695         (list): Likewise.
1696         (visitChildren): Likewise.
1697         (findNextFocusComponent): Likewise.
1698         (addNotifyContainerChildren): Likewise.
1699         (getAccessibleChildrenCount): Likewise.
1700         (getAccessibleChild): Likewise.
1702         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
1703         (getSize): Likewise.
1704         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
1705         (getSize): Likewise.
1706         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
1707         (calcSize): Likewise.
1708         * java/awt/CardLayout.java (getSize): Use tree lock.
1709         (gotoComponent): Likewise.
1710         (layoutContainer): Likewise.
1712         * java/io/natFileDescriptorWin32.cc (read): Handle case where
1713         count is 0.
1714         * java/io/natFileDescriptorPosix.cc (read): Handle case where
1715         count is 0.
1717         * java/io/Externalizable.java, java/io/FilePermission.java,
1718         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
1719         java/io/SerializablePermission.java, java/text/Format.java,
1720         java/util/AbstractMap.java, java/util/HashMap.java,
1721         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
1722         versions from Classpath.
1724 2002-11-10  Anthony Green  <green@redhat.com>
1726         * java/util/jar/Attributes.java (Name): Fix name check.
1728 2002-11-10  Mark Wielaard  <mark@klomp.org>
1730         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
1731         with getName() as message.
1732         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
1733         type as message.
1735         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
1736         unused.
1738 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
1740         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
1741         for Win32. JNICALL has been defined to __stdcall to be compatible
1742         with Sun's JDKs.
1744 2002-11-10  Tom Tromey  <tromey@redhat.com>
1746         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
1747         (setRows): Check newRows, not rows.
1749         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
1751 2002-11-09  Tom Tromey  <tromey@redhat.com>
1753         * java/applet/Applet.java, java/applet/AppletContext.java,
1754         java/applet/AppletStub.java, java/applet/AudioClip.java,
1755         java/awt/CardLayout.java,
1756         java/awt/ContainerOrderFocusTraversalPolicy.java,
1757         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
1758         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
1759         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
1760         java/awt/color/ICC_ColorSpace.java,
1761         java/awt/color/ICC_Profile.java,
1762         java/awt/color/ICC_ProfileGray.java,
1763         java/awt/color/ICC_ProfileRGB.java,
1764         java/awt/datatransfer/DataFlavor.java,
1765         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
1766         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
1767         New versions from Classpath.
1768         * Makefile.in: Rebuilt.
1769         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
1770         ICC_ProfileRGB.
1772         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
1773         display policy.
1775         * java/awt/List.java (processEvent): Added missing `else's.
1777         * java/awt/Window.java (show): validate() before showing.  Make
1778         parent displayable.
1779         (isDisplayable): New method.
1781 2002-11-07  Mark Wielaard  <mark@klomp.org>
1783         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
1784         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
1786         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
1787         annotation.
1788         (loadClass): Take String as codebases.
1789         (getClassAnnotation): Use MyClassLoader annotations.
1790         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
1791         call exportObject(this).
1793         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1794         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
1795         (setAnnotation): Don't set locBytesStream and locStream.
1796         (replaceObject): Removed.
1797         (flush): Don't test locStream.
1798         (getLocBytes): LikeWise.
1799         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
1800         (leaseCache): New field.
1801         (dirty): Use leaseCache.
1802         (LeaseRecord): New inner class.
1803         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
1804         explicitly call exportObject().
1805         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
1806         false to communicate with Sun JDK130.
1807         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
1808         * gnu/java/rmi/server/RMIObjectInputStream.java
1809         (UnicastConnectionManager): Removed field.
1810         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
1811         Use UnicastServer.getExportedRef().
1812         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
1813         (expireTime): Likewise.
1814         (CONNECTION_TIMEOUT): Likewise.
1815         (disconnect): Call sock.close().
1816         (isExpired): New method.
1817         (resetTime): Likewise.
1818         (run): Use do while loop and catch Exception for discardConnection().
1819         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
1820         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
1821         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
1822         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
1823         (exportObject): Use refcache.
1824         (unexportObject): Likewise.
1825         (getExportedRef): New method.
1826         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
1827         constructor.
1828         (exportObject): Save manager.serverobj.
1829         (getStub): New method.
1831 2002-11-07  Mark Wielaard  <mark@klomp.org>
1833         * java/lang/reflect/natField.cc (getBoolean): Use getType().
1834         (getByte): Likewise.
1835         (getShort): Likewise.
1836         (getInt): Likewise.
1837         (getLong): Likewise.
1838         (getFloat): Likewise.
1839         (getDouble): Likewise.
1840         (get): Likewise.
1841         (setChar): Likewise.
1842         (setByte): Likewise.
1843         (setShort): Likewise.
1844         (setInt): Likewise.
1845         (setLong): Likewise.
1846         (setFloat): Likewise.
1847         (setDouble): Likewise.
1849 2002-11-07  Michael Koch <konqueror@gmx.de>
1851         * java/awt/Choice.java,
1852         java/awt/Container.java,
1853         java/awt/GridBagLayout.java:
1854         Fixed documentation.
1855         * java/awt/peer/ContainerPeer.java:
1856         Reindented.
1858 2002-11-07  Michael Koch <konqueror@gmx.de>
1860         * java/awt/color/ICC_Profile.java:
1861         Added missing constants.
1862         * java/awt/color/ICC_ColorSpace.java
1863         (getMinValue): Added dummy implementation.
1864         (getMaxValue): Added dummy implementation.
1865         * java/awt/datatransfer/DataFlavor.java
1866         (imageFlavor): Added.
1867         (isMimeTypeEqual): Must be final.
1868         (getDefaultRepresentationClass): Must be non-static.
1869         (getDefaultRepresentationClassAsString): Must be non-static.
1870         * java/awt/dnd/DragSourceContext.java
1871         (dragExit): Corrected argument.
1872         (dragDropEnd): Corrected argument.
1873         * java/awt/dnd/DragSourceListener.java.java
1874         (dragExit): Corrected argument.
1875         (dragDropEnd): Corrected argument.
1876         * java/awt/font/TextHitInfo.java
1877         (toString): Added stubbed implementation.
1878         * java/awt/geom/PathIterator.java:
1879         The constants must be static.
1880         * java/awt/image/VolatileImage.java
1881         (IMAGE_INCOMPATIBLE): Fixed typo.
1882         * java/awt/image/renderable/RenderableImage.java
1883         (HINTS_OBSERVED): Must be static.
1884         * java/beans/BeanInfo.java:
1885         Constants must be final.
1887 2002-11-06  Tom Tromey  <tromey@redhat.com>
1889         From svens@it.uu.se.  For PR libgcj/8481.
1890         * java/util/Random.java (nextInt(int)): Only use 31 bits.
1892 2002-11-06  Tom Tromey  <tromey@redhat.com>
1894         * jni.cc (array_from_valist): Assume that jlong won't be
1895         promoted.
1897 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
1899         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
1900         Return 20.
1901         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
1902         Return 16.
1904 2002-11-03  Tom Tromey  <tromey@redhat.com>
1906         * java/lang/ClassLoader.java (loadClass): Call loadClass on
1907         VMClassLoader, not findClass.
1909 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
1911         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
1912         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
1913         _Jv_DetermineVTableIndex, to determine vtable offset.
1914         (_Jv_DetermineVTableIndex): Remove.
1915         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
1917         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
1919 2002-11-03  Tom Tromey  <tromey@redhat.com>
1921         * java/nio/channels/AlreadyConnectedException.java: Extend
1922         IllegalStateException, per spec.
1924 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
1926         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
1928 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
1930         * java/util/ArrayList.java (readObject, writeObject): Only read/write
1931         size items.
1933 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
1935         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
1936         initial estimated size to avoid enlarge buffer frequently.
1938 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
1940         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
1941         ClassLoader when null.
1942         (ProxyType.hashCode): Loader null check no longer needed.
1943         (ProxyType.sameTypes): New method.
1944         (ProxyType.equals): Use new method.
1946 2002-10-31  Mark Wielaard  <mark@klomp.org>
1948         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
1949         length of String.
1950         * java/net/URLEncoder.java (encode): Likewise.
1952 2002-10-31  Mark Wielaard  <mark@klomp.org>
1954         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
1955         when stream is closed.
1956         (closeEntry): Likewise.
1957         (read): Likewise.
1958         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
1959         ZipException when no entry active.
1960         (closeEntry): Likewise.
1961         (write): Likewise.
1963 2002-11-02  Tom Tromey  <tromey@redhat.com>
1965         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
1966         * java/lang/natClass.cc (initializeClass): Don't return just
1967         because self==thread.
1969         For PR java/8415:
1970         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
1971         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
1973 2002-11-02  Andreas Schwab  <schwab@suse.de>
1975         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
1976         pass GCJFLAGS.
1977         (FLAGS_TO_PASS): Define.
1978         * Makefile.in: Regenerated.
1980 2002-11-01  Michael Koch  <konqueror@gmx.de>
1982         * java/nio/ByteOrder.java: New file.
1983         * java/nio/channels/DatagramChannel.java:
1984         (DatagramChannel): New constructor.
1985         * java/nio/channels/Pipe.java: New file.
1986         * java/nio/channels/SelectableChannel.java: New file.
1987         * java/nio/channels/SelectionKey.java: New file.
1988         * java/nio/channels/Selector.java: New file.
1989         * java/nio/channels/ServerSocketChannel.java
1990         (ServerSocketChannel): New constructor.
1991         * java/nio/channels/SocketChannel.java
1992         (SocketChannel): New constructor.
1993         * java/nio/channels/Pipe.java: New file.
1994         * java/nio/channels/spi/AbstractChannel.java: New file.
1995         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
1996         * java/nio/channels/spi/AbstractSelectableChannel.java:
1997         License added
1998         (AbstractSelectableChannel): New stubbed method.
1999         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
2000         * java/nio/channels/spi/AbstractSelector.java: New file.
2001         * java/nio/channels/spi/SelectorProvider.java: New file.
2002         * java/nio/charset/Charset.java: New file.
2003         * java/nio/charset/CoderMalfunctionError.java: New file.
2004         * java/nio/charset/CodingErrorAction.java: New file.
2005         * java/nio/charset/spi/CharsetProvider.java
2006         (charsetForName): Uncommented.
2007         * Makefile.am (java_native_source_files): Added new files.
2008         * Makefile.in: Regenerated.
2010 2002-11-01  Michael Koch  <konqueror@gmx.de>
2012         * java/net/InetAddress.java:
2013         (isAnyLocalAddress): Implemented.
2014         (isLoopbackAddress): Implemented, comment added.
2015         (isLinkLocalAddress): Implemented, documentation added.
2016         (isSiteLocalAddress): Implemented, documentation added.
2017         (isMCGlobal): Implemented, documentation added.
2018         (isMCNodeLocal): Implemented, documentation added.
2019         (isMCLinkLocal): Implemented, documentation added.
2020         (isMCSiteLocal): Implemented, documentation added.
2021         (isMCOrgLocal): Implemented, documentation added.
2022         (getHostName): Documentation added.
2023         (getCanonicalHostName): Implemented, documentation added.
2024         (getAddress): Documentation added.
2025         (hashCode): Documentation added.
2026         (equals): Documentation added.
2027         (toString): Fixed implementation.
2028         (getByAddress): Use Inet4Address and Inet6Address.
2029         (lookup): New linewrap.
2030         (getByName): SecurityManager check added, support Inet4Address and
2031         Inet6address, comments added.
2032         (getAllByName): SecurityManager check added, comments added.
2033         * java/net/Inet6Address.java:
2034         (Inet6Address): Initialize parent class with addr instead of null.
2035         * java/net/URL.java
2036         (equals): Documentation added.
2037         (getFile): Documentation added.
2038         (hashCode): Documentation added.
2039         * java/net/natInetAddress.cc:
2040         (aton): Fix IPv6 support.
2041         * java/net/natPlainDatagramSocketImpl.cc:
2042         (peek): Throw PortUnreachableException when suitable.
2043         (peekData): Throw PortUnreachableException when suitable.
2044         (send): Throw PortUnreachableException when suitable.
2045         (receive): Throw PortUnreachableException when suitable.
2047 2002-10-27  Mark Wielaard  <mark@klomp.org>
2049         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
2050         argument.
2051         (readLeShort): Likewise and use byte[].
2052         (readLeInt): Likewise.
2053         (readEntries): Use new versions of methods and use byte[] for reading
2054         a complete zip entry. Add ZipFile name to exceptions.
2055         (entries): Add ZipFile name to exceptions.
2056         (getEntry): Likewise.
2057         (checkLocalHeader): Use new versions of methods and add ZipFile name
2058         to exceptions.
2060 2002-10-31  Mark Anderson  <mark@panonet.net>
2062         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
2063         added
2065 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
2067         * configure.in: Disable hash sync when not using threads.
2068         * configure: Regenerated.
2070 2002-10-24  Tom Tromey  <tromey@redhat.com>
2072         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
2073         (_Jv_FindSymbolInExecutable): Removed argument name.
2074         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
2075         java.library.path is set.
2077         * gij.cc (help): Document --showversion.
2078         (version): Don't exit.
2079         (main): Handle --showversion.  Exit if --version given.
2081 2002-10-23  Tom Tromey  <tromey@redhat.com>
2083         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
2084         (array_from_valist): Correctly handle promotion for jint, jlong,
2085         jfloat, and jdouble.
2087 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
2089         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
2090         GetFileAttributesEx( ) to find file length and modification times,
2091         as the latter is not present on Windows 95.
2093 2002-10-21  Michael Koch  <konqueror@gmx.de>
2095         * java/net/URL.java
2096         (URL): Activate SecurityManager checks.
2097         (equals): Use URLStreamHandler implementation instead of doing it
2098         alone. This allows special protocol stream handlers to change default
2099         behaviour.
2100         (hashCode): Use URLStreamHandler implementation instead of doing it
2101         alone. This allows special protocol stream handlers to change default
2102         behaviour.
2103         * java/net/URLStreamHandler.java
2104         (equals): Implemented default URL equality check.
2105         (hostsEqual): Implemented default URL equality check.
2106         (hashCode): Implemented default URL hashCode algorithm.
2107         * java/net/natPlainDatagramSocketImpl.cc:
2108         No lines longer then 80 characters.
2110 2002-10-20  Adam Megacz <adam@xwt.org>
2112         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
2113         * configure.in: enabled hash sync on Win32
2114         * include/win32-threads.h (_Jv_ThreadId_t): added.
2115         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
2116         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
2117         removed some posix-isms, use Thread::sleep() instead of usleep,
2118         added code to clear bottom three bits if platform has a broken
2119         linker.
2120         * include/win32-threads.h (_Jv_ThreadId_t): added.
2122 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
2124         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
2125         runtime property "gnu.gcj.progname" containing the name used to
2126         invoke the current Java program (similar to argv[0] for C
2127         programs).
2129 2002-10-15  Tom Tromey  <tromey@redhat.com>
2131         Fix for PR libgcj/8234:
2132         * java/util/zip/natInflater.cc (reset): Reset avail_in.
2133         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
2135 2002-10-13  Mark Wielaard  <mark@klomp.org>
2137         * mauve-libgcj: Enable Mauve tests that compile now.
2139 2002-10-11  Mark Wielaard  <mark@klomp.org>
2141         Fix for PR libgcj/8142
2142         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
2143         loading native modules.
2145 2002-10-10  Michael Koch  <konqueror@gmx.de>
2147         * javax/swing/AbstractListModel.java
2148         (getListDataListeners): New stubbed method.
2149         javax/swing/DefaultBoundedRangeModel.java
2150         (getChangeListeners): New stubbed method.
2151         javax/swing/DefaultSingleSelectionModel.java
2152         (getChangeListeners): New stubbed method.
2154 2002-10-10  Michael Koch  <konqueror@gmx.de>
2156         * gcj/.cvsignore: New file to ignore files generated during build.
2157         * include/.cvsignore: New file to ignore files generated during build.
2159 2002-10-10  Michael Koch  <konqueror@gmx.de>
2161         * java/net/HttpURLConnection.java
2162         (getPermission): New method.
2163         (getErrorStream): New stub method.
2164         (getHeaderFieldDate): New stub method.
2165         * java/net/Inet4Address.java:
2166         (isLinkLocalAddress): Typo fixed.
2167         * java/net/InetAddress.java:
2168         (readResolve): New stubbed method (for serialization).
2169         (isAnyLocalAddress): New stubbed method.
2170         (isLoopbackAddress): New stubbed method.
2171         (isLinkLocalAddress): New stubbed method.
2172         (isSiteLocalAddress): New stubbed method.
2173         (isMCGlobal): New stubbed method.
2174         (isMCNodeGlobal): New stubbed method.
2175         (isMCLinkLocal): New stubbed method.
2176         (isMCSiteLocal): New stubbed method.
2177         (isMCOrgLocal): New stubbed method.
2178         (getCanonicalHostName): New stubbed method.
2179         (getByAddress): Create instances of Inet4Address/Inet6Address,
2180         instead of InetAddress, documentation added.
2181         * java/net/MulticastSocket.java
2182         (getInterface): Removed FIXME.
2183         (getNetworkInterface): New method.
2184         (setNetworkInterface): New method.
2185         * java/net/NetworkInterface.java:
2186         (toString): Use property "line.separator" instead of "\n".
2187         * java/net/URLConnection.java
2188         (getContent): New stubbed method.
2189         * java/net/URLStreamHandler.java:
2190         (equals): New stubbed method.
2191         (hostsEqual): New stubbed method.
2192         (hashCode): New stubbed method.
2193         * java/net/natNetworkInterface.cc:
2194         (getRealNetworkInterfaces): Create Inet4Address object
2195         instead of InetAddress.
2197 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
2199         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
2200         unsigned long temporary to implement insn_iushr shifts.
2202 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
2204         * configure.host [s390*-*]: Enable Java interpreter.
2205         Enable hash synchronization.  Add sysdeps dir.
2206         * sysdep/s390/locks.h: New file.
2208 2002-10-06  Mark Wielaard  <mark@klomp.org>
2210         * java/lang/Thread.java (setDaemon): Check startable_flag,
2211         not isAlive().
2213 2002-10-07  Michael Koch  <konqueror@gmx.de>
2215         * java/nio/Buffer.java: New stub file.
2216         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
2217         of class Charset.
2218         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
2219         * Makefile.in: Regenerated.
2221 2002-10-07  Michael Koch  <konqueror@gmx.de>
2223         * java/nio/ByteBuffer.java:
2224         removed import of not commited class.
2226 2002-10-07  Michael Koch  <konqueror@gmx.de>
2228         * java/nio/ByteBuffer.java,
2229         java/nio/MappedByteBuffer.java:
2230         New files, forgot to add these dummies.
2231         * Makefile.am (java_native_source_files): Added new files.
2232         * Makefile.in: Regenerated.
2234 2002-10-07  Michael Koch  <konqueror@gmx.de>
2236         * java/nio/channels/AlreadyConnectedException.java,
2237         java/nio/channels/ClosedChannelException.java,
2238         java/nio/channels/ReadableByteChannel.java,
2239         java/nio/channels/InterruptibleChannel.java,
2240         java/nio/channels/Channel.java,
2241         java/nio/channels/ByteChannel.java,
2242         java/nio/channels/GatheringByteChannel.java,
2243         java/nio/channels/ScatteringByteChannel.java,
2244         java/nio/channels/WritableByteChannel.java,
2245         java/nio/charset/CharacterCodingException.java,
2246         java/nio/charset/IllegalCharsetNameException.java,
2247         java/nio/charset/MalformedInputException.java,
2248         java/nio/charset/UnmappableCharacterException.java,
2249         java/nio/charset/UnsupportedCharsetException.java,
2250         java/nio/charset/spi/CharsetProvider.java: New file.
2251         These files are exceptions or interfaces,
2252         no real or abstract classes.
2253         * Makefile.am (java_native_source_files): Added new files.
2254         * Makefile.in: Regenerated.
2256 2002-10-05  Michael Koch  <konqueror@gmx.de>
2258         * java/net/InetAddress.java
2259         (getByAddress): Fixed documentation.
2260         (getByAddress): New method.
2261         * java/net/Inet4Address.java: New file.
2262         * java/net/URL.java
2263         (URL): Documentation added.
2264         (getContent): Documentation added.
2265         (getContent): New stubbed method.
2266         (getQuery): New method.
2267         (openConnection): Documentation added.
2268         (openStream): Documentation added.
2269         (setURLStreamHandlerFactory): Documentation added.
2270         * java/net/URI.java: New stub file.
2271         * Makefile.am
2272         (java_native_source_files): Added java/net/Inet4Address.java,
2273         java/net/Inet6Address.java and java/net/URI.java.
2274         * Makefile.in: Regenerated.
2276 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
2278         * java/lang/ProtectionDomain.java (linesep): Remove field.
2279         (toString): Use System.getProperty("line.separator").
2281 2002-10-04  Michael Koch  <konqueror@gmx.de>
2283         * java/security/Identity.java: Added serialVersionUID.
2284         * java/security/KeyPair.java: Added serialVersionUID.
2285         * java/security/Provider.java: Added serialVersionUID.
2286         * java/security/SecureRandom.java: Added serialVersionUID.
2287         * java/security/SecureRandomSpi.java: Added serialVersionUID.
2288         * java/security/SignedObject.java: Added serialVersionUID.
2289         * java/security/cert/Certificate.java: Added serialVersionUID.
2291 2002-10-04  Mark Wielaard <mark@klomp.org>
2293         * java/security/Security.java: Use java.home or gnu.classpath.home
2294         to load providers.
2295         (loadProviders): Extra dir argument.
2296         (getProvider): Return null when not found.
2298 2002-10-04  Mark Wielaard  <mark@klomp.org>
2300         * java/lang/Throwable.java: Remerge with Classpath.
2302 2002-10-04  Michael Koch  <konqueror@gmx.de>
2304         * java/net/InetAddress.java:
2305         (isMulticastAddress): Added documentation.
2306         (getHostAddress): Added documentation.
2307         (toString): Added documentation.
2308         (getByAddress): Fixed documentation.
2309         (getByName): Added documentation.
2310         (getAllByName): Added documentation.
2311         (getLocalHost): Added documentation.
2313 2002-10-04  Michael Koch  <konqueror@gmx.de>
2315         * java/beans/beancontext/BeanContextChildSupport.java:
2316         Added serialVersionUID.
2317         * java/text/Collator.java: (compare): Made documentation HTML-aware.
2318         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
2319         * javax/naming/Name.java: Added serialVersionUID.
2321 2002-10-03  Adam Megacz <adam@xwt.org>
2323         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
2324         some functionality that isn't supported yet on WIN32.
2326 2002-10-03  Tom Tromey  <tromey@redhat.com>
2328         * Makefile.in: Rebuilt.
2329         * Makefile.am (awt_java_source_files): Added new files.
2331 2002-10-03  Michael Koch  <konqueror@gmx.de>
2333         * java/net/InetAddress.java
2334         (class InetAddress): Removed final keyword.
2335         (equals): Fixed typo.
2336         (getByAddress): New method.
2338 2002-10-03  Michael Koch  <konqueror@gmx.de>
2340         * java/awt/dnd/Autoscroll.java:
2341         New file, merge from Classpath.
2342         * java/awt/dnd/DragSourceAdapter.java:
2343         (dragExit): Fixed typos in argument type.
2344         (dragDropEnd): Fixed typos in argument type.
2345         * java/awt/dnd/DragSourceDropEvent.java:
2346         New file, merge from Classpath.
2347         * java/awt/dnd/DropTarget.java:
2348         Added stubs, merge from Classpath.
2349         * java/awt/dnd/DropTargetAdapter.java:
2350         New file, merge from Classpath.
2351         * java/awt/dnd/DropTargetContext.java:
2352         New file, merge from Classpath.
2353         * java/awt/dnd/DropTargetDragEvent.java:
2354         New file, merge from Classpath.
2355         * java/awt/dnd/DropTargetDropEvent.java:
2356         New file, merge from Classpath.
2357         * java/awt/dnd/DropTargetEvent.java:
2358         New file, merge from Classpath.
2359         * java/awt/dnd/DropTargetListener.java:
2360         New file, merge from Classpath.
2361         * java/awt/dnd/MouseDragGestureRecognizer.java:
2362         New file, merge from Classpath.
2363         * java/awt/dnd/peer/DropTargetContextPeer.java:
2364         New file, merge from Classpath.
2366 2002-10-03  Michael Koch  <konqueror@gmx.de>
2368         * java/net/DatagramPacket.java
2369         (setLength): Fixed typo and be HTML-aware.
2370         * java/net/InetSocketAddress.java
2371         (InetSocketAddress): Correct initialization of hostname, fixed typo.
2372         (equals): Added comment about equality of InetSocketAddress objects.
2373         * java/net/ServerSocket.java
2374         (accept): Added checks.
2375         (isClosed): New stubbed method.
2376         * java/net/SocketOptions.java: Reindention.
2377         * java/net/SocketPermission
2378         (SocketPermission): Documentation fixed.
2380 2002-10-03  Michael Koch  <konqueror@gmx.de>
2382         * java/net/DatagramSocket.java
2383         (receive): Check with SecurityManager AFTER the packet is received,
2384         check if connected to multicast address, documentation added.
2385         (send): Only check SecurityManager if connected, check address of
2386         packet to send.
2387         (connect): Implemented, documentation added.
2388         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
2389         * java/net/InetSocketAddress.java
2390         (whole file): Reindented.
2391         (hostname): New attribute.
2392         (InetSocketAddress): Initialize new attribute.
2393         (getAddress): Documentation added.
2394         (getHostName): Documentation added.
2395         (getPort): Documentation added.
2396         (hashCode): Documentation added.
2397         (isUnresolved): Documentation added.
2398         (toString): Conform to output of JDK 1.4.1, documentation added.
2399         * java/net/MulticastSocket.java
2400         (joinGroup): Removed FIXME, documentation added.
2401         (leaveGroup): Removed FIXME, documentation added.
2402         (send): Documentation added.
2403         * java/net/Socket.java
2404         (inputShutdown): New variable.
2405         (outputShutdown): New variable.
2406         (Socket): Initialize new variables.
2407         (getRemoteSocketAddress): Check if connected.
2408         (shutdownInput): Set new variable.
2409         (shutdownOutput): Set new variable.
2410         (isConnected): New method.
2411         (isClosed): New method.
2412         (isInputShutdown): New method.
2413         (isOutputShutdown): New method.
2414         * java/net/URLStreamHandler.java
2415         (URLStreamHandler): New method.
2416         (openConnection): Added documentation.
2417         (parseURL): Added documentation.
2418         (getHostAddress): New method.
2419         (getDefaultPort): New method.
2421 2002-10-02  Tom Tromey  <tromey@redhat.com>
2423         * java/rmi/activation/ActivationDesc.java,
2424         java/rmi/activation/ActivationGroupDesc.java,
2425         java/rmi/activation/ActivationGroupID.java,
2426         java/rmi/activation/ActivationID.java: New versions from
2427         Classpath.
2429 2002-09-30  Bo Thorsen  <bo@suse.de>
2431         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
2433 2002-09-30  Tom Tromey  <tromey@redhat.com>
2435         * java/io/ObjectInputStream.java (resolveProxyClass): New method
2436         from Classpath.
2437         * Makefile.in: Rebuilt.
2438         * Makefile.am (rmi_java_source_files): Added new files.
2439         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2440         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2441         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
2442         Classpath.
2443         * gnu/java/rmi/dgc/DGCImpl.java,
2444         gnu/java/rmi/dgc/DGCImpl_Skel.java,
2445         gnu/java/rmi/dgc/DGCImpl_Stub.java,
2446         gnu/java/rmi/registry/RegistryImpl_Skel.java,
2447         gnu/java/rmi/registry/RegistryImpl_Stub.java,
2448         gnu/java/rmi/server/RMIHashes.java,
2449         gnu/java/rmi/server/RMIObjectInputStream.java,
2450         gnu/java/rmi/server/RMIObjectOutputStream.java,
2451         gnu/java/rmi/server/UnicastConnection.java,
2452         gnu/java/rmi/server/UnicastConnectionManager.java,
2453         gnu/java/rmi/server/UnicastRef.java,
2454         gnu/java/rmi/server/UnicastServer.java,
2455         gnu/java/rmi/server/UnicastServerRef.java,
2456         java/rmi/MarshalledObject.java,
2457         java/rmi/server/RMIClassLoader.java,
2458         java/rmi/server/RemoteObject.java,
2459         java/rmi/server/UnicastRemoteObject.java,
2460         java/security/SecureClassLoader.java: Merged from Classpath.
2462 2002-09-29  Anthony Green  <green@redhat.com>
2464         * java/lang/reflect/UndeclaredThrowableException.java: New file.
2465         Imported from GNU Classpath.
2466         * java/lang/reflect/natProxy.cc: New file.
2467         * java/lang/reflect/InvocationHandler.java: New file.  Imported
2468         from GNU Classpath.
2469         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
2470         Classpath.
2471         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
2472         Classpath.
2473         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
2474         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
2475         New statics.
2476         * gcj/javaprims.h ("Java"): Add new classes.
2477         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
2478         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
2479         java/lang/reflect/Proxy$$ProxyType.h): And this.
2480         (inner_nat_headers): Add these new headers.
2481         (ordinary_java_source_files): Add new files.
2482         (nat_source_files): Add new file.
2483         * Makefile.in: Rebuilt.
2485 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
2487         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
2488         a single configuration.
2490 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2492         * java/util/TimeZone.java (getDSTSavings): New method.
2493         Fixes PR libgcj/7786.
2495 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2497         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
2498         to see if `the_method == 0' before looking up vtable index.
2499         Fixes PR libgcj/7709.
2501 2002-09-25  Tom Tromey  <tromey@redhat.com>
2503         * java/lang/natClassLoader.cc:
2504         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
2505         * resolve.cc: Include NoClassDefFoundError.h, not
2506         ClassNotFoundException.h.
2507         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
2509         * defineclass.cc: Don't include ClassNotFoundException.h.
2511         * resolve.cc: Include StringBuffer.
2512         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
2514         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
2515         allocated but not initialized.
2517 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2519         Fix for PR libgcj/7766:
2520         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
2521         (getNextEntry): Set it.
2522         (closeEntry): Likewise.
2523         (read): Likewise.
2524         (close): Likewise.
2525         (available): Use it.
2527 2002-09-25  Michael Koch  <konqueror@gmx.de>
2529         * java/net/DatagramSocket.java
2530         (DatagramSocket): Initialize new instance variables.
2531         (close): Reset new instance variables.
2532         (getLocalAddress): Remove unneeded SecurityManager usage.
2533         (getLocalPort): Check if socket is already bound.
2534         (isConnected): New method.
2535         (getInetAddress): Implemented.
2536         (getPort): Better Implementation, documentation fixed.
2537         (getRemoteSocketAddress): New method.
2538         * java/net/JarURLConnection.java
2539         (element): Typo fixed.
2540         (getMainAttributes): New method.
2541         (getAttributes): New method (stub only).
2542         (getManifest): New method (stub only).
2543         * java/net/NetPermission.java: Added serialVersionsUID.
2544         * java/net/Socket.java
2545         (connect): Check blocking mode of associated channel,
2546         documentation added.
2547         (getLocalSocketAddress): Better implementation.
2548         (getRemoteSocketAddress): Implemented.
2549         (isBound): New method.
2550         (setSendBufferSize): Documentation added.
2551         * java/net/SocketAddress.java: Added serialVersionsUID.
2552         * java/net/SocketPermission.java: Added serialVersionsUID.
2553         * java/net/URL.java
2554         (URL): Wrap for shorter lines, initialize new instance variables,
2555         documentation added.
2556         (equals): Check new instance variables too.
2557         (getContent): Documentation added.
2558         (getPath): Documentation added.
2559         (getAuthority): New method.
2560         (getHost): Documentation added.
2561         (getPort): Documentation added.
2562         (getDefaultPort): New method.
2563         (getProtocol): Documentation added.
2564         (getUserInfo): Documentation added.
2565         (set): Initialize new instance variables, documentation added.
2566         * java/net/URLStreamHandler.java
2567         (setURL): New method.
2568         * java/net/natPlainDatagramSocketImpl.cc
2569         (connect): Fix exception name.
2570         (disconnect): Fix exception name.
2572 2002-09-25  Michael Koch  <konqueror@gmx.de>
2574         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
2575         * java/nio/channels/DatagramChannel.java:
2576         extends AbstractSelectableChannel
2577         * java/nio/channels/ServerSocketChannel.java:
2578         extends AbstractSelectableChannel
2579         * java/nio/channels/SocketChannel.java:
2580         extends AbstractSelectableChannel
2581         * Makefile.am (ordinary_java_source_files):
2582         java/nio/channels/spi/AbstractSelectableChannel.java added.
2583         * Makefile.in: Regenerated.
2585 2002-09-25  Michael Koch  <konqueror@gmx.de>
2587         * java/net/DatagramSocket.java
2588         (DatagramSocket): Exception documentation added.
2589         (bind): Exception documentation added, addded SecurityManager check,
2590         added SocketAddress type check.
2591         (getSoTimeout): Check impl.
2592         (receive): Fix SecurityManager check, check impl, documentation added.
2593         (send): Check channel mode, documentation added.
2594         (connect): New method.
2595         (disconnect): Implemented.
2596         (getLocalSocketAddress): New method.
2597         (getReceiveBufferSize): Check impl.
2598         (setReuseAddress): Check impl.
2599         (getReuseAddress): Check impl.
2600         (setBroadcast): Check impl.
2601         (getBroadcast): Check impl.
2602         (setTrafficClass): Check impl, Documentation cleared.
2603         (getTrafficClass): Check impl.
2604         (getSendBufferSize): Check impl.
2605         (setReceiveBufferSize): Check impl, documentation added.
2606         (setSendBufferSize): Documentation added.
2607         (setDatagramSocketImplFactory): New method.
2608         * java/net/HttpURLConnection.java
2609         (HTTP_INTERNAL_ERROR): The correct code is 500.
2610         (HTTP_NOT_IMPLEMENTED): Added new constant.
2611         (setFollowRedirects): Documentation added.
2612         (getInstanceFollowRedirects): New method.
2613         (setInstanceFollowRedirects): New method.
2614         (setRequestMethod): Documentation added.
2615         (getResponseCode): Documentation added.
2616         (getResponseMessage): Documentation added.
2617         * java/net/JarURLConnection.java
2618         (JarURLConnection): protected since JDK 1.4.
2619         (getJarEntry): java.io.IOException to IOException, documentation added.
2620         (getJarFile): Documentation added.
2621         * java/net/ServerSocket.java
2622         (ServerSocket): Private to public, exception added.
2623         (ServerSocket): java.io.IOException to IOException, documentation added.
2624         (bind): Check socket address type, documentation added.
2625         (bind): java.io.IOException to IOException, documentation added.
2626         (accept): Documentation added.
2627         (implAccept): Check ch is not non-blocking, documentation added.
2628         (setSoTimeout): Documentation fixed.
2629         (setReceiveBufferSize): Documentation added.
2630         * java/net/Socket.java
2631         (Socket): Documentation added.
2632         (bind): Documentation added.
2633         (connect): Check socket address type, documentation added.
2634         (getRemoteSocketAddress): New method.
2635         (getLocalSocketAddress): New method.
2636         (setSoLinger): Documentation added.
2637         (getReuseAddress): New method.
2638         (setReuseAddress): New method.
2639         (getTrafficClass): New method.
2640         (setTrafficClass): New method.
2641         * java/net/URLStreamHandler.java
2642         (openConnection): java.io.IOException to IOException.
2643         (parseURL): Documentation added.
2644         (sameFile): public to protected, documentation added.
2645         (setURL): Documentation added.
2646         * java/nio/IllegalBlockingModeException.java: New file.
2647         * Makefile.am (ordinary_java_source_files):
2648         added java/nio/IllegalBlockingModeException.java
2649         * Makefile.in: Regenerated.
2651 2002-09-25  Michael Koch  <konqueror@gmx.de>
2653         * java/net/DatagramPacket
2654         (DatagramPacket): Exception documentation added.
2655         (setData): Likewise.
2656         (setSocketAddress): Likewise.
2657         * java/net/DatagramSocketImpl.java
2658         (peek): Documentation addded.
2659         (peekData): Documentation addded.
2660         (send): Documentation addded.
2661         (receive): Documentation addded.
2662         (connect): New method.
2663         (disconnect): New method.
2664         (joinGroup): New abstract method.
2665         (leaveGroup): New abstract method.
2666         * java/net/InetSocketAddress.java
2667         (InetSocketAddress): Documentation added.
2668         (equals): final keyword added.
2669         (getAddress): final keyword added.
2670         (getHostName): final keyword added.
2671         (getPort): final keyword added.
2672         (hashCode): final keyword added.
2673         (isUnresolved): final keyword added.
2674         * java/net/MulticastSocket.java
2675         (MulticastSocket): Documentation added.
2676         (MulticastSocket): New method.
2677         (joinGroup): Documentation added.
2678         (joinGroup): New method.
2679         (leaveGroup): Documentation added.
2680         (leaveGroup): New method.
2681         (send): Documentation added.
2682         * java/net/NetworkInterface.java
2683         (getByName): Documentation added.
2684         (getByInetAddress): Documentation added.
2685         (getNetworkInterfaces): Documentation added.
2686         * java/net/PlainDatagramSocketImpl.java
2687         (connect): New method.
2688         (disconnect): New method.
2689         * java/net/SocketImpl.java
2690         (create): Documentation added.
2691         (shutdownInput): Convert public to protected, as it always was.
2692         (shutdownOutput): Convert public to protected, as it always was.
2693         * java/net/SocketOptions.java
2694         (whole file): Reintented.
2695         * java/net/URLClassLoader.java
2696         (URLClassLoader): SecurityManager check added, documentation added.
2697         (findResources): Documentation added.
2698         (findClass): Documentation added.
2699         (newInstance): More correct method arguments.
2700         * java/net/URLConnection.java
2701         (connect): Documentation added.
2702         (getContent): Documentation added.
2703         (getPermission): Documentation added.
2704         (getInputStream): Documentation added.
2705         (getOutputStream): Documentation added.
2706         (setDoInput): Throw correct exception, documentation added.
2707         (setDoOutput): Throw correct exception, documentation added.
2708         (setAllowUserInteraction): Throw correct exception, documentation added.
2709         (setUseCaches): Throw correct exception, documentation added.
2710         (setIfModifiedSince): Throw correct exception, documentation added.
2711         (setRequestProperty): Throw exception, documentation added.
2712         (addRequestProperty): Throw exception, documentation added.
2713         (getRequestProperty): Throw exception, documentation added.
2714         (getRequestProperties): Documentation added.
2715         (setContentHandlerFactory): Documentation added.
2716         (guessContentTypeFromName): protected to public.
2717         (setFileNameMap): Documentation added.
2718         * java/net/URLDecoder.java
2719         (URLDecoder): New method.
2720         (decode): Documentation added.
2721         (whole file): Reindented.
2722         * java/net/URLEncoder.java
2723         (encode): Documentation added.
2724         * java/net/natPlainDatagramSocketImpl.cc
2725         (connect): New method.
2726         (disconnect): New method.
2727         * javax/naming/RefAddr:
2728         (addrType): addrType was never final.
2729         (equals): Fix typo in method name.
2730         * javax/naming/BinaryRefAddr:
2731         (equals): Fix typo in method name.
2733 2002-09-22  Tom Tromey  <tromey@redhat.com>
2735         Fix for PR libgcj/6576:
2736         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
2737         didn't find a given bundle.
2738         (getBundle): Don't require base bundle.
2739         (setParent): Removed old comment.
2740         (tryLocalBundle): Try components even if preceding components were
2741         empty.
2743 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2745         * Makefile.am (all-multi): Fix multilib parallel build.
2747 2002-09-21  Michael Koch  <konqueror@gmx.de>
2749         * java/net/Socket.java
2750         (sendUrgentData): New method.
2751         (getChannel): New method.
2752         * java/net/ServerSocket.java
2753         (getChannel): New method.
2754         (isBound): New method.
2755         * java/net/DatagramSocket.java
2756         (DatagramSocket): Two new methods.
2757         (bind): New method.
2758         (getChannel): New method.
2759         (isBound): New method.
2760         (send): Added newline to to make shorter lines.
2761         * java/net/PlainDatagramSocketImpl.java
2762         (mcastGrp): Added argument.
2763         (join): Use new mcastGrp.
2764         (leave): Use new mcastGrp.
2765         (joinGroup): New method.
2766         (leaveGroup): New method.
2767         * java/net/natPlainDatagramSocketImpl.cc
2768         (mcastGrp): Added argument, no yet really implemented.
2769         (getOption): Added newline for shorter lines.
2770         * java/net/natPlainSocketImpl.cc
2771         (read, setOption, getOption): Added newline for shorter lines.
2773 2002-09-19  Tom Tromey  <tromey@redhat.com>
2775        * java/lang/ClassLoader.java (resolveClass0): Set cause for
2776        newly-created exception.
2778 2002-09-18  Michael Koch  <konqueror@gmx.de>
2780         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
2781         java/util/regex/PatternSyntaxException.java:
2782         Merge with classpath, new files.
2783         * Makefile.am (core_java_source_files):
2784         Added java/util/regex/Matcher.java,
2785         java/util/regex/Pattern.java,
2786         java/util/regex/PatternSyntaxException.java
2787         * Makefile.in: Regenerated.
2788         * include/config.h.in: Added HAVE_NET_IF_H.
2789         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
2790         Removed #if 0 ... #endif.
2792 2002-09-17  Michael Koch  <konqueror@gmx.de>
2794         * java/net/natNetworkInterface.cc:
2795         Removed unneed and yet wrong includes.
2797 2002-09-17  Michael Koch  <konqueror@gmx.de>
2799         * java/net/NetworkInterface.java: New file.
2800         * java/net/natNetworkInterface.java: New file.
2801         * configure.in: Added check for net/if.h.
2802         * configure: Regenerated.
2803         * Makefile.am
2804         (ordinary_java_source_files): Added NetworkInterface.java.
2805         (nat_source_files): Added natNetworkInterface.cc.
2806         * Makefile.in: Regenerated.
2808 2002-09-16  Tom Tromey  <tromey@redhat.com>
2810         * java/net/URLClassLoader.java (findClass): Code source for a
2811         class from a jar is not necessarily a jar: URL.
2813 2002-09-16  Michael Koch  <konqueror@gmx.de>
2815         * java/lang/AssertionError.java:
2816         Merge with classpath, fixes HTML.
2817         * java/rmi/server/LogStream.java:
2818         Merge with classpath, fixes some constants.
2819         * java/net/server/RemoteServer.java:
2820         Merge with classpath, adds serialVersionUID.
2821         * javax/naming/BinaryRefAddr.java:
2822         Merge with classpath, s/equal/equals/.
2823         * javax/naming/NamingException.java:
2824         Merge with classpath, fixed typo.
2825         * javax/naming/RefAddr.java:
2826         Merge with classpath, s/equal/equals/.
2827         * java/awt/Toolkit.java:
2828         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
2829         and typo fixed.
2831 2002-09-15  Adam Megacz <adam@xwt.org>
2833         * java/net/natPlainSocketImpl.cc: fixed typo.
2835 2002-09-15  Adam Megacz <adam@xwt.org>
2837         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
2838         which don't work on Win32 (yet).
2840 2002-09-14  Adam Megacz <adam@xwt.org>
2842         * java/net/natPlainDatagramSocket.cc: removed #include
2843         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
2844         * include/win32.h: included definition for IP_TOS to satisfy
2845         natPlainDatagramSocket.cc
2847 2002-09-13  Michael Koch  <konqueror@gmx.de>
2849         * java/net/DatagramPacket.java (DatagramPacket):
2850         Added linebreak for 80 chars per line.
2851         * java/net/JarURLConection.java
2852         (getInputStreami, getJarEntry): Likewise.
2853         * java/net/SocketPErmission.java
2854         (SocketPermission class docu, implies): Likewise.
2855         * java/net/URLClassLoader.java (findResources): Likewise.
2856         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
2858 2002-09-13  Michael Koch  <konqueror@gmx.de>
2860         * java/nio/channels/DatagramChannel.java,
2861         java/nio/channels/ServerSocketChannel.java
2862         java/nio/channels/SocketChannel.java:
2863         New dummy files to make java.net fully JDK 1.4 compatible
2864         * Makefile.am (ordinary_java_source_files): Added
2865         java/net/DatagramSocketImplFactory.java (long forgotten),
2866         java/nio/SocketChannel.java,
2867         java/nio/ServerSocketChannel.java,
2868         java/nio/DatagramChannel.java
2869         * Makefile.in: Regenrated.
2871 2002-09-12  Michael Koch  <konqueror@gmx.de>
2873         * java/net/DatagramSocketImpl.java
2874         (peekData): New method.
2875         * java/net/PlainDatagramSocketImpl.java
2876         (peekData): New method.
2877         * java/net/natPlainDatagramSocketImpl.cc
2878         (peekData): New method.
2879         * java/net/URLConnection
2880         (getPermission): New method.
2881         (addRequestProperty): New method.
2882         (getRequestProperties): New method.
2883         (guessContentTypeFromStream): New method, not really implemented.
2884         (URLConnection): Added/updated documentation.
2885         (connect): Added/updated documentation.
2886         (getURL): Added/updated documentation.
2887         (getContentLength): Added/updated documentation.
2888         (getContentType: Added/updated documentation.
2889         (getContentEncoding): Added/updated documentation.
2890         (getExpiration): Added/updated documentation.
2891         (getDate): Added/updated documentation.
2892         (getLastModified): Added/updated documentation.
2893         (getHeaderField): Added/updated documentation.
2894         (getHeaderFields): Added/updated documentation.
2895         (getHeaderFieldInt): Added/updated documentation.
2896         (getHeaderFieldDate): Added/updated documentation.
2897         (getHeaderFieldKey): Added/updated documentation.
2898         (getContent): Added/updated documentation.
2899         (getInputStream): Added/updated documentation.
2900         (getOutputStream): Added/updated documentation.
2901         (toString): Added/updated documentation.
2902         (setDoInput): Added/updated documentation.
2903         (getDoInput): Added/updated documentation.
2904         (setDoOutput): Added/updated documentation.
2905         (getDoOutput): Added/updated documentation.
2906         (setAllowUserInteraction): Added/updated documentation.
2907         (getAllowUserInteraction): Added/updated documentation.
2908         (setDefaultAllowUserInteraction): Added/updated documentation.
2909         (getDefaultAllowUserInteraction): Added/updated documentation.
2910         (setUseCaches): Added/updated documentation.
2911         (getUseCaches): Added/updated documentation.
2912         (setIfModifiedSince): Added/updated documentation.
2913         (getIfModifiedSince): Added/updated documentation.
2914         (getDefaultUseCaches): Added/updated documentation.
2915         (setDefaultUseCaches): Added/updated documentation.
2916         (setRequestProperty): Added/updated documentation.
2917         (getRequestProperty): Added/updated documentation.
2918         (setDefaultRequestProperty): Added/updated documentation.
2919         (getDefaultRequestProperty): Added/updated documentation.
2920         (setContentHandlerFactory): Added/updated documentation.
2921         (guessContentTypeFromName): Added/updated documentation.
2922         (getFileNameMap): Added/updated documentation.
2923         (setFileNameMap): Added/updated documentation.
2925 2002-09-11  Michael Koch  <konqueror@gmx.de>
2927         * java/net/Socket.java
2928         (Socket): protected to public (since JDK 1.4). Added @specnote.
2929         (bind): New method.
2930         (connect): Two new methods.
2931         (getKeepalive): Get correct socket option.
2932         (setKeepalive): Set correct socket option.
2933         (getOOBInline): New method.
2934         (setOOBInline): New method.
2935         * java/net/ServerSocket.java
2936         (bind): Two new methods.
2937         (getInetAddress): Reimplemented, catch exception.
2938         (getLocalSocketAddress): New method.
2939         (setReuseAddress): New method.
2940         (getReuseAdress): New method.
2941         (setReceiveBufferSize): New method.
2942         (getReceiveBufferSize): New method.
2943         (toString): Made string JDK 1.4 compliant.
2945 2002-09-10  Michael Koch  <konqueror@gmx.de>
2947         * java/net/SocketImpl.java
2948         (connect): New method.
2949         (supportsUrgentData): New method.
2950         (sendUrgentData): New method.
2951         * java/net/PlainSocketImpl.java
2952         (connect): One new method and two new implementation.
2953         (sendUrgentData): New method.
2954         * java/natPlainSocketImpl.cc
2955         (connect): Arguments changed, added support for timeouts.
2956         (getOption): Another __java_boolean to jboolean.
2958 2002-09-07  Adam Megacz <adam@xwt.org>
2960         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
2961         definition of IP_TOS.
2963 2002-09-04  Michael Koch  <konqueror@gmx.de>
2965         * java/net/DatagramSocket.java
2966         (DatagramSocket): Added documentation.
2967         (close): Likewise.
2968         (getLocalAddress): Likewise.
2969         (getLocalPort): Likewise.
2970         (receive): Likewise.
2971         (send): Likewise.
2972         (setSoTimeout): Likewise.
2973         (connect): New method.
2974         (disconnect): New method.
2975         (getInetAddress): New method (FIXME)
2976         (getPort): New method.
2977         (setReuseAddress): New method.
2978         (getReuseAddress): New method.
2979         (setBroadcast): New method.
2980         (getBroadcast): New method.
2981         (setTrafficClass): New method.
2982         (getTrafficClass): New method.
2983         * java/net/MulticastSocket.java):
2984         (getTTL): Added @see in documentation.
2985         (setTTL): Added @see in documentation.
2986         (setLoopbackMode): New method.
2987         (getLoopbackMode): New method.
2988         * java/net/PlainSocketImpl.java:
2989         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
2990         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2991         * java/net/PlainDatagramSocketImpl.java
2992         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
2993         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2994         * java/net/natPlainSocketImpl.cc
2995         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
2996         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2997         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
2998         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2999         This should also fix SO_KEEPALIVE
3000         * java/net/natPlainDatagramSocketImpl.cc
3001         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
3002         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
3003         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
3004         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
3006 2002-09-04  Michael Koch  <konqueror@gmx.de>
3008         * java/net/SocketOptions.java: added static variables to be JDK 1.4
3009         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
3010         IP_MULTICAST_LOOP, IP_TOS
3012 2002-09-03  Tom Tromey  <tromey@redhat.com>
3014         * java/lang/Class.h (_getDeclaredMethod): Declare.
3015         (_getMethod): Now private.
3016         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
3017         getDeclaredMethod.  Now returns NULL on failure.
3018         * java/lang/Class.java (_getDeclaredMethod): Declare.
3019         (getDeclaredMethod): No longer native; implements access checks.
3021 2002-09-01  Mark Wielaard  <mark@klomp.org>
3023         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
3024         (sanitizeStack): Correctly reset unknown and interpreter counters,
3025         detect interpreter runtime frames.
3026         (demangleInterpreterMethod): New method.
3027         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
3028         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
3029         filling in addrs[].
3031 2002-09-02  Michael Koch  <konqueror@gmx.de>
3033         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
3034         re-indented documentation.
3036 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3038         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
3039         public, per 1.4 spec.  Fixes PR libgcj/7785.
3041 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
3043         * Makefile.in: Rebuilt.
3044         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
3046 2002-08-29  Tom Tromey  <tromey@redhat.com>
3048         * java/net/JarURLConnection.java (getCertificates): New method
3049         from Classpath.
3050         * java/net/URLClassLoader.java (URLClassLoader): Extends
3051         SecureClassLoader.
3052         (definePackage): New method from Classpath.
3053         (getPermissions): Likewise.
3054         (newInstance): Likewise.
3055         (findClass): Construct CodeSource for new class (from Classpath).
3056         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
3057         methods.
3058         * java/net/URL.java (getUserInfo): New method.
3059         (set(String,String,int,String,String,String,String,String)): New
3060         method.
3061         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
3062         (shutdownInput, shutdownOutput): Declare.
3063         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
3064         Define.
3065         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
3066         (getOption): Likewise.
3067         (shutdownInput): New method.
3068         (shutdownOutput): Likewise.
3069         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
3070         keepalive.
3071         (getOption): Likewise.
3072         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
3073         * java/net/Socket.java (setKeepAlive): New method.
3074         (getKeepAlive): Likewise.
3075         (shutdownInput, shutdownOutput): New methods.
3077 2002-08-29  Michael Koch  <konqueror@gmx.de>
3079         * java/net/DatagramPacket.java: updated to JDK 1.4 API
3080         new methods are:
3081         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
3082           address),
3083         DatagramPacket(byte[] buf, int length, SocketAddress address),
3084         void setSocketAddress(SocketAddress address)
3085         public SocketAddress getSocketAddress()
3087 2002-08-29  Tom Tromey  <tromey@redhat.com>
3089         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
3090         ftruncate is missing.
3091         * configure, include/config.h.in: Rebuilt.
3092         * acconfig.h (HAVE_FTRUNCATE): Mention.
3093         * configure.in: Check for ftruncate.
3095 2002-08-29  Tom Tromey  <tromey@redhat.com>
3097         * include/jvm.h (struct _Jv_frame_info): New structure.
3098         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
3099         java-interp.h.
3100         (lookupInterp): New method.
3101         (getAddrAsString): Use _Jv_frame_info.
3102         (dladdrLookup): Likewise.
3103         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
3104         interpreted frame.
3105         (lookupInterp): Declare.
3106         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
3107         (fillInStackTrace): Collect information on interpreted frames.
3108         Use _Jv_frame_info.
3109         * interpret.cc: Include Thread.h.
3110         (run): Create and push _Jv_MethodChain object.
3111         (_Jv_EndOfInterpreter): New global.
3112         * java/lang/Thread.java (interp_frame): New field.
3113         * include/java-interp.h (struct _Jv_MethodChain): New structure.
3114         Include NameFinder.h.
3116 2002-08-28  Tom Tromey  <tromey@redhat.com>
3118         * java/lang/Class.h: Include Package.h.
3119         (Class::getProtectionDomain): Declare.
3120         (Class::getPackage): Declare.
3122 2002-08-28  Michael Koch <konqueror@gmx.de>
3124         * java/net/InetSocketAddress.java: Added some documentation and argument
3125         checks for the port numbers.
3126         * java/net/DatagramSocketImplFactory.java: New file.
3128 2002-08-28  Michael Koch <konqueror@gmx.de>
3130         * java/net/Authenticator.java: added some documentation.
3132 2002-08-27  Tom Tromey  <tromey@redhat.com>
3134         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
3135         class.
3136         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
3138 2002-08-27  Michael Koch <konqueror@gmx.de>
3140         * java/net/BindException.java,
3141         java/net/JarURLConnection.java,
3142         java/net/FileNameMap.java,
3143         java/net/HttpURLConnection.java,
3144         java/net/InetSocketAddress.java,
3145         java/net/DatagramPacket.java,
3146         java/net/DatagramSocket.java,
3147         java/net/DatagramSocketImpl.java,
3148         java/net/MulticastSocket.java,
3149         java/net/PasswordAuthentication.java,
3150         java/net/ServerSocket.java,
3151         java/net/Socket.java,
3152         java/net/URLClassLoader.java,
3153         java/net/URLConnection.java: add/update of some @since/@deprecated
3155 2002-08-27  Tony Kimball <alk@pobox.com>
3156             Tom Tromey  <tromey@redhat.com>
3158         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
3159         define.
3160         (::close): Removed.
3161         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
3162         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
3163         (::close): Removed.
3164         (PlainSocketImpl::close): Use NATIVE_CLOSE.
3165         * include/win32.h (getcwd): Removed declaration.  Include io.h.
3167 2002-08-25  Adam Megacz <adam@xwt.org>
3169         * include/win32.h (getcwd): copied function declaration as
3170         temporary fix for header confusion.
3172 2002-08-24  Mark Wielaard <mark@klomp.org>
3174         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
3175         (core_java_source_files): Add VMThrowable.java and NameFinder.java
3176         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
3177         and natNameFinder.cc.
3178         * Makefile.in: Regenerate.
3179         * prims.cc: Use trace_enabled from VMThrowable.
3180         * name-finder.cc: Removed.
3181         * gcj/javaprims.h: Add class VMThrowable.
3182         * gnu/gcj/runtime/NameFinder.java: New file.
3183         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
3184         * include/name-finder.h: Removed.
3185         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
3186         method stackTraceString().
3187         (printStackTrace (PrintWriter)): Likewise.
3188         (stackTraceString): Complete rewrite of old printStackTrace using
3189         StringBuffer.
3190         (stackTraceStringBuffer): New helper method for stackTraceString().
3191         (fillInStackTrace): Delegate to VMTrowable.
3192         (getStackTrace): Likewise.
3193         (getStackTrace0): Removed.
3194         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
3195         (setStackTrace): Copy given array.
3196         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
3197         * java/lang/VMThrowable.java: New class.
3198         * java/lang/natVMThrowable.cc: New file.
3200 2003-08-23  Michael Koch  <konqueror@gmx.de>
3202         * java/net/URLConnection.java,
3203         java/netJarURLConnection.java,
3204         gnu/gcj/protocol/core/Connection.java,
3205         gnu/gcj/protocol/file/Connection.java,
3206         gnu/gcj/protocol/http/Connection.java: Added implementation of
3207         getHeaderFields().
3209 2002-08-22  Tom Tromey  <tromey@redhat.com>
3211         * gij.cc (help): Document -cp and -classpath.
3212         (main): Handle -classpath.
3214 2002-08-21  Tom Tromey  <tromey@redhat.com>
3216         * Makefile.in: Rebuilt.
3217         * Makefile.am (ordinary_java_source_files): Added
3218         SocketAddress.java, InetSocketAddress.java.
3219         * java/net/PortUnreachableException.java: Merged with Classpath.
3220         * java/net/SocketTimeoutException.java: Likewise.
3221         * java/net/URISyntaxException.java: Likewise.
3222         * java/net/SocketAddress.java: New class from Classpath.
3223         * java/net/InetSocketAddress.java: Likewise.
3225 2003-08-21  Michael Koch  <konqueror@gmx.de>
3227         * java/net/Authenticator.java: updated JDK 1.4
3228         * java/net/ContentHandler.java: updated JDK 1.4
3230 2002-08-20  Michael Koch  <konqueror@gmx.de>
3232         * java/net/URISyntaxException.java: New file.
3233         * java/net/SocketTimeoutException.java: New file.
3234         * java/net/PortUnreachableException.java: New file.
3235         * Makefile.am: Updated.
3236         * Makefile.in: Rebuilt.
3238 2002-08-18  Mark Wielaard  <mark@klomp.org>
3240         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
3241         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
3242         MessageDigestSpi (fixes Classpath bug #783).
3244 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3246         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
3247         (startProcess): Allocate path for chdir in async-signal-safe way.
3249 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3251         Fix for PR libgcj/7570 and PR libgcj/7578:
3252         * java/lang/natPosixProcess.cc: Include java/io/File.h.
3253         (startProcess): Handle new `dir' argument.
3254         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
3255         argument.
3256         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
3257         argument.
3258         (startProcess): Likewise.
3259         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
3260         argument.
3261         * java/lang/Runtime.java (execInternal): Added `dir' argument.
3262         (exec): Don't create new environment if ENV==null.  Pass DIR to
3263         execInternal.
3264         * java/lang/natRuntime.cc: Include java/io/File.h.
3265         (execInternal): Added `dir' argument.
3267 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
3269         * java/io/RandomAccessFile.java (skipBytes): Return number of
3270         bytes skipped.
3272 2002-08-01  Mark Wielaard  <mark@klomp.org>
3274         Reenable patch since shared library troubles on powerpc are solved:
3275         * gnu/java/security/provider/Gnu.java: Reference all implementation
3276         classes by using Class.getName().
3277         * gnu/java/security/der/DEREncodingException.java,
3278         gnu/java/security/provider/DERReader.java,
3279         gnu/java/security/provider/DERWriter.java,
3280         gnu/java/security/provider/DSAKeyPairGenerator.java,
3281         gnu/java/security/provider/DSAParameterGenerator.java,
3282         gnu/java/security/provider/DSAParameters.java,
3283         gnu/java/security/provider/DSASignature.java,
3284         gnu/java/security/provider/GnuDSAPrivateKey.java,
3285         gnu/java/security/provider/GnuDSAPublicKey.java,
3286         gnu/java/security/provider/MD5.java,
3287         gnu/java/security/util/Prime.java: New classes
3288         * Makefile.am (ordinary_java_source_files): Add above files.
3289         * Makefile.in: Regenerate.
3290         * gnu/java/security/provider/DefaultPolicy.java
3291         (getPermissions): Don't maintain static class variable of Permissions.
3292         * gnu/java/security/provider/SHA.java
3293         (engineUpdate): algorithm change.
3294         (engineDigest): algorithm change.
3296 2002-08-09  Mark Wielaard  <mark@klomp.org>
3298         * java/awt/image/MemoryImageSource.java: Change constructor to take
3299         int[] not byte[].
3300         * java/awt/Graphics2D.java: Uncomment methods that can now be
3301         compiled.
3302         * java/awt/GridBagLayout.java: New stub implementation.
3303         * javax/swing/text/html/HTML.java: Stub implementation.
3304         * javax/swing/text/html/parser/ParserDelegator.java: New stub
3305         implementation.
3307         * Makefile.am: Add new files.
3308         * Makefile.in: Rebuilt.
3310 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3312         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
3313         methods in Graphics2D.
3315 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3317         AWT/Swing merge from GNU Classpath.
3319         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
3320         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
3321         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
3322         java/awt/color/ProfileDataException.java,
3323         java/awt/CompositeContext.java, java/awt/Composite.java,
3324         java/awt/ContainerOrderFocusTraversalPolicy.java,
3325         java/awt/datatransfer/FlavorTable.java,
3326         java/awt/DefaultFocusTraversalPolicy.java,
3327         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
3328         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
3329         java/awt/dnd/DragGestureListener.java,
3330         java/awt/dnd/DragGestureRecognizer.java,
3331         java/awt/dnd/DragSourceAdapter.java,
3332         java/awt/dnd/DragSourceContext.java,
3333         java/awt/dnd/DragSourceDragEvent.java,
3334         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
3335         java/awt/dnd/DragSourceListener.java,
3336         java/awt/dnd/DragSourceMotionListener.java,
3337         java/awt/dnd/DropTarget.java,
3338         java/awt/dnd/InvalidDnDOperationException.java,
3339         java/awt/dnd/peer/DragSourceContextPeer.java,
3340         java/awt/event/AWTEventListenerProxy.java,
3341         java/awt/event/MouseWheelEvent.java,
3342         java/awt/event/MouseWheelListener.java,
3343         java/awt/event/WindowFocusListener.java,
3344         java/awt/event/WindowStateListener.java,
3345         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
3346         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
3347         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
3348         java/awt/geom/FlatteningPathIterator.java,
3349         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
3350         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
3351         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
3352         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
3353         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
3354         java/awt/image/ImagingOpException.java,
3355         java/awt/image/RasterFormatException.java,
3356         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
3357         java/awt/image/VolatileImage.java,
3358         java/awt/image/WritableRenderedImage.java,
3359         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
3360         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
3361         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
3362         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
3363         java/awt/PageAttributes.java, java/awt/print/Book.java,
3364         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
3365         java/awt/print/Paper.java, java/awt/print/Printable.java,
3366         java/awt/print/PrinterAbortException.java,
3367         java/awt/print/PrinterException.java,
3368         java/awt/print/PrinterGraphics.java,
3369         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
3370         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
3371         java/awt/Stroke.java, java/awt/TexturePaint.java,
3372         javax/accessibility/AccessibleAction.java,
3373         javax/accessibility/AccessibleBundle.java,
3374         javax/accessibility/AccessibleComponent.java,
3375         javax/accessibility/AccessibleContext.java,
3376         javax/accessibility/AccessibleEditableText.java,
3377         javax/accessibility/AccessibleExtendedComponent.java,
3378         javax/accessibility/AccessibleExtendedTable.java,
3379         javax/accessibility/AccessibleHyperlink.java,
3380         javax/accessibility/AccessibleHypertext.java,
3381         javax/accessibility/AccessibleIcon.java,
3382         javax/accessibility/Accessible.java,
3383         javax/accessibility/AccessibleKeyBinding.java,
3384         javax/accessibility/AccessibleRelation.java,
3385         javax/accessibility/AccessibleRelationSet.java,
3386         javax/accessibility/AccessibleResourceBundle.java,
3387         javax/accessibility/AccessibleRole.java,
3388         javax/accessibility/AccessibleSelection.java,
3389         javax/accessibility/AccessibleState.java,
3390         javax/accessibility/AccessibleStateSet.java,
3391         javax/accessibility/AccessibleTable.java,
3392         javax/accessibility/AccessibleTableModelChange.java,
3393         javax/accessibility/AccessibleText.java,
3394         javax/accessibility/AccessibleValue.java,
3395         javax/swing/AbstractAction.java,
3396         javax/swing/AbstractButton.java,
3397         javax/swing/AbstractCellEditor.java,
3398         javax/swing/AbstractListModel.java,
3399         javax/swing/AbstractSet.java, javax/swing/Action.java,
3400         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
3401         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
3402         javax/swing/border/CompoundBorder.java,
3403         javax/swing/border/EmptyBorder.java,
3404         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
3405         javax/swing/border/LineBorder.java,
3406         javax/swing/border/MatteBorder.java,
3407         javax/swing/border/TitledBorder.java,
3408         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
3409         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
3410         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
3411         javax/swing/CellRendererPane.java,
3412         javax/swing/colorchooser/AbstractColorChooserPanel.java,
3413         javax/swing/colorchooser/ColorChooserComponentFactory.java,
3414         javax/swing/colorchooser/ColorSelectionModel.java,
3415         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3416         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
3417         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
3418         javax/swing/DefaultBoundedRangeModel.java,
3419         javax/swing/DefaultButtonModel.java,
3420         javax/swing/DefaultCellEditor.java,
3421         javax/swing/DefaultCellRenderer.java,
3422         javax/swing/DefaultComboBoxModel.java,
3423         javax/swing/DefaultDesktopManager.java,
3424         javax/swing/DefaultFocusManager.java,
3425         javax/swing/DefaultListCellRenderer.java,
3426         javax/swing/DefaultListModel.java,
3427         javax/swing/DefaultListSelectionModel.java,
3428         javax/swing/DefaultSingleSelectionModel.java,
3429         javax/swing/DesktopManager.java,
3430         javax/swing/event/AncestorEvent.java,
3431         javax/swing/event/AncestorListener.java,
3432         javax/swing/event/CaretEvent.java,
3433         javax/swing/event/CaretListener.java,
3434         javax/swing/event/CellEditorListener.java,
3435         javax/swing/event/ChangeEvent.java,
3436         javax/swing/event/ChangeListener.java,
3437         javax/swing/event/DocumentEvent.java,
3438         javax/swing/event/DocumentListener.java,
3439         javax/swing/event/EventListenerList.java,
3440         javax/swing/event/HyperlinkEvent.java,
3441         javax/swing/event/HyperlinkListener.java,
3442         javax/swing/event/InternalFrameAdapter.java,
3443         javax/swing/event/InternalFrameEvent.java,
3444         javax/swing/event/InternalFrameListener.java,
3445         javax/swing/event/ListDataEvent.java,
3446         javax/swing/event/ListDataListener.java,
3447         javax/swing/event/ListSelectionEvent.java,
3448         javax/swing/event/ListSelectionListener.java,
3449         javax/swing/event/MenuDragMouseEvent.java,
3450         javax/swing/event/MenuDragMouseListener.java,
3451         javax/swing/event/MenuEvent.java,
3452         javax/swing/event/MenuKeyEvent.java,
3453         javax/swing/event/MenuKeyListener.java,
3454         javax/swing/event/MenuListener.java,
3455         javax/swing/event/MouseInputAdapter.java,
3456         javax/swing/event/MouseInputListener.java,
3457         javax/swing/event/PopupMenuEvent.java,
3458         javax/swing/event/PopupMenuListener.java,
3459         javax/swing/event/SwingPropertyChangeSupport.java,
3460         javax/swing/event/TableColumnModelEvent.java,
3461         javax/swing/event/TableColumnModelListener.java,
3462         javax/swing/event/TableModelEvent.java,
3463         javax/swing/event/TableModelListener.java,
3464         javax/swing/event/TreeExpansionEvent.java,
3465         javax/swing/event/TreeExpansionListener.java,
3466         javax/swing/event/TreeModelEvent.java,
3467         javax/swing/event/TreeModelListener.java,
3468         javax/swing/event/TreeSelectionEvent.java,
3469         javax/swing/event/TreeSelectionListener.java,
3470         javax/swing/event/TreeWillExpandListener.java,
3471         javax/swing/event/UndoableEditEvent.java,
3472         javax/swing/event/UndoableEditListener.java,
3473         javax/swing/filechooser/FileFilter.java,
3474         javax/swing/filechooser/FileSystemView.java,
3475         javax/swing/filechooser/FileView.java,
3476         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
3477         javax/swing/Icon.java, javax/swing/ImageIcon.java,
3478         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
3479         javax/swing/JApplet.java, javax/swing/JButton.java,
3480         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
3481         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
3482         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
3483         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
3484         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
3485         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
3486         javax/swing/JLayeredPane.java, javax/swing/JList.java,
3487         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
3488         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
3489         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
3490         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
3491         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
3492         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
3493         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
3494         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
3495         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
3496         javax/swing/JTextField.java, javax/swing/JTextPane.java,
3497         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
3498         javax/swing/JToolTip.java, javax/swing/JTree.java,
3499         javax/swing/JViewport.java, javax/swing/JWindow.java,
3500         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
3501         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
3502         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
3503         javax/swing/MenuSelectionManager.java,
3504         javax/swing/MutableComboBoxModel.java,
3505         javax/swing/OverlayLayout.java,
3506         javax/swing/plaf/ActionMapUIResource.java,
3507         javax/swing/plaf/basic/BasicBorders.java,
3508         javax/swing/plaf/basic/BasicButtonUI.java,
3509         javax/swing/plaf/basic/BasicCheckBoxUI.java,
3510         javax/swing/plaf/basic/BasicDefaults.java,
3511         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3512         javax/swing/plaf/basic/BasicIconFactory.java,
3513         javax/swing/plaf/basic/BasicLabelUI.java,
3514         javax/swing/plaf/basic/BasicListUI.java,
3515         javax/swing/plaf/basic/BasicLookAndFeel.java,
3516         javax/swing/plaf/basic/BasicOptionPaneUI.java,
3517         javax/swing/plaf/basic/BasicPanelUI.java,
3518         javax/swing/plaf/basic/BasicRadioButtonUI.java,
3519         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3520         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3521         javax/swing/plaf/basic/BasicTextUI.java,
3522         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3523         javax/swing/plaf/basic/BasicTreeUI.java,
3524         javax/swing/plaf/basic/BasicViewportUI.java,
3525         javax/swing/plaf/BorderUIResource.java,
3526         javax/swing/plaf/ButtonUI.java,
3527         javax/swing/plaf/ColorChooserUI.java,
3528         javax/swing/plaf/ColorUIResource.java,
3529         javax/swing/plaf/ComboBoxUI.java,
3530         javax/swing/plaf/ComponentInputMapUIResource.java,
3531         javax/swing/plaf/ComponentUI.java,
3532         javax/swing/plaf/DesktopIconUI.java,
3533         javax/swing/plaf/DesktopPaneUI.java,
3534         javax/swing/plaf/DimensionUIResource.java,
3535         javax/swing/plaf/FileChooserUI.java,
3536         javax/swing/plaf/FontUIResource.java,
3537         javax/swing/plaf/IconUIResource.java,
3538         javax/swing/plaf/InputMapUIResource.java,
3539         javax/swing/plaf/InsetsUIResource.java,
3540         javax/swing/plaf/InternalFrameUI.java,
3541         javax/swing/plaf/LabelUI.java,
3542         javax/swing/plaf/ListUI.java,
3543         javax/swing/plaf/MenuBarUI.java,
3544         javax/swing/plaf/MenuItemUI.java,
3545         javax/swing/plaf/OptionPaneUI.java,
3546         javax/swing/plaf/PanelUI.java,
3547         javax/swing/plaf/PopupMenuUI.java,
3548         javax/swing/plaf/ProgressBarUI.java,
3549         javax/swing/plaf/RootPaneUI.java,
3550         javax/swing/plaf/ScrollBarUI.java,
3551         javax/swing/plaf/ScrollPaneUI.java,
3552         javax/swing/plaf/SeparatorUI.java,
3553         javax/swing/plaf/SliderUI.java,
3554         javax/swing/plaf/SplitPaneUI.java,
3555         javax/swing/plaf/TabbedPaneUI.java,
3556         javax/swing/plaf/TableHeaderUI.java,
3557         javax/swing/plaf/TableUI.java,
3558         javax/swing/plaf/TextUI.java,
3559         javax/swing/plaf/ToolBarUI.java,
3560         javax/swing/plaf/ToolTipUI.java,
3561         javax/swing/plaf/TreeUI.java,
3562         javax/swing/plaf/UIResource.java,
3563         javax/swing/plaf/ViewportUI.java,
3564         javax/swing/ProgressMonitorInputStream.java,
3565         javax/swing/ProgressMonitor.java,
3566         javax/swing/Renderer.java,
3567         javax/swing/RepaintManager.java,
3568         javax/swing/RootPaneContainer.java,
3569         javax/swing/Scrollable.java,
3570         javax/swing/ScrollPaneConstants.java,
3571         javax/swing/ScrollPaneLayout.java,
3572         javax/swing/SingleSelectionModel.java,
3573         javax/swing/SizeRequirements.java,
3574         javax/swing/SizeSequence.java,
3575         javax/swing/SwingConstants.java,
3576         javax/swing/SwingUtilities.java,
3577         javax/swing/table/AbstractTableModel.java,
3578         javax/swing/table/DefaultTableCellRenderer.java,
3579         javax/swing/table/DefaultTableColumnModel.java,
3580         javax/swing/table/DefaultTableModel.java,
3581         javax/swing/table/TableCellEditor.java,
3582         javax/swing/table/TableCellRenderer.java,
3583         javax/swing/table/TableColumn.java,
3584         javax/swing/table/TableColumnModel.java,
3585         javax/swing/table/TableModel.java,
3586         javax/swing/text/AbstractDocument.java,
3587         javax/swing/text/AttributeSet.java,
3588         javax/swing/text/BadLocationException.java,
3589         javax/swing/text/Caret.java,
3590         javax/swing/text/CharacterIterator.java,
3591         javax/swing/text/ComponentView.java,
3592         javax/swing/text/DefaultCaret.java,
3593         javax/swing/text/DefaultEditorKit.java,
3594         javax/swing/text/Document.java,
3595         javax/swing/text/EditorKit.java,
3596         javax/swing/text/Element.java,
3597         javax/swing/text/GapContent.java,
3598         javax/swing/text/JTextComponent.java,
3599         javax/swing/text/Keymap.java,
3600         javax/swing/text/MutableAttributeSet.java,
3601         javax/swing/text/PlainDocument.java,
3602         javax/swing/text/PlainEditorKit.java,
3603         javax/swing/text/Position.java,
3604         javax/swing/text/Segment.java,
3605         javax/swing/text/StyledDocument.java,
3606         javax/swing/text/StyledEditorKit.java,
3607         javax/swing/text/Style.java,
3608         javax/swing/text/TextAction.java,
3609         javax/swing/text/ViewFactory.java,
3610         javax/swing/text/View.java,
3611         javax/swing/Timer.java,
3612         javax/swing/ToggleButtonModel.java,
3613         javax/swing/ToolTipManager.java,
3614         javax/swing/tree/AbstractLayoutCache.java,
3615         javax/swing/tree/DefaultMutableTreeNode.java,
3616         javax/swing/tree/DefaultTreeCellEditor.java,
3617         javax/swing/tree/DefaultTreeCellRenderer.java,
3618         javax/swing/tree/DefaultTreeModel.java,
3619         javax/swing/tree/DefaultTreeSelectionModel.java,
3620         javax/swing/tree/ExpandVetoException.java,
3621         javax/swing/tree/FixedHeightLayoutCache.java,
3622         javax/swing/tree/MutableTreeNode.java,
3623         javax/swing/tree/RowMapper.java,
3624         javax/swing/tree/TreeCellEditor.java,
3625         javax/swing/tree/TreeCellRenderer.java,
3626         javax/swing/tree/TreeModel.java,
3627         javax/swing/tree/TreeNode.java,
3628         javax/swing/tree/TreePath.java,
3629         javax/swing/tree/TreeSelectionModel.java,
3630         javax/swing/tree/VariableHeightLayoutCache.java,
3631         javax/swing/UIDefaults.java,
3632         javax/swing/UIManager.java,
3633         javax/swing/undo/AbstractUndoableEdit.java,
3634         javax/swing/undo/CannotRedoException.java,
3635         javax/swing/undo/CannotUndoException.java,
3636         javax/swing/undo/CompoundEdit.java,
3637         javax/swing/undo/StateEditable.java,
3638         javax/swing/undo/StateEdit.java,
3639         javax/swing/undo/UndoableEdit.java,
3640         javax/swing/undo/UndoableEditSupport.java,
3641         javax/swing/undo/UndoManager.java,
3642         javax/swing/UnsupportedLookAndFeelException.java,
3643         javax/swing/ViewportLayout.java,
3644         javax/swing/WindowConstants.java: New files, from GNU Classpath.
3646         * java/awt/ActiveEvent.java,
3647         java/awt/Adjustable.java, java/awt/AWTError.java,
3648         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
3649         java/awt/AWTException.java, java/awt/AWTPermission.java,
3650         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
3651         java/awt/Color.java, java/awt/Component.java,
3652         java/awt/ComponentOrientation.java, java/awt/Container.java,
3653         java/awt/datatransfer/MimeTypeParseException.java,
3654         java/awt/datatransfer/Transferable.java,
3655         java/awt/datatransfer/UnsupportedFlavorException.java,
3656         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
3657         java/awt/event/ActionListener.java,
3658         java/awt/event/AdjustmentEvent.java,
3659         java/awt/event/AdjustmentListener.java,
3660         java/awt/event/AWTEventListener.java,
3661         java/awt/event/ComponentAdapter.java,
3662         java/awt/event/ComponentEvent.java,
3663         java/awt/event/ComponentListener.java,
3664         java/awt/event/ContainerAdapter.java,
3665         java/awt/event/ContainerEvent.java,
3666         java/awt/event/ContainerListener.java,
3667         java/awt/event/FocusAdapter.java,
3668         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
3669         java/awt/event/HierarchyBoundsAdapter.java,
3670         java/awt/event/HierarchyBoundsListener.java,
3671         java/awt/event/HierarchyEvent.java,
3672         java/awt/event/HierarchyListener.java,
3673         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
3674         java/awt/event/InputMethodListener.java,
3675         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
3676         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
3677         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
3678         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
3679         java/awt/event/MouseListener.java,
3680         java/awt/event/MouseMotionAdapter.java,
3681         java/awt/event/MouseMotionListener.java,
3682         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
3683         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
3684         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
3685         java/awt/event/WindowListener.java, java/awt/Font.java,
3686         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
3687         java/awt/geom/Ellipse2D.java,
3688         java/awt/geom/IllegalPathStateException.java,
3689         java/awt/geom/Line2D.java,
3690         java/awt/geom/NoninvertibleTransformException.java,
3691         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
3692         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
3693         java/awt/geom/RoundRectangle2D.java,
3694         java/awt/GraphicsConfiguration.java,
3695         java/awt/IllegalComponentStateException.java,
3696         java/awt/image/IndexColorModel.java,
3697         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
3698         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
3699         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
3700         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
3701         java/awt/MenuItem.java, java/awt/PaintContext.java,
3702         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
3703         java/awt/Polygon.java, java/awt/PrintGraphics.java,
3704         java/awt/PrintJob.java, java/awt/Rectangle.java,
3705         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
3706         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
3707         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
3709         * java/awt/im/spi/InputMethod.java,
3710         java/awt/im/spi/InputMethodContext.java,
3711         java/awt/im/spi/InputMethodDescriptor.java,
3712         java/awt/image/renderable/ContextualRenderedImageFactory.java,
3713         java/awt/image/renderable/ParameterBlock.java,
3714         java/awt/image/renderable/RenderContext.java,
3715         java/awt/image/renderable/RenderableImage.java,
3716         java/awt/image/renderable/RenderableImageOp.java,
3717         java/awt/image/renderable/RenderableImageProducer.java,
3718         java/awt/image/renderable/RenderedImageFactory.java: New files from
3719         classpath.
3721         * gnu/java/awt/EventModifier.java,
3722         gnu/java/awt/image/ImageDecoder.java,
3723         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
3725         * gnu/awt/xlib/XGraphicsConfiguration.java,
3726         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
3727         API.
3729         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
3730         GNU Classpath.
3732         * Makefile.am: Add new files.
3733         * Makefile.in: Rebuilt.
3735 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3737         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
3738         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
3739         findResource, getResources, findResources): Add javadoc from classpath.
3740         (getSystemResources): Implemented.
3742 2002-08-01  Mark Wielaard  <mark@klomp.org>
3744         Revert patch that breaks libgcj shared library on powerpc:
3745         * gnu/java/security/provider/Gnu.java: Reverse referencing all
3746         implementation classes by using Class.getName(). Uses Strings again.
3747         * gnu/java/security/der/DEREncodingException.java,
3748         gnu/java/security/provider/DERReader.java,
3749         gnu/java/security/provider/DERWriter.java,
3750         gnu/java/security/provider/DSAKeyPairGenerator.java,
3751         gnu/java/security/provider/DSAParameterGenerator.java,
3752         gnu/java/security/provider/DSAParameters.java,
3753         gnu/java/security/provider/DSASignature.java,
3754         gnu/java/security/provider/GnuDSAPrivateKey.java,
3755         gnu/java/security/provider/GnuDSAPublicKey.java,
3756         gnu/java/security/provider/MD5.java,
3757         gnu/java/security/util/Prime.java: Removed.
3758         * Makefile.am (ordinary_java_source_files): Remove above files.
3759         * Makefile.in: Regenerate.
3760         * gnu/java/security/provider/DefaultPolicy.java
3761         (getPermissions): Revert to maintaining static class variable of
3762         Permissions.
3763         * gnu/java/security/provider/SHA.java
3764         (engineUpdate): Revert algorithm change.
3765         (engineDigest): Revert algorithm change.
3767 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
3769         * configure.host: Add SH support.
3770         * sysdep/sh/locks.h: New file.
3772 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3774         * java/awt/Frame.java (Frame): Remove println calls.
3776 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
3778         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
3779         * configure: Rebuilt.
3781 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
3783         * sysdep/powerpc/locks.h: Formatting.
3784         (_LARX): Define.
3785         (_STCX): Define.
3786         (compare_and_swap): Use _LARX and _STCX.
3787         (compare_and_swap_release): Likewise.
3789 2002-07-26  Tom Tromey  <tromey@redhat.com>
3791         * java/net/Authenticator.java: New version from Classpath.
3792         * java/net/DatagramSocketImpl.java: New version from Classpath.
3794 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
3796         * configure.host: Add powerpc64*-* entry.
3798 2002-07-26  Tom Tromey  <tromey@redhat.com>
3800         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
3801         fcntl.h.
3803 2002-07-24  Tom Tromey  <tromey@redhat.com>
3805         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
3806         argument to _load.
3808 2002-07-24  Tom Tromey  <tromey@redhat.com>
3809             Tony Kimball <alk@pobox.com>
3811         * java/io/natFileDescriptorWin32.cc (setLength): New method.
3812         * java/io/natFileDescriptorPosix.cc (setLength): New method.
3813         * java/io/RandomAccessFile.java (setLength): New method.
3814         * java/io/natFileDescriptorEcos.cc (setLength): New method.
3815         * java/io/FileDescriptor.java (setLength): New method.
3817 2002-07-24  Mark Wielaard  <mark@klomp.org>
3819         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
3820         * java/io/ObjectInputStream.java (setBooleanField): Before setting
3821         field call setAccessible(true).
3822         (setByteField): Likewise.
3823         (setCharField): Likewise.
3824         (setDoubleField): Likewise.
3825         (setFloatField): Likewise.
3826         (setIntField): Likewise.
3827         (setLongField): Likewise.
3828         (setShortField): Likewise.
3829         (setObjectField): Likewise.
3831 2002-07-24  Tom Tromey  <tromey@redhat.com>
3833         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
3834         use toString() to format array element.
3836 2002-07-23  Mark Wielaard  <mark@klomp.org>
3838         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
3839         MessageDigestSpi (fixes Classpath bug #783).
3841 2002-07-21  Mark Wielaard  <mark@klomp.org>
3843         * gnu/java/security/provider/Gnu.java: Reference all implementation
3844         classes by using Class.getName().
3846 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
3848         * java/lang/ieeefp.h: Add x86-64 support.
3849         * configure.in: Likewise.
3850         * configure.host: Likewise.
3851         * configure: Regenerated.
3852         * sysdep/x86-64/locks.h: New file with x86-64 locks.
3854 2002-07-16  Mark Wielaard  <mark@klomp.org>
3856         * java/io/StreamTokenizer.java (pushBack): Update documentation.
3857         (whitespaceChars): call resetChar().
3859 2002-07-15  Tom Tromey  <tromey@redhat.com>
3861         * Makefile.in: Rebuilt.
3862         * Makefile.am (awt_java_source_files): Added new files.
3863         * java/beans/ExceptionListener.java: Merged with Classpath.
3864         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
3865         * java/beans/PropertyChangeListener.java: Merged with Classpath.
3866         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
3867         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
3868         * java/beans/VetoableChangeListener.java: Merged with Classpath.
3869         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
3870         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
3872 2002-07-14  Mark Wielaard  <mark@klomp.org>
3874         * gnu/java/security/der/DEREncodingException.java,
3875         gnu/java/security/provider/DERReader.java,
3876         gnu/java/security/provider/DERWriter.java,
3877         gnu/java/security/provider/DSAKeyPairGenerator.java,
3878         gnu/java/security/provider/DSAParameterGenerator.java,
3879         gnu/java/security/provider/DSAParameters.java,
3880         gnu/java/security/provider/DSASignature.java,
3881         gnu/java/security/provider/GnuDSAPrivateKey.java,
3882         gnu/java/security/provider/GnuDSAPublicKey.java,
3883         gnu/java/security/provider/MD5.java,
3884         gnu/java/security/util/Prime.java: New files from Classpath.
3885         * Makefile.am (ordinary_java_source_files): Add new files.
3886         * Makefile.in: Regenerate.
3888 2002-07-14  C. Brian Jones <cbj@gnu.org>
3890         * gnu/java/security/provider/DefaultPolicy.java
3891         (getPermissions): do not maintain static class variable of
3892         Permissions
3893         * gnu/java/security/provider/SHA.java
3894         (engineUpdate): algorithm change
3895         (engineDigest): algorithm change
3897 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
3899         For PR libgcj/7292:
3900         * java/lang/Character.java (toString(char)): Now static.
3902 2002-07-12  Mark Wielaard  <mark@klomp.org>
3904         * java/lang/natThrowable.cc (printRawStackTrace): removed.
3905         (getStackTrace0): new method.
3906         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
3907         (printStackTrace(PrintWriter)): replace with pure java implementation.
3908         (printRawStackTrace): removed.
3909         (getStackTrace0): new method.
3910         * java/lang/StackTraceElement.java (toString): add extra whitespace.
3911         * gcj/javaprims.h: regenerate class list.
3912         * include/name-finder.h (lookup): new returns StackTraceElement*.
3913         (method_name, file_name): fields removed.
3914         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
3915         (~_Jv_name_finder): close new descriptors.
3916         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
3917         (createStackTraceElement): new method.
3918         (lookup): returns StackTraceElement*, uses createStackTraceElement().
3920 2002-07-10  Tom Tromey  <tromey@redhat.com>
3922         * configure: Rebuilt.
3923         * configure.in: Use `test' after `&&'.  From Chris Faylor.
3925 2002-07-08  Mark Wielaard  <mark@klomp.org>
3927         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
3928         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
3929         java.sql.DatabaseMetaData.TestJdbc20
3931 2002-07-05  Tony Kimball  <alk@pobox.com>
3933         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
3935 2002-07-04  Tom Tromey  <tromey@redhat.com>
3936             Jeff Sturm  <jsturm@one-point.com>
3938         Fix for PR libgcj/7060:
3939         * java/lang/Class.h (_getMethod): Renamed from getMethod.
3940         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
3941         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
3942         * java/lang/Class.java (getMethod): New Java implementation;
3943         complies with spec.
3944         (_getMethod): New native method.
3946 2002-07-02  Tom Tromey  <tromey@redhat.com>
3947             David Hovemeyer  <daveho@cs.umd.edu>
3949         * java/text/ChoiceFormat.java
3950         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
3951         in check loop.
3952         * java/text/MessageFormat.java
3953         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
3954         to MessageFormat.
3956 2002-07-01  Tom Tromey  <tromey@redhat.com>
3958         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
3959         StringTokenizer on null string.  For PR libgcj/7180.
3960         From daveho@cs.umd.edu.
3962 2002-06-24  Tom Tromey  <tromey@redhat.com>
3964         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
3965         (IntegerClass): Likewise.
3966         * java/lang/natClass.cc (CloneableClass): Removed.
3967         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
3968         ConstructorClass): Likewise.
3969         * java/lang/natClassLoader.cc (CloneableClass): Removed.
3970         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
3971         SerializableClass): Likewise.
3972         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
3973         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
3974         LongClass, FloatClass, DoubleClass): Likewise.
3976         * verify.cc (branch_prepass): Updated for change to exception
3977         handler type.
3978         (verify_instructions_0): Likewise.
3979         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
3980         (handleExceptionTableEntry): Updated for change to exception
3981         handler type.
3982         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
3983         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
3984         (union _Jv_InterpPC): New.
3985         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
3986         (class _Jv_InterpMethod): Added new `prepared' field.
3987         (class _Jv_InterpMethod): Added `compile' method.  Removed
3988         `continue1' and `find_exception'.  Changed arguments to `run'.
3989         * interpret.cc (union insn_slot): New.
3990         (find_exception): Removed.
3991         (run_normal): Removed most logic.
3992         (run_synch_object): Likewise; also, use JvSynchronize.
3993         (run_synch_class): Likewise.
3994         (run): Removed.
3995         (continue1): Renamed as `run'.  Compile bytecode if required.
3996         Add new code to allow refinement of direct-threaded code at
3997         runtime.  Handle exceptions.
3998         (SAVE_PC): Removed.
3999         (compile): New method.
4000         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
4001         (NULLARRAYCHECK): Don't use SAVE_PC.
4002         (pc_t): New typedef.
4003         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
4004         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
4006 2002-06-23  Tom Tromey  <tromey@redhat.com>
4008         * configure: Rebuilt.
4009         * configure.in (INTERPRETER): New subst.
4010         (AM_RUNTESTFLAGS): Don't subst.
4012         * Makefile.in: Rebuilt.
4013         * Makefile.am ($(srcdir)/java/lang/Object.h,
4014         $(srcdir)/java/lang/Class.h): Added dummy targets.
4016 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4018         Reformat JDBC classes and add new JDK 1.4 classes and methods.
4020         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
4021         java/sql/Savepoint.java: New files.
4022         * java/sql/Array.java, java/sql/BatchUpdateException.java,
4023         java/sql/Blob.java, java/sql/CallableStatement.java,
4024         java/sql/Clob.java, java/sql/Connection.java,
4025         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
4026         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
4027         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
4028         java/sql/Ref.java, java/sql/ResultSet.java,
4029         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
4030         java/sql/SQLException.java, java/sql/SQLInput.java,
4031         java/sql/SQLOutput.java, java/sql/SQLWarning.java
4032         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
4033         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
4034         (JDK 1.4) specification.
4035         * javax/sql/ConnectionEvent.java,
4036         javax/sql/ConnectionEventListener.java,
4037         javax/sql/ConnectionPoolDataSource.java,
4038         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
4039         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
4040         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
4041         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
4042         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
4043         javax/sql/XADataSource.java: New files.
4044         * Makefile.am: Add new files.
4045         * Makefile.in: Rebuilt.
4047 2002-06-20  Tom Tromey  <tromey@redhat.com>
4049         For PR libgcj/7073:
4050         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
4051         exists.
4052         * defineclass.cc (handleClassBegin): Superclass for interface is
4053         `null'.
4055 2002-06-18  Tom Tromey  <tromey@redhat.com>
4057         * gcj/javaprims.h: Updated class declaration list.
4058         * Makefile.in: Rebuilt.
4059         * Makefile.am (core_java_source_files): Removed
4060         BasicMapEntry.java.
4061         * java/util/BasicMapEntry.java: Removed.
4063 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
4065         * java/net/natPlainDatagramSocketImpl.cc (receive):
4066         Check bounds of argument to FD_SET.
4067         (setOption): Throw exception if socket is closed.
4069         * java/net/natPlainSocketImpl.cc (accept, read):
4070         Check bounds of argument to FD_SET.
4071         (setOption): Throw exception if socket is closed.
4073 2002-06-18  Tom Tromey  <tromey@redhat.com>
4075         * gcj/javaprims.h: Updated class declaration list.
4076         * Makefile.in: Rebuilt.
4077         * Makefile.am (core_java_source_files): Added
4078         PropertyPermissionCollection.java.
4079         * java/lang/Thread.java (group, name): Now package-private.
4080         * java/lang/ThreadGroup.java: Re-merge with Classpath.
4081         * java/util/AbstractList.java: Likewise.
4082         * java/util/AbstractMap.java: Likewise.
4083         * java/util/Calendar.java: Likewise.
4084         * java/util/Collections.java: Likewise.
4085         * java/util/HashMap.java: Likewise.
4086         * java/util/Hashtable.java: Likewise.
4087         * java/util/LinkedHashMap.java: Likewise.
4088         * java/util/LinkedList.java: Likewise.
4089         * java/util/List.java: Likewise.
4090         * java/util/ListResourceBundle.java: Likewise.
4091         * java/util/Map.java: Likewise.
4092         * java/util/Observable.java: Likewise.
4093         * java/util/Properties.java: Likewise.
4094         * java/util/PropertyPermission.java: Likewise.
4095         * java/util/PropertyPermissionCollection.java: Likewise.
4096         * java/util/PropertyResourceBundle.java: Likewise.
4097         * java/util/Random.java: Likewise.
4098         * java/util/SimpleTimeZone.java: Likewise.
4099         * java/util/StringTokenizer.java: Likewise.
4100         * java/util/TimerTask.java: Likewise.
4101         * java/util/TreeMap.java: Likewise.
4102         * java/util/WeakHashMap.java: Likewise.
4103         * java/util/jar/Attributes.java: Likewise.
4104         * java/util/jar/JarException.java: Likewise.
4105         * java/util/jar/Manifest.java: Likewise.
4107 2002-06-17  Tom Tromey  <tromey@redhat.com>
4109         * gcj/javaprims.h: Updated class declaration list.
4110         * Makefile.in: Rebuilt.
4111         * Makefile.am (core_java_source_files): Added new file.
4112         * java/util/EventListenerProxy.java: New file.
4113         * java/util/EventListener.java: Re-merge with Classpath.
4114         * java/util/EventObject.java: Re-merge with Classpath.
4116 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
4118         * java/lang/ClassNotFoundException.java: New Classpath version.
4120 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
4122         * java/rmi/activation/ActivateFailedException.java: Remerge from
4123         Classpath version.
4124         * java/rmi/activation/ActivationException.java: Ditto.
4125         * java/rmi/activation/UnknownGroupException.java: Ditto.
4126         * java/rmi/activation/UnknownObjectException.java: Ditto.
4127         * java/rmi/server/ExportException: Ditto.
4128         * java/rmi/server/ServerCloneException: Ditto.
4129         * java/rmi/server/ServerNotActiveException: Ditto.
4130         * java/rmi/server/SkeletonMismatchException: Ditto.
4131         * java/rmi/server/SkeletonNotFoundException: Ditto.
4132         * java/rmi/server/SocketSecurityException: Ditto.
4134 2002-06-16  Tom Tromey  <tromey@redhat.com>
4136         * gcj/javaprims.h: Updated class declaration list.
4138         * java/io/LineNumberInputStream.java: Merged with Classpath.
4140         * java/lang/RuntimeException.java: Re-merge with Classpath.
4141         * java/util/ArrayList.java: Likewise.
4142         * java/util/Arrays.java: Likewise.
4143         * java/util/BitSet.java: Likewise.
4144         * java/util/Dictionary.java: Likewise.
4145         * java/util/IdentityHashMap.java: Likewise.
4146         * java/util/MissingResourceException.java: Likewise.
4147         * java/util/Observer.java: Likewise.
4148         * java/util/TooManyListenersException.java: Likewise.
4149         * java/util/zip/DataFormatException.java: Likewise.
4150         * java/util/zip/ZipException.java: Likewise.
4152 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
4154         * java/rmi/AccessException.java: Remerge from Classpath.
4155         * java/rmi/AlreadyBoundException.java: Ditto.
4156         * java/rmi/ConnectException.java: Ditto.
4157         * java/rmi/ConnectIOException.java: Ditto.
4158         * java/rmi/MarshalException.java: Ditto.
4159         * java/rmi/NoSuchObjectException.java: Ditto.
4160         * java/rmi/NotBoundException.java: Ditto.
4161         * java/rmi/RemoteException.java: Ditto.
4162         * java/rmi/RMISecurityException.java: Ditto.
4163         * java/rmi/ServerError.java: Ditto.
4164         * java/rmi/ServerException.java: Ditto.
4165         * java/rmi/ServerRuntimeException.java: Ditto.
4166         * java/rmi/StubNotFoundException.java: Ditto.
4167         * java/rmi/UnexpectedExcpetion.java: Ditto.
4168         * java/rmi/UnknownHostException.java: Ditto.
4169         * java/rmi/UnmarshalException.java: Ditto.
4171 2002-06-15  Tom Tromey  <tromey@redhat.com>
4173         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
4174         * java/lang/ArithmeticException.java: Likewise.
4175         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
4176         * java/lang/ArrayStoreException.java: Likewise.
4177         * java/lang/Byte.java: Likewise.
4178         * java/lang/CharSequence.java: Likewise.
4179         * java/lang/ClassCastException.java: Likewise.
4180         * java/lang/ClassCircularityError.java: Likewise.
4181         * java/lang/ClassFormatError.java: Likewise.
4182         * java/lang/CloneNotSupportedException.java: Likewise.
4183         * java/lang/Cloneable.java: Likewise.
4184         * java/lang/Comparable.java: Likewise.
4185         * java/lang/Compiler.java: Likewise.
4186         * java/lang/Error.java: Likewise.
4187         * java/lang/ExceptionInInitializerError.java: Likewise.
4188         * java/lang/IllegalAccessError.java: Likewise.
4189         * java/lang/IllegalAccessException.java: Likewise.
4190         * java/lang/IllegalArgumentException.java: Likewise.
4191         * java/lang/IllegalMonitorStateException.java: Likewise.
4192         * java/lang/IllegalStateException.java: Likewise.
4193         * java/lang/IllegalThreadStateException.java: Likewise.
4194         * java/lang/IncompatibleClassChangeError.java: Likewise.
4195         * java/lang/IndexOutOfBoundsException.java: Likewise.
4196         * java/lang/InheritableThreadLocal.java: Likewise.
4197         * java/lang/InstantiationError.java: Likewise.
4198         * java/lang/InstantiationException.java: Likewise.
4199         * java/lang/InternalError.java: Likewise.
4200         * java/lang/InterruptedException.java: Likewise.
4201         * java/lang/LinkageError.java: Likewise.
4202         * java/lang/NegativeArraySizeException.java: Likewise.
4203         * java/lang/NoClassDefFoundError.java: Likewise.
4204         * java/lang/NoSuchFieldError.java: Likewise.
4205         * java/lang/NoSuchFieldException.java: Likewise.
4206         * java/lang/NoSuchMethodError.java: Likewise.
4207         * java/lang/NoSuchMethodException.java: Likewise.
4208         * java/lang/NullPointerException.java: Likewise.
4209         * java/lang/NumberFormatException.java: Likewise.
4210         * java/lang/OutOfMemoryError.java: Likewise.
4211         * java/lang/Process.java: Likewise.
4212         * java/lang/Runnable.java: Likewise.
4213         * java/lang/RuntimePermission.java: Likewise.
4214         * java/lang/SecurityException.java: Likewise.
4215         * java/lang/Short.java: Likewise.
4216         * java/lang/StackOverflowError.java: Likewise.
4217         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
4218         * java/lang/ThreadDeath.java: Likewise.
4219         * java/lang/ThreadLocal.java: Likewise.
4220         * java/lang/UnknownError.java: Likewise.
4221         * java/lang/UnsatisfiedLinkError.java: Likewise.
4222         * java/lang/UnsupportedClassVersionError.java: Likewise.
4223         * java/lang/UnsupportedOperationException.java: Likewise.
4224         * java/lang/VerifyError.java: Likewise.
4225         * java/lang/VirtualMachineError.java: Likewise.
4226         * java/lang/reflect/InvocationTargetException.java: Likewise.
4227         * java/net/BindException.java: Likewise.
4228         * java/net/ConnectException.java: Likewise.
4229         * java/net/MalformedURLException.java: Likewise.
4230         * java/net/NoRouteToHostException.java: Likewise.
4231         * java/net/ProtocolException.java: Likewise.
4232         * java/net/SocketException.java: Likewise.
4233         * java/net/UnknownHostException.java: Likewise.
4234         * java/net/UnknownServiceException.java: Likewise.
4236         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
4237         * java/io/CharConversionException.java: Likewise.
4238         * java/io/EOFException.java: Likewise.
4239         * java/io/FileNotFoundException.java: Likewise.
4240         * java/io/IOException.java: Likewise.
4241         * java/io/InterruptedIOException.java: Likewise.
4242         * java/io/InvalidClassException.java: Likewise.
4243         * java/io/InvalidObjectException.java: Likewise.
4244         * java/io/NotActiveException.java: Likewise.
4245         * java/io/NotSerializableException.java: Likewise.
4246         * java/io/ObjectStreamException.java: Likewise.
4247         * java/io/ObjectStreamConstants.java: Likewise.
4248         * java/io/OptionalDataException.java: Likewise.
4249         * java/io/PipedInputStream.java: Likewise.
4250         * java/io/PushbackInputStream.java: Likewise.
4251         * java/io/StreamCorruptedException.java: Likewise.
4252         * java/io/SyncFailedException.java: Likewise.
4253         * java/io/UTFDataFormatException.java: Likewise.
4254         * java/io/UnsupportedEncodingException.java: Likewise.
4255         * java/io/WriteAbortedException.java: Likewise.
4257 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
4259         * java/text/ChoiceFormat.java: Update comments from Classpath.
4260         * java/text/ParseException.java (serialVersionUID): New
4261         field from Classpath.
4262         * java/text/ParseException.java: Update formatting & comments
4263         from Classpath.
4265 2002-06-15  Tom Tromey  <tromey@redhat.com>
4267         * java/util/zip/InflaterInputStream.java (read): Loop if data has
4268         been read but none output by inflater.
4269         * java/util/zip/natDeflater.cc (reset): Set is_finished.
4270         * java/util/zip/natInflater.cc (reset): Set dist_needed and
4271         is_finished.
4272         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
4273         version.
4274         * java/util/zip/ZipFile.java: Replaced with Classpath version.
4275         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
4276         * java/util/zip/ZipInputStream.java: Replaced with Classpath
4277         version.
4278         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
4280 2002-06-13  Tom Tromey  <tromey@redhat.com>
4282         * java/lang/natString.cc (init): Handle case where DONT_COPY is
4283         true and OFFSET!=0.
4284         * java/lang/String.java (String(char[],int,int,boolean): New
4285         constructor.
4286         * java/lang/Long.java: Imported new version from Classpath.
4287         * java/lang/Number.java: Likewise.
4288         * java/lang/Integer.java: Likewise.
4289         * java/lang/Long.java: Likewise.
4290         * java/lang/Float.java: Likewise.
4291         * java/lang/Boolean.java: Likewise.
4292         * java/lang/Double.java: Likewise.
4293         * java/lang/Void.java: Likewise.
4295 2002-06-12  Tom Tromey  <tromey@redhat.com>
4297         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
4298         Fixes PR libgcj/6652.
4300 2002-06-10  Tom Tromey  <tromey@redhat.com>
4302         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
4303         (Class::getPackagePortion): Likewise.
4304         * java/lang/Class.java (desiredAssertionStatus): New method from
4305         Classpath.
4306         (getPackagePortion): Likewise.
4307         * java/lang/VMClassLoader.java (defaultAssertionStatus,
4308         packageAssertionStatus, classAssertionStatus): New methods from
4309         Classpath.
4310         * java/lang/ClassLoader.java (defaultAssertionStatus,
4311         systemPackageAssertionStatus, packageAssertionStatus,
4312         systemClassAssertionStatus, classAssertionStatus): New fields from
4313         Classpath.
4314         (setDefaultAssertionStatus, setPackageAssertionStatus,
4315         setClassAssertionStatus, clearAssertionStatus): New methods from
4316         Classpath.
4317         * Makefile.in: Rebuilt.
4318         * Makefile.am (core_java_source_files): Added AssertionError.java.
4319         * java/lang/AssertionError.java: New from Classpath.
4321 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4323         * configure.host: Disable hash synchronization and slow_pthread_self
4324         for cygwin.
4326 2002-06-06  Adam Megacz <adam@xwt.org>
4328         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
4329         locking, just like the Sun JVM does.
4331 2002-06-05  H.J. Lu  (hjl@gnu.org)
4333         * Makefile.am (libgcj_convenience.la): Revert the last change.
4334         (libgcj.la): Likewise.
4335         * Makefile.in: Regenerated.
4337 2002-06-04  H.J. Lu  (hjl@gnu.org)
4339         * Makefile.am (libgcj_convenience.la): New target.
4340         (libgcj.la): Depend on libgcj_convenience.la.
4341         * Makefile.in: Regenerated.
4343 2002-06-04  H.J. Lu  (hjl@gnu.org)
4345         * configure.in (--with-newlib): New option:
4346         Check ${with_newlib} instead of ${with_cross_host} for newlib.
4347         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
4348         Linux.
4349         * configure: Regenerated.
4351 2002-06-04  Tom Tromey  <tromey@redhat.com>
4353         * java/util/natTimeZone.cc: Include <stdio.h>.
4355 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
4357         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
4358         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
4359         Set SIGNAL_HANDLER=include/s390-linux.h.
4360         * configure: Regenerate.
4361         * include/s390-linux.h: New file.
4363 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4365         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
4366         not "stackTrace".
4368 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4370         Merge JDK 1.4 java.security changes from classpath.
4372         * java/security/AccessControlException.java: Merge from Classpath.
4373         * java/security/AccessController.java: Likewise.
4374         * java/security/AllPermission.java: Likewise.
4375         * java/security/BasicPermission.java: Likewise.
4376         * java/security/Certificate.java: Likewise.
4377         * java/security/CodeSource.java: Likewise.
4378         * java/security/DigestException.java: Likewise.
4379         * java/security/DigestOutputStream.java: Likewise.
4380         * java/security/DomainCombiner.java: Likewise.
4381         * java/security/GeneralSecurityException.java: Likewise.
4382         * java/security/Guard.java: Likewise.
4383         * java/security/GuardedObject.java: Likewise.
4384         * java/security/InvalidAlgorithmParameterException.java: Likewise.
4385         * java/security/InvalidKeyException.java: Likewise.
4386         * java/security/InvalidParameterException.java: Likewise.
4387         * java/security/Key.java: Likewise.
4388         * java/security/KeyException.java: Likewise.
4389         * java/security/KeyManagementException.java: Likewise.
4390         * java/security/KeyStoreException.java: Likewise.
4391         * java/security/MessageDigest.java: Likewise.
4392         * java/security/NoSuchAlgorithmException.java: Likewise.
4393         * java/security/NoSuchProviderException.java: Likewise.
4394         * java/security/Permission.java: Likewise.
4395         * java/security/PermissionCollection.java: Likewise.
4396         * java/security/Permissions.java: Likewise.
4397         * java/security/Policy.java: Likewise.
4398         * java/security/Principal.java: Likewise.
4399         * java/security/PrivateKey.java: Likewise.
4400         * java/security/PrivilegedAction.java: Likewise.
4401         * java/security/PrivilegedActionException.java: Likewise.
4402         * java/security/PrivilegedExceptionAction.java: Likewise.
4403         * java/security/ProtectionDomain.java: Likewise.
4404         * java/security/ProviderException.java: Likewise.
4405         * java/security/PublicKey.java: Likewise.
4406         * java/security/SecureClassLoader.java: Likewise.
4407         * java/security/SecurityPermission.java: Likewise.
4408         * java/security/SignatureException.java: Likewise.
4409         * java/security/UnrecoverableKeyException.java: Likewise.
4410         * java/security/UnresolvedPermission.java: Likewise.
4411         * java/security/acl/AclNotFoundException.java: Likewise.
4412         * java/security/acl/LastOwnerException.java: Likewise.
4413         * java/security/acl/NotOwnerException.java: Likewise.
4414         * java/security/cert/CRLException.java: Likewise.
4415         * java/security/cert/CertificateEncodingException.java: Likewise.
4416         * java/security/cert/CertificateException.java: Likewise.
4417         * java/security/cert/CertificateExpiredException.java: Likewise.
4418         * java/security/cert/CertificateFactory.java: Likewise.
4419         * java/security/cert/CertificateNotYetValidException.java: Likewise.
4420         * java/security/cert/CertificateParsingException.java: Likewise.
4421         * java/security/spec/InvalidKeySpecException.java: Likewise.
4422         * java/security/spec/InvalidParameterSpecException.java: Likewise.
4424         * java/security/cert/CertPath.java: New file.
4425         * java/security/cert/CertPathBuilderException.java: New file.
4426         * java/security/cert/CertPathValidatorException.java: New file.
4427         * java/security/cert/CertStoreException.java: New file.
4429         * Makefile.am: Add new CertPath classes.
4430         * Makefile.in: Rebuilt.
4432         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
4434 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4436         Merge JDK 1.4 exception chaining support from classpath.
4438         * java/lang/Throwable.java: Merge 1.4 support from classpath.
4439         (stackTraceBytes): Rename from stackTrace.
4440         * java/lang/Exception.java: Merge from classpath.
4441         * java/lang/StackTraceElement: New file from classpath.
4442         * gcj/javaprims.h: Rebuild CNI namespace declarations.
4443         * Makefile.am: Add StackTraceElement.
4444         * Makefile.in: Rebuilt.
4446 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4448         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
4449         they build first.
4450         * Makefile.in: Rebuilt.
4452 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4454         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
4455         * configure.in: Likewise.
4456         * aclocal.m4: Regenerate.
4457         * configure: Regenerate.
4459 2002-05-13  Tom Tromey  <tromey@redhat.com>
4461         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
4462         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
4463         Include platform.h.
4465         Fixes PR libgcj/6389:
4466         * Makefile.in: Rebuilt.
4467         * Makefile.am (nat_source_files): Added natTimeZone.cc.
4468         * java/util/natTimeZone.cc: New file.
4469         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
4470         * java/lang/System.java: Merged with Classpath.
4471         * java/lang/Runtime.java: Merged with Classpath.
4472         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
4473         security check.
4474         (setIn0): Renamed from setIn; don't run security check.
4475         (setOut0): Renamed from setOut; don't run security check.
4476         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
4477         init_properties): Moved to natRuntime.cc.
4478         Moved many includes to natRuntime.cc.
4479         (isWordsBigEndian): New method.
4480         * java/lang/natRuntime.cc: Include Long.h, also other includes
4481         previously in natSystem.cc.
4482         (maxMemory): New function.
4483         (exitInternal): Renamed from `_exit'.
4484         (exit): Removed.
4485         (init): Don't set finalize_on_exit.
4486         (exitInternal): Use `finalizeOnExit'.
4487         (file_encoding, getpwuid_adaptor): New functions from
4488         natSystem.cc.
4489         (insertSystemProperties): New method, renamed from
4490         System::init_properties.  Don't set user.timezone.
4491         (_load): Don't call checkLink.
4492         (execInternal): New method.
4493         (availableProcessors): Likewise.
4494         (nativeGetLibname): Likewise.
4496 2002-05-11  Mark Wielaard  <mark@klomp.org>
4498         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
4499         space characters.
4500         (previous_internal): Likewise.
4502 2002-05-09  Tom Tromey  <tromey@redhat.com>
4504         * jni.cc (_Jv_JNIFunctions): Fixed typo.
4506         * java/util/ResourceBundle.java: New version from Classpath.
4507         * java/util/Locale.java: Likewise.
4509 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
4511         * testsuite/lib/libjava.exp (libjava_arguments): Append all
4512         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
4513         LD_LIBRARY_PATH.
4515 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
4517         * libjava/Makefile.am (all_java_source_files): New variable.
4518         (all_java_class_files): Likewise.
4519         .java.class: New rule.
4520         (CLEANFILES): Remove tmp-list.
4521         * libjava/Makefile.in: Regenerated.
4523 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
4525         * testsuite/lib/libjava.exp (test_libjava_from_javac):
4526         Append .exe to executable names.  Fix for cygwin.
4528 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
4530         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
4531         script entry, and set LD to it when configuring multilibs.
4532         * configure: Rebuilt.
4534 2002-05-07  Tom Tromey  <tromey@redhat.com>
4536         * java/lang/natString.cc (unintern): Fixed typo.
4538 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
4540         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
4541         with -no-install on *-*-cygwin*.
4543 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
4545         * testsuite/lib/libjava.exp (test_libjava_from_source):
4546         Add comment explaining last patch
4548 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
4550         * testsuite/lib/libjava.exp (test_libjava_from_source):
4551         Append .exe to executable names.  If no suffix is present,
4552         then ".exe" is added by default on win32.  Harmless
4553         elsewhere so always do it.
4555 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
4556             Tom Tromey  <tromey@redhat.com>
4558         * java/lang/natSystem.cc (getSystemTimeZone): Use
4559         HAVE_UNDERSCORE_TIMEZONE.
4560         * include/config.h.in: Rebuilt.
4561         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
4562         * aclocal.m4, configure: Rebuilt.
4563         * acinclude.m4: Run AC_EXEEXT.
4564         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
4565         Add test for `_timezone'.
4567 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
4569         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4570         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
4571         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
4572         * Makefile.in: Rebuilt.
4574 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
4576         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
4577         use sigaction instead of __libc_sigaction.
4579 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4581         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
4582         (libjava_init): Use it to find libgcj.spec.
4583         (libjava_arguments): Likewise.
4585 2002-05-02  David S. Miller  <davem@redhat.com>
4587         PR bootstrap/6525
4588         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
4589         __libc_sigaction on Sparc.
4591 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
4593         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
4594         sys/filio.h, if present.
4596 2002-04-30  Tom Tromey  <tromey@redhat.com>
4598         * java/io/BufferedReader.java (fill): Handle case where markPos
4599         point to ignored \n.  Fixes PR libgcj/6301.
4601 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
4603         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
4605 2002-04-29  Adam King <aking@dreammechanics.com>
4607         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
4608         of file in APPEND mode.
4610 2002-04-25  David S. Miller  <davem@redhat.com>
4612         PR target/6422
4613         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
4614         program counter to next program counter minus 8.  Update
4615         comments in this macro to explain why.
4617 2002-04-26  Tom Tromey  <tromey@redhat.com>
4619         * verify.cc (construct_primitive_array_type) [void_type]: New
4620         case.
4621         (branch_prepass): Added dummy entries for unused instruction
4622         values.
4623         (verify_instructions_0): Likewise.
4624         * interpret.cc (continue1): Comment fix.
4625         * include/java-insns.h (op_xxxunusedxxx1): Removed.
4626         * Makefile.in: Rebuilt.
4627         * Makefile.am: Added -Wswitch-enum.
4629 2002-04-24  Tom Tromey  <tromey@redhat.com>
4631         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
4632         correct length of UTF-8 encoded name.  Strip leading `/'.
4633         (_Jv_RegisterResource): Use _Jv_Malloc.
4635 2002-04-23  Adam Megacz <adam@xwt.org>
4637         * win32.cc, include/win32.cc (backtrace): Added this function
4638         because Win32 does not supply it.
4640 2002-04-21  David S. Miller  <davem@redhat.com>
4642         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
4643         magic instruction reading sequence.
4645 2002-04-21  Mark Wielaard  <mark@klomp.org>
4647         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
4649 2002-04-19  David S. Miller  <davem@redhat.com>
4651         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
4652         arg.
4653         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
4654         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
4655         on Sparc too.
4656         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
4657         for 64-bit sparc.
4658         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
4659         * sysdeps/sparc/locks.h: New file.
4660         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
4661         on all sparc Solaris configurations.  Set to
4662         include/dwarf2-signal.h on sparc Linux.
4663         * configure: Regenerate
4664         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
4666 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
4668         * configure: Rebuilt.
4669         * configure.in (backtrace): Function doesn't work on IA-64.
4671 2002-04-17  Adam King <aking@dreammechanics.com>
4673         * java/io/File.java (normalizePath): Add Win32 support for auto
4674         conversion of a '/' path separator to Win32's '\' separator.
4676 2002-04-16  Tom Tromey  <tromey@redhat.com>
4678         Fix for PR libgcj/6081:
4679         * Makefile.in: Rebuilt.
4680         * Makefile.am (install-data-local): Use GNU make trick to avoid
4681         shell limit.
4683 2002-04-16  Adam King <aking@dreammechanics.com>
4684             Tom Tromey  <tromey@redhat.com>
4686         * java/io/natFileWin32.cc (performList): Return the correct array
4687         type.  Don't duplicate the creation of a File since it's already
4688         done earlier in the method and the existing code would cause a
4689         ArrayStoreException.  Don't use fixed-size array.
4690         (_access, _stat, attr, getCanonicalPath, performMkdir,
4691         performRenameTo): Don't use fixed-size array.
4692         (getCanonicalPath): Use throw, not _Jv_Throw.
4694 2002-04-15  DJ Delorie  <dj@redhat.com>
4696         * configure.in: Allow building in $srcdir.
4697         * configure: Regenerated.
4699 2002-04-14  Mark Wielaard <mark@klomp.org>
4701         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
4702         * java/net/natSocketImpl.cc (close): Likewise.
4704 2002-04-14  Mark Wielaard <mark@klomp.org>
4706         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
4708 2002-04-13  Adam King <aking@dreammechanics.com>
4710         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
4711         the f/F/d/D modifiers.
4713 2002-04-12  Anthony Green  <green@redhat.com>
4715         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
4716         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
4717         * Makefile.in: Rebuilt.
4718         * configure.in: Substitute gcc_version.
4719         * configure: Rebuilt.
4721 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4723         * configure.host: Set can_unwind_signal on hosts which support it.
4724         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
4725         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
4726         exceptions and can_unwind_signal isn't set.
4727         * configure: Rebuilt.
4729 2002-04-11  Tom Tromey  <tromey@redhat.com>
4731         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
4733 2002-04-11  Adam King <aking@dreammechanics.com>
4734             Tom Tromey  <tromey@redhat.com>
4736         * include/jvm.h (_Jv_ThrowBadArrayIndex,
4737         _Jv_ThrowNullPointerException): Mark as noreturn.
4738         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
4739         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
4740         fixes.
4742 2002-04-10  Tom Tromey  <tromey@redhat.com>
4744         * Makefile.in: Rebuilt.
4745         * Makefile.am (java/lang/Thread.h): Mark
4746         _Jv_AttachCurrentThreadAsDaemon as friend.
4747         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
4748         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
4749         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
4750         function.
4751         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
4752         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
4753         (_Jv_JNI_InvokeFunctions): Added
4754         _Jv_JNI_AttachCurrentThreadAsDaemon.
4755         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
4756         (JNI_GetDefaultJavaVMInitArgs): Likewise.
4757         (JNI_CreateJavaVM): Likewise.
4758         (_Jv_JNI_AttachCurrentThread): Likewise.
4759         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
4760         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
4761         (_Jv_JNIFunctions): Initialize new fields.
4762         (_Jv_JNI_NewDirectByteBuffer): New function.
4763         (_Jv_JNI_GetDirectBufferAddress): Likewise.
4764         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
4765         * include/jni.h (JNI_VERSION_1_4): New macro.
4766         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
4767         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
4768         (JNINativeInterface::NewDirectByteBuffer): New field.
4769         (JNINativeInterface::GetDirectBufferAddress): New field.
4770         (JNINativeInterface::GetDirectBufferCapacity): New field.
4771         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
4772         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
4773         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
4775 2002-04-09  Tom Tromey  <tromey@redhat.com>
4777         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
4779 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
4781         Fix for PR libgcj/6187:
4782         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
4783         distance.
4785 2002-04-07  Mark Wielaard <mark@klomp.org>
4787         * java/util/AbstractMap.java (putAll): Use entrySet size.
4788         (toString): Explicitly use getKey() and getValue().
4790 2002-04-07  Mark Wielaard <mark@klomp.org>
4792         * java/util/Hashtable.java (contains): Remove NullPointer check.
4793         (containsValue): Add NullPointer check.
4794         (remove): Always throw NullPointerException when key
4795         is null.
4797 2002-04-07  Adam King <aking@dreammechanics.com>
4799         * java/lang/natSystem.cc (init_properties): Call new function
4800         _Jv_platform_initProperties.
4801         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
4802         support for the System properties os.name, os.arch, os.version,
4803         user.name, user.home, and user.dir.
4804         * include/posix.h, include/win32.h, posix.cc: New function
4805         _Jv_platform_initProperties.
4807 2002-04-06  Mark Wielaard <mark@klomp.org>
4809         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
4811 2002-04-06  Mark Wielaard <mark@klomp.org>
4813         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
4814         all of the remaining elements.
4815         * java/util/Vector.java (addAll(int,Collection)): Likewise.
4816         (removeRange): If toIndex == fromIndex do
4817         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
4818         (removeAll): Always throw NullPointerException when collection is
4819         null.
4820         (retrainAll): Likewise.
4822 2002-04-05  Mark Wielaard <mark@klomp.org>
4824         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
4825         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
4827 2002-04-05  Adam Megacz <adam@xwt.org>
4829         * exception.cc (abort): added static modifier
4831 2002-04-04  Adam Megacz <adam@xwt.org>
4833         * include/win32.h (_Jv_platform_close_on_exec): added inline
4834         modifier.
4836 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
4838         * configure.host: Add case statement to support generic port
4839         properties.  Add *-*-freebsd* section.
4841 2002-04-04  Mark Wielaard  <mark@klomp.org>
4843         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
4844         test.
4845         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
4846         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
4847         that depend on awt code and BufferedByteOutputStream.interrupt.
4849 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4851         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
4852         incorrect "hi" value when count > 40.
4854 2002-04-03  Mark Wielaard  <mark@klomp.org>
4856         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
4857         ordering.
4859 2002-04-02  Tom Tromey  <tromey@redhat.com>
4861         * java/lang/natClassLoader.cc (findClass): Compare against `3',
4862         not `0'.
4864 2002-04-02  Mark Wielaard  <mark@klomp.org>
4866         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
4867         list of testsuite crashers.
4869 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4871         * java/util/IdentityHashMap.java (put): Set new threshold correctly
4872         when resizing table.
4874 2002-04-01  Mark Wielaard  <mark@klomp.org>
4876         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
4877         NegativeArraySizeException
4878         (clear(int)): Use sign extended shift.
4879         (flip(int)): Likewise.
4880         (get(int)): Likewise.
4881         (nextClearBit(int)): Likewise.
4882         (nextSetBit(int)): Likewise.
4883         (set(int)): Likewise.
4885 2002-04-01  Mark Wielaard  <mark@klomp.org>
4887         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
4888         that can be compiled now and add testsuite crashers to ignore list.
4890 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
4892         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
4894         * libgcj.spec.in: Override libgcc, not lib.
4895         * libgcj-test.spec.in: Likewise.
4897 2002-03-29  Tom Tromey  <tromey@redhat.com>
4899         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
4900         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
4902 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
4904         * java/net/PlainDatagramSocketImpl.java
4905         (close): Use native implementation.
4906         (finalize): New method.
4908         * java/net/PlainSocketImpl.java (finalize): New method.
4910         * java/net/natPlainDatagramSocketImpl.cc
4911         (java/io/FileDescriptor.h): Don't include.
4912         (close): Implement method here.
4913         (create): Don't assign fd.
4915         * java/net/natPlainSocketImpl.cc
4916         (java/io/FileDescriptor.h): Don't include.
4917         (create): Don't assign fd.
4918         (accept): Likewise.
4919         (close): Synchronize.
4921 2002-03-27  Richard Henderson  <rth@redhat.com>
4923         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
4925 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
4927         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
4928         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
4929         instead of syscall on IA-64.
4930         Add FIXME comment.
4932 2002-03-27  Anthony Green  <green@redhat.com>
4934         * libgcj.spec.in: Add CHECKREFSPEC.
4935         * configure.in: Ditto.
4936         * configure.host: Ditto.  Check references for xscale-elf.
4937         * configure: Rebuilt.
4939 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
4941         * include/dwarf2-signal.h: Temporarily back out last change.
4943 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
4945         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
4947 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
4949         * configure.in, configure: enable dwarf2-exception-style
4950         exception handling on IA-64.
4951         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
4952         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
4953         Add FIXME comment.
4955 2002-03-25  Tom Tromey  <tromey@redhat.com>
4957         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
4958         (jv_convert_LDFLAGS): Likewise.
4959         (gij_LDFLAGS): Likewise.
4960         (rmic_LDFLAGS): Likewise.
4961         (rmiregistry_LDFLAGS): Likewise.
4962         * configure.in (THREADLDFLAGS): New subst; set correctly for
4963         *BSD.
4965 2002-03-25  Tom Tromey  <tromey@redhat.com>
4967         For PR libgcj/5303:
4968         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
4969         and --version.
4970         (help): New method.
4971         (version): Likewise.
4972         * gnu/gcj/convert/Convert.java (version): Removed extraneous
4973         "GNU".
4974         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
4975         "GNU".
4977 2002-03-25  Tom Tromey  <tromey@redhat.com>
4979         * java/awt/Component.java (processEvent): Check ComponentEvent
4980         after KeyEvent.
4982 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4984         * java/io/PushbackReader.java: Reformat.
4986         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
4987         calculate correct number of bytes skipped.
4989         Based on patch from Intel's ORP team:
4990         * java/io/PushbackInputStream.java (available): Calculate correct
4991         number of bytes in buffer.
4992         (read): Remove redundant bound check. Return bytes from both the
4993         buffer and the stream.
4995 2002-03-24  Tom Tromey  <tromey@redhat.com>
4997         * java/awt/TextComponent.java (TextComponent): Editable by
4998         default.
5000         * java/awt/MenuItem.java (eventMask): No longer private.
5001         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
5002         superclass if we didn't handle event.
5003         * java/awt/Checkbox.java (dispatchEventImpl): New method.
5004         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
5005         * java/awt/Choice.java (dispatchEventImpl): New method.
5006         * java/awt/List.java (dispatchEventImpl): New method.
5007         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
5008         * java/awt/TextComponent.java (dispatchEventImpl): New method.
5009         * java/awt/TextField.java (dispatchEventImpl): New method.
5011 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
5013         * java/beans/IntrospectionException.java: Update to 1.4.
5014         * java/beans/PropertyVetoException.java: Ditto.
5016 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
5018         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
5019         Arrays.equals instead of ArrayHelper.equalsArray.
5021 2002-03-24  C. Brian Jones <cbj@gnu.org>
5023         * java/beans/Introspector.java: added new static final fields
5024         introduced in 1.2, lots of other updates remain to be done
5026 2002-03-24  C. Brian Jones <cbj@gnu.org>
5028         * java/beans/Introspector.java: reformatting
5030 2002-03-24  C. Brian Jones <cbj@gnu.org>
5032         * java/beans/Introspector.java: default beanInfoSearchPath will
5033         not include sun.beans.infos given we provide no such package and
5034         the API doesn't really require it; gnu.java.beans.info is the
5035         default.
5037 2002-03-24  Mark Wielaard  <mark@klomp.org>
5039         Thanks to Orp developers
5040         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
5041         switch TRUE and FALSE return values.
5043 2002-03-23  Tom Tromey  <tromey@redhat.com>
5045         * include/name-finder.h (_Jv_name_finder::myclose): New method.
5046         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
5048 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
5050         * java/util/GregorianCalendar.java (minimums, maximums): Correct
5051         MONTH entry.  Fixes PR libgcj/6045.
5053 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
5055         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
5057 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5059         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
5060         not release_set.
5061         * sysdep/powerpc/locks.h (write_barrier): New function.
5062         * sysdep/i386/locks.h (write_barrier): New function.
5064 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
5066         * include/jni.h Use correct C comments.
5068 2002-03-18  Tom Tromey  <tromey@redhat.com>
5070         * include/jni.h (JNIIMPORT): New macro.
5071         (JNIEXPORT): Likewise.
5072         (JNICALL): Likewise.
5074 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5076         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
5077         systems.
5079 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
5081         * include/i386-signal.h (old_i386_kernel_sigaction): New.
5082         INIT_SEGV: Use old_i386_kernel_sigaction.
5083         INIT_FP: Likewise.
5085 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5087         * java/lang/natSystem.cc (init_properties): Update VM version
5088         properties.
5089         * configure.in: Set GCJVERSION.
5090         * acconfig.h: Add GCJVERSION.
5091         * configure: Rebuilt.
5092         * include/config.h.in: Rebuilt.
5094 2002-03-17  Anthony Green  <green@redhat.com>
5096         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
5098 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5100         Build a single libgcj.so, without separate gc and zlib libraries.
5101         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
5102         SYS_ZLIBS if system zlib is used.
5103         * configure: Rebuilt.
5104         * Makefile.am: Use boehm-gc and zlib convenience libraries.
5105         * Makefile.in: Rebuilt.
5106         * libtool-version: Increment .so version number.
5108         * Makefile.am: Escape quotes in echo.
5109         * Makefile.in: Rebuilt.
5111 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5113         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
5114         * Makefile.in: Rebuilt.
5116 2002-03-15  Anthony Green  <green@redhat.com>
5118         * configure.host (FILE): New macro for specifing File
5119         implementation.
5120         * configure: Rebuilt.
5121         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
5123 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
5125         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
5126         already implicitly brought in from libgcj.la.
5127         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
5128         * Makefile.in: Rebuilt.
5130 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
5132         * THANKS: Fix punctuation, alphabetization.
5134 2002-03-15  Tom Tromey  <tromey@redhat.com>
5135             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5137         Fix for PR libgcj/5944.
5138         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
5140 2002-03-15  Anthony Green  <green@redhat.com>
5142         * configure.in (tool_include_dir): Define.
5143         * configure: Rebuilt.
5144         * gcj/Makefile.am: Install libgcj-config.h relative to
5145         tool_include_dir.
5146         * gcj/Makefile: Rebuilt.
5147         * gcj/libgcj-config.h: Add warning comment.
5149 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
5151         * configure.host (powerpc*-darwin*): Enable interpreter.
5153 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5155         * include/posix.h: Add multiple include header protection.
5156         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
5158 2002-03-10  Adam Megacz <adam@xwt.org>
5160         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
5162 2002-03-10  Tom Tromey  <tromey@redhat.com>
5164         * java/awt/GridLayout.java (layoutContainer): Handle case where
5165         there are no items in container.
5167         * java/lang/Win32Process.java: Added comment.
5168         * include/posix.h (_Jv_platform_close_on_exec): New function.
5169         Include fcntl.h.
5170         * include/win32.h (_Jv_platform_close_on_exec): New function.
5171         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
5172         flag.
5173         (accept): Likewise.
5174         * java/net/natPlainDatagramSocketImpl.cc (create): Set
5175         close-on-exec flag.
5176         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
5177         flag.
5179 2002-03-09  Tom Tromey  <tromey@redhat.com>
5181         * verify.cc (state::NO_STACK): New constant.
5182         (state::is_unmerged_ret_state): Handle case where stacktop is
5183         NO_STACK.
5184         (state::merge): Handle NO_STACK merges.
5185         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
5186         for instruction following jsr.
5187         (stacktop, stackdepth): Removed unused variables.
5188         (pop_jump): Ignore case where all remaining states are skipped.
5190 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5192         * java/awt/ImageMediaEntry: Removed.
5193         * java/awt/MediaEntry: Removed.
5195 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5197         Hashtable synchronization for PowerPC.
5198         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
5199         slow_pthread_self. Set up symlink for sysdeps directory.
5200         * configure: Rebuild.
5201         * configure.host: Document more shell variables. Set sysdeps_dir
5202         for most platforms. Set slow_pthread_self for i686. Set
5203         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
5204         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
5205         that memory barrier is emitted where required.
5206         * prims.cc: 64-bit align static primitive class instances.
5207         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
5208         read_barrier() to enforce ordering of reads.
5209         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
5210         primitives for PowerPC.
5211         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
5212         moved from natObject.cc.
5213         * sysdep/alpha/locks.h: Likewise.
5214         * sysdep/ia64/locks.h: Likewise.
5215         * sysdep/generic/locks.h: Likewise.
5216         * java/lang/natObject.cc: Move thread synchronization primitives to
5217         system-dependent headers.
5219 2002-03-09  Adam Megacz  <adam@xwt.org>
5221         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
5222         bytes read and no failure code returned.
5224 2002-03-09  Adam Megacz  <adam@xwt.org>
5226         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
5227         definitions to simulate -mthreads.
5229 2002-03-09  Adam Megacz  <adam@xwt.org>
5231         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
5232         avoid precision loss.
5234 2002-03-09  Per Bothner  <per@bothner.com>
5236         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
5237         * gnu/gcj/xlib/XImage.java:  Likewise.
5238         * gnu/gcj/xlib/XColor.java:  Likewise.
5240 2002-03-09  Adam Megacz  <adam@xwt.org>
5242         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
5243         IOException so that Throwable.printStackTrace fails correctly.
5245 2002-03-08  Adam Megacz  <adam@xwt.org>
5247         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
5248         fixed.
5250 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5252         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
5253         truncated to int.
5255 2002-03-08  Tom Tromey  <tromey@redhat.com>
5257         * include/jni.h: Include stdio.h.
5259 2002-03-08  Tom Tromey  <tromey@redhat.com>
5261         * posix.cc (internal_gettimeofday): New function.
5262         (_Jv_select): Use it.
5264 2002-03-07  Adam Megacz  <adam@xwt.org>
5266         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
5267         WIN32, and added thunks for read(), write(), and close().
5268         * java/net/natPlainSocketImpl.cc (accept, read, read):
5269         Disabled timeouts on WIN32 pending discussion.
5271 2002-03-07  Adam Megacz  <adam@xwt.org>
5273         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
5274         returns jlong. Added implementation
5275         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
5276         returns jlong.
5277         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
5278         returns jlong.
5279         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
5280         returns jlong.
5281         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
5282         _Jv_platform_gettimeofday signature.
5284 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5286         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
5287         (read): Call recv() directly, not _Jv_recv().
5289 2002-03-06  Tom Tromey  <tromey@redhat.com>
5291         * java/io/natFileDescriptorEcos.cc (init): Don't use
5292         GetStdHandle.
5293         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
5294         is negative.
5295         (init): Don't use GetStdHandle.
5297         * include/config.h.in: Rebuilt.
5298         * configure: Rebuilt.
5299         * Makefile.in: Rebuilt.
5301 2002-03-06  Adam Megacz  <adam@xwt.org>
5303         * java/io/FileDescriptor.java: Initialize in/out/err in init().
5304         * java/io/natFileDescriptorWin32.cc (init()): Added function.
5305         * java/io/natFileDescriptorPosix.cc (init()): Added function.
5306         * java/io/natFileDescriptorEcos.cc (init()): Added function.
5308 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
5310         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
5311         the code for generating include/java-chartables.h.
5312         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
5313         merge with Classpath.
5314         * scripts/unicode-muncher.pl: Copy from Classpath.
5315         * scritps/MakeCharTables.java: New file.
5316         * gnu/gcj/convert/Blocks-3.txt: New file.
5317         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
5318         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
5319         * gnu/java/lang/CharData.java: Copy from Classpath.
5320         * Makefile.am (ordinary_java_source_files): Add
5321         gnu/java/lang/CharData.java.
5322         * configure.in: Remove --enable-fast-character option.
5323         * java/lang/Character.java: Merge algorithms and Javadoc with
5324         Classpath.
5325         * java/lang/natCharacter.cc: Implement Unicode lookup table more
5326         efficiently.
5327         * include/java-chardecomp.h: Regenerate.
5328         * include/java-chartables.h: Regenerate.
5330 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5332         * java/awt/MediaTracker.java: Implemented.
5333         * Makefile.am: Add MediaTracker.
5334         * Makefile.in: Rebuilt.
5336 2002-03-05  Tom Tromey  <tromey@redhat.com>
5338         * java/lang/natPosixProcess.cc (fail): Removed.
5339         (startProcess): Simplified error-handling.  Preserve
5340         LD_LIBRARY_PATH across exec.
5342         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
5343         AbstractMethodError.
5345 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5347         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
5348         * Makefile.in: Rebuilt.
5350 2002-03-03 Mark Wielaard <mark@klomp.org>
5352         * java/util/Timer (TaskQueue.stop): set elements to zero.
5354 2002-02-28  Anthony Green  <green@redhat.com>
5356         * java/lang/reflect/natMethod.cc (result): Add void* element.
5357         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
5358         constructor test.
5360 2002-02-27  Adam Megacz <adam@xwt.org>
5362         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
5363         '#undef STRICT'.
5365 2002-02-26  Tom Tromey  <tromey@redhat.com>
5367         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
5368         * gij.cc (version): Use __VERSION__.
5369         * include/config.h.in: Rebuilt.
5370         * acconfig.h (GCJVERSION): Removed.
5371         * configure: Rebuilt.
5372         * configure.in (GCJVERSION): Removed.
5374 2002-02-26  Andreas Schwab  <schwab@suse.de>
5376         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
5377         glibcpp_CXX, since libjava uses even another CXX.
5378         * aclocal.m4, configure: Regenerated.
5380 2002-02-26  Tom Tromey  <tromey@redhat.com>
5382         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
5383         `1'.
5385 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5387         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
5388         dependency tracking for .java files.
5389         * Makefile.in: Rebuilt.
5391 2002-02-24  Adam Megacz  <adam@xwt.org>
5393         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
5394         typo. Sorry.
5396 2002-02-24  Adam Megacz  <adam@xwt.org>
5398         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
5399         for Win32, changed #ifdefs to check WIN32 instead of the
5400         (now-obsolete) USE_WINSOCK, and removed support for socket
5401         timeouts on Win32 pending further discussion.
5403 2002-02-24  Adam Megacz  <adam@xwt.org>
5405         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
5406         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
5407         delete
5409 2002-02-24  Adam Megacz  <adam@xwt.org>
5411         * java/lang/Win32Process.java: Created a dummy class to allow
5412         build process to run to completion.
5414 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
5416         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5417         Define ffi_result union for ffi_call result.  Cast
5418         ffi_result members to jvalue.
5420 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
5422         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
5423         * testsuite/Makefile.in: Likewise.
5425 2002-02-20  Per Bothner  <per@bothner.com>
5427         * java/net/URL.java (getPath):  New JDK 1.3 method.
5429         * java/net/URLStreamHandler.java (parseURL):
5430         It is wrong to prepend '/' to the file part of a relative url.
5432         * java/net/URLStreamHandler.java (parseURL):
5433         Minor optizations - append '/' rather than "/".
5435         * java/net/URLStreamHandler.java (parseURL):
5436         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
5437         We probably should canonicalize for a context-relative url, though.
5438         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
5439         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
5440         (sameFile):  New method.  Uses canonicalizeFilename.
5442 2002-02-22  Tom Tromey  <tromey@redhat.com>
5444         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
5445         java.vendor and java.vm.vendor.
5446         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
5447         recent copyright date.
5448         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
5449         * gij.cc (version): Print `Inc'.
5451 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
5453         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
5454         * aclocal.m4, configure: Rebuilt.
5456 2002-02-20  Per Bothner  <per@bothner.com>
5458         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
5459         and/or output streams immediately here, instead of using File.exists.
5460         (inputStream, outputStream):  New fields to save open streams.
5461         (getInputStream, getOutputStream):  Use already-opened streams.
5463 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
5465         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
5466         Use it.
5467         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
5468         * aclocal.m4, configure, Makefile.in: Rebuilt.
5470 2002-02-19  Tom Tromey  <tromey@redhat.com>
5472         Fix for PR libgcj/5696:
5473         * verify.cc (is_assignable_from_slow): Never call
5474         _Jv_IsAssignableFrom.
5475         (verify_instructions_0): Added new debug statement.
5476         (state::print): Print information about whether local has
5477         changed.
5478         (state::merge): Don't call note_variable when merging locals.
5479         (state::set_exception): Removed old FIXME comment.
5481 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5483         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
5484         enable SO_BROADCAST.
5486 2002-02-18  Jason Merrill  <jason@redhat.com>
5488         * name-finder.cc (toHex): Use word mode, not long long.
5490         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
5492 2002-02-15  Tom Tromey  <tromey@redhat.com>
5494         Fix for PR libgcj/5695:
5495         * verify.cc (is_assignable_from_slow): Check to see if target is
5496         an Object before checking to see if source is an interface.
5497         (verify_instructions_0) [op_invokeinterface]: Handle case where
5498         we're making an interface call on Object.
5500 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5502         * Makefile.in: Rebuilt with Eric's change below.
5504         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
5505         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
5506         Removed functions which are now implemented in Math.java.
5508 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
5510         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
5511         * Makefile.am (core_java_source_files): Add
5512         java/lang/StrictMath.java.
5513         * java/lang/Math.java: Merge with Classpath.
5514         * java/lang/StrictMath.java: New file - merge with Classpath.
5516 2002-02-14  Mark Wielaard  <mark@klomp.org>
5518         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
5519         package as a workaround for gcj 3.0.x
5521 2002-02-14  Mark Wielaard <mark@klomp.org>
5523         * java/security/BasicPermission.java: extends with fully qualified
5524         classname as workaround for gcj 3.0.4.
5526 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
5528         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
5529         around gcj bug of wrong emitted qualifier for inherited method.
5530         * java/net/SocketImpl.java (setOption, getOption): Ditto.
5531         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
5532         constructor to reduce amount of emitted bytecode. While this
5533         happens to work around a jikes 1.15 bug, it is still a useful
5534         patch even for correct compilers.
5535         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
5536         * gnu/java/rmi/server/UnicastRemoteCall.java
5537         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
5539 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
5541         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
5542         * java/net/SocketImpl.java: Ditto.
5543         * java/rmi/server/RMIClassLoader.java: Ditto.
5544         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
5546 2002-02-14  Mark Wielaard <mark@klomp.org>
5548         Thanks to Takashi Okamoto
5549         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
5550         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
5551         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
5553 2002-02-13  Todd Stock  <toddastock@yahoo.com>
5555         Fix for PR libgcj/5670:
5556         * verify.cc (is_assignable_from_slow): If `source' is interface,
5557         recursively look for merge with `target'.
5559 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
5561         * include/jni.h: Fix typo.
5563 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
5565         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
5566         correctly.
5568 2002-02-13  Todd Stock  <toddastock@yahoo.com>
5570         Fix for PR libgcj/5671:
5571         * verify.cc (state::merge): Handle case where we're merging
5572         against an interface.
5574 2002-02-12  Tom Tromey  <tromey@redhat.com>
5576         * exception.cc (std::abort): Mark as noreturn.
5578 2002-02-12  Adam Megacz <adam@xwt.org>
5580         * java/lang/Win32Process.java: Filled in a placeholder
5581         implementation so Win32 will build.
5583 2002-02-12  Adam Megacz <adam@xwt.org>
5585         * java/io/natFilePosix.cc: Copied this from natFile.cc.
5586         * java/io/natFile.cc: Removed from repository.
5587         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
5589 2002-02-12  Adam Megacz <adam@xwt.org>
5591         * win32.cc: Added two #includes to make win32.cc compile.
5593 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5595         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
5596         declarations.
5597         (_Jv_InitGC): Don't bother locking, as this is always called from a
5598         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
5600 2002-02-11  Adam Megacz <adam@xwt.org>
5602         * include/win32.h: Added _Jv_platform_gettimeofday.
5603         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
5605 2002-02-11  Adam Megacz <adam@xwt.org>
5607         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
5608         Added #undef STRICT to make windows.h and
5609         java/lang/reflect/Modifier.h cooperate.
5611 2002-02-11  Adam Megacz <adam@xwt.org>
5613         * java/io/natFileWin32.cc: Created a placeholder class with lots
5614         of FIXMEs.
5616 2002-02-11  Adam Megacz <adam@xwt.org>
5618         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
5619         std::abort() to simply abort(). Also added "fake" std::abort() so
5620         we can #include unwind-pe.h without having to link against
5621         libstdc++-v3.
5623 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
5625         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
5627 2002-02-08  Tom Tromey  <tromey@redhat.com>
5629         * interpret.cc (convert): New function.
5630         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
5631         convert.
5632         Include Long.h.
5634 2002-02-08  Anthony Green  <green@redhat.com>
5636         * configure.host: Add support for xscale-elf embedded target.
5638 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
5640         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
5641         dereferenced.
5642         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
5643         frame.
5645 2002-02-07  Tom Tromey  <tromey@redhat.com>
5647         * java/io/natFile.cc (_access): Use __builtin_alloca.
5648         (_stat): Likewise.
5649         (attr): Likewise.
5650         (getCanonicalPath): Likewise.
5651         (performList): Likewise.
5652         (performMkdir): Likewise.
5653         (performSetReadOnly): Likewise.
5654         (performRenameTo): Likewise.
5655         (performSetLastModified): Likewise.
5656         (performCreate): Likewise.
5657         (performDelete): Likewise.
5659 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5661         * HACKING: Fix URL for the automake-gcj.
5663 2002-02-07  Tom Tromey  <tromey@redhat.com>
5665         * java/lang/natThrowable.cc: Updated copyright.
5666         * java/io/natFileWin32.cc: Updated copyright.
5667         * java/io/natFileDescriptorWin32.cc: Updated copyright.
5668         * win32-threads.cc: Updated copyright.
5669         * name-finder.cc: Updated copyright.
5670         * include/name-finder.h: Updated copyright.
5672         * include/name-finder.h: Conditionally include sys/wait.h.
5673         * include/config.h.in: Rebuilt.
5675         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
5676         Size buffer based on real size of string.
5677         (_stat): Likewise.
5678         (attr): Likewise.
5679         (getCanonicalPath): Likewise.
5680         (performList): Likewise.
5681         (performMkdir): Likewise.
5682         (performSetReadOnly): Likewise.
5683         (unixroot): Removed.
5684         (performRenameTo): Likewise.
5685         (performSetLastModified): Likewise.
5686         (performCreate): Likewise.
5687         (performDelete): Likewise.
5688         (performListRoots): Always return new array.
5690         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
5691         * win32.cc (win32_exception_handler): Now static.
5692         * include/win32.h (_Jv_platform_initialize): Declare.
5693         (win32_exception_handler): Don't declare.
5694         * java/lang/natSystem.cc (currentTimeMillis): Use
5695         _Jv_platform_gettimeofday.
5696         * posix.cc (_Jv_platform_gettimeofday): Renamed.
5697         (_Jv_select): Use new name.
5698         (_Jv_platform_initialize): New function.
5699         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
5700         _Jv_gettimeofday.
5701         (_Jv_platform_initialize): Declare.
5703         * configure: Rebuilt.
5704         * configure.in: Removed unnecessary parens.
5706 2002-02-06  Adam Megacz <adam@xwt.org>
5708        * configure.in: Changed mingw) to *mingw*).
5709        * win32.cc: Created this file.
5710        * win32.h: Created this file.
5711        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
5712        win32_exception_handler from prims.cc to win32.cc, added
5713        header in win32.h.
5714        * prims.cc: removed some #ifdef-WIN32'd headers which are no
5715        longer needed now that we have platform.h
5717 2002-02-06  Adam Megacz <adam@xwt.org>
5719         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
5720         use uint<n>_t instead of LONG and BYTE
5722 2002-02-06  Adam Megacz <adam@xwt.org>
5724         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
5726 2002-02-06  Anthony Green  <green@redhat.com>
5728         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
5729         Implement missing method stubs.
5730         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
5731         targets.
5732         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
5733         concept of timezones.
5734         (init_properties): Don't refer to _Jv_Environment_Properties
5735         when this feature is not available.
5736         * include/config.h.in: Rebuilt.
5737         * acconfig.h: Add DISABLE_MAIN_ARGS.
5738         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
5739         * configure: Rebuilt.
5740         * configure.in: Add --disable-main-args option.  Test for
5741           opendir function.  Replace AC_CHECK_SIZEOF with
5742           AC_COMPILE_CHECK_SIZEOF.
5743         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
5744         * aclocal.m4: Rebuilt.
5745         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
5747 2002-02-06  Tom Tromey  <tromey@redhat.com>
5749         * verify.cc (require_array_type): If argument is a null array of
5750         references, return null as the element type.
5752 2002-02-06  Mark Wielaard  <mark@klomp.org>
5754         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
5755         duplicate of a wide type.
5757 2002-02-06  Tom Tromey  <tromey@redhat.com>
5759         * verify.cc (type::isnull): New method.
5760         (require_array_type): Handle case where array is null.
5761         (verify_instructions_0) [op_arraylength]: Likewise.
5763 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5765         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
5766         Symlink PLATFORMH to platform.h.
5767         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
5768         PLATFORMOBJS.
5769         * java/lang/natSystem.cc: #include platform.h not posix.h.
5770         * Makefile.in: Rebuilt with libgcj automake.
5771         * configure: Rebuilt.
5773 2002-02-05  Richard Henderson  <rth@redhat.com>
5775         * Makefile.in: Undo munging last change.
5777 2002-02-04  Adam Megacz <adam@xwt.org>
5779         * win32.cc: Created it.
5780         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
5781         which is set to posix.cc or win32.cc.
5782         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
5784 2002-02-04  Adam Megacz <adam@xwt.org>
5786         * configure.in: Corrected mingw case branches; added * before
5787         and after.
5789 2002-02-04  Adam Megacz <adam@xwt.org>
5791         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
5792         if compiling for win32
5794 2002-02-04  Adam Megacz <adam@xwt.org>
5796         * win32-threads.cc: #undef STRICT after gc.h inclusion
5798 2002-02-02  Tom Tromey  <tromey@redhat.com>
5800         * Makefile.in: Rebuilt.
5802 2002-02-02  Jason Merrill  <jason@redhat.com>
5804         * Makefile.am (clean-nat): New target.
5806 2002-02-02  Tom Tromey  <tromey@redhat.com>
5808         * java/io/natFile.cc: Removed old "FIXME" comments.
5810 2002-02-01  Tom Tromey  <tromey@redhat.com>
5812         * java/lang/natPosixProcess.cc (myclose): New function.
5813         (fail): Use it.
5814         (startProcess): Likewise.
5816 2002-02-01  Adam Megacz <adam@xwt.org>
5818         * prims.cc: Added #undef STRICT after #include<windows.h>.
5820 2002-02-01  Adam Megacz <adam@xwt.org>
5822         * prims.cc
5823         (_Jv_CreateJavaVM): We now use WIN32 instead of
5824         USE_WIN32_SIGNALLING and USE_WINSOCK.
5825         (win32_exception_handler): Now throws an exception out of
5826         the signal handler; assumes SJLJ.
5828 2002-02-01  Adam Megacz <adam@xwt.org>
5830         * win32-threads.cc:
5831         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
5832         wait() algorithm to make it safe.
5833         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
5834         Added lazy creation of Win32 Events for better performance
5835         (really_start): This now uses GC_CreateThread so boehm-gc
5836         knows about new threads even when statically linked.
5838 2002-02-01  Adam Megacz <adam@xwt.org>
5840         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
5841         enable safer wait() algorithm.
5842         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
5843         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
5844         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
5845         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
5846         instead of mutex.
5847         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
5849 2002-02-01  Adam Megacz <adam@xwt.org>
5851         * configure.in: Added support for mingw.
5852         * java/lang/Win32Process.java: Created as empty file.
5853         * java/lang/natWin32Process.cc: Created as empty file.
5855 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5857         PR java/4972
5858         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
5859         for libiconv in LIBICONV variable.
5860         * configure: Regenerated.
5862 2002-01-31  Tom Tromey  <tromey@redhat.com>
5864         * verify.cc (state::enter_subroutine): New method.
5865         (handle_jsr_insn): Use it.
5866         (state::merge): When processing a `ret', correctly use
5867         subroutine's state to determine which local variables have
5868         changed.
5869         (push_exception_jump): Don't let stack overflow.
5871 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
5873         * gnu/gcj/convert/Convert.java: Only include one copyright year in
5874         --version output.
5876 2002-01-30  Tom Tromey  <tromey@redhat.com>
5878         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
5879         parameter for `recv' return type.
5881         * verify.cc (handle_ret_insn): Check for subroutine merge here...
5882         (state::merge): ... not here.
5883         (subr_entry_info): New structure.
5884         (entry_points): New field.
5885         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
5886         entry_points.
5888 2002-01-29  Tom Tromey  <tromey@redhat.com>
5890         * java/awt/List.java (addNotify): Correctly check to see if peer
5891         does not exist.
5893         * java/awt/GridLayout.java (layoutContainer): Use number of rows
5894         to compute height of each cell, and number of columns to compute
5895         width of each cell.
5896         * java/awt/Window.java (getOwnedWindows): Don't return null.
5897         * java/awt/FlowLayout.java (layoutContainer): Set width and height
5898         of component.  Increment x using horizontal gap, not vertical
5899         gap.
5901 2002-01-28  Tom Tromey  <tromey@redhat.com>
5903         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
5904         `nargs' byte is number of words, not number of arguments.
5906 2002-01-27  Tom Tromey  <tromey@redhat.com>
5908         * java/awt/event/MouseEvent.java (modifiers): Removed field.
5909         (when): Likewise.
5910         * java/awt/event/InputEvent.java (modifiers, when): Now
5911         package-private.
5913         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
5914         and to-do list.
5915         (state::merge): Use current class' class loader.
5916         (state::print): Print subroutine.
5917         (state::merge): Don't look at subroutine of unmerged `ret'.
5919 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
5921         * nogc.cc: Remove warnings.
5922         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
5923         New functions.
5925 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5927         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
5928         int, int):  Remove empty "if" statement to work around compiler bug.
5929         (newPixels(int[], ColorModel, int, int): Likewise.
5931 2002-01-25  Per Bothner  <per@bothner.com>
5933         * verify.cc (verify_fail):  Change from being a top-level function
5934         to e method of _Jv_BytecodeVerifier.  Emit current method name.
5935         Pass the current verifier to type: and state: methods as needed,
5936         for better error messages, and for resolve.
5937         (resolve):  Pass current class's loader for Class.forName and
5938         _Jv_FindClassFromSignature, rather than using the default loader.
5939         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
5940         (get_type_val_for_signature):  Make non-static.
5941         (various methods):  Pass start_PC implicitly, not explicitly.
5943 2002-01-25  Tom Tromey  <tromey@redhat.com>
5945         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
5946         loop termination condition.
5947         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
5948         width.
5950 2002-01-24  Tom Tromey  <tromey@redhat.com>
5952         * java/awt/Shape.java: Merged with Classpath.
5953         * java/awt/Scrollbar.java: Merged with Classpath.
5955         * java/awt/Container.java (addNotify): Unconditionally call
5956         addNotifyContainerChildren and superclass addNotify.
5958         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
5959         getAlpha, not getBlue.
5961 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5963         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
5965         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
5966         (grabPixels(long)): Wait to be notified that the ImageProducer has
5967         completed.
5969 2002-01-24  Per Bothner  <per@bothner.com>
5971         * verify.cc (is_assignable_from_slow): If target is an interface,
5972         we must still check the source's superclass before giving up.
5974 2002-01-24  Tom Tromey  <tromey@redhat.com>
5976         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
5978 2002-01-23  Tom Tromey  <tromey@redhat.com>
5980         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
5981         `else'.
5983         * Makefile.in: Rebuilt.
5984         * Makefile.am (awt_java_source_files): Added new files.
5985         * java/awt/Toolkit.java: Merged with Classpath.
5986         * java/awt/PrintGraphics.java: New file from Classpath.
5987         * java/awt/PrintJob.java: New file from Classpath.
5988         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
5989         * java/awt/datatransfer/ClipboardOwner.java: New file from
5990         Classpath.
5991         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
5992         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
5993         * java/awt/datatransfer/MimeTypeParseException.java: New file from
5994         Classpath.
5995         * java/awt/datatransfer/StringSelection.java: New file from
5996         Classpath.
5997         * java/awt/datatransfer/SystemFlavorMap.java: New file from
5998         Classpath.
5999         * java/awt/datatransfer/Transferable.java: New file from
6000         Classpath.
6001         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
6002         from Classpath.
6004         * Makefile.in: Rebuilt.
6005         * Makefile.am (awt_java_source_files): Added new files.
6006         * java/awt/image/AreaAveragingScaleFilter.java: New file from
6007         Classpath.
6008         * java/awt/image/CropImageFilter.java: New file from Classpath.
6009         * java/awt/image/FilteredImageSource.java: New file from
6010         Classpath.
6011         * java/awt/image/ImageFilter.java: New file from Classpath.
6012         * java/awt/image/MemoryImageSource.java: New file from Classpath.
6013         * java/awt/image/PixelGrabber.java: New file from Classpath.
6014         * java/awt/image/RGBImageFilter.java: New file from Classpath.
6015         * java/awt/image/ReplicateScaleFilter.java: New file from
6016         Classpath.
6017         * java/awt/image/ImageProducer.java: Replaced with Classpath
6018         version.
6019         * java/awt/image/ImageObserver.java: Replaced with Classpath
6020         version.
6021         * java/awt/image/ImageConsumer.java: Replaced with Classpath
6022         version.
6023         * java/awt/GridBagConstraints.java (clone): Catch
6024         CloneNotSupportedException.
6026 2002-01-23  Per Bothner  <per@bothner.com>
6028         * java/lang/reflect/natField.cc (setAddr):  New function.
6029         Calls getAddr and then checks that the field isn't final.
6030         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
6031         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
6032         (set):  Call setAddr before check that new value has right type,
6033         to better match specified semantics.
6035 2002-01-22  Tom Tromey  <tromey@redhat.com>
6037         * java/awt/TextField.java: Replaced with Classpath version.
6038         * java/awt/TextArea.java: Replaced with Classpath version.
6039         * java/awt/TextComponent.java: Replaced with Classpath version.
6041         * java/awt/GridBagConstraints.java: Updated copyright.
6043 2002-01-22  Mark Wielaard <mark@klomp.org>
6045         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
6046         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
6047         java/awt/Dialog.java java/awt/FileDialog.java
6048         java/awt/Font.java java/awt/FontMetrics.java
6049         java/awt/Image.java java/awt/ImageMediaEntry.java
6050         java/awt/Insets.java java/awt/List.java
6051         java/awt/MediaEntry.java java/awt/MediaTracker.java
6052         java/awt/Menu.java java/awt/MenuBar.java
6053         java/awt/MenuContainer.java java/awt/MenuShortcut.java
6054         java/awt/PaintContext.java java/awt/Panel.java
6055         java/awt/PopupMenu.java java/awt/SystemColor.java
6056         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
6057         java/awt/peer/CheckboxMenuItemPeer.java
6058         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
6059         java/awt/peer/ComponentPeer.java
6060         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
6061         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
6062         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
6063         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
6064         java/awt/peer/MenuBarPeer.java
6065         java/awt/peer/MenuComponentPeer.java
6066         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
6067         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
6068         java/awt/peer/ScrollPanePeer.java
6069         java/awt/peer/ScrollbarPeer.java
6070         java/awt/peer/TextAreaPeer.java
6071         java/awt/peer/TextComponentPeer.java
6072         java/awt/peer/TextFieldPeer.java
6073         java/awt/peer/WindowPeer.java: Add license clarification.
6075 2002-01-22  Mark Wielaard <mark@klomp.org>
6077         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
6078         gnu/gcj/runtime/StringBuffer.java
6079         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
6080         gnu/java/awt/ComponentDataBlitOp.java
6081         gnu/java/awt/GLightweightPeer.java
6082         gnu/java/beans/BeanInfoEmbryo.java
6083         gnu/java/beans/EmptyBeanInfo.java
6084         gnu/java/beans/ExplicitBeanInfo.java
6085         gnu/java/beans/IntrospectionIncubator.java
6086         gnu/java/beans/editors/ColorEditor.java
6087         gnu/java/beans/editors/FontEditor.java
6088         gnu/java/beans/editors/NativeBooleanEditor.java
6089         gnu/java/beans/editors/NativeByteEditor.java
6090         gnu/java/beans/editors/NativeDoubleEditor.java
6091         gnu/java/beans/editors/NativeFloatEditor.java
6092         gnu/java/beans/editors/NativeIntEditor.java
6093         gnu/java/beans/editors/NativeLongEditor.java
6094         gnu/java/beans/editors/NativeShortEditor.java
6095         gnu/java/beans/editors/StringEditor.java
6096         gnu/java/beans/info/ComponentBeanInfo.java
6097         gnu/java/io/ClassLoaderObjectInputStream.java
6098         gnu/java/io/NullOutputStream.java
6099         gnu/java/io/ObjectIdentityWrapper.java
6100         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
6101         gnu/java/lang/reflect/TypeSignature.java
6102         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
6103         gnu/java/locale/Calendar_en.java
6104         gnu/java/locale/Calendar_nl.java
6105         gnu/java/locale/LocaleInformation.java
6106         gnu/java/locale/LocaleInformation_de.java
6107         gnu/java/locale/LocaleInformation_en.java
6108         gnu/java/locale/LocaleInformation_nl.java
6109         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
6110         gnu/java/rmi/registry/RegistryImpl.java
6111         gnu/java/rmi/rmic/Compile_gcj.java
6112         gnu/java/rmi/rmic/Compiler.java
6113         gnu/java/rmi/rmic/CompilerProcess.java
6114         gnu/java/rmi/rmic/RMIC.java
6115         gnu/java/rmi/rmic/TabbedWriter.java
6116         gnu/java/rmi/server/ProtocolConstants.java
6117         gnu/java/rmi/server/RMIDefaultSocketFactory.java
6118         gnu/java/rmi/server/RMIHashes.java
6119         gnu/java/rmi/server/RMIObjectInputStream.java
6120         gnu/java/rmi/server/RMIObjectOutputStream.java
6121         gnu/java/rmi/server/UnicastConnection.java
6122         gnu/java/rmi/server/UnicastConnectionManager.java
6123         gnu/java/rmi/server/UnicastRef.java
6124         gnu/java/rmi/server/UnicastRemoteCall.java
6125         gnu/java/rmi/server/UnicastRemoteStub.java
6126         gnu/java/rmi/server/UnicastServer.java
6127         gnu/java/rmi/server/UnicastServerRef.java
6128         gnu/java/security/provider/DefaultPolicy.java
6129         gnu/java/security/provider/Gnu.java
6130         gnu/java/security/provider/SHA.java
6131         gnu/java/security/provider/SHA1PRNG.java
6132         gnu/java/text/BaseBreakIterator.java
6133         gnu/java/text/CharacterBreakIterator.java
6134         gnu/java/text/LineBreakIterator.java
6135         gnu/java/text/SentenceBreakIterator.java
6136         gnu/java/text/WordBreakIterator.java
6137         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
6138         java/applet/AppletContext.java java/applet/AppletStub.java
6139         java/applet/AudioClip.java java/awt/AWTError.java
6140         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
6141         java/awt/AWTException.java java/awt/AWTPermission.java
6142         java/awt/ActiveEvent.java java/awt/BorderLayout.java
6143         java/awt/Button.java java/awt/Canvas.java
6144         java/awt/CardLayout.java java/awt/Checkbox.java
6145         java/awt/CheckboxGroup.java java/awt/Component.java
6146         java/awt/ComponentOrientation.java java/awt/Container.java
6147         java/awt/Dimension.java java/awt/Event.java
6148         java/awt/EventDispatchThread.java java/awt/EventQueue.java
6149         java/awt/FlowLayout.java java/awt/Frame.java
6150         java/awt/Graphics.java java/awt/Graphics2D.java
6151         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
6152         java/awt/IllegalComponentStateException.java
6153         java/awt/ItemSelectable.java java/awt/Label.java
6154         java/awt/LayoutManager.java java/awt/LayoutManager2.java
6155         java/awt/MenuComponent.java java/awt/MenuItem.java
6156         java/awt/Paint.java java/awt/Point.java
6157         java/awt/Rectangle.java java/awt/RenderingHints.java
6158         java/awt/Transparency.java java/awt/Window.java
6159         java/awt/color/ColorSpace.java
6160         java/awt/color/ICC_ColorSpace.java
6161         java/awt/color/ICC_Profile.java
6162         java/awt/event/HierarchyBoundsAdapter.java
6163         java/awt/event/HierarchyBoundsListener.java
6164         java/awt/event/HierarchyEvent.java
6165         java/awt/event/HierarchyListener.java
6166         java/awt/geom/AffineTransform.java
6167         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
6168         java/awt/geom/IllegalPathStateException.java
6169         java/awt/geom/Line2D.java
6170         java/awt/geom/NoninvertibleTransformException.java
6171         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
6172         java/awt/geom/Rectangle2D.java
6173         java/awt/geom/RectangularShape.java
6174         java/awt/geom/RoundRectangle2D.java
6175         java/awt/image/BufferedImage.java
6176         java/awt/image/ColorModel.java
6177         java/awt/image/ComponentColorModel.java
6178         java/awt/image/ComponentSampleModel.java
6179         java/awt/image/DataBuffer.java
6180         java/awt/image/DataBufferByte.java
6181         java/awt/image/DataBufferInt.java
6182         java/awt/image/DataBufferUShort.java
6183         java/awt/image/DirectColorModel.java
6184         java/awt/image/PackedColorModel.java
6185         java/awt/image/Raster.java java/awt/image/RasterOp.java
6186         java/awt/image/SampleModel.java
6187         java/awt/image/SinglePixelPackedSampleModel.java
6188         java/awt/image/WritableRaster.java
6189         java/beans/AppletInitializer.java
6190         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
6191         java/beans/Beans.java java/beans/Customizer.java
6192         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
6193         java/beans/FeatureDescriptor.java
6194         java/beans/IndexedPropertyDescriptor.java
6195         java/beans/IntrospectionException.java
6196         java/beans/Introspector.java java/beans/MethodDescriptor.java
6197         java/beans/ParameterDescriptor.java
6198         java/beans/PropertyChangeEvent.java
6199         java/beans/PropertyChangeListener.java
6200         java/beans/PropertyChangeSupport.java
6201         java/beans/PropertyDescriptor.java
6202         java/beans/PropertyEditor.java
6203         java/beans/PropertyEditorManager.java
6204         java/beans/PropertyEditorSupport.java
6205         java/beans/PropertyVetoException.java
6206         java/beans/SimpleBeanInfo.java
6207         java/beans/VetoableChangeListener.java
6208         java/beans/VetoableChangeSupport.java
6209         java/beans/Visibility.java
6210         java/beans/beancontext/BeanContext.java
6211         java/beans/beancontext/BeanContextChild.java
6212         java/beans/beancontext/BeanContextChildComponentProxy.java
6213         java/beans/beancontext/BeanContextChildSupport.java
6214         java/beans/beancontext/BeanContextContainerProxy.java
6215         java/beans/beancontext/BeanContextEvent.java
6216         java/beans/beancontext/BeanContextMembershipEvent.java
6217         java/beans/beancontext/BeanContextMembershipListener.java
6218         java/beans/beancontext/BeanContextProxy.java
6219         java/beans/beancontext/BeanContextServiceAvailableEvent.java
6220         java/beans/beancontext/BeanContextServiceProvider.java
6221         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
6222         java/beans/beancontext/BeanContextServiceRevokedEvent.java
6223         java/beans/beancontext/BeanContextServiceRevokedListener.java
6224         java/beans/beancontext/BeanContextServices.java
6225         java/beans/beancontext/BeanContextServicesListener.java
6226         java/io/BufferedInputStream.java
6227         java/io/BufferedOutputStream.java java/io/BufferedReader.java
6228         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
6229         java/io/ByteArrayOutputStream.java
6230         java/io/CharArrayReader.java java/io/CharArrayWriter.java
6231         java/io/CharConversionException.java java/io/DataInput.java
6232         java/io/DataInputStream.java java/io/DataOutput.java
6233         java/io/EOFException.java java/io/Externalizable.java
6234         java/io/FileFilter.java java/io/FileNotFoundException.java
6235         java/io/FilePermission.java java/io/FileReader.java
6236         java/io/FileWriter.java java/io/FilenameFilter.java
6237         java/io/FilterInputStream.java java/io/FilterOutputStream.java
6238         java/io/FilterReader.java java/io/FilterWriter.java
6239         java/io/IOException.java java/io/InputStream.java
6240         java/io/InterruptedIOException.java
6241         java/io/InvalidClassException.java
6242         java/io/InvalidObjectException.java
6243         java/io/NotActiveException.java
6244         java/io/NotSerializableException.java java/io/ObjectInput.java
6245         java/io/ObjectInputStream.java
6246         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
6247         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
6248         java/io/ObjectStreamConstants.java
6249         java/io/ObjectStreamException.java
6250         java/io/ObjectStreamField.java
6251         java/io/OptionalDataException.java java/io/OutputStream.java
6252         java/io/PipedInputStream.java java/io/PipedOutputStream.java
6253         java/io/PipedReader.java java/io/PipedWriter.java
6254         java/io/PrintWriter.java java/io/PushbackInputStream.java
6255         java/io/PushbackReader.java java/io/Reader.java
6256         java/io/SequenceInputStream.java java/io/Serializable.java
6257         java/io/SerializablePermission.java
6258         java/io/StreamCorruptedException.java
6259         java/io/StreamTokenizer.java
6260         java/io/StringBufferInputStream.java java/io/StringReader.java
6261         java/io/StringWriter.java java/io/SyncFailedException.java
6262         java/io/UTFDataFormatException.java
6263         java/io/UnsupportedEncodingException.java
6264         java/io/WriteAbortedException.java java/io/Writer.java
6265         java/lang/AbstractMethodError.java
6266         java/lang/ArithmeticException.java
6267         java/lang/ArrayIndexOutOfBoundsException.java
6268         java/lang/ArrayStoreException.java java/lang/Boolean.java
6269         java/lang/Byte.java java/lang/CharSequence.java
6270         java/lang/ClassCastException.java
6271         java/lang/ClassCircularityError.java
6272         java/lang/ClassFormatError.java
6273         java/lang/ClassNotFoundException.java
6274         java/lang/CloneNotSupportedException.java
6275         java/lang/Cloneable.java java/lang/Comparable.java
6276         java/lang/Compiler.java java/lang/Double.java
6277         java/lang/Error.java java/lang/Exception.java
6278         java/lang/ExceptionInInitializerError.java
6279         java/lang/Float.java java/lang/IllegalAccessError.java
6280         java/lang/IllegalAccessException.java
6281         java/lang/IllegalArgumentException.java
6282         java/lang/IllegalMonitorStateException.java
6283         java/lang/IllegalStateException.java
6284         java/lang/IllegalThreadStateException.java
6285         java/lang/IncompatibleClassChangeError.java
6286         java/lang/IndexOutOfBoundsException.java
6287         java/lang/InheritableThreadLocal.java
6288         java/lang/InstantiationError.java
6289         java/lang/InstantiationException.java java/lang/Integer.java
6290         java/lang/InternalError.java
6291         java/lang/InterruptedException.java
6292         java/lang/LinkageError.java java/lang/Long.java
6293         java/lang/NegativeArraySizeException.java
6294         java/lang/NoClassDefFoundError.java
6295         java/lang/NoSuchFieldError.java
6296         java/lang/NoSuchFieldException.java
6297         java/lang/NoSuchMethodError.java
6298         java/lang/NoSuchMethodException.java
6299         java/lang/NullPointerException.java java/lang/Number.java
6300         java/lang/NumberFormatException.java
6301         java/lang/OutOfMemoryError.java java/lang/Package.java
6302         java/lang/Process.java java/lang/Runnable.java
6303         java/lang/RuntimeException.java
6304         java/lang/RuntimePermission.java
6305         java/lang/SecurityException.java
6306         java/lang/SecurityManager.java java/lang/Short.java
6307         java/lang/StackOverflowError.java java/lang/StringBuffer.java
6308         java/lang/StringIndexOutOfBoundsException.java
6309         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
6310         java/lang/ThreadLocal.java java/lang/UnknownError.java
6311         java/lang/UnsatisfiedLinkError.java
6312         java/lang/UnsupportedClassVersionError.java
6313         java/lang/UnsupportedOperationException.java
6314         java/lang/VerifyError.java java/lang/VirtualMachineError.java
6315         java/lang/Void.java java/lang/ref/PhantomReference.java
6316         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
6317         java/lang/ref/SoftReference.java
6318         java/lang/ref/WeakReference.java
6319         java/lang/reflect/AccessibleObject.java
6320         java/lang/reflect/InvocationTargetException.java
6321         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
6322         java/lang/reflect/ReflectPermission.java
6323         java/math/BigDecimal.java java/math/BigInteger.java
6324         java/net/Authenticator.java java/net/BindException.java
6325         java/net/ConnectException.java java/net/ContentHandler.java
6326         java/net/ContentHandlerFactory.java
6327         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
6328         java/net/FileNameMap.java java/net/MalformedURLException.java
6329         java/net/MulticastSocket.java java/net/NetPermission.java
6330         java/net/NoRouteToHostException.java
6331         java/net/PasswordAuthentication.java
6332         java/net/ProtocolException.java java/net/ServerSocket.java
6333         java/net/Socket.java java/net/SocketException.java
6334         java/net/SocketImpl.java java/net/SocketImplFactory.java
6335         java/net/SocketOptions.java java/net/SocketPermission.java
6336         java/net/URLDecoder.java java/net/URLEncoder.java
6337         java/net/URLStreamHandlerFactory.java
6338         java/net/UnknownHostException.java
6339         java/net/UnknownServiceException.java
6340         java/rmi/AccessException.java
6341         java/rmi/AlreadyBoundException.java
6342         java/rmi/ConnectException.java
6343         java/rmi/ConnectIOException.java
6344         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
6345         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
6346         java/rmi/NotBoundException.java
6347         java/rmi/RMISecurityException.java
6348         java/rmi/RMISecurityManager.java java/rmi/Remote.java
6349         java/rmi/RemoteException.java java/rmi/ServerError.java
6350         java/rmi/ServerException.java
6351         java/rmi/ServerRuntimeException.java
6352         java/rmi/StubNotFoundException.java
6353         java/rmi/UnexpectedException.java
6354         java/rmi/UnknownHostException.java
6355         java/rmi/UnmarshalException.java
6356         java/rmi/activation/Activatable.java
6357         java/rmi/activation/ActivateFailedException.java
6358         java/rmi/activation/ActivationDesc.java
6359         java/rmi/activation/ActivationException.java
6360         java/rmi/activation/ActivationGroup.java
6361         java/rmi/activation/ActivationGroupDesc.java
6362         java/rmi/activation/ActivationGroupID.java
6363         java/rmi/activation/ActivationID.java
6364         java/rmi/activation/ActivationInstantiator.java
6365         java/rmi/activation/ActivationMonitor.java
6366         java/rmi/activation/ActivationSystem.java
6367         java/rmi/activation/Activator.java
6368         java/rmi/activation/UnknownGroupException.java
6369         java/rmi/activation/UnknownObjectException.java
6370         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
6371         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
6372         java/rmi/registry/Registry.java
6373         java/rmi/registry/RegistryHandler.java
6374         java/rmi/server/ExportException.java
6375         java/rmi/server/LoaderHandler.java
6376         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
6377         java/rmi/server/Operation.java
6378         java/rmi/server/RMIClassLoader.java
6379         java/rmi/server/RMIClientSocketFactory.java
6380         java/rmi/server/RMIFailureHandler.java
6381         java/rmi/server/RMIServerSocketFactory.java
6382         java/rmi/server/RMISocketFactory.java
6383         java/rmi/server/RemoteCall.java
6384         java/rmi/server/RemoteObject.java
6385         java/rmi/server/RemoteRef.java
6386         java/rmi/server/RemoteServer.java
6387         java/rmi/server/RemoteStub.java
6388         java/rmi/server/ServerCloneException.java
6389         java/rmi/server/ServerNotActiveException.java
6390         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
6391         java/rmi/server/SkeletonMismatchException.java
6392         java/rmi/server/SkeletonNotFoundException.java
6393         java/rmi/server/SocketSecurityException.java
6394         java/rmi/server/UID.java
6395         java/rmi/server/UnicastRemoteObject.java
6396         java/rmi/server/Unreferenced.java
6397         java/security/AccessControlContext.java
6398         java/security/AccessControlException.java
6399         java/security/AccessController.java
6400         java/security/AlgorithmParameterGenerator.java
6401         java/security/AlgorithmParameterGeneratorSpi.java
6402         java/security/AlgorithmParameters.java
6403         java/security/AlgorithmParametersSpi.java
6404         java/security/AllPermission.java
6405         java/security/BasicPermission.java
6406         java/security/Certificate.java java/security/CodeSource.java
6407         java/security/DigestException.java
6408         java/security/DigestInputStream.java
6409         java/security/DigestOutputStream.java
6410         java/security/DomainCombiner.java
6411         java/security/DummyKeyPairGenerator.java
6412         java/security/DummyMessageDigest.java
6413         java/security/DummySignature.java
6414         java/security/GeneralSecurityException.java
6415         java/security/Guard.java java/security/GuardedObject.java
6416         java/security/Identity.java java/security/IdentityScope.java
6417         java/security/InvalidAlgorithmParameterException.java
6418         java/security/InvalidKeyException.java
6419         java/security/InvalidParameterException.java
6420         java/security/Key.java java/security/KeyException.java
6421         java/security/KeyFactory.java java/security/KeyFactorySpi.java
6422         java/security/KeyManagementException.java
6423         java/security/KeyPair.java java/security/KeyPairGenerator.java
6424         java/security/KeyPairGeneratorSpi.java
6425         java/security/KeyStore.java
6426         java/security/KeyStoreException.java
6427         java/security/KeyStoreSpi.java
6428         java/security/MessageDigest.java
6429         java/security/MessageDigestSpi.java
6430         java/security/NoSuchAlgorithmException.java
6431         java/security/NoSuchProviderException.java
6432         java/security/Permission.java
6433         java/security/PermissionCollection.java
6434         java/security/Permissions.java java/security/Policy.java
6435         java/security/Principal.java java/security/PrivateKey.java
6436         java/security/PrivilegedAction.java
6437         java/security/PrivilegedActionException.java
6438         java/security/PrivilegedExceptionAction.java
6439         java/security/ProtectionDomain.java
6440         java/security/Provider.java
6441         java/security/ProviderException.java
6442         java/security/PublicKey.java
6443         java/security/SecureClassLoader.java
6444         java/security/SecureRandom.java
6445         java/security/SecureRandomSpi.java java/security/Security.java
6446         java/security/SecurityPermission.java
6447         java/security/Signature.java
6448         java/security/SignatureException.java
6449         java/security/SignatureSpi.java
6450         java/security/SignedObject.java java/security/Signer.java
6451         java/security/UnrecoverableKeyException.java
6452         java/security/UnresolvedPermission.java
6453         java/security/acl/Acl.java java/security/acl/AclEntry.java
6454         java/security/acl/AclNotFoundException.java
6455         java/security/acl/Group.java
6456         java/security/acl/LastOwnerException.java
6457         java/security/acl/NotOwnerException.java
6458         java/security/acl/Owner.java java/security/acl/Permission.java
6459         java/security/cert/CRL.java
6460         java/security/cert/CRLException.java
6461         java/security/cert/Certificate.java
6462         java/security/cert/CertificateEncodingException.java
6463         java/security/cert/CertificateException.java
6464         java/security/cert/CertificateExpiredException.java
6465         java/security/cert/CertificateFactory.java
6466         java/security/cert/CertificateFactorySpi.java
6467         java/security/cert/CertificateNotYetValidException.java
6468         java/security/cert/CertificateParsingException.java
6469         java/security/cert/X509CRL.java
6470         java/security/cert/X509CRLEntry.java
6471         java/security/cert/X509Certificate.java
6472         java/security/cert/X509Extension.java
6473         java/security/interfaces/DSAKey.java
6474         java/security/interfaces/DSAKeyPairGenerator.java
6475         java/security/interfaces/DSAParams.java
6476         java/security/interfaces/DSAPrivateKey.java
6477         java/security/interfaces/DSAPublicKey.java
6478         java/security/interfaces/RSAKey.java
6479         java/security/interfaces/RSAPrivateCrtKey.java
6480         java/security/interfaces/RSAPrivateKey.java
6481         java/security/interfaces/RSAPublicKey.java
6482         java/security/spec/AlgorithmParameterSpec.java
6483         java/security/spec/DSAParameterSpec.java
6484         java/security/spec/DSAPrivateKeySpec.java
6485         java/security/spec/DSAPublicKeySpec.java
6486         java/security/spec/EncodedKeySpec.java
6487         java/security/spec/InvalidKeySpecException.java
6488         java/security/spec/InvalidParameterSpecException.java
6489         java/security/spec/KeySpec.java
6490         java/security/spec/PKCS8EncodedKeySpec.java
6491         java/security/spec/RSAKeyGenParameterSpec.java
6492         java/security/spec/RSAPrivateCrtKeySpec.java
6493         java/security/spec/RSAPrivateKeySpec.java
6494         java/security/spec/RSAPublicKeySpec.java
6495         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
6496         java/sql/BatchUpdateException.java java/sql/Blob.java
6497         java/sql/CallableStatement.java java/sql/Clob.java
6498         java/sql/Connection.java java/sql/DataTruncation.java
6499         java/sql/DatabaseMetaData.java java/sql/Date.java
6500         java/sql/Driver.java java/sql/DriverManager.java
6501         java/sql/DriverPropertyInfo.java
6502         java/sql/PreparedStatement.java java/sql/Ref.java
6503         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
6504         java/sql/SQLData.java java/sql/SQLException.java
6505         java/sql/SQLInput.java java/sql/SQLOutput.java
6506         java/sql/SQLWarning.java java/sql/Statement.java
6507         java/sql/Struct.java java/sql/Time.java
6508         java/sql/Timestamp.java java/sql/Types.java
6509         java/text/Annotation.java
6510         java/text/AttributedCharacterIterator.java
6511         java/text/AttributedString.java
6512         java/text/AttributedStringIterator.java
6513         java/text/BreakIterator.java java/text/CharacterIterator.java
6514         java/text/ChoiceFormat.java java/text/Collator.java
6515         java/text/DateFormat.java java/text/DateFormatSymbols.java
6516         java/text/DecimalFormat.java
6517         java/text/DecimalFormatSymbols.java
6518         java/text/FieldPosition.java java/text/Format.java
6519         java/text/MessageFormat.java java/text/NumberFormat.java
6520         java/text/ParseException.java java/text/ParsePosition.java
6521         java/text/SimpleDateFormat.java
6522         java/text/StringCharacterIterator.java
6523         java/util/AbstractCollection.java java/util/AbstractList.java
6524         java/util/AbstractMap.java
6525         java/util/AbstractSequentialList.java
6526         java/util/AbstractSet.java java/util/ArrayList.java
6527         java/util/Arrays.java java/util/BasicMapEntry.java
6528         java/util/BitSet.java java/util/Calendar.java
6529         java/util/Collection.java java/util/Collections.java
6530         java/util/Comparator.java
6531         java/util/ConcurrentModificationException.java
6532         java/util/Date.java java/util/Dictionary.java
6533         java/util/EmptyStackException.java java/util/Enumeration.java
6534         java/util/EventListener.java java/util/EventObject.java
6535         java/util/GregorianCalendar.java java/util/HashMap.java
6536         java/util/HashSet.java java/util/Hashtable.java
6537         java/util/IdentityHashMap.java java/util/Iterator.java
6538         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
6539         java/util/LinkedList.java java/util/List.java
6540         java/util/ListIterator.java java/util/ListResourceBundle.java
6541         java/util/Locale.java java/util/Map.java
6542         java/util/MissingResourceException.java
6543         java/util/NoSuchElementException.java
6544         java/util/Observable.java java/util/Observer.java
6545         java/util/Properties.java java/util/PropertyPermission.java
6546         java/util/PropertyResourceBundle.java java/util/Random.java
6547         java/util/RandomAccess.java java/util/ResourceBundle.java
6548         java/util/Set.java java/util/SimpleTimeZone.java
6549         java/util/SortedMap.java java/util/SortedSet.java
6550         java/util/Stack.java java/util/StringTokenizer.java
6551         java/util/TimeZone.java java/util/Timer.java
6552         java/util/TimerTask.java
6553         java/util/TooManyListenersException.java
6554         java/util/TreeMap.java java/util/TreeSet.java
6555         java/util/Vector.java java/util/WeakHashMap.java
6556         java/util/jar/Attributes.java java/util/jar/JarEntry.java
6557         java/util/jar/JarException.java java/util/jar/JarFile.java
6558         java/util/jar/JarInputStream.java
6559         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
6560         java/util/zip/Adler32.java java/util/zip/CRC32.java
6561         java/util/zip/CheckedInputStream.java
6562         java/util/zip/CheckedOutputStream.java
6563         java/util/zip/Checksum.java
6564         java/util/zip/DataFormatException.java
6565         java/util/zip/Deflater.java
6566         java/util/zip/DeflaterOutputStream.java
6567         java/util/zip/GZIPInputStream.java
6568         java/util/zip/GZIPOutputStream.java
6569         java/util/zip/Inflater.java
6570         java/util/zip/InflaterInputStream.java
6571         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
6572         java/util/zip/ZipException.java java/util/zip/ZipFile.java
6573         java/util/zip/ZipInputStream.java
6574         java/util/zip/ZipOutputStream.java
6575         javax/naming/BinaryRefAddr.java
6576         javax/naming/InvalidNameException.java javax/naming/Name.java
6577         javax/naming/NamingException.java javax/naming/RefAddr.java
6578         javax/naming/StringRefAddr.java: Add license clarification.
6580 2002-01-22  Tom Tromey  <tromey@redhat.com>
6582         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
6583         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
6584         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
6585         version.
6586         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
6587         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
6588         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
6589         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
6590         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
6591         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
6592         * java/awt/peer/FontPeer.java: Replace with Classpath version.
6593         * java/awt/peer/FramePeer.java: Replace with Classpath version.
6594         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
6595         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
6596         * java/awt/peer/ListPeer.java: Replace with Classpath version.
6597         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
6598         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
6599         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
6600         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
6601         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
6602         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
6603         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
6604         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
6605         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
6606         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
6607         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
6608         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
6609         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
6610         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
6611         (minimumSize, preferredSize, reshape): Likewise.
6612         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
6613         getColorModel): New methods.
6614         * java/awt/PopupMenu.java: Merged with Classpath.
6615         * java/awt/MenuBar.java: Merged with Classpath.
6616         * java/awt/SystemColor.java: Replace with Classpath version.
6617         * java/awt/Panel.java: Merged with Classpath.
6618         * java/awt/PaintContext.java: Updated copyright.
6619         * java/awt/MenuShortcut.java: Merged with Classpath.
6620         * java/awt/MenuContainer.java: Merged with Classpath.
6621         * java/awt/Menu.java: Merged with Classpath.
6622         * java/awt/MediaEntry.java: New file from Classpath.
6623         * java/awt/MediaTracker.java: New file from Classpath.
6624         * java/awt/List.java: Merged with Classpath version.
6625         * java/awt/Insets.java: Merged with Classpath version.
6626         * java/awt/ImageMediaEntry.java: New file from Classpath.
6627         * java/awt/Image.java: Replaced with Classpath version.
6628         * java/awt/FontMetrics.java: Merged with Classpath version.
6629         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
6630         constant.
6631         * java/awt/Font.java: Merged with Classpath version.
6632         * java/awt/Dialog.java: Merged with Classpath version.
6633         * java/awt/Color.java: Merged with Classpath version.
6634         * java/awt/Choice.java: Merged with Classpath version.
6635         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
6636         * java/awt/Adjustable.java: Replace with Classpath version.
6637         * java/awt/MenuItem.java (paramString): Don't include class name
6638         or brackets.  Call superclass paramString.
6639         * java/awt/MenuComponent.java (toString): Call paramString.
6640         (paramString): Compute string; don't call toString.
6641         * java/awt/Label.java (paramString): Don't include class name
6642         or brackets.  Call superclass paramString.
6643         * java/awt/Checkbox.java (paramString): Don't include class name
6644         or brackets.  Call superclass paramString.
6645         * java/awt/Button.java (paramString): Don't include class name or
6646         brackets.  Call superclass paramString.
6647         * java/awt/MenuComponent.java (getTreeLock): Now protected.
6649 2002-01-20  Andreas Schwab  <schwab@suse.de>
6651         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
6652         function and of parameter recv_func to ssize_t, as specified by
6653         POSIX.
6655 2002-01-19  Per Bothner  <per@bothner.com>
6657         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
6658         uncompressed_size in readiness for next entry.
6660 2002-01-18  Tom Tromey  <tromey@redhat.com>
6662         * java/net/natPlainSocketImpl.cc: Include
6663         IllegalArgumentException.h.
6664         (_Jv_recv): New template function.
6665         (BooleanClass): Removed.
6666         (read): Use _Jv_recv.
6667         (setOption): Use Boolean::class$.  Throw exception if object is
6668         not Boolean or Integer.
6670 2002-01-17  Tom Tromey  <tromey@redhat.com>
6672         * java/awt/MenuComponent.java: Merged with Classpath.
6673         * java/awt/MenuItem.java: Merged with Classpath.
6674         * java/awt/Button.java: Merged with Classpath.
6676         * java/awt/ActiveEvent.java: Updated copyright.
6678         * java/awt/AWTError.java: Replaced with Classpath version.
6679         * java/awt/AWTException.java: Replaced with Classpath version.
6680         * java/awt/IllegalComponentStateException.java: Replaced with
6681         Classpath version.
6683 2002-01-16  Tom Tromey  <tromey@redhat.com>
6685         * java/awt/Canvas.java (serialVersionUID): New constant.
6686         Updated copyright.  Added javadoc from Classpath.
6687         * java/awt/ItemSelectable.java: Replaced with Classpath version.
6689         * java/awt/CheckboxGroup.java: Merged with Classpath.
6690         * java/awt/Checkbox.java: Merged with Classpath.
6692         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
6693         Classpath.
6694         * java/awt/Point.java: Updated copyright.
6696         * java/awt/Point.java (toString): Use getClass().getName().
6697         Added javadoc.
6699         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
6700         commented code.
6701         (hash): Correctly compute initial value for `h'.
6703         * java/awt/Label.java: Merged with Classpath.
6705 2002-01-15  Tom Tromey  <tromey@redhat.com>
6707         * java/awt/AWTPermission.java: Updated copyright.
6709         * java/awt/LayoutManager2.java: Merged with Classpath.
6710         * java/awt/LayoutManager.java: Merged with Classpath.
6711         * java/awt/GridLayout.java: Updated copyright and javadoc.
6712         (getSize): Use `parent.ncomponents'.  Handle insets.
6713         (layoutContainer): Use `parent.ncomponents'.  Handle case where
6714         there are fewer children than columns.  Correctly compute size of
6715         each cell in the grid.  Handle case where there isn't enough
6716         space.
6717         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
6718         all users.
6719         (gotoComponent): Use parent.ncomponents.  Ensure child exists
6720         before calling setVisible() on it.  Last item is `num - 1', not
6721         `num'.
6722         (layoutContainer): Hoist invariants out of loop.
6724         Start of AWT merge with Classpath:
6725         * Makefile.in: Rebuilt.
6726         * Makefile.am (awt_java_source_files): Reference files in
6727         gnu/java/awt, not gnu/gcj/awt.
6728         * java/awt/image/BufferedImage.java: Updated copyright.
6729         * java/awt/image/ComponentColorModel.java: Updated copyright.
6730         * java/awt/image/ComponentSampleModel.java: Updated copyright.
6731         * java/awt/image/DataBuffer.java: Updated copyright.
6732         * java/awt/image/DataBufferByte.java: Updated copyright.
6733         * java/awt/image/DataBufferInt.java: Updated copyright.
6734         * java/awt/image/DataBufferUShort.java: Updated copyright.
6735         * java/awt/image/IndexColorModel.java: Updated copyright.
6736         * java/awt/image/PackedColorModel.java: Updated copyright.
6737         * java/awt/image/Raster.java: Updated copyright.
6738         * java/awt/image/RasterOp.java: Updated copyright.
6739         * java/awt/image/SampleModel.java: Updated copyright.
6740         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
6741         * java/awt/image/WritableRaster.java: Updated copyright.
6742         * java/awt/color/ColorSpace.java: Updated copyright.
6743         * java/awt/color/ICC_ColorSpace.java: Updated copyright
6744         * java/awt/color/ICC_Profile.java: Updated copyright.
6745         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
6746         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
6747         * java/awt/event/HierarchyEvent.java: Updated copyright.
6748         * java/awt/event/HierarchyListener.java: Updated copyright.
6749         * java/awt/geom/AffineTransform.java: Updated copyright.
6750         * java/awt/geom/Dimension2D.java: Updated copyright.
6751         * java/awt/geom/Ellipse2D.java: Updated copyright.
6752         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
6753         * java/awt/geom/Line2D.java: Updated copyright.
6754         * java/awt/geom/NoninvertibleTransformException.java: Updated
6755         copyright.
6756         * java/awt/geom/PathIterator.java: Updated copyright.
6757         * java/awt/geom/Point2D.java: Updated copyright.
6758         * java/awt/geom/Rectangle2D.java: Updated copyright.
6759         * java/awt/geom/RectangularShape.java: Updated copyright.
6760         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
6761         * java/awt/Toolkit.java: Updated import for file moves.
6762         * java/awt/Rectangle.java: Updated copyright; added javadoc from
6763         Classpath.
6764         (hashCode): New method from Classpath.
6765         * java/awt/Graphics2D.java: Updated copyright.
6766         * java/awt/Transparency.java: Updated copyright.
6767         * java/awt/Paint.java: Updated copyright.
6768         * java/awt/Graphics.java: New version from Classpath.
6769         * java/awt/EventDispatchThread.java: Updated copyright.
6770         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
6771         children.
6772         (gotoComponent): Wrap around on next/previous.
6773         * gnu/gcj/awt/BitMaskExtent.java: Removed.
6774         * gnu/gcj/awt/Buffers.java: Removed.
6775         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
6776         * gnu/gcj/awt/GLightweightPeer.java: Removed.
6777         * gnu/java/awt/BitMaskExtent.java: Added.
6778         * gnu/java/awt/Buffers.java: Added.
6779         * gnu/java/awt/ComponentDataBlitOp.java: Added.
6780         * gnu/java/awt/GLightweightPeer.java: Added.
6781         * java/awt/geom/Line2D.java (clone): Ignore
6782         CloneNotSupportedException.
6783         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
6784         * java/awt/Frame.java: Merged with Classpath.
6785         * java/awt/RenderingHints.java: Copyright update.
6786         * java/awt/Paint.java: Copyright update.
6787         * java/awt/image/DirectColorModel.java: Merged with Classpath.
6788         * java/awt/image/ColorModel.java: Merged with Classpath.
6789         * java/awt/Window.java (show): New Implementation from Classpath.
6790         (isShowing): Use super.isShowing().
6791         * java/awt/EventQueue.java: Merged with Classpath.
6792         * java/awt/AWTEventMulticaster.java (save): Throw
6793         RuntimeException.
6794         (saveInternal): Likewise.
6795         * java/awt/AWTEvent.java: Now implements Serializable.
6796         * java/awt/Event.java: Copyright update.
6797         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
6798         * java/awt/image/BufferedImage.java: Copyright update.
6799         * java/awt/GraphicsConfiguration.java: Copyright update.
6800         * java/awt/Component.java: (addNotify): Don't call
6801         addNotifyContainerChildren().
6802         (addNotifyContainerChildren): Removed.
6803         (setPeer): New method from Classpath.
6804         (setTreeLock): Likewise.
6805         (setVisible): Rewrote.
6806         (show): Use it.
6807         (hide): Likewise.
6808         (validate): Set `valid'.
6809         (checkImage(Image,ImageObserver)): Implementation from Classpath.
6810         (createImage(ImageProducer)): Likewise.
6811         (prepareImage): Likewise.
6812         * java/awt/Container.java (addImpl): Handle case where constraint
6813         is not a String.  Post event via system event queue.
6814         (remove): Post event via system event queue.
6815         (validateTree): Only validate child if it is invalid.
6816         (getAlignmentX): Call super method as default.
6817         (getAlignmentY): Likewise.
6818         (addContainerListener): Now synchronized.
6819         (removeContainerListener): Likewise.
6820         (addNotifyContainerChildren): Now private.
6821         * java/awt/ComponentOrientation.java: Updated copyright.  Added
6822         @author.
6823         * java/awt/FlowLayout.java (serialVersionUID): New field.
6824         (setAlignment): Better exception message.
6825         (layoutContainer): Don't compute component's preferred size unless
6826         we're going to use it.
6827         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
6828         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
6829         (firstLine, lastLine, firstItem, lastItem): New fields.
6830         (addLayoutComponent): Handle case where constraints is null.
6831         Also, handle relative locations.
6832         (removeLayoutComponent): Handle relative locations.
6833         (MIN, MAX, PREF): New constants.
6834         (calcCompSize): New method.
6835         (calcSize): New method.
6836         (minimumLayoutSize): Use it.
6837         (preferredLayoutSize): Likewise.
6838         (maximumLayoutSize): Likewise.
6839         (toString): Include more information.
6840         (setBounds): New method.
6841         (layoutContainer): Use libgcj implementation; extended to handle
6842         relative locations.
6844 2002-01-15  Tom Tromey  <tromey@redhat.com>
6846         * java/lang/Float.java (equals): Preserve old code.
6847         * java/lang/Double.java (equals): Preserve old code.
6849 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
6851         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
6852         * java/lang/Float.java (equals, compare): Ditto.
6854 2002-01-13  Mark Wielaard  <mark@klomp.org>
6856         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
6857         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
6858         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
6859         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
6861 2002-01-11  Mark Wielaard  <mark@klomp.org>
6863         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
6864         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
6865         InetAddress.
6866         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
6867         * java/net/Socket.java: Merge with Classpath.
6868         * java/net/ServerSocket.java: Likewise.
6870 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
6872         * interpret.cc (NULLARRAYCHECK): New macro.
6873         (SAVE_PC): Just store `pc'.
6874         (find_exception): Subtract one from `pc' here.
6875         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
6876         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
6877         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
6878         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
6879         don't call SAVE_PC.
6880         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
6881         call SAVE_PC.
6883 2002-01-11  Tom Tromey  <tromey@redhat.com>
6885         * java/lang/natSystem.cc (init_properties): Only look for default
6886         locale if LC_MESSAGES is defined.
6887         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6888         * configure.in: Call AM_LC_MESSAGES.
6889         * acinclude.m4 (AM_LC_MESSAGES): New macro.
6891 2002-01-10  Tom Tromey  <tromey@redhat.com>
6893         For PR libgcj/5303:
6894         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
6895         --version.  Recognize GNU-style long options.  Print GNU-style
6896         error messages.
6897         (usage): Print GNU-style help.  Exit with status 0.
6898         (error): New method.
6899         (run): Print error message if no class names found.
6900         (main): Don't print usage on error.
6902 2002-01-09  Tom Tromey  <tromey@redhat.com>
6904         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
6905         property.
6906         (help, version): Use println(), not println("").
6908         For PR libgcj/5303:
6909         * gnu/gcj/convert/Convert.java (error): Program is called
6910         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
6911         -1.
6912         (main): Handle --help and --version.
6913         (help): New method.
6914         (version): Likewise.
6916 2002-01-08  Tom Tromey  <tromey@redhat.com>
6918         * Makefile.in: Rebuilt.
6919         * Makefile.am (ordinary_java_source_files): Added new files.
6920         * gnu/java/locale/LocaleInformation.java: Extend
6921         LocaleInformation_en.
6922         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
6923         and time/date formats.
6924         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
6925         generated.
6926         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
6927         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
6928         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
6929         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
6930         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
6931         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
6932         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
6933         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
6934         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
6935         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
6936         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
6937         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
6938         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
6939         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
6940         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
6941         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
6942         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
6943         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
6944         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
6945         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
6946         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
6947         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
6948         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
6949         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
6950         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
6951         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
6952         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
6953         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
6954         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
6955         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
6956         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
6957         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
6958         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
6959         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
6960         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
6961         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
6962         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
6963         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
6964         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
6965         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
6966         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
6967         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
6968         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
6969         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
6970         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
6971         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
6972         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
6973         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
6974         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
6975         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
6976         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
6977         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
6978         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
6979         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
6980         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
6981         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
6982         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
6983         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
6984         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
6985         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
6986         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
6987         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
6988         * gnu/java/locale/LocaleInformation_es_US.java: New file.
6989         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
6990         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
6991         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
6992         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
6993         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
6994         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
6995         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
6996         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
6997         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
6998         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
6999         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
7000         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
7001         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
7002         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
7003         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
7004         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
7005         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
7006         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
7007         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
7008         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
7009         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
7010         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
7011         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
7012         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
7013         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
7014         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
7015         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
7016         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
7017         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
7018         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
7019         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
7020         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
7021         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
7022         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
7023         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
7024         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
7025         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
7026         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
7027         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
7028         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
7029         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
7030         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
7031         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
7032         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
7033         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
7034         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
7035         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
7036         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
7037         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
7038         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
7039         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
7040         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
7041         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
7042         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
7043         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
7044         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
7045         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
7046         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
7047         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
7048         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
7049         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
7050         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
7051         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
7052         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
7053         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
7054         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
7055         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
7057         For PR libgcj/5031:
7058         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
7059         choose default locale.
7061         * Makefile.in: Rebuilt.
7062         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
7064 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
7066         * java/net/natPlainSocketImpl.cc: Added timeout handling for
7067         sockets.
7068         (close): New function closes the socket.
7069         (write): New functions for output to socket.
7070         (read): New functions for reading from socket.
7071         * java/net/PlainSocketImpl.java: Glue for new timeout
7072         implementation.
7073         (write): Call the native impl.
7074         (read): Likewise.
7075         (getInputStream): Get a stream to read from the socket.
7076         (getOutputStream): Get a stream to write to the socket.
7078 2002-01-08  Tom Tromey  <tromey@redhat.com>
7080         * resolve.cc (_Jv_PrepareClass): Enable verifier.
7082 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
7084         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
7085         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
7087 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
7089         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
7090         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
7091         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
7092         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
7093         insn_bastore, insn_castore, insn_sastore]: Use it.
7094         (continue1) [insn_arraylength]: Check for null array.
7096 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
7098         * configure, include/config.h.in: Rebuilt.
7099         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
7100         * configure.in: Call AC_STRUCT_TIMEZONE.
7102 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
7104         * configure.host: Disable the interpreter for Darwin.
7106 2002-01-04  Tom Tromey  <tromey@redhat.com>
7108         * java/lang/Thread.java (stop): No longer synchronized.
7109         (start): Likewise.
7111 2002-01-02  Tom Tromey  <tromey@redhat.com>
7113         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
7114         patch.
7116 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
7118         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
7119         PPC Darwin, not for all of Darwin.