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
Tom Tromey
f24fd724c2
libjava.exp (libjava_init): Use UTF-8 encoding.
...
* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
(test_libjava_from_javac): Likewise.
From-SVN: r41617
2001-04-27 00:56:16 +00:00
Tom Tromey
4f75c18024
testsuite: libjava: remove some xfail markers.
...
* libjava.lang/pr83.xfail: Removed.
* libjava.lang/Shazam.xfail: Removed.
* libjava.lang/PR162.xfail: Removed.
* libjava.compile/PR375.xfail: Removed.
* libjava.compile/PR208.xfail: Removed xfail-byte.
* libjava.compile/PR207.xfail: Removed xfail-byte.
From-SVN: r41220
2001-04-10 14:27:41 +00:00
Tom Tromey
693c414507
testsuite: libjava: remove some xfail markers.
...
* libjava.compile/weirddecl.xfail: Removed xfail-*.
* libjava.compile/PR374.xfail: Removed.
From-SVN: r41180
2001-04-07 20:00:50 +00:00
Alexandre Petit-Bianco
b8136a1632
instinit2.out: Fixed.
...
2001-03-29 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.lang/instinit2.out: Fixed.
(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00343.html )
From-SVN: r41132
2001-04-05 16:07:30 -07:00
Andreas Jaeger
48f9396dd6
Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
...
2001-04-04 Andreas Jaeger <aj@suse.de>
* gcj/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* gcj/Makefile.in: Rebuilt.
* Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* Makefile.in: Rebuilt.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* testsuite/Makefile.in: Rebuild.
* include/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* include/Makefile.in: Rebuild.
From-SVN: r41100
2001-04-04 23:38:53 +00:00
Zack Weinberg
b6dabe8938
libjava.exp: Correct typo...
...
* testsuite/lib/libjava.exp: Correct typo: 'output from source
compiled test', not 'execution from source compiled test'.
Use UNTESTED, not XFAIL, for tests which are not run because
they depend on a previous test which failed.
From-SVN: r41026
2001-04-02 23:36:26 +00:00
Tom Tromey
ae8a67c4c0
field.out: New file.
...
* libjava.jni/field.out: New file.
* libjava.jni/field.c: New file.
* libjava.jni/field.java: New file.
From-SVN: r40776
2001-03-23 05:57:00 +00:00
Tom Tromey
57df195483
uesc.java: New file.
...
* libjava.compile/uesc.java: New file.
* libjava.compile/uesc.xfail: New file.
From-SVN: r40704
2001-03-21 18:52:24 +00:00
Tom Tromey
7e0c895f0e
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in (GCJFLAGS): Subst.
* Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDFLAGS): Added -shared-libgcc.
(gij_LDFLAGS): Likewise.
(JC1FLAGS): Added GCJFLAGS and removed -g.
From-SVN: r40700
2001-03-21 18:43:03 +00:00
Tom Tromey
d19c968978
libjava.exp (libjava_arguments): Rewrote computation of LD_LIBRARY_PATH.
...
* lib/libjava.exp (libjava_arguments): Rewrote computation of
LD_LIBRARY_PATH. Add gcc build directory if it contains
libgcc_s.so.
From-SVN: r40564
2001-03-16 20:54:45 +00:00
Tom Tromey
d2dda7177b
assignment.xfail: Removed.
...
* libjava.compile/assignment.xfail: Removed.
* libjava.compile/assignment_2.xfail: Removed.
From-SVN: r40463
2001-03-14 18:32:51 +00:00
Warren Levy
1ae696e59a
mauve.exp: Added support for XFAILs.
...
* libjava.mauve/mauve.exp: Added support for XFAILs.
* libjava.mauve/xfails: New file.
From-SVN: r39536
2001-02-08 12:04:57 +00:00
Tom Tromey
80a59404aa
* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
...
From-SVN: r39287
2001-01-26 22:52:19 +00:00
Tom Tromey
d0815622ea
martin.out: New file.
...
* libjava.jni/martin.out: New file.
* libjava.jni/martin.c: New file.
* libjava.jni/martin.java: New file.
From-SVN: r39286
2001-01-26 22:41:41 +00:00
Richard Henderson
c99a2d3137
libjava.exp (bytecompile_file): Don't unset CLASSPATH.
...
* lib/libjava.exp (bytecompile_file): Don't unset CLASSPATH.
(libjava_arguments): Use .jar extension for libgcj.
From-SVN: r39085
2001-01-16 22:45:40 -08:00
Bryce McKinlay
4fd297757d
* libjava.compile/SuperConstr.java: New test case.
...
From-SVN: r38793
2001-01-08 02:13:32 +00:00
Tom Tromey
e2ef2bf880
mauve.exp (test_mauve): Don't look for exceptions thrown in the test harness.
...
* libjava.mauve/mauve.exp (test_mauve): Don't look for exceptions
thrown in the test harness.
(test_mauve_sim): Likewise.
From-SVN: r38368
2000-12-18 23:13:05 +00:00
Tom Tromey
68c7dea8ed
libjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.
...
* lib/libjava.exp (test_libjava_from_javac): Strange quoting trick
for `.class' link case.
(bytecompile_file): Change directory outside of `catch'.
* libjava.lang/Thread_1.java: Removed.
* libjava.lang/Thread_1.out: Likewise.
* libjava.lang/N19990310_4.xfail: New file.
* libjava.lang/stub.xfail: Added new failure modes.
* libjava.lang/stringconst.xfail: New file.
* libjava.lang/PR162.xfail: New file.
* libjava.lang/Final.xfail: Removed.
From-SVN: r38311
2000-12-16 19:02:54 +00:00
Tom Tromey
3cd4948faf
* libjava.lang/instinit.out: Removed erroneous line.
...
From-SVN: r38299
2000-12-16 06:45:22 +00:00
Tom Tromey
fabd67f907
* libjava.lang/Thread_1.out: Expect `0' active count.
...
From-SVN: r38298
2000-12-16 06:41:04 +00:00
Tom Tromey
3a9e1959df
stub.xfail: New file.
...
* libjava.lang/stub.xfail: New file.
* libjava.lang/pr83.xfail: New file.
* libjava.lang/err8.xfail: New file.
* libjava.lang/err7.xfail: New file.
* libjava.lang/Shazam.xfail: New file.
* libjava.lang/err11.xfail: New file.
* libjava.lang/instinit2.java: Renamed class to `instinit2'.
* libjava.lang/anon3.out: Fixed typo.
* libjava.lang/Class_1.java (main): Uncommented out previously
failing code; now it works
From-SVN: r38297
2000-12-16 05:59:45 +00:00
Tom Tromey
0254608834
libjava.compile test fixes.
...
* lib/libjava.exp (libjava_tcompile): New proc.
(test_libjava_from_source): Use it.
(test_libjava_from_javac): Likewise.
(find_javac): New proc.
(bytecompile_file): Use it.
(test_libjava_from_javac): Handle `xfail-gcjC' tag. If no-exec
set, then don't link even if program has a `main'.
* libjava.compile/static_3.xfail: New file.
* libjava.compile/weirddecl.xfail: New file.
* libjava.compile/static_2.xfail: New file.
* libjava.compile/not_a_redef.xfail: New file.
* libjava.compile/inner_1.xfail: New file.
* libjava.compile/assignment_2.xfail: New file.
* libjava.compile/assignment.xfail: New file.
* libjava.compile/abstr.xfail: New file.
* libjava.compile/PR375.xfail: New file.
* libjava.compile/PR374.java: New file.
* libjava.compile/PR238.xfail: New file.
* libjava.compile/PR208.xfail: New file.
* libjava.compile/PR207.xfail: New file.
From-SVN: r38296
2000-12-16 02:06:29 +00:00
Tom Tromey
a717799c52
more work
...
From-SVN: r37926
2000-12-01 21:58:34 +00:00
Tom Tromey
187d3a0d37
* libjava.compile/weirddecl.java: New file.
...
From-SVN: r37767
2000-11-26 23:24:21 +00:00
Anthony Green
00e930367b
libjava.exp (bytecompile_file): Change default from javac to gcj -C.
...
Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com>
* lib/libjava.exp (bytecompile_file): Change default from javac to
gcj -C.
(libjava_arguments): Fix classpath.
* libjava.compile/PR129_B.no-link: New file.
From-SVN: r37719
2000-11-24 21:38:16 +00:00
Tom Tromey
81d87b4e64
* libjava.compile/PR375.java: New file. For PR gcj/375.
...
From-SVN: r37717
2000-11-24 20:54:56 +00:00
Tom Tromey
b5a50b6457
* libjava.compile/PR374.java: New file. For PR gcj/374.
...
From-SVN: r37716
2000-11-24 20:54:44 +00:00
Tom Tromey
c7e05afb62
sjis_comment3.java: Removed.
...
* libjava.compile/sjis_comment3.java: Removed.
* libjava.compile/sjis_comment2.java: Removed.
* libjava.compile/sjis_comment1.java: Removed.
* libjava.compile/euc_comment3.java: Removed.
* libjava.compile/euc_comment2.java: Removed.
* libjava.compile/euc_comment1.java: Removed.
From-SVN: r37298
2000-11-07 20:48:55 +00:00
Tom Tromey
f83c165658
libjava.exp (libjava_arguments): Set --tag on libtool invocation.
...
* lib/libjava.exp (libjava_arguments): Set --tag on libtool
invocation.
From-SVN: r37268
2000-11-06 00:22:01 +00:00
Anthony Green
f2c436967f
New test code
...
From-SVN: r36796
2000-10-09 02:20:28 +00:00
Tom Tromey
37dad58d3c
Rebuilt Makefile.ins
...
From-SVN: r36741
2000-10-06 01:57:45 +00:00
Tom Tromey
b7fc330e44
abstr.xfail: New file.
...
* libjava.compile/abstr.xfail: New file.
* libjava.compile/abstr.java: New file.
From-SVN: r36087
2000-09-01 00:13:31 +00:00
Tom Tromey
cdd3612a55
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Added -fdollars-in-identifiers.
From-SVN: r36069
2000-08-30 20:43:48 +00:00