Bryce McKinlay
d1cfac5b6e
* libjava.lang/stringconst.xfail: xfail-output -> xfail-source-output.
...
From-SVN: r49889
2002-02-20 04:18:54 +00:00
Bryce McKinlay
a2139e0c48
libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
...
* lib/libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
Don't display expected and actual output for a failed output test.
* libjava.lang/ArrayStore.java: New file.
* libjava.lang/ArrayStore.out: New file.
* libjava.lang/ArrayStore.xfail: New file. xfail-byte-output.
* libjava.lang/ArrayStore2.java: New file.
* libjava.lang/ArrayStore2.out: New file.
* libjava.lang/ArrayStore2.xfail: New file. xfail-source-output.
From-SVN: r49888
2002-02-20 04:14:15 +00:00
Bryce McKinlay
8417ff635e
err7.xfail: Removed.
...
* libjava.lang/err7.xfail: Removed.
* libjava.lang/err8.xfail: Removed.
From-SVN: r49831
2002-02-18 03:05:55 +00:00
Tom Tromey
62deb2118b
For PR java/5641:
...
* libjava.compile/PR5641.xfail: New file.
* libjava.compile/PR5641.java: New file.
From-SVN: r49660
2002-02-11 00:18:52 +00:00
Rainer Orth
96b9910446
libjava.exp (libjava_find_lib): Remove duplicate .la files.
...
2002-02-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* lib/libjava.exp (libjava_find_lib): Remove duplicate .la files.
From-SVN: r49659
2002-02-11 00:01:11 +00:00
H.J. Lu
ec6d4fa60c
jni.exp: Add -I..
...
2002-01-05 H.J. Lu <hjl@gnu.org>
* libjava.jni/jni.exp: Add -I.. for generated header.
From-SVN: r48571
2002-01-05 14:26:58 -08:00
Tom Tromey
e6a8345b03
For PR java/4766:
...
* libjava.compile/PR4766.java: New file.
From-SVN: r48209
2001-12-20 18:05:20 +00:00
Andrew Haley
76eceb1ec3
FileHandleGcTest.out: New file.
...
2001-12-20 Andrew Haley <aph@redhat.com>
* libjava.lang/FileHandleGcTest.out: New file.
* libjava.lang/FileHandleGcTest.java: New file.
* libjava.lang/Array_3.out: New file.
* libjava.lang/Array_3.java: New file.
From-SVN: r48201
2001-12-20 14:09:03 +00:00
Tom Tromey
8c5bc4d56e
For PR java/3417:
...
* libjava.compile/PR3417.xfail: New file.
* libjava.compile/PR3417.java: New file.
From-SVN: r48161
2001-12-18 16:36:40 +00:00
Tom Tromey
40aba207b1
* libjava.lang/PR3731.xfail: Removed.
...
From-SVN: r48144
2001-12-18 05:18:38 +00:00
Tom Tromey
bf768dd17b
Inspired by PR java/5057:
...
* libjava.lang/PR5057_2.java: New file.
* libjava.lang/PR5057_2.out: New file.
From-SVN: r48142
2001-12-18 04:59:18 +00:00
Tom Tromey
ced816d5e6
For PR java/5057:
...
* libjava.lang/PR5057.out: New file.
* libjava.lang/PR5057.java: New file.
From-SVN: r48141
2001-12-18 04:38:04 +00:00
Tom Tromey
1808372b58
For PR libgcj/5103:
...
* libjava.jni/cxxtest.out: New file.
* libjava.jni/cxxtest.cc: New file.
* libjava.jni/cxxtest.java: New file.
* libjava.jni/jni.exp (gcj_jni_test_one): If there is no .c file,
assume there is a .cc file.
From-SVN: r48012
2001-12-14 21:56:29 +00:00
Bryce McKinlay
f13ff1ca42
re PR java/3731 (gcj should generate class init code for instanceof)
...
* libjava.lang/PR3731.out: Adjust output to reflect that
"instanceof" shouldn't trigger class initialization.
From-SVN: r47822
2001-12-09 23:49:29 +00:00
Tom Tromey
e94c6dee73
* libjava.compile/BlankFinal.java: Removed; incorrect test.
...
From-SVN: r47739
2001-12-07 00:12:56 +00:00
Bryce McKinlay
dd3a652039
* libjava.lang/TLtest.xfail: New file. Needs threads.
...
From-SVN: r46710
2001-11-02 06:50:33 +00:00
Joseph Myers
18e1f2bd67
HACKING, [...]: Fix spelling errors.
...
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,
gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java,
java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java,
java/io/CharConversionException.java,
java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PrintWriter.java, java/io/WriteAbortedException.java,
java/io/natFileWin32.cc, java/lang/Class.h,
java/lang/natClassLoader.cc, java/lang/natObject.cc,
java/lang/Package.java, java/net/BindException.java,
java/net/ConnectException.java, java/net/ProtocolException.java,
java/net/SocketException.java,
java/net/UnknownServiceException.java,
java/security/cert/X509Certificate.java,
java/security/interfaces/DSAKey.java,
java/security/SecureRandom.java, java/security/SignedObject.java,
java/sql/DatabaseMetaData.java,
java/text/DecimalFormatSymbols.java,
java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/Calendar.java,
java/util/Collections.java, java/util/GregorianCalendar.java,
java/util/HashMap.java, java/util/List.java,
java/util/Properties.java, java/util/Timer.java,
java/util/Vector.java, java/util/WeakHashMap.java,
javax/naming/NamingException.java,
testsuite/libjava.lang/Thread_Wait.java,
org/xml/sax/helpers/DefaultHandler.java,
org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java,
ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix
spelling errors.
* configure: Regenerate.
From-SVN: r46665
2001-10-31 00:48:17 +00:00
Alexandre Petit-Bianco
326a0b6aa5
re PR java/3096 (GCJ does not increment)
...
2001-10-04 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.lang/PR3096.java: New file.
* libjava.lang/PR3096.out: Likewise.
( http://gcc.gnu.org/ml/java-patches/2001-q4/msg00165.html )
From-SVN: r46496
2001-10-25 14:13:18 -07:00
Alexandre Petit-Bianco
5952078834
final_initialization_in_ctor.java: New file
...
2001-09-27 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/final_initialization_in_ctor.java: New file
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )
From-SVN: r45843
2001-09-27 12:17:16 -07:00
Alexandre Petit-Bianco
bb52725527
final_assignment_check.java: New file.
...
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/final_assignment_check.java: New file.
* libjava.compile/final_assignment_check.xfail: Likewise.
* libjava.compile/final_local_switch.java: Likewise.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00342.html )
From-SVN: r45346
2001-08-31 21:54:05 -07:00
Alexandre Petit-Bianco
763bb30cbe
KeepInline.out: Fixed content.
...
2001-08-24 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.lang/KeepInline.out: Fixed content.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00290.html )
From-SVN: r45186
2001-08-27 06:31:06 -07:00
Alexandre Petit-Bianco
9fba6f962f
XercesBug.java: New file.
...
2001-08-17 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/XercesBug.java: New file.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01066.html )
From-SVN: r44987
2001-08-17 15:26:15 -07:00
Tom Tromey
ac8d99218a
jni.cc: Include IdentityHashMap.h, not Hashtable.h.
...
* jni.cc: Include IdentityHashMap.h, not Hashtable.h.
(local_ref_table, global_ref_table): Now IdentityHashMap.
(_Jv_JNI_Init): Updated for new types.
(mark_for_gc): Likewise.
(unmark_for_gc): Likewise.
* gcj/javaprims.h: Rebuilt class list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new file.
* java/util/IdentityHashMap.java: New file.
From-SVN: r44929
2001-08-15 20:46:48 +00:00
Alexandre Petit-Bianco
11cdfad624
Matrix4f.java: New file.
...
2001-08-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.lang/Matrix4f.java: New file.
* libjava.lang/Matrix4f.out: New file.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00737.html )
From-SVN: r44864
2001-08-13 11:06:22 -07:00
Richard Henderson
cba5553ae6
* libjava.jni/calls.c (Java_calls_docall): Fix typo.
...
From-SVN: r44601
2001-08-03 09:21:23 -07:00
Jeff Sturm
868f43d886
KeepInline.java: New file.
...
* libjava.lang/KeepInline.java: New file.
* libjava.lang/KeepInline.out: New file.
From-SVN: r44540
2001-08-01 12:40:06 +00:00
Jeff Sturm
1292bc9fe8
SyncTest.java: New file.
...
* libjava.lang/SyncTest.java: New file.
* libjava.lang/SyncTest.out: New file.
* libjava.lang/SyncTest.xfail: New file.
From-SVN: r44495
2001-07-31 02:13:46 +00:00
Rainer Orth
08ecdbebab
g++.exp (g++_set_ld_library_path): Renamed to ${tool}_set_ld_library_path.
...
gcc/testsuite:
* lib/g++.exp (g++_set_ld_library_path): Renamed to
${tool}_set_ld_library_path.
Changed caller.
* lib/objc.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.
libjava/testsuite:
* lib/libjava.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.
From-SVN: r44420
2001-07-27 12:21:56 +00:00
Jeff Sturm
deaabf1413
re PR java/3731 (gcj should generate class init code for instanceof)
...
* libjava.lang/PR3731.java: New file.
* libjava.lang/PR3731.out: New file.
* libjava.lang/PR3731.xfail: New file.
From-SVN: r44151
2001-07-19 14:03:08 +00:00
Alexandre Petit-Bianco
e47c5acd7b
anon_ctor_itf_arg.java: Moved to `libjava.lang.'
...
2001-07-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/anon_ctor_itf_arg.java: Moved to `libjava.lang.'
* libjava.compile/anon_ctor_itf_arg.out: Likewise
* libjava.lang/invoke_from_inner.java: New file.
* libjava.lang/invoke_from_inner.out: Likewise.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00061.html )
From-SVN: r43994
2001-07-13 12:45:05 -07:00
Alexandre Petit-Bianco
c813baa415
anon_ctor_itf_arg.java: New file.
...
2001-07-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/anon_ctor_itf_arg.java: New file.
* libjava.compile/anon_ctor_itf_arg.out: New file.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00059.html )
From-SVN: r43974
2001-07-12 14:39:56 -07:00
Tom Tromey
b9aaec62b7
* libjava.lang/N19990310_4.xfail: Removed.
...
From-SVN: r43968
2001-07-12 17:06:33 +00:00
Alexandre Petit-Bianco
aac560ac26
Makefile.am: Added `java/lang/ThreadLocal.java'.
...
libjava:
2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* Makefile.am: Added `java/lang/ThreadLocal.java'.
* Makefile.in: Regenerate.
* java/lang/ThreadLocal.java: Initial import.
libjava/testsuite:
2001-07-10 Alexandre Petit-Bianco <apbianco@readhat.com>
* libjava.lang/TLtest.java: New file.
* libjava.lang/TLtest.out: New file.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html )
From-SVN: r43915
2001-07-10 17:47:37 -07:00
Andrew Haley
b32685987f
Divide_1.java: Add may more test cases.
...
2001-07-06 Andrew Haley <aph@cambridge.redhat.com>
* libjava.lang/Divide_1.java: Add may more test cases.
* libjava.lang/Divide_1.out: Likewise.
From-SVN: r43812
2001-07-06 16:32:40 +00:00
Jeff Sturm
38733dbb29
II.java: New file.
...
* libjava.lang/II.java: New file.
* libjava.lang/II.out: New file.
From-SVN: r43744
2001-07-03 23:52:27 +00:00
Tom Tromey
fe3dac3d3c
re PR bootstrap/3281 (Installation failure (mkinstalldirs))
...
Fix for PR bootstrap/3281:
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIBGCJ_CONFIGURE): Don't set libgcj_flagbasedir.
Correctly compute libgcj_basedir.
(mkinstalldirs): Define and subst.
From-SVN: r43739
2001-07-03 22:31:43 +00:00
Tom Tromey
c94ef60f8f
* libjava.lang/stub.xfail: Removed.
...
From-SVN: r43558
2001-06-25 20:36:16 +00:00
Andreas Jaeger
20f8e4c7cc
jni.exp (gcj_jni_compile_c_to_so): Fix path for jni.h.
...
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Fix path for
jni.h.
From-SVN: r43549
2001-06-25 06:48:55 +02:00
Tom Tromey
d19da8d1b4
jni.exp: New file.
...
* libjava.jni/jni.exp: New file.
* lib/libjava.exp (gcj_link): New proc.
From-SVN: r43375
2001-06-14 17:46:53 +00:00
Tom Tromey
fdf448f76b
re PR libgcj/2874 (libjava testsuite disk space usage)
...
Fix for PR libgcj/2874:
* libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc.
(test_mauve): Return 0 on failure.
* lib/libjava.exp (test_libjava_from_source): Remove generated
files if test is successful.
(test_libjava_from_javac): Likewise.
(gcj_cleanup): New proc.
From-SVN: r43050
2001-06-08 22:12:28 +00:00
Tom Tromey
7f7ba9bf90
For PR bootstrap/3075:
...
* configure, aclocal.m4, Makefile.am: Rebuilt.
* configure.in: Pass `--with-auxdir' to subdir configure. Don't
call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. Look for unwind.h
relative to libgcj_basedir.
* acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and
AC_CANONICAL_SYSTEM here.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
libgcj_basedir.
($(extra_headers)): New target.
From-SVN: r43034
2001-06-08 18:02:03 +00:00
Jeff Sturm
9166f7a36a
libjava.exp (libjava_arguments): Build with `-no-install' when $mode == "link".
...
* lib/libjava.exp (libjava_arguments): Build with `-no-install'
when $mode == "link".
From-SVN: r42928
2001-06-06 02:53:52 +00:00
Anthony Green
9f0fbbabfb
Remove libgcjdata hack. Fix jv-scan usage in dejagnu.
...
From-SVN: r42812
2001-06-02 19:13:52 +00:00
Anthony Green
87596d9c92
Fake a PASS for targets which don't support invocation.
...
From-SVN: r42792
2001-06-02 09:18:14 +00:00
Anthony Green
c8fb98139d
USE_LIBFFI change
...
From-SVN: r42791
2001-06-02 08:49:31 +00:00
Tom Tromey
1de16a5cb1
invokethrow.out: New file.
...
* libjava.lang/invokethrow.out: New file.
* libjava.lang/invokethrow.java: New file.
From-SVN: r42711
2001-05-30 15:23:23 +00:00
Tom Tromey
3610e0d548
[multiple changes]
...
2001-05-23 Tom Tromey <tromey@redhat.com>
* posix-threads.cc (_Jv_self_cache): Renamed from self_cache.
* gcj/Makefile.in: Rebuilt.
* gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h.
* gcj/javaprims.h: Include gcj/libgcj-config.h.
* gcj/libgcj-config.h.in: New file.
* libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@.
* configure: Rebuilt.
* configure.in: Enable hash synchronization by default on some
platforms.
(HASH_SYNC_SPEC): New subst.
(AC_CONFIG_HEADER): Added gcj/libgcj-config.h.
Correctly use `test -z' instead of `test -n' in a couple places.
(JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to
LIBGCJ_CXXFLAGS.
* configure.host (enable_java_net_default): Initialize.
(enable_hash_synchronization_default): New variable.
2001-05-23 Hans Boehm <Hans_Boehm@hp.com>
* boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash
synchronization in use.
(_Jv_MarkArray): Likewise.
(_Jv_AllocBytes): Don't check return result.
(handle_out_of_memory): New function.
(_Jv_InitGC): Set GC_oom_fn.
(trace_one_vtable): New global.
(_Jv_AllocTraceOne): New function.
* configure.in: Added --enable-hash-synchronization.
* defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc,
java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked.
* nogc.cc (_Jv_AllocObj): Throw out-of-memory.
(_Jv_AllocArray): Likewise.
(_Jv_AllocBytes): Likewise.
(_Jv_AllocPtrFreeObject): New function.
(_Jv_AllocTraceOne): Likewise.
* posix-threads.cc (_Jv_ThreadRegister): Handle slow
pthread_self().
(self_cache): New global.
(_Jv_ThreadSelf_out_of_line): New function.
* prims.cc (_Jv_AllocBytesChecked): Removed.
(_Jv_ThrowNoMemory): New function.
(_Jv_AllocObject): Don't check for null return from allocator.
(_Jv_NewObjectArray): Likewise.
(_Jv_AllocPtrFreeObject): New function.
(_Jv_NewPrimArray): Allocate pointer-free object if possible.
* include/javaprims.h (_Jv_AllocPtrFreeObject): Declare.
(_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value.
* include/boehm-gc.h (_Jv_AllocObj): Define.
(_Jv_AllocPtrFreeObj): Define.
* include/jvm.h (_Jv_AllocPtrFreeObj): Declare.
(_Jv_ThrowNoMemory): Declare.
(_Jv_AllocTraceOne): Declare.
(_Jv_AllocBytesChecked): Removed.
* include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock,
_Jv_MutexUnlock): Handle LOCK_DEBUG.
(_Jv_ThreadSelf): Handle case where system pthread_self() is
slow.
* java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as
friend.
* java/lang/Object.h (sync_info): Conditional upon presence of
hash synchronization.
* java/lang/natObject.cc: Much new code to handle thin locks and
hash synchronization.
* java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free
object if possible.
From-SVN: r42519
2001-05-24 05:40:37 +00:00
Per Bothner
c93d7fae7b
Implement invocation interface; don't create new thread for main.
...
From-SVN: r42428
2001-05-21 23:47:48 -07:00
Tom Tromey
8559523974
Thread_Wait_Interrupt.xfail: New file.
...
* libjava.lang/Thread_Wait_Interrupt.xfail: New file.
* libjava.lang/Thread_Wait_2.xfail: New file.
* libjava.lang/Thread_Wait.xfail: New file.
* libjava.lang/Thread_Sleep.xfail: New file.
* libjava.lang/Thread_Monitor.xfail: New file.
* libjava.lang/Thread_Join.xfail: New file.
* libjava.lang/Thread_Interrupt.xfail: New file.
* libjava.lang/Thread_Alive.xfail: New file.
* lib/libjava.exp (libjava_init): Set global
libjava_uses_threads.
(test_libjava): Document `need-threads' tag.
(test_libjava_from_source): handle need-threads tag.
(test_libjava_from_javac): Likewise.
From-SVN: r41840
2001-05-04 19:33:10 +00:00
Tom Tromey
d8ce02bcdc
* libjava.lang/err11.xfail: Removed.
...
From-SVN: r41817
2001-05-03 22:03:44 +00:00