cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
[official-gcc.git] / libjava / ChangeLog
blob4fe72e6e7ea934ba8ef31d323b13b2919ccab54b
1 2002-04-01  Mark Wielaard  <mark@klomp.org>
3         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
4         NegativeArraySizeException
5         (clear(int)): Use sign extended shift.
6         (flip(int)): Likewise.
7         (get(int)): Likewise.
8         (nextClearBit(int)): Likewise.
9         (nextSetBit(int)): Likewise.
10         (set(int)): Likewise.
12 2002-04-01  Mark Wielaard  <mark@klomp.org>
14         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15         that can be compiled now and add testsuite crashers to ignore list.
17 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
19         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
21         * libgcj.spec.in: Override libgcc, not lib.
22         * libgcj-test.spec.in: Likewise.
24 2002-03-29  Tom Tromey  <tromey@redhat.com>
26         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
27         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
29 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
31         * java/net/PlainDatagramSocketImpl.java
32         (close): Use native implementation.
33         (finalize): New method.
35         * java/net/PlainSocketImpl.java (finalize): New method.
37         * java/net/natPlainDatagramSocketImpl.cc
38         (java/io/FileDescriptor.h): Don't include.
39         (close): Implement method here.
40         (create): Don't assign fd.
42         * java/net/natPlainSocketImpl.cc
43         (java/io/FileDescriptor.h): Don't include.
44         (create): Don't assign fd.
45         (accept): Likewise.
46         (close): Synchronize.
48 2002-03-27  Richard Henderson  <rth@redhat.com>
50         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
52 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
54         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
55         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
56         instead of syscall on IA-64.
57         Add FIXME comment.
59 2002-03-27  Anthony Green  <green@redhat.com>
61         * libgcj.spec.in: Add CHECKREFSPEC.
62         * configure.in: Ditto.
63         * configure.host: Ditto.  Check references for xscale-elf.
64         * configure: Rebuilt.
66 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
68         * include/dwarf2-signal.h: Temporarily back out last change.
70 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
72         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
74 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
76         * configure.in, configure: enable dwarf2-exception-style
77         exception handling on IA-64.
78         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
79         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
80         Add FIXME comment.
81         
82 2002-03-25  Tom Tromey  <tromey@redhat.com>
84         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
85         (jv_convert_LDFLAGS): Likewise.
86         (gij_LDFLAGS): Likewise.
87         (rmic_LDFLAGS): Likewise.
88         (rmiregistry_LDFLAGS): Likewise.
89         * configure.in (THREADLDFLAGS): New subst; set correctly for
90         *BSD.
92 2002-03-25  Tom Tromey  <tromey@redhat.com>
94         For PR libgcj/5303:
95         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
96         and --version.
97         (help): New method.
98         (version): Likewise.
99         * gnu/gcj/convert/Convert.java (version): Removed extraneous
100         "GNU".
101         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
102         "GNU".
104 2002-03-25  Tom Tromey  <tromey@redhat.com>
106         * java/awt/Component.java (processEvent): Check ComponentEvent
107         after KeyEvent.
109 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
111         * java/io/PushbackReader.java: Reformat.
113         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
114         calculate correct number of bytes skipped.
115         
116         Based on patch from Intel's ORP team:
117         * java/io/PushbackInputStream.java (available): Calculate correct 
118         number of bytes in buffer.
119         (read): Remove redundant bound check. Return bytes from both the
120         buffer and the stream.
122 2002-03-24  Tom Tromey  <tromey@redhat.com>
124         * java/awt/TextComponent.java (TextComponent): Editable by
125         default.
127         * java/awt/MenuItem.java (eventMask): No longer private.
128         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
129         superclass if we didn't handle event.
130         * java/awt/Checkbox.java (dispatchEventImpl): New method.
131         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
132         * java/awt/Choice.java (dispatchEventImpl): New method.
133         * java/awt/List.java (dispatchEventImpl): New method.
134         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
135         * java/awt/TextComponent.java (dispatchEventImpl): New method.
136         * java/awt/TextField.java (dispatchEventImpl): New method.
138 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
140         * java/beans/IntrospectionException.java: Update to 1.4.
141         * java/beans/PropertyVetoException.java: Ditto.
143 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
145         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
146         Arrays.equals instead of ArrayHelper.equalsArray.
148 2002-03-24  C. Brian Jones <cbj@gnu.org>
150         * java/beans/Introspector.java: added new static final fields
151         introduced in 1.2, lots of other updates remain to be done
153 2002-03-24  C. Brian Jones <cbj@gnu.org>
155         * java/beans/Introspector.java: reformatting
157 2002-03-24  C. Brian Jones <cbj@gnu.org>
159         * java/beans/Introspector.java: default beanInfoSearchPath will
160         not include sun.beans.infos given we provide no such package and
161         the API doesn't really require it; gnu.java.beans.info is the
162         default.
164 2002-03-24  Mark Wielaard  <mark@klomp.org>
166         Thanks to Orp developers
167         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
168         switch TRUE and FALSE return values.
170 2002-03-23  Tom Tromey  <tromey@redhat.com>
172         * include/name-finder.h (_Jv_name_finder::myclose): New method.
173         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
175 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
177         * java/util/GregorianCalendar.java (minimums, maximums): Correct
178         MONTH entry.  Fixes PR libgcj/6045.
180 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
182         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
184 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
186         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
187         not release_set.
188         * sysdep/powerpc/locks.h (write_barrier): New function.
189         * sysdep/i386/locks.h (write_barrier): New function.
191 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
193         * include/jni.h Use correct C comments.
195 2002-03-18  Tom Tromey  <tromey@redhat.com>
197         * include/jni.h (JNIIMPORT): New macro.
198         (JNIEXPORT): Likewise.
199         (JNICALL): Likewise.
201 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
203         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
204         systems.
206 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
208         * include/i386-signal.h (old_i386_kernel_sigaction): New.
209         INIT_SEGV: Use old_i386_kernel_sigaction.
210         INIT_FP: Likewise.
212 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
214         * java/lang/natSystem.cc (init_properties): Update VM version
215         properties.
216         * configure.in: Set GCJVERSION.
217         * acconfig.h: Add GCJVERSION.
218         * configure: Rebuilt.
219         * include/config.h.in: Rebuilt.
221 2002-03-17  Anthony Green  <green@redhat.com>
223         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
225 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
227         Build a single libgcj.so, without separate gc and zlib libraries.
228         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
229         SYS_ZLIBS if system zlib is used.
230         * configure: Rebuilt.
231         * Makefile.am: Use boehm-gc and zlib convenience libraries.
232         * Makefile.in: Rebuilt.
233         * libtool-version: Increment .so version number.
235         * Makefile.am: Escape quotes in echo.
236         * Makefile.in: Rebuilt.
238 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
240         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
241         * Makefile.in: Rebuilt.
243 2002-03-15  Anthony Green  <green@redhat.com>
245         * configure.host (FILE): New macro for specifing File
246         implementation.
247         * configure: Rebuilt.
248         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
250 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
252         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
253         already implicitly brought in from libgcj.la.
254         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
255         * Makefile.in: Rebuilt.
257 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
259         * THANKS: Fix punctuation, alphabetization.
261 2002-03-15  Tom Tromey  <tromey@redhat.com>
262             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
263         
264         Fix for PR libgcj/5944.
265         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
267 2002-03-15  Anthony Green  <green@redhat.com>
269         * configure.in (tool_include_dir): Define.
270         * configure: Rebuilt.
271         * gcj/Makefile.am: Install libgcj-config.h relative to
272         tool_include_dir.
273         * gcj/Makefile: Rebuilt.
274         * gcj/libgcj-config.h: Add warning comment.
276 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
278         * configure.host (powerpc*-darwin*): Enable interpreter.
280 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
282         * include/posix.h: Add multiple include header protection.
283         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
285 2002-03-10  Adam Megacz <adam@xwt.org>
287         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
288         
289 2002-03-10  Tom Tromey  <tromey@redhat.com>
291         * java/awt/GridLayout.java (layoutContainer): Handle case where
292         there are no items in container.
294         * java/lang/Win32Process.java: Added comment.
295         * include/posix.h (_Jv_platform_close_on_exec): New function.
296         Include fcntl.h.
297         * include/win32.h (_Jv_platform_close_on_exec): New function.
298         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
299         flag.
300         (accept): Likewise.
301         * java/net/natPlainDatagramSocketImpl.cc (create): Set
302         close-on-exec flag.
303         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
304         flag.
306 2002-03-09  Tom Tromey  <tromey@redhat.com>
308         * verify.cc (state::NO_STACK): New constant.
309         (state::is_unmerged_ret_state): Handle case where stacktop is
310         NO_STACK.
311         (state::merge): Handle NO_STACK merges.
312         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
313         for instruction following jsr.
314         (stacktop, stackdepth): Removed unused variables.
315         (pop_jump): Ignore case where all remaining states are skipped.
317 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
319         * java/awt/ImageMediaEntry: Removed.
320         * java/awt/MediaEntry: Removed.
322 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
324         Hashtable synchronization for PowerPC.
325         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
326         slow_pthread_self. Set up symlink for sysdeps directory.
327         * configure: Rebuild.
328         * configure.host: Document more shell variables. Set sysdeps_dir
329         for most platforms. Set slow_pthread_self for i686. Set 
330         enable_hash_synchronization_default and slow_pthread_self for PowerPC. 
331         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
332         that memory barrier is emitted where required.
333         * prims.cc: 64-bit align static primitive class instances.
334         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
335         read_barrier() to enforce ordering of reads.
336         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
337         primitives for PowerPC.
338         * sysdep/i386/locks.h: New file. Synchronization primitives for i386 
339         moved from natObject.cc.
340         * sysdep/alpha/locks.h: Likewise.
341         * sysdep/ia64/locks.h: Likewise.
342         * sysdep/generic/locks.h: Likewise.
343         * java/lang/natObject.cc: Move thread synchronization primitives to
344         system-dependent headers.
346 2002-03-09  Adam Megacz  <adam@xwt.org>
348         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
349         bytes read and no failure code returned.
351 2002-03-09  Adam Megacz  <adam@xwt.org>
353         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
354         definitions to simulate -mthreads.
355         
356 2002-03-09  Adam Megacz  <adam@xwt.org>
358         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
359         avoid precision loss.
361 2002-03-09  Per Bothner  <per@bothner.com>
363         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
364         * gnu/gcj/xlib/XImage.java:  Likewise.
365         * gnu/gcj/xlib/XColor.java:  Likewise.
367 2002-03-09  Adam Megacz  <adam@xwt.org>
369         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
370         IOException so that Throwable.printStackTrace fails correctly.
372 2002-03-08  Adam Megacz  <adam@xwt.org>
374         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
375         fixed.
377 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
379         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
380         truncated to int.
382 2002-03-08  Tom Tromey  <tromey@redhat.com>
384         * include/jni.h: Include stdio.h.
386 2002-03-08  Tom Tromey  <tromey@redhat.com>
388         * posix.cc (internal_gettimeofday): New function.
389         (_Jv_select): Use it.
391 2002-03-07  Adam Megacz  <adam@xwt.org>
393         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
394         WIN32, and added thunks for read(), write(), and close().
395         * java/net/natPlainSocketImpl.cc (accept, read, read):
396         Disabled timeouts on WIN32 pending discussion.
398 2002-03-07  Adam Megacz  <adam@xwt.org>
400         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
401         returns jlong. Added implementation
402         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
403         returns jlong.
404         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
405         returns jlong.
406         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
407         returns jlong.
408         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
409         _Jv_platform_gettimeofday signature.
410         
411 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
413         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
414         (read): Call recv() directly, not _Jv_recv().
416 2002-03-06  Tom Tromey  <tromey@redhat.com>
418         * java/io/natFileDescriptorEcos.cc (init): Don't use
419         GetStdHandle.
420         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
421         is negative.
422         (init): Don't use GetStdHandle.
424         * include/config.h.in: Rebuilt.
425         * configure: Rebuilt.
426         * Makefile.in: Rebuilt.
428 2002-03-06  Adam Megacz  <adam@xwt.org>
430         * java/io/FileDescriptor.java: Initialize in/out/err in init().
431         * java/io/natFileDescriptorWin32.cc (init()): Added function.
432         * java/io/natFileDescriptorPosix.cc (init()): Added function.
433         * java/io/natFileDescriptorEcos.cc (init()): Added function.
435 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
437         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
438         the code for generating include/java-chartables.h.
439         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
440         merge with Classpath.
441         * scripts/unicode-muncher.pl: Copy from Classpath.
442         * scritps/MakeCharTables.java: New file.
443         * gnu/gcj/convert/Blocks-3.txt: New file.
444         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
445         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
446         * gnu/java/lang/CharData.java: Copy from Classpath.
447         * Makefile.am (ordinary_java_source_files): Add
448         gnu/java/lang/CharData.java.
449         * configure.in: Remove --enable-fast-character option.
450         * java/lang/Character.java: Merge algorithms and Javadoc with
451         Classpath.
452         * java/lang/natCharacter.cc: Implement Unicode lookup table more
453         efficiently.
454         * include/java-chardecomp.h: Regenerate.
455         * include/java-chartables.h: Regenerate.
457 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
459         * java/awt/MediaTracker.java: Implemented.
460         * Makefile.am: Add MediaTracker.
461         * Makefile.in: Rebuilt.
463 2002-03-05  Tom Tromey  <tromey@redhat.com>
465         * java/lang/natPosixProcess.cc (fail): Removed.
466         (startProcess): Simplified error-handling.  Preserve
467         LD_LIBRARY_PATH across exec.
469         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
470         AbstractMethodError.
472 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
474         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
475         * Makefile.in: Rebuilt.
477 2002-03-03 Mark Wielaard <mark@klomp.org>
479         * java/util/Timer (TaskQueue.stop): set elements to zero.
481 2002-02-28  Anthony Green  <green@redhat.com>
483         * java/lang/reflect/natMethod.cc (result): Add void* element.
484         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
485         constructor test.
487 2002-02-27  Adam Megacz <adam@xwt.org>
489         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
490         '#undef STRICT'.
492 2002-02-26  Tom Tromey  <tromey@redhat.com>
494         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
495         * gij.cc (version): Use __VERSION__.
496         * include/config.h.in: Rebuilt.
497         * acconfig.h (GCJVERSION): Removed.
498         * configure: Rebuilt.
499         * configure.in (GCJVERSION): Removed.
501 2002-02-26  Andreas Schwab  <schwab@suse.de>
503         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
504         glibcpp_CXX, since libjava uses even another CXX.
505         * aclocal.m4, configure: Regenerated.
507 2002-02-26  Tom Tromey  <tromey@redhat.com>
509         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
510         `1'.
512 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
514         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
515         dependency tracking for .java files.
516         * Makefile.in: Rebuilt.
518 2002-02-24  Adam Megacz  <adam@xwt.org>
520         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
521         typo. Sorry.
523 2002-02-24  Adam Megacz  <adam@xwt.org>
525         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
526         for Win32, changed #ifdefs to check WIN32 instead of the
527         (now-obsolete) USE_WINSOCK, and removed support for socket
528         timeouts on Win32 pending further discussion.
530 2002-02-24  Adam Megacz  <adam@xwt.org>
532         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
533         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
534         delete
536 2002-02-24  Adam Megacz  <adam@xwt.org>
538         * java/lang/Win32Process.java: Created a dummy class to allow
539         build process to run to completion.
541 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
543         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
544         Define ffi_result union for ffi_call result.  Cast
545         ffi_result members to jvalue.
547 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
549         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
550         * testsuite/Makefile.in: Likewise.
552 2002-02-20  Per Bothner  <per@bothner.com>
554         * java/net/URL.java (getPath):  New JDK 1.3 method.
556         * java/net/URLStreamHandler.java (parseURL):
557         It is wrong to prepend '/' to the file part of a relative url.
559         * java/net/URLStreamHandler.java (parseURL):
560         Minor optizations - append '/' rather than "/".
562         * java/net/URLStreamHandler.java (parseURL):
563         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
564         We probably should canonicalize for a context-relative url, though.
565         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
566         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
567         (sameFile):  New method.  Uses canonicalizeFilename.
569 2002-02-22  Tom Tromey  <tromey@redhat.com>
571         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
572         java.vendor and java.vm.vendor.
573         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
574         recent copyright date.
575         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
576         * gij.cc (version): Print `Inc'.
578 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
580         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
581         * aclocal.m4, configure: Rebuilt.
583 2002-02-20  Per Bothner  <per@bothner.com>
585         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
586         and/or output streams immediately here, instead of using File.exists.
587         (inputStream, outputStream):  New fields to save open streams.
588         (getInputStream, getOutputStream):  Use already-opened streams.
590 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
592         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
593         Use it.
594         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
595         * aclocal.m4, configure, Makefile.in: Rebuilt.
597 2002-02-19  Tom Tromey  <tromey@redhat.com>
599         Fix for PR libgcj/5696:
600         * verify.cc (is_assignable_from_slow): Never call
601         _Jv_IsAssignableFrom.
602         (verify_instructions_0): Added new debug statement.
603         (state::print): Print information about whether local has
604         changed.
605         (state::merge): Don't call note_variable when merging locals.
606         (state::set_exception): Removed old FIXME comment.
608 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
610         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
611         enable SO_BROADCAST.
613 2002-02-18  Jason Merrill  <jason@redhat.com>
615         * name-finder.cc (toHex): Use word mode, not long long.
617         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
619 2002-02-15  Tom Tromey  <tromey@redhat.com>
621         Fix for PR libgcj/5695:
622         * verify.cc (is_assignable_from_slow): Check to see if target is
623         an Object before checking to see if source is an interface.
624         (verify_instructions_0) [op_invokeinterface]: Handle case where
625         we're making an interface call on Object.
627 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
629         * Makefile.in: Rebuilt with Eric's change below.
631         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
632         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
633         Removed functions which are now implemented in Math.java.
635 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
637         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
638         * Makefile.am (core_java_source_files): Add
639         java/lang/StrictMath.java.
640         * java/lang/Math.java: Merge with Classpath.
641         * java/lang/StrictMath.java: New file - merge with Classpath.
643 2002-02-14  Mark Wielaard  <mark@klomp.org>
645         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
646         package as a workaround for gcj 3.0.x
648 2002-02-14  Mark Wielaard <mark@klomp.org>
650         * java/security/BasicPermission.java: extends with fully qualified
651         classname as workaround for gcj 3.0.4.
653 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
655         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
656         around gcj bug of wrong emitted qualifier for inherited method.
657         * java/net/SocketImpl.java (setOption, getOption): Ditto.
658         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
659         constructor to reduce amount of emitted bytecode. While this
660         happens to work around a jikes 1.15 bug, it is still a useful
661         patch even for correct compilers.
662         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
663         * gnu/java/rmi/server/UnicastRemoteCall.java
664         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
666 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
668         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
669         * java/net/SocketImpl.java: Ditto.
670         * java/rmi/server/RMIClassLoader.java: Ditto.
671         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
673 2002-02-14  Mark Wielaard <mark@klomp.org>
675         Thanks to Takashi Okamoto
676         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
677         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
678         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
680 2002-02-13  Todd Stock  <toddastock@yahoo.com>
682         Fix for PR libgcj/5670:
683         * verify.cc (is_assignable_from_slow): If `source' is interface,
684         recursively look for merge with `target'.
686 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
688         * include/jni.h: Fix typo.
690 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
692         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
693         correctly.
695 2002-02-13  Todd Stock  <toddastock@yahoo.com>
697         Fix for PR libgcj/5671:
698         * verify.cc (state::merge): Handle case where we're merging
699         against an interface.
701 2002-02-12  Tom Tromey  <tromey@redhat.com>
703         * exception.cc (std::abort): Mark as noreturn.
705 2002-02-12  Adam Megacz <adam@xwt.org>
707         * java/lang/Win32Process.java: Filled in a placeholder
708         implementation so Win32 will build.
710 2002-02-12  Adam Megacz <adam@xwt.org>
712         * java/io/natFilePosix.cc: Copied this from natFile.cc.
713         * java/io/natFile.cc: Removed from repository.
714         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
716 2002-02-12  Adam Megacz <adam@xwt.org>
718         * win32.cc: Added two #includes to make win32.cc compile.
720 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
722         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
723         declarations.
724         (_Jv_InitGC): Don't bother locking, as this is always called from a 
725         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
727 2002-02-11  Adam Megacz <adam@xwt.org>
729         * include/win32.h: Added _Jv_platform_gettimeofday.
730         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
732 2002-02-11  Adam Megacz <adam@xwt.org>
734         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
735         Added #undef STRICT to make windows.h and
736         java/lang/reflect/Modifier.h cooperate.
738 2002-02-11  Adam Megacz <adam@xwt.org>
740         * java/io/natFileWin32.cc: Created a placeholder class with lots
741         of FIXMEs.
743 2002-02-11  Adam Megacz <adam@xwt.org>
745         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
746         std::abort() to simply abort(). Also added "fake" std::abort() so
747         we can #include unwind-pe.h without having to link against
748         libstdc++-v3.
750 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
752         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
754 2002-02-08  Tom Tromey  <tromey@redhat.com>
756         * interpret.cc (convert): New function.
757         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
758         convert.
759         Include Long.h.
761 2002-02-08  Anthony Green  <green@redhat.com>
763         * configure.host: Add support for xscale-elf embedded target.
765 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
767         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
768         dereferenced.
769         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
770         frame.
772 2002-02-07  Tom Tromey  <tromey@redhat.com>
774         * java/io/natFile.cc (_access): Use __builtin_alloca.
775         (_stat): Likewise.
776         (attr): Likewise.
777         (getCanonicalPath): Likewise.
778         (performList): Likewise.
779         (performMkdir): Likewise.
780         (performSetReadOnly): Likewise.
781         (performRenameTo): Likewise.
782         (performSetLastModified): Likewise.
783         (performCreate): Likewise.
784         (performDelete): Likewise.
786 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
788         * HACKING: Fix URL for the automake-gcj.
790 2002-02-07  Tom Tromey  <tromey@redhat.com>
792         * java/lang/natThrowable.cc: Updated copyright.
793         * java/io/natFileWin32.cc: Updated copyright.
794         * java/io/natFileDescriptorWin32.cc: Updated copyright.
795         * win32-threads.cc: Updated copyright.
796         * name-finder.cc: Updated copyright.
797         * include/name-finder.h: Updated copyright.
799         * include/name-finder.h: Conditionally include sys/wait.h.
800         * include/config.h.in: Rebuilt.
802         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
803         Size buffer based on real size of string.
804         (_stat): Likewise.
805         (attr): Likewise.
806         (getCanonicalPath): Likewise.
807         (performList): Likewise.
808         (performMkdir): Likewise.
809         (performSetReadOnly): Likewise.
810         (unixroot): Removed.
811         (performRenameTo): Likewise.
812         (performSetLastModified): Likewise.
813         (performCreate): Likewise.
814         (performDelete): Likewise.
815         (performListRoots): Always return new array.
817         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
818         * win32.cc (win32_exception_handler): Now static.
819         * include/win32.h (_Jv_platform_initialize): Declare.
820         (win32_exception_handler): Don't declare.
821         * java/lang/natSystem.cc (currentTimeMillis): Use
822         _Jv_platform_gettimeofday.
823         * posix.cc (_Jv_platform_gettimeofday): Renamed.
824         (_Jv_select): Use new name.
825         (_Jv_platform_initialize): New function.
826         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
827         _Jv_gettimeofday.
828         (_Jv_platform_initialize): Declare.
830         * configure: Rebuilt.
831         * configure.in: Removed unnecessary parens.
833 2002-02-06  Adam Megacz <adam@xwt.org>
835        * configure.in: Changed mingw) to *mingw*).
836        * win32.cc: Created this file.
837        * win32.h: Created this file.
838        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
839        win32_exception_handler from prims.cc to win32.cc, added
840        header in win32.h.
841        * prims.cc: removed some #ifdef-WIN32'd headers which are no
842        longer needed now that we have platform.h
844 2002-02-06  Adam Megacz <adam@xwt.org>
846         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
847         use uint<n>_t instead of LONG and BYTE
848         
849 2002-02-06  Adam Megacz <adam@xwt.org>
851         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
852         
853 2002-02-06  Anthony Green  <green@redhat.com>
855         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
856         Implement missing method stubs.
857         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
858         targets.
859         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
860         concept of timezones.
861         (init_properties): Don't refer to _Jv_Environment_Properties
862         when this feature is not available.
863         * include/config.h.in: Rebuilt.
864         * acconfig.h: Add DISABLE_MAIN_ARGS.
865         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
866         * configure: Rebuilt.
867         * configure.in: Add --disable-main-args option.  Test for
868           opendir function.  Replace AC_CHECK_SIZEOF with
869           AC_COMPILE_CHECK_SIZEOF.
870         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
871         * aclocal.m4: Rebuilt.
872         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
874 2002-02-06  Tom Tromey  <tromey@redhat.com>
876         * verify.cc (require_array_type): If argument is a null array of
877         references, return null as the element type.
879 2002-02-06  Mark Wielaard  <mark@klomp.org>
881         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
882         duplicate of a wide type.
884 2002-02-06  Tom Tromey  <tromey@redhat.com>
886         * verify.cc (type::isnull): New method.
887         (require_array_type): Handle case where array is null.
888         (verify_instructions_0) [op_arraylength]: Likewise.
890 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
892         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
893         Symlink PLATFORMH to platform.h.
894         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
895         PLATFORMOBJS.
896         * java/lang/natSystem.cc: #include platform.h not posix.h.
897         * Makefile.in: Rebuilt with libgcj automake.
898         * configure: Rebuilt.
900 2002-02-05  Richard Henderson  <rth@redhat.com>
902         * Makefile.in: Undo munging last change.
904 2002-02-04  Adam Megacz <adam@xwt.org>
906         * win32.cc: Created it.
907         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
908         which is set to posix.cc or win32.cc.
909         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
910         
911 2002-02-04  Adam Megacz <adam@xwt.org>
913         * configure.in: Corrected mingw case branches; added * before
914         and after.
916 2002-02-04  Adam Megacz <adam@xwt.org>
918         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
919         if compiling for win32
921 2002-02-04  Adam Megacz <adam@xwt.org>
923         * win32-threads.cc: #undef STRICT after gc.h inclusion
925 2002-02-02  Tom Tromey  <tromey@redhat.com>
927         * Makefile.in: Rebuilt.
929 2002-02-02  Jason Merrill  <jason@redhat.com>
931         * Makefile.am (clean-nat): New target.
933 2002-02-02  Tom Tromey  <tromey@redhat.com>
935         * java/io/natFile.cc: Removed old "FIXME" comments.
937 2002-02-01  Tom Tromey  <tromey@redhat.com>
939         * java/lang/natPosixProcess.cc (myclose): New function.
940         (fail): Use it.
941         (startProcess): Likewise.
943 2002-02-01  Adam Megacz <adam@xwt.org>
945         * prims.cc: Added #undef STRICT after #include<windows.h>.
946         
947 2002-02-01  Adam Megacz <adam@xwt.org>
949         * prims.cc
950         (_Jv_CreateJavaVM): We now use WIN32 instead of
951         USE_WIN32_SIGNALLING and USE_WINSOCK.
952         (win32_exception_handler): Now throws an exception out of
953         the signal handler; assumes SJLJ.
954         
955 2002-02-01  Adam Megacz <adam@xwt.org>
957         * win32-threads.cc:
958         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
959         wait() algorithm to make it safe.
960         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
961         Added lazy creation of Win32 Events for better performance
962         (really_start): This now uses GC_CreateThread so boehm-gc
963         knows about new threads even when statically linked.
965 2002-02-01  Adam Megacz <adam@xwt.org>
967         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
968         enable safer wait() algorithm.
969         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
970         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
971         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
972         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
973         instead of mutex.
974         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
976 2002-02-01  Adam Megacz <adam@xwt.org>
978         * configure.in: Added support for mingw.
979         * java/lang/Win32Process.java: Created as empty file.
980         * java/lang/natWin32Process.cc: Created as empty file.
982 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
984         PR java/4972
985         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags 
986         for libiconv in LIBICONV variable.
987         * configure: Regenerated.
989 2002-01-31  Tom Tromey  <tromey@redhat.com>
991         * verify.cc (state::enter_subroutine): New method.
992         (handle_jsr_insn): Use it.
993         (state::merge): When processing a `ret', correctly use
994         subroutine's state to determine which local variables have
995         changed.
996         (push_exception_jump): Don't let stack overflow.
998 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1000         * gnu/gcj/convert/Convert.java: Only include one copyright year in
1001         --version output.
1003 2002-01-30  Tom Tromey  <tromey@redhat.com>
1005         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
1006         parameter for `recv' return type.
1008         * verify.cc (handle_ret_insn): Check for subroutine merge here...
1009         (state::merge): ... not here.
1010         (subr_entry_info): New structure.
1011         (entry_points): New field.
1012         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
1013         entry_points.
1015 2002-01-29  Tom Tromey  <tromey@redhat.com>
1017         * java/awt/List.java (addNotify): Correctly check to see if peer
1018         does not exist.
1020         * java/awt/GridLayout.java (layoutContainer): Use number of rows
1021         to compute height of each cell, and number of columns to compute
1022         width of each cell.
1023         * java/awt/Window.java (getOwnedWindows): Don't return null.
1024         * java/awt/FlowLayout.java (layoutContainer): Set width and height
1025         of component.  Increment x using horizontal gap, not vertical
1026         gap.
1028 2002-01-28  Tom Tromey  <tromey@redhat.com>
1030         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
1031         `nargs' byte is number of words, not number of arguments.
1033 2002-01-27  Tom Tromey  <tromey@redhat.com>
1035         * java/awt/event/MouseEvent.java (modifiers): Removed field.
1036         (when): Likewise.
1037         * java/awt/event/InputEvent.java (modifiers, when): Now
1038         package-private.
1040         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
1041         and to-do list.
1042         (state::merge): Use current class' class loader.
1043         (state::print): Print subroutine.
1044         (state::merge): Don't look at subroutine of unmerged `ret'.
1046 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
1048         * nogc.cc: Remove warnings.
1049         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
1050         New functions.
1052 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1054         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
1055         int, int):  Remove empty "if" statement to work around compiler bug.
1056         (newPixels(int[], ColorModel, int, int): Likewise.
1058 2002-01-25  Per Bothner  <per@bothner.com>
1060         * verify.cc (verify_fail):  Change from being a top-level function
1061         to e method of _Jv_BytecodeVerifier.  Emit current method name.
1062         Pass the current verifier to type: and state: methods as needed,
1063         for better error messages, and for resolve.
1064         (resolve):  Pass current class's loader for Class.forName and
1065         _Jv_FindClassFromSignature, rather than using the default loader.
1066         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
1067         (get_type_val_for_signature):  Make non-static.
1068         (various methods):  Pass start_PC implicitly, not explicitly.
1070 2002-01-25  Tom Tromey  <tromey@redhat.com>
1072         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
1073         loop termination condition.
1074         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
1075         width.
1077 2002-01-24  Tom Tromey  <tromey@redhat.com>
1079         * java/awt/Shape.java: Merged with Classpath.
1080         * java/awt/Scrollbar.java: Merged with Classpath.
1082         * java/awt/Container.java (addNotify): Unconditionally call
1083         addNotifyContainerChildren and superclass addNotify.
1085         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
1086         getAlpha, not getBlue.
1088 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1090         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
1091         
1092         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
1093         (grabPixels(long)): Wait to be notified that the ImageProducer has 
1094         completed.
1096 2002-01-24  Per Bothner  <per@bothner.com>
1098         * verify.cc (is_assignable_from_slow): If target is an interface,
1099         we must still check the source's superclass before giving up.
1101 2002-01-24  Tom Tromey  <tromey@redhat.com>
1103         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
1105 2002-01-23  Tom Tromey  <tromey@redhat.com>
1107         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
1108         `else'.
1110         * Makefile.in: Rebuilt.
1111         * Makefile.am (awt_java_source_files): Added new files.
1112         * java/awt/Toolkit.java: Merged with Classpath.
1113         * java/awt/PrintGraphics.java: New file from Classpath.
1114         * java/awt/PrintJob.java: New file from Classpath.
1115         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
1116         * java/awt/datatransfer/ClipboardOwner.java: New file from
1117         Classpath.
1118         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
1119         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
1120         * java/awt/datatransfer/MimeTypeParseException.java: New file from
1121         Classpath.
1122         * java/awt/datatransfer/StringSelection.java: New file from
1123         Classpath.
1124         * java/awt/datatransfer/SystemFlavorMap.java: New file from
1125         Classpath.
1126         * java/awt/datatransfer/Transferable.java: New file from
1127         Classpath.
1128         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
1129         from Classpath.
1131         * Makefile.in: Rebuilt.
1132         * Makefile.am (awt_java_source_files): Added new files.
1133         * java/awt/image/AreaAveragingScaleFilter.java: New file from
1134         Classpath.
1135         * java/awt/image/CropImageFilter.java: New file from Classpath.
1136         * java/awt/image/FilteredImageSource.java: New file from
1137         Classpath.
1138         * java/awt/image/ImageFilter.java: New file from Classpath.
1139         * java/awt/image/MemoryImageSource.java: New file from Classpath.
1140         * java/awt/image/PixelGrabber.java: New file from Classpath.
1141         * java/awt/image/RGBImageFilter.java: New file from Classpath.
1142         * java/awt/image/ReplicateScaleFilter.java: New file from
1143         Classpath.
1144         * java/awt/image/ImageProducer.java: Replaced with Classpath
1145         version.
1146         * java/awt/image/ImageObserver.java: Replaced with Classpath
1147         version.
1148         * java/awt/image/ImageConsumer.java: Replaced with Classpath
1149         version.
1150         * java/awt/GridBagConstraints.java (clone): Catch
1151         CloneNotSupportedException.
1153 2002-01-23  Per Bothner  <per@bothner.com>
1155         * java/lang/reflect/natField.cc (setAddr):  New function.
1156         Calls getAddr and then checks that the field isn't final.
1157         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
1158         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
1159         (set):  Call setAddr before check that new value has right type,
1160         to better match specified semantics.
1162 2002-01-22  Tom Tromey  <tromey@redhat.com>
1164         * java/awt/TextField.java: Replaced with Classpath version.
1165         * java/awt/TextArea.java: Replaced with Classpath version.
1166         * java/awt/TextComponent.java: Replaced with Classpath version.
1168         * java/awt/GridBagConstraints.java: Updated copyright.
1170 2002-01-22  Mark Wielaard <mark@klomp.org>
1172         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java 
1173         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java 
1174         java/awt/Dialog.java java/awt/FileDialog.java 
1175         java/awt/Font.java java/awt/FontMetrics.java 
1176         java/awt/Image.java java/awt/ImageMediaEntry.java 
1177         java/awt/Insets.java java/awt/List.java 
1178         java/awt/MediaEntry.java java/awt/MediaTracker.java 
1179         java/awt/Menu.java java/awt/MenuBar.java 
1180         java/awt/MenuContainer.java java/awt/MenuShortcut.java 
1181         java/awt/PaintContext.java java/awt/Panel.java 
1182         java/awt/PopupMenu.java java/awt/SystemColor.java 
1183         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java 
1184         java/awt/peer/CheckboxMenuItemPeer.java 
1185         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java 
1186         java/awt/peer/ComponentPeer.java 
1187         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java 
1188         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java 
1189         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java 
1190         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java 
1191         java/awt/peer/MenuBarPeer.java 
1192         java/awt/peer/MenuComponentPeer.java 
1193         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java 
1194         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java 
1195         java/awt/peer/ScrollPanePeer.java 
1196         java/awt/peer/ScrollbarPeer.java 
1197         java/awt/peer/TextAreaPeer.java 
1198         java/awt/peer/TextComponentPeer.java 
1199         java/awt/peer/TextFieldPeer.java
1200         java/awt/peer/WindowPeer.java: Add license clarification.
1202 2002-01-22  Mark Wielaard <mark@klomp.org>
1204         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in 
1205         gnu/gcj/runtime/StringBuffer.java 
1206         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java 
1207         gnu/java/awt/ComponentDataBlitOp.java 
1208         gnu/java/awt/GLightweightPeer.java 
1209         gnu/java/beans/BeanInfoEmbryo.java 
1210         gnu/java/beans/EmptyBeanInfo.java 
1211         gnu/java/beans/ExplicitBeanInfo.java 
1212         gnu/java/beans/IntrospectionIncubator.java 
1213         gnu/java/beans/editors/ColorEditor.java 
1214         gnu/java/beans/editors/FontEditor.java 
1215         gnu/java/beans/editors/NativeBooleanEditor.java 
1216         gnu/java/beans/editors/NativeByteEditor.java 
1217         gnu/java/beans/editors/NativeDoubleEditor.java 
1218         gnu/java/beans/editors/NativeFloatEditor.java 
1219         gnu/java/beans/editors/NativeIntEditor.java 
1220         gnu/java/beans/editors/NativeLongEditor.java 
1221         gnu/java/beans/editors/NativeShortEditor.java 
1222         gnu/java/beans/editors/StringEditor.java 
1223         gnu/java/beans/info/ComponentBeanInfo.java 
1224         gnu/java/io/ClassLoaderObjectInputStream.java 
1225         gnu/java/io/NullOutputStream.java 
1226         gnu/java/io/ObjectIdentityWrapper.java 
1227         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java 
1228         gnu/java/lang/reflect/TypeSignature.java 
1229         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java 
1230         gnu/java/locale/Calendar_en.java 
1231         gnu/java/locale/Calendar_nl.java 
1232         gnu/java/locale/LocaleInformation.java 
1233         gnu/java/locale/LocaleInformation_de.java 
1234         gnu/java/locale/LocaleInformation_en.java 
1235         gnu/java/locale/LocaleInformation_nl.java 
1236         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java 
1237         gnu/java/rmi/registry/RegistryImpl.java 
1238         gnu/java/rmi/rmic/Compile_gcj.java 
1239         gnu/java/rmi/rmic/Compiler.java 
1240         gnu/java/rmi/rmic/CompilerProcess.java 
1241         gnu/java/rmi/rmic/RMIC.java 
1242         gnu/java/rmi/rmic/TabbedWriter.java 
1243         gnu/java/rmi/server/ProtocolConstants.java 
1244         gnu/java/rmi/server/RMIDefaultSocketFactory.java 
1245         gnu/java/rmi/server/RMIHashes.java 
1246         gnu/java/rmi/server/RMIObjectInputStream.java 
1247         gnu/java/rmi/server/RMIObjectOutputStream.java 
1248         gnu/java/rmi/server/UnicastConnection.java 
1249         gnu/java/rmi/server/UnicastConnectionManager.java 
1250         gnu/java/rmi/server/UnicastRef.java 
1251         gnu/java/rmi/server/UnicastRemoteCall.java 
1252         gnu/java/rmi/server/UnicastRemoteStub.java 
1253         gnu/java/rmi/server/UnicastServer.java 
1254         gnu/java/rmi/server/UnicastServerRef.java 
1255         gnu/java/security/provider/DefaultPolicy.java 
1256         gnu/java/security/provider/Gnu.java 
1257         gnu/java/security/provider/SHA.java 
1258         gnu/java/security/provider/SHA1PRNG.java 
1259         gnu/java/text/BaseBreakIterator.java 
1260         gnu/java/text/CharacterBreakIterator.java 
1261         gnu/java/text/LineBreakIterator.java 
1262         gnu/java/text/SentenceBreakIterator.java 
1263         gnu/java/text/WordBreakIterator.java 
1264         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java 
1265         java/applet/AppletContext.java java/applet/AppletStub.java 
1266         java/applet/AudioClip.java java/awt/AWTError.java 
1267         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java 
1268         java/awt/AWTException.java java/awt/AWTPermission.java 
1269         java/awt/ActiveEvent.java java/awt/BorderLayout.java 
1270         java/awt/Button.java java/awt/Canvas.java 
1271         java/awt/CardLayout.java java/awt/Checkbox.java 
1272         java/awt/CheckboxGroup.java java/awt/Component.java 
1273         java/awt/ComponentOrientation.java java/awt/Container.java 
1274         java/awt/Dimension.java java/awt/Event.java 
1275         java/awt/EventDispatchThread.java java/awt/EventQueue.java 
1276         java/awt/FlowLayout.java java/awt/Frame.java 
1277         java/awt/Graphics.java java/awt/Graphics2D.java 
1278         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java 
1279         java/awt/IllegalComponentStateException.java 
1280         java/awt/ItemSelectable.java java/awt/Label.java 
1281         java/awt/LayoutManager.java java/awt/LayoutManager2.java 
1282         java/awt/MenuComponent.java java/awt/MenuItem.java 
1283         java/awt/Paint.java java/awt/Point.java 
1284         java/awt/Rectangle.java java/awt/RenderingHints.java 
1285         java/awt/Transparency.java java/awt/Window.java 
1286         java/awt/color/ColorSpace.java 
1287         java/awt/color/ICC_ColorSpace.java 
1288         java/awt/color/ICC_Profile.java 
1289         java/awt/event/HierarchyBoundsAdapter.java 
1290         java/awt/event/HierarchyBoundsListener.java 
1291         java/awt/event/HierarchyEvent.java 
1292         java/awt/event/HierarchyListener.java 
1293         java/awt/geom/AffineTransform.java 
1294         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java 
1295         java/awt/geom/IllegalPathStateException.java 
1296         java/awt/geom/Line2D.java 
1297         java/awt/geom/NoninvertibleTransformException.java 
1298         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java 
1299         java/awt/geom/Rectangle2D.java 
1300         java/awt/geom/RectangularShape.java 
1301         java/awt/geom/RoundRectangle2D.java 
1302         java/awt/image/BufferedImage.java 
1303         java/awt/image/ColorModel.java 
1304         java/awt/image/ComponentColorModel.java 
1305         java/awt/image/ComponentSampleModel.java 
1306         java/awt/image/DataBuffer.java 
1307         java/awt/image/DataBufferByte.java 
1308         java/awt/image/DataBufferInt.java 
1309         java/awt/image/DataBufferUShort.java 
1310         java/awt/image/DirectColorModel.java 
1311         java/awt/image/PackedColorModel.java 
1312         java/awt/image/Raster.java java/awt/image/RasterOp.java 
1313         java/awt/image/SampleModel.java 
1314         java/awt/image/SinglePixelPackedSampleModel.java 
1315         java/awt/image/WritableRaster.java 
1316         java/beans/AppletInitializer.java 
1317         java/beans/BeanDescriptor.java java/beans/BeanInfo.java 
1318         java/beans/Beans.java java/beans/Customizer.java 
1319         java/beans/DesignMode.java java/beans/EventSetDescriptor.java 
1320         java/beans/FeatureDescriptor.java 
1321         java/beans/IndexedPropertyDescriptor.java 
1322         java/beans/IntrospectionException.java 
1323         java/beans/Introspector.java java/beans/MethodDescriptor.java 
1324         java/beans/ParameterDescriptor.java 
1325         java/beans/PropertyChangeEvent.java 
1326         java/beans/PropertyChangeListener.java 
1327         java/beans/PropertyChangeSupport.java 
1328         java/beans/PropertyDescriptor.java 
1329         java/beans/PropertyEditor.java 
1330         java/beans/PropertyEditorManager.java 
1331         java/beans/PropertyEditorSupport.java 
1332         java/beans/PropertyVetoException.java 
1333         java/beans/SimpleBeanInfo.java 
1334         java/beans/VetoableChangeListener.java 
1335         java/beans/VetoableChangeSupport.java 
1336         java/beans/Visibility.java 
1337         java/beans/beancontext/BeanContext.java 
1338         java/beans/beancontext/BeanContextChild.java 
1339         java/beans/beancontext/BeanContextChildComponentProxy.java 
1340         java/beans/beancontext/BeanContextChildSupport.java 
1341         java/beans/beancontext/BeanContextContainerProxy.java 
1342         java/beans/beancontext/BeanContextEvent.java 
1343         java/beans/beancontext/BeanContextMembershipEvent.java 
1344         java/beans/beancontext/BeanContextMembershipListener.java 
1345         java/beans/beancontext/BeanContextProxy.java 
1346         java/beans/beancontext/BeanContextServiceAvailableEvent.java 
1347         java/beans/beancontext/BeanContextServiceProvider.java 
1348         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java 
1349         java/beans/beancontext/BeanContextServiceRevokedEvent.java 
1350         java/beans/beancontext/BeanContextServiceRevokedListener.java 
1351         java/beans/beancontext/BeanContextServices.java 
1352         java/beans/beancontext/BeanContextServicesListener.java 
1353         java/io/BufferedInputStream.java 
1354         java/io/BufferedOutputStream.java java/io/BufferedReader.java 
1355         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java 
1356         java/io/ByteArrayOutputStream.java 
1357         java/io/CharArrayReader.java java/io/CharArrayWriter.java 
1358         java/io/CharConversionException.java java/io/DataInput.java 
1359         java/io/DataInputStream.java java/io/DataOutput.java 
1360         java/io/EOFException.java java/io/Externalizable.java 
1361         java/io/FileFilter.java java/io/FileNotFoundException.java 
1362         java/io/FilePermission.java java/io/FileReader.java 
1363         java/io/FileWriter.java java/io/FilenameFilter.java 
1364         java/io/FilterInputStream.java java/io/FilterOutputStream.java 
1365         java/io/FilterReader.java java/io/FilterWriter.java 
1366         java/io/IOException.java java/io/InputStream.java 
1367         java/io/InterruptedIOException.java 
1368         java/io/InvalidClassException.java 
1369         java/io/InvalidObjectException.java 
1370         java/io/NotActiveException.java 
1371         java/io/NotSerializableException.java java/io/ObjectInput.java 
1372         java/io/ObjectInputStream.java 
1373         java/io/ObjectInputValidation.java java/io/ObjectOutput.java 
1374         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java 
1375         java/io/ObjectStreamConstants.java 
1376         java/io/ObjectStreamException.java 
1377         java/io/ObjectStreamField.java 
1378         java/io/OptionalDataException.java java/io/OutputStream.java 
1379         java/io/PipedInputStream.java java/io/PipedOutputStream.java 
1380         java/io/PipedReader.java java/io/PipedWriter.java 
1381         java/io/PrintWriter.java java/io/PushbackInputStream.java 
1382         java/io/PushbackReader.java java/io/Reader.java 
1383         java/io/SequenceInputStream.java java/io/Serializable.java 
1384         java/io/SerializablePermission.java 
1385         java/io/StreamCorruptedException.java 
1386         java/io/StreamTokenizer.java 
1387         java/io/StringBufferInputStream.java java/io/StringReader.java 
1388         java/io/StringWriter.java java/io/SyncFailedException.java 
1389         java/io/UTFDataFormatException.java 
1390         java/io/UnsupportedEncodingException.java 
1391         java/io/WriteAbortedException.java java/io/Writer.java 
1392         java/lang/AbstractMethodError.java 
1393         java/lang/ArithmeticException.java 
1394         java/lang/ArrayIndexOutOfBoundsException.java 
1395         java/lang/ArrayStoreException.java java/lang/Boolean.java 
1396         java/lang/Byte.java java/lang/CharSequence.java 
1397         java/lang/ClassCastException.java 
1398         java/lang/ClassCircularityError.java 
1399         java/lang/ClassFormatError.java 
1400         java/lang/ClassNotFoundException.java 
1401         java/lang/CloneNotSupportedException.java 
1402         java/lang/Cloneable.java java/lang/Comparable.java 
1403         java/lang/Compiler.java java/lang/Double.java 
1404         java/lang/Error.java java/lang/Exception.java 
1405         java/lang/ExceptionInInitializerError.java 
1406         java/lang/Float.java java/lang/IllegalAccessError.java 
1407         java/lang/IllegalAccessException.java 
1408         java/lang/IllegalArgumentException.java 
1409         java/lang/IllegalMonitorStateException.java 
1410         java/lang/IllegalStateException.java 
1411         java/lang/IllegalThreadStateException.java 
1412         java/lang/IncompatibleClassChangeError.java 
1413         java/lang/IndexOutOfBoundsException.java 
1414         java/lang/InheritableThreadLocal.java 
1415         java/lang/InstantiationError.java 
1416         java/lang/InstantiationException.java java/lang/Integer.java 
1417         java/lang/InternalError.java 
1418         java/lang/InterruptedException.java 
1419         java/lang/LinkageError.java java/lang/Long.java 
1420         java/lang/NegativeArraySizeException.java 
1421         java/lang/NoClassDefFoundError.java 
1422         java/lang/NoSuchFieldError.java 
1423         java/lang/NoSuchFieldException.java 
1424         java/lang/NoSuchMethodError.java 
1425         java/lang/NoSuchMethodException.java 
1426         java/lang/NullPointerException.java java/lang/Number.java 
1427         java/lang/NumberFormatException.java 
1428         java/lang/OutOfMemoryError.java java/lang/Package.java 
1429         java/lang/Process.java java/lang/Runnable.java 
1430         java/lang/RuntimeException.java 
1431         java/lang/RuntimePermission.java 
1432         java/lang/SecurityException.java 
1433         java/lang/SecurityManager.java java/lang/Short.java 
1434         java/lang/StackOverflowError.java java/lang/StringBuffer.java 
1435         java/lang/StringIndexOutOfBoundsException.java 
1436         java/lang/ThreadDeath.java java/lang/ThreadGroup.java 
1437         java/lang/ThreadLocal.java java/lang/UnknownError.java 
1438         java/lang/UnsatisfiedLinkError.java 
1439         java/lang/UnsupportedClassVersionError.java 
1440         java/lang/UnsupportedOperationException.java 
1441         java/lang/VerifyError.java java/lang/VirtualMachineError.java 
1442         java/lang/Void.java java/lang/ref/PhantomReference.java 
1443         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java 
1444         java/lang/ref/SoftReference.java 
1445         java/lang/ref/WeakReference.java 
1446         java/lang/reflect/AccessibleObject.java 
1447         java/lang/reflect/InvocationTargetException.java 
1448         java/lang/reflect/Member.java java/lang/reflect/Modifier.java 
1449         java/lang/reflect/ReflectPermission.java 
1450         java/math/BigDecimal.java java/math/BigInteger.java 
1451         java/net/Authenticator.java java/net/BindException.java 
1452         java/net/ConnectException.java java/net/ContentHandler.java 
1453         java/net/ContentHandlerFactory.java 
1454         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java 
1455         java/net/FileNameMap.java java/net/MalformedURLException.java 
1456         java/net/MulticastSocket.java java/net/NetPermission.java 
1457         java/net/NoRouteToHostException.java 
1458         java/net/PasswordAuthentication.java 
1459         java/net/ProtocolException.java java/net/ServerSocket.java 
1460         java/net/Socket.java java/net/SocketException.java 
1461         java/net/SocketImpl.java java/net/SocketImplFactory.java 
1462         java/net/SocketOptions.java java/net/SocketPermission.java 
1463         java/net/URLDecoder.java java/net/URLEncoder.java 
1464         java/net/URLStreamHandlerFactory.java 
1465         java/net/UnknownHostException.java 
1466         java/net/UnknownServiceException.java 
1467         java/rmi/AccessException.java 
1468         java/rmi/AlreadyBoundException.java 
1469         java/rmi/ConnectException.java 
1470         java/rmi/ConnectIOException.java 
1471         java/rmi/MarshalException.java java/rmi/MarshalledObject.java 
1472         java/rmi/Naming.java java/rmi/NoSuchObjectException.java 
1473         java/rmi/NotBoundException.java 
1474         java/rmi/RMISecurityException.java 
1475         java/rmi/RMISecurityManager.java java/rmi/Remote.java 
1476         java/rmi/RemoteException.java java/rmi/ServerError.java 
1477         java/rmi/ServerException.java 
1478         java/rmi/ServerRuntimeException.java 
1479         java/rmi/StubNotFoundException.java 
1480         java/rmi/UnexpectedException.java 
1481         java/rmi/UnknownHostException.java 
1482         java/rmi/UnmarshalException.java 
1483         java/rmi/activation/Activatable.java 
1484         java/rmi/activation/ActivateFailedException.java 
1485         java/rmi/activation/ActivationDesc.java 
1486         java/rmi/activation/ActivationException.java 
1487         java/rmi/activation/ActivationGroup.java 
1488         java/rmi/activation/ActivationGroupDesc.java 
1489         java/rmi/activation/ActivationGroupID.java 
1490         java/rmi/activation/ActivationID.java 
1491         java/rmi/activation/ActivationInstantiator.java 
1492         java/rmi/activation/ActivationMonitor.java 
1493         java/rmi/activation/ActivationSystem.java 
1494         java/rmi/activation/Activator.java 
1495         java/rmi/activation/UnknownGroupException.java 
1496         java/rmi/activation/UnknownObjectException.java 
1497         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java 
1498         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java 
1499         java/rmi/registry/Registry.java 
1500         java/rmi/registry/RegistryHandler.java 
1501         java/rmi/server/ExportException.java 
1502         java/rmi/server/LoaderHandler.java 
1503         java/rmi/server/LogStream.java java/rmi/server/ObjID.java 
1504         java/rmi/server/Operation.java 
1505         java/rmi/server/RMIClassLoader.java 
1506         java/rmi/server/RMIClientSocketFactory.java 
1507         java/rmi/server/RMIFailureHandler.java 
1508         java/rmi/server/RMIServerSocketFactory.java 
1509         java/rmi/server/RMISocketFactory.java 
1510         java/rmi/server/RemoteCall.java 
1511         java/rmi/server/RemoteObject.java 
1512         java/rmi/server/RemoteRef.java 
1513         java/rmi/server/RemoteServer.java 
1514         java/rmi/server/RemoteStub.java 
1515         java/rmi/server/ServerCloneException.java 
1516         java/rmi/server/ServerNotActiveException.java 
1517         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java 
1518         java/rmi/server/SkeletonMismatchException.java 
1519         java/rmi/server/SkeletonNotFoundException.java 
1520         java/rmi/server/SocketSecurityException.java 
1521         java/rmi/server/UID.java 
1522         java/rmi/server/UnicastRemoteObject.java 
1523         java/rmi/server/Unreferenced.java 
1524         java/security/AccessControlContext.java 
1525         java/security/AccessControlException.java 
1526         java/security/AccessController.java 
1527         java/security/AlgorithmParameterGenerator.java 
1528         java/security/AlgorithmParameterGeneratorSpi.java 
1529         java/security/AlgorithmParameters.java 
1530         java/security/AlgorithmParametersSpi.java 
1531         java/security/AllPermission.java 
1532         java/security/BasicPermission.java 
1533         java/security/Certificate.java java/security/CodeSource.java 
1534         java/security/DigestException.java 
1535         java/security/DigestInputStream.java 
1536         java/security/DigestOutputStream.java 
1537         java/security/DomainCombiner.java 
1538         java/security/DummyKeyPairGenerator.java 
1539         java/security/DummyMessageDigest.java 
1540         java/security/DummySignature.java 
1541         java/security/GeneralSecurityException.java 
1542         java/security/Guard.java java/security/GuardedObject.java 
1543         java/security/Identity.java java/security/IdentityScope.java 
1544         java/security/InvalidAlgorithmParameterException.java 
1545         java/security/InvalidKeyException.java 
1546         java/security/InvalidParameterException.java 
1547         java/security/Key.java java/security/KeyException.java 
1548         java/security/KeyFactory.java java/security/KeyFactorySpi.java 
1549         java/security/KeyManagementException.java 
1550         java/security/KeyPair.java java/security/KeyPairGenerator.java 
1551         java/security/KeyPairGeneratorSpi.java 
1552         java/security/KeyStore.java 
1553         java/security/KeyStoreException.java 
1554         java/security/KeyStoreSpi.java 
1555         java/security/MessageDigest.java 
1556         java/security/MessageDigestSpi.java 
1557         java/security/NoSuchAlgorithmException.java 
1558         java/security/NoSuchProviderException.java 
1559         java/security/Permission.java 
1560         java/security/PermissionCollection.java 
1561         java/security/Permissions.java java/security/Policy.java 
1562         java/security/Principal.java java/security/PrivateKey.java 
1563         java/security/PrivilegedAction.java 
1564         java/security/PrivilegedActionException.java 
1565         java/security/PrivilegedExceptionAction.java 
1566         java/security/ProtectionDomain.java 
1567         java/security/Provider.java 
1568         java/security/ProviderException.java 
1569         java/security/PublicKey.java 
1570         java/security/SecureClassLoader.java 
1571         java/security/SecureRandom.java 
1572         java/security/SecureRandomSpi.java java/security/Security.java 
1573         java/security/SecurityPermission.java 
1574         java/security/Signature.java 
1575         java/security/SignatureException.java 
1576         java/security/SignatureSpi.java 
1577         java/security/SignedObject.java java/security/Signer.java 
1578         java/security/UnrecoverableKeyException.java 
1579         java/security/UnresolvedPermission.java 
1580         java/security/acl/Acl.java java/security/acl/AclEntry.java 
1581         java/security/acl/AclNotFoundException.java 
1582         java/security/acl/Group.java 
1583         java/security/acl/LastOwnerException.java 
1584         java/security/acl/NotOwnerException.java 
1585         java/security/acl/Owner.java java/security/acl/Permission.java 
1586         java/security/cert/CRL.java 
1587         java/security/cert/CRLException.java 
1588         java/security/cert/Certificate.java 
1589         java/security/cert/CertificateEncodingException.java 
1590         java/security/cert/CertificateException.java 
1591         java/security/cert/CertificateExpiredException.java 
1592         java/security/cert/CertificateFactory.java 
1593         java/security/cert/CertificateFactorySpi.java 
1594         java/security/cert/CertificateNotYetValidException.java 
1595         java/security/cert/CertificateParsingException.java 
1596         java/security/cert/X509CRL.java 
1597         java/security/cert/X509CRLEntry.java 
1598         java/security/cert/X509Certificate.java 
1599         java/security/cert/X509Extension.java 
1600         java/security/interfaces/DSAKey.java 
1601         java/security/interfaces/DSAKeyPairGenerator.java 
1602         java/security/interfaces/DSAParams.java 
1603         java/security/interfaces/DSAPrivateKey.java 
1604         java/security/interfaces/DSAPublicKey.java 
1605         java/security/interfaces/RSAKey.java 
1606         java/security/interfaces/RSAPrivateCrtKey.java 
1607         java/security/interfaces/RSAPrivateKey.java 
1608         java/security/interfaces/RSAPublicKey.java 
1609         java/security/spec/AlgorithmParameterSpec.java 
1610         java/security/spec/DSAParameterSpec.java 
1611         java/security/spec/DSAPrivateKeySpec.java 
1612         java/security/spec/DSAPublicKeySpec.java 
1613         java/security/spec/EncodedKeySpec.java 
1614         java/security/spec/InvalidKeySpecException.java 
1615         java/security/spec/InvalidParameterSpecException.java 
1616         java/security/spec/KeySpec.java 
1617         java/security/spec/PKCS8EncodedKeySpec.java 
1618         java/security/spec/RSAKeyGenParameterSpec.java 
1619         java/security/spec/RSAPrivateCrtKeySpec.java 
1620         java/security/spec/RSAPrivateKeySpec.java 
1621         java/security/spec/RSAPublicKeySpec.java 
1622         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java 
1623         java/sql/BatchUpdateException.java java/sql/Blob.java 
1624         java/sql/CallableStatement.java java/sql/Clob.java 
1625         java/sql/Connection.java java/sql/DataTruncation.java 
1626         java/sql/DatabaseMetaData.java java/sql/Date.java 
1627         java/sql/Driver.java java/sql/DriverManager.java 
1628         java/sql/DriverPropertyInfo.java 
1629         java/sql/PreparedStatement.java java/sql/Ref.java 
1630         java/sql/ResultSet.java java/sql/ResultSetMetaData.java 
1631         java/sql/SQLData.java java/sql/SQLException.java 
1632         java/sql/SQLInput.java java/sql/SQLOutput.java 
1633         java/sql/SQLWarning.java java/sql/Statement.java 
1634         java/sql/Struct.java java/sql/Time.java 
1635         java/sql/Timestamp.java java/sql/Types.java 
1636         java/text/Annotation.java 
1637         java/text/AttributedCharacterIterator.java 
1638         java/text/AttributedString.java 
1639         java/text/AttributedStringIterator.java 
1640         java/text/BreakIterator.java java/text/CharacterIterator.java 
1641         java/text/ChoiceFormat.java java/text/Collator.java 
1642         java/text/DateFormat.java java/text/DateFormatSymbols.java 
1643         java/text/DecimalFormat.java 
1644         java/text/DecimalFormatSymbols.java 
1645         java/text/FieldPosition.java java/text/Format.java 
1646         java/text/MessageFormat.java java/text/NumberFormat.java 
1647         java/text/ParseException.java java/text/ParsePosition.java 
1648         java/text/SimpleDateFormat.java 
1649         java/text/StringCharacterIterator.java 
1650         java/util/AbstractCollection.java java/util/AbstractList.java 
1651         java/util/AbstractMap.java 
1652         java/util/AbstractSequentialList.java 
1653         java/util/AbstractSet.java java/util/ArrayList.java 
1654         java/util/Arrays.java java/util/BasicMapEntry.java 
1655         java/util/BitSet.java java/util/Calendar.java 
1656         java/util/Collection.java java/util/Collections.java 
1657         java/util/Comparator.java 
1658         java/util/ConcurrentModificationException.java 
1659         java/util/Date.java java/util/Dictionary.java 
1660         java/util/EmptyStackException.java java/util/Enumeration.java 
1661         java/util/EventListener.java java/util/EventObject.java 
1662         java/util/GregorianCalendar.java java/util/HashMap.java 
1663         java/util/HashSet.java java/util/Hashtable.java 
1664         java/util/IdentityHashMap.java java/util/Iterator.java 
1665         java/util/LinkedHashMap.java java/util/LinkedHashSet.java 
1666         java/util/LinkedList.java java/util/List.java 
1667         java/util/ListIterator.java java/util/ListResourceBundle.java 
1668         java/util/Locale.java java/util/Map.java 
1669         java/util/MissingResourceException.java 
1670         java/util/NoSuchElementException.java 
1671         java/util/Observable.java java/util/Observer.java 
1672         java/util/Properties.java java/util/PropertyPermission.java 
1673         java/util/PropertyResourceBundle.java java/util/Random.java 
1674         java/util/RandomAccess.java java/util/ResourceBundle.java 
1675         java/util/Set.java java/util/SimpleTimeZone.java 
1676         java/util/SortedMap.java java/util/SortedSet.java 
1677         java/util/Stack.java java/util/StringTokenizer.java 
1678         java/util/TimeZone.java java/util/Timer.java 
1679         java/util/TimerTask.java 
1680         java/util/TooManyListenersException.java 
1681         java/util/TreeMap.java java/util/TreeSet.java 
1682         java/util/Vector.java java/util/WeakHashMap.java 
1683         java/util/jar/Attributes.java java/util/jar/JarEntry.java 
1684         java/util/jar/JarException.java java/util/jar/JarFile.java 
1685         java/util/jar/JarInputStream.java 
1686         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java 
1687         java/util/zip/Adler32.java java/util/zip/CRC32.java 
1688         java/util/zip/CheckedInputStream.java 
1689         java/util/zip/CheckedOutputStream.java 
1690         java/util/zip/Checksum.java 
1691         java/util/zip/DataFormatException.java 
1692         java/util/zip/Deflater.java 
1693         java/util/zip/DeflaterOutputStream.java 
1694         java/util/zip/GZIPInputStream.java 
1695         java/util/zip/GZIPOutputStream.java 
1696         java/util/zip/Inflater.java 
1697         java/util/zip/InflaterInputStream.java 
1698         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java 
1699         java/util/zip/ZipException.java java/util/zip/ZipFile.java 
1700         java/util/zip/ZipInputStream.java 
1701         java/util/zip/ZipOutputStream.java 
1702         javax/naming/BinaryRefAddr.java 
1703         javax/naming/InvalidNameException.java javax/naming/Name.java 
1704         javax/naming/NamingException.java javax/naming/RefAddr.java 
1705         javax/naming/StringRefAddr.java: Add license clarification.
1707 2002-01-22  Tom Tromey  <tromey@redhat.com>
1709         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
1710         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
1711         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
1712         version.
1713         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
1714         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
1715         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
1716         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
1717         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
1718         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
1719         * java/awt/peer/FontPeer.java: Replace with Classpath version.
1720         * java/awt/peer/FramePeer.java: Replace with Classpath version.
1721         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
1722         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
1723         * java/awt/peer/ListPeer.java: Replace with Classpath version.
1724         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
1725         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
1726         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
1727         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
1728         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
1729         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
1730         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
1731         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
1732         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
1733         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
1734         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
1735         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
1736         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
1737         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
1738         (minimumSize, preferredSize, reshape): Likewise.
1739         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
1740         getColorModel): New methods.
1741         * java/awt/PopupMenu.java: Merged with Classpath.
1742         * java/awt/MenuBar.java: Merged with Classpath.
1743         * java/awt/SystemColor.java: Replace with Classpath version.
1744         * java/awt/Panel.java: Merged with Classpath.
1745         * java/awt/PaintContext.java: Updated copyright.
1746         * java/awt/MenuShortcut.java: Merged with Classpath.
1747         * java/awt/MenuContainer.java: Merged with Classpath.
1748         * java/awt/Menu.java: Merged with Classpath.
1749         * java/awt/MediaEntry.java: New file from Classpath.
1750         * java/awt/MediaTracker.java: New file from Classpath.
1751         * java/awt/List.java: Merged with Classpath version.
1752         * java/awt/Insets.java: Merged with Classpath version.
1753         * java/awt/ImageMediaEntry.java: New file from Classpath.
1754         * java/awt/Image.java: Replaced with Classpath version.
1755         * java/awt/FontMetrics.java: Merged with Classpath version.
1756         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
1757         constant.
1758         * java/awt/Font.java: Merged with Classpath version.
1759         * java/awt/Dialog.java: Merged with Classpath version.
1760         * java/awt/Color.java: Merged with Classpath version.
1761         * java/awt/Choice.java: Merged with Classpath version.
1762         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
1763         * java/awt/Adjustable.java: Replace with Classpath version.
1764         * java/awt/MenuItem.java (paramString): Don't include class name
1765         or brackets.  Call superclass paramString.
1766         * java/awt/MenuComponent.java (toString): Call paramString.
1767         (paramString): Compute string; don't call toString.
1768         * java/awt/Label.java (paramString): Don't include class name
1769         or brackets.  Call superclass paramString.
1770         * java/awt/Checkbox.java (paramString): Don't include class name
1771         or brackets.  Call superclass paramString.
1772         * java/awt/Button.java (paramString): Don't include class name or
1773         brackets.  Call superclass paramString.
1774         * java/awt/MenuComponent.java (getTreeLock): Now protected.
1776 2002-01-20  Andreas Schwab  <schwab@suse.de>
1778         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
1779         function and of parameter recv_func to ssize_t, as specified by
1780         POSIX.
1782 2002-01-19  Per Bothner  <per@bothner.com>
1784         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
1785         uncompressed_size in readiness for next entry.
1787 2002-01-18  Tom Tromey  <tromey@redhat.com>
1789         * java/net/natPlainSocketImpl.cc: Include
1790         IllegalArgumentException.h.
1791         (_Jv_recv): New template function.
1792         (BooleanClass): Removed.
1793         (read): Use _Jv_recv.
1794         (setOption): Use Boolean::class$.  Throw exception if object is
1795         not Boolean or Integer.
1797 2002-01-17  Tom Tromey  <tromey@redhat.com>
1799         * java/awt/MenuComponent.java: Merged with Classpath.
1800         * java/awt/MenuItem.java: Merged with Classpath.
1801         * java/awt/Button.java: Merged with Classpath.
1803         * java/awt/ActiveEvent.java: Updated copyright.
1805         * java/awt/AWTError.java: Replaced with Classpath version.
1806         * java/awt/AWTException.java: Replaced with Classpath version.
1807         * java/awt/IllegalComponentStateException.java: Replaced with
1808         Classpath version.
1810 2002-01-16  Tom Tromey  <tromey@redhat.com>
1812         * java/awt/Canvas.java (serialVersionUID): New constant.
1813         Updated copyright.  Added javadoc from Classpath.
1814         * java/awt/ItemSelectable.java: Replaced with Classpath version.
1816         * java/awt/CheckboxGroup.java: Merged with Classpath.
1817         * java/awt/Checkbox.java: Merged with Classpath.
1819         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
1820         Classpath.
1821         * java/awt/Point.java: Updated copyright.
1823         * java/awt/Point.java (toString): Use getClass().getName().
1824         Added javadoc.
1826         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
1827         commented code.
1828         (hash): Correctly compute initial value for `h'.
1830         * java/awt/Label.java: Merged with Classpath.
1832 2002-01-15  Tom Tromey  <tromey@redhat.com>
1834         * java/awt/AWTPermission.java: Updated copyright.
1836         * java/awt/LayoutManager2.java: Merged with Classpath.
1837         * java/awt/LayoutManager.java: Merged with Classpath.
1838         * java/awt/GridLayout.java: Updated copyright and javadoc.
1839         (getSize): Use `parent.ncomponents'.  Handle insets.
1840         (layoutContainer): Use `parent.ncomponents'.  Handle case where
1841         there are fewer children than columns.  Correctly compute size of
1842         each cell in the grid.  Handle case where there isn't enough
1843         space.
1844         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
1845         all users.
1846         (gotoComponent): Use parent.ncomponents.  Ensure child exists
1847         before calling setVisible() on it.  Last item is `num - 1', not
1848         `num'.
1849         (layoutContainer): Hoist invariants out of loop.
1851         Start of AWT merge with Classpath:
1852         * Makefile.in: Rebuilt.
1853         * Makefile.am (awt_java_source_files): Reference files in
1854         gnu/java/awt, not gnu/gcj/awt.
1855         * java/awt/image/BufferedImage.java: Updated copyright.
1856         * java/awt/image/ComponentColorModel.java: Updated copyright.
1857         * java/awt/image/ComponentSampleModel.java: Updated copyright.
1858         * java/awt/image/DataBuffer.java: Updated copyright.
1859         * java/awt/image/DataBufferByte.java: Updated copyright.
1860         * java/awt/image/DataBufferInt.java: Updated copyright.
1861         * java/awt/image/DataBufferUShort.java: Updated copyright.
1862         * java/awt/image/IndexColorModel.java: Updated copyright.
1863         * java/awt/image/PackedColorModel.java: Updated copyright.
1864         * java/awt/image/Raster.java: Updated copyright.
1865         * java/awt/image/RasterOp.java: Updated copyright.
1866         * java/awt/image/SampleModel.java: Updated copyright.
1867         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
1868         * java/awt/image/WritableRaster.java: Updated copyright.
1869         * java/awt/color/ColorSpace.java: Updated copyright.
1870         * java/awt/color/ICC_ColorSpace.java: Updated copyright
1871         * java/awt/color/ICC_Profile.java: Updated copyright.
1872         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
1873         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
1874         * java/awt/event/HierarchyEvent.java: Updated copyright.
1875         * java/awt/event/HierarchyListener.java: Updated copyright.
1876         * java/awt/geom/AffineTransform.java: Updated copyright.
1877         * java/awt/geom/Dimension2D.java: Updated copyright.
1878         * java/awt/geom/Ellipse2D.java: Updated copyright.
1879         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
1880         * java/awt/geom/Line2D.java: Updated copyright.
1881         * java/awt/geom/NoninvertibleTransformException.java: Updated
1882         copyright.
1883         * java/awt/geom/PathIterator.java: Updated copyright.
1884         * java/awt/geom/Point2D.java: Updated copyright.
1885         * java/awt/geom/Rectangle2D.java: Updated copyright.
1886         * java/awt/geom/RectangularShape.java: Updated copyright.
1887         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
1888         * java/awt/Toolkit.java: Updated import for file moves.
1889         * java/awt/Rectangle.java: Updated copyright; added javadoc from
1890         Classpath.
1891         (hashCode): New method from Classpath.
1892         * java/awt/Graphics2D.java: Updated copyright.
1893         * java/awt/Transparency.java: Updated copyright.
1894         * java/awt/Paint.java: Updated copyright.
1895         * java/awt/Graphics.java: New version from Classpath.
1896         * java/awt/EventDispatchThread.java: Updated copyright.
1897         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
1898         children.
1899         (gotoComponent): Wrap around on next/previous.
1900         * gnu/gcj/awt/BitMaskExtent.java: Removed.
1901         * gnu/gcj/awt/Buffers.java: Removed.
1902         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
1903         * gnu/gcj/awt/GLightweightPeer.java: Removed.
1904         * gnu/java/awt/BitMaskExtent.java: Added.
1905         * gnu/java/awt/Buffers.java: Added.
1906         * gnu/java/awt/ComponentDataBlitOp.java: Added.
1907         * gnu/java/awt/GLightweightPeer.java: Added.
1908         * java/awt/geom/Line2D.java (clone): Ignore
1909         CloneNotSupportedException.
1910         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
1911         * java/awt/Frame.java: Merged with Classpath.
1912         * java/awt/RenderingHints.java: Copyright update.
1913         * java/awt/Paint.java: Copyright update.
1914         * java/awt/image/DirectColorModel.java: Merged with Classpath.
1915         * java/awt/image/ColorModel.java: Merged with Classpath.
1916         * java/awt/Window.java (show): New Implementation from Classpath.
1917         (isShowing): Use super.isShowing().
1918         * java/awt/EventQueue.java: Merged with Classpath.
1919         * java/awt/AWTEventMulticaster.java (save): Throw
1920         RuntimeException.
1921         (saveInternal): Likewise.
1922         * java/awt/AWTEvent.java: Now implements Serializable.
1923         * java/awt/Event.java: Copyright update.
1924         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
1925         * java/awt/image/BufferedImage.java: Copyright update.
1926         * java/awt/GraphicsConfiguration.java: Copyright update.
1927         * java/awt/Component.java: (addNotify): Don't call
1928         addNotifyContainerChildren().
1929         (addNotifyContainerChildren): Removed.
1930         (setPeer): New method from Classpath.
1931         (setTreeLock): Likewise.
1932         (setVisible): Rewrote.
1933         (show): Use it.
1934         (hide): Likewise.
1935         (validate): Set `valid'.
1936         (checkImage(Image,ImageObserver)): Implementation from Classpath.
1937         (createImage(ImageProducer)): Likewise.
1938         (prepareImage): Likewise.
1939         * java/awt/Container.java (addImpl): Handle case where constraint
1940         is not a String.  Post event via system event queue.
1941         (remove): Post event via system event queue.
1942         (validateTree): Only validate child if it is invalid.
1943         (getAlignmentX): Call super method as default.
1944         (getAlignmentY): Likewise.
1945         (addContainerListener): Now synchronized.
1946         (removeContainerListener): Likewise.
1947         (addNotifyContainerChildren): Now private.
1948         * java/awt/ComponentOrientation.java: Updated copyright.  Added
1949         @author.
1950         * java/awt/FlowLayout.java (serialVersionUID): New field.
1951         (setAlignment): Better exception message.
1952         (layoutContainer): Don't compute component's preferred size unless
1953         we're going to use it.
1954         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
1955         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
1956         (firstLine, lastLine, firstItem, lastItem): New fields.
1957         (addLayoutComponent): Handle case where constraints is null.
1958         Also, handle relative locations.
1959         (removeLayoutComponent): Handle relative locations.
1960         (MIN, MAX, PREF): New constants.
1961         (calcCompSize): New method.
1962         (calcSize): New method.
1963         (minimumLayoutSize): Use it.
1964         (preferredLayoutSize): Likewise.
1965         (maximumLayoutSize): Likewise.
1966         (toString): Include more information.
1967         (setBounds): New method.
1968         (layoutContainer): Use libgcj implementation; extended to handle
1969         relative locations.
1971 2002-01-15  Tom Tromey  <tromey@redhat.com>
1973         * java/lang/Float.java (equals): Preserve old code.
1974         * java/lang/Double.java (equals): Preserve old code.
1976 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
1978         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
1979         * java/lang/Float.java (equals, compare): Ditto.
1981 2002-01-13  Mark Wielaard  <mark@klomp.org>
1983         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
1984         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
1985         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
1986         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
1988 2002-01-11  Mark Wielaard  <mark@klomp.org>
1990         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
1991         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
1992         InetAddress.
1993         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
1994         * java/net/Socket.java: Merge with Classpath.
1995         * java/net/ServerSocket.java: Likewise.
1997 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
1999         * interpret.cc (NULLARRAYCHECK): New macro.
2000         (SAVE_PC): Just store `pc'.
2001         (find_exception): Subtract one from `pc' here.
2002         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
2003         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
2004         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
2005         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
2006         don't call SAVE_PC.
2007         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
2008         call SAVE_PC.
2010 2002-01-11  Tom Tromey  <tromey@redhat.com>
2012         * java/lang/natSystem.cc (init_properties): Only look for default
2013         locale if LC_MESSAGES is defined.
2014         * aclocal.m4, configure, include/config.h.in: Rebuilt.
2015         * configure.in: Call AM_LC_MESSAGES.
2016         * acinclude.m4 (AM_LC_MESSAGES): New macro.
2018 2002-01-10  Tom Tromey  <tromey@redhat.com>
2020         For PR libgcj/5303:
2021         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
2022         --version.  Recognize GNU-style long options.  Print GNU-style
2023         error messages.
2024         (usage): Print GNU-style help.  Exit with status 0.
2025         (error): New method.
2026         (run): Print error message if no class names found.
2027         (main): Don't print usage on error.
2029 2002-01-09  Tom Tromey  <tromey@redhat.com>
2031         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
2032         property.
2033         (help, version): Use println(), not println("").
2035         For PR libgcj/5303:
2036         * gnu/gcj/convert/Convert.java (error): Program is called
2037         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
2038         -1.
2039         (main): Handle --help and --version.
2040         (help): New method.
2041         (version): Likewise.
2043 2002-01-08  Tom Tromey  <tromey@redhat.com>
2045         * Makefile.in: Rebuilt.
2046         * Makefile.am (ordinary_java_source_files): Added new files.
2047         * gnu/java/locale/LocaleInformation.java: Extend
2048         LocaleInformation_en.
2049         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
2050         and time/date formats.
2051         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
2052         generated.
2053         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
2054         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
2055         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
2056         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
2057         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
2058         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
2059         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
2060         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
2061         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
2062         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
2063         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
2064         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
2065         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
2066         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
2067         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
2068         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
2069         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
2070         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
2071         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
2072         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
2073         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
2074         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
2075         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
2076         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
2077         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
2078         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
2079         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
2080         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
2081         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
2082         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
2083         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
2084         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
2085         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
2086         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
2087         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
2088         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
2089         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
2090         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
2091         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
2092         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
2093         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
2094         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
2095         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
2096         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
2097         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
2098         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
2099         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
2100         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
2101         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
2102         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
2103         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
2104         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
2105         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
2106         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
2107         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
2108         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
2109         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
2110         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
2111         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
2112         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
2113         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
2114         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
2115         * gnu/java/locale/LocaleInformation_es_US.java: New file.
2116         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
2117         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
2118         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
2119         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
2120         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
2121         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
2122         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
2123         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
2124         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
2125         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
2126         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
2127         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
2128         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
2129         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
2130         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
2131         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
2132         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
2133         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
2134         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
2135         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
2136         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
2137         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
2138         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
2139         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
2140         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
2141         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
2142         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
2143         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
2144         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
2145         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
2146         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
2147         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
2148         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
2149         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
2150         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
2151         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
2152         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
2153         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
2154         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
2155         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
2156         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
2157         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
2158         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
2159         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
2160         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
2161         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
2162         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
2163         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
2164         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
2165         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
2166         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
2167         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
2168         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
2169         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
2170         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
2171         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
2172         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
2173         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
2174         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
2175         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
2176         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
2177         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
2178         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
2179         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
2180         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
2181         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
2182         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
2184         For PR libgcj/5031:
2185         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
2186         choose default locale.
2188         * Makefile.in: Rebuilt.
2189         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
2191 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk> 
2193         * java/net/natPlainSocketImpl.cc: Added timeout handling for
2194         sockets.
2195         (close): New function closes the socket.
2196         (write): New functions for output to socket.
2197         (read): New functions for reading from socket.
2198         * java/net/PlainSocketImpl.java: Glue for new timeout
2199         implementation.
2200         (write): Call the native impl.
2201         (read): Likewise.
2202         (getInputStream): Get a stream to read from the socket.
2203         (getOutputStream): Get a stream to write to the socket.
2205 2002-01-08  Tom Tromey  <tromey@redhat.com>
2207         * resolve.cc (_Jv_PrepareClass): Enable verifier.
2209 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
2211         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
2212         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
2214 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
2216         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
2217         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
2218         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
2219         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
2220         insn_bastore, insn_castore, insn_sastore]: Use it.
2221         (continue1) [insn_arraylength]: Check for null array.
2223 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
2225         * configure, include/config.h.in: Rebuilt.
2226         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
2227         * configure.in: Call AC_STRUCT_TIMEZONE.
2229 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
2231         * configure.host: Disable the interpreter for Darwin.
2233 2002-01-04  Tom Tromey  <tromey@redhat.com>
2235         * java/lang/Thread.java (stop): No longer synchronized.
2236         (start): Likewise.
2238 2002-01-02  Tom Tromey  <tromey@redhat.com>
2240         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
2241         patch.
2243 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
2245         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
2246         PPC Darwin, not for all of Darwin.