Commit Graph

331 Commits

Author SHA1 Message Date
Alexandre Oliva
5f67f48f90 libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible.
1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that
	defaults to javac, as Sun-javac compiler or compatible.
	(libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST
	nor TOOL_EXECUTABLE are set.  Set `original_ld_library_path' from
	environment.
	(libjava_arguments): Prepend `.' and `$srcdir/$subdir' to
	CLASSPATH, for `support' sources.  Search for libgcj.spec in
	`$objdir/..', by adding -B to GCJ_UNDER_TEST.  Append
	original_ld_library_path to ld_library_path.
	* libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from
	GCJ_UNDER_TEST, calculated just like in libjava.exp.

From-SVN: r28364
1999-07-31 23:52:52 +00:00
Tom Tromey
51e0d189ed G19990217_02.no-link: New file.
* libjava.compile/G19990217_02.no-link: New file.
	* libjava.compile/test.exp: Look for `.no-link' file.
	* lib/libjava.exp (test_libjava_from_source): Added `no-link'
	option.
	(test_libjava_from_javac): Likewise.  Also, handle package
	information from class name when creating class file name.

From-SVN: r28113
1999-07-15 09:15:26 +00:00
Tom Tromey
f160279bf8 test.exp: New file.
* libjava.lang/test.exp: New file.
	* libjava.lang/err9.out: New file.
	* libjava.lang/err9.java: New file.
	* libjava.lang/err8.out: New file.
	* libjava.lang/err8.java: New file.
	* libjava.lang/err7.out: New file.
	* libjava.lang/err7.java: New file.
	* libjava.lang/err6.out: New file.
	* libjava.lang/err6.java: New file.
	* libjava.lang/err5.out: New file.
	* libjava.lang/err5.java: New file.
	* libjava.lang/err4.out: New file.
	* libjava.lang/err4.java: New file.
	* libjava.lang/err3.out: New file.
	* libjava.lang/err3.java: New file.
	* libjava.lang/err2.out: New file.
	* libjava.lang/err2.java: New file.
	* libjava.lang/err13.out: New file.
	* libjava.lang/err13.java: New file.
	* libjava.lang/err12.out: New file.
	* libjava.lang/err12.java: New file.
	* libjava.lang/err11.out: New file.
	* libjava.lang/err11.java: New file.
	* libjava.lang/err10.out: New file.
	* libjava.lang/err10.java: New file.
	* libjava.lang/err1.out: New file.
	* libjava.lang/err1.java: New file.
	* libjava.lang/N19990310_5.out: New file.
	* libjava.lang/N19990310_5.java: New file.
	* libjava.lang/N19990310_4.out: New file.
	* libjava.lang/N19990310_4.java: New file.
	* libjava.lang/N19990310_3.out: New file.
	* libjava.lang/N19990310_3.java: New file.
	* libjava.lang/N19990310_02.out: New file.
	* libjava.lang/N19990310_02.java: New file.
	* libjava.lang/G19990303_02.out: New file.
	* libjava.lang/G19990303_02.java: New file.
	* libjava.lang/G19990303_01.out: New file.
	* libjava.lang/G19990303_01.java: New file.
	* libjava.lang/G19990302_02.out: New file.
	* libjava.lang/G19990302_02.java: New file.
	* libjava.lang/G19990301_01.out: New file.
	* libjava.lang/G19990301_01.java: New file.
	* libjava.compile/N19990317.java: New file.
	* libjava.compile/N19990310_01.java: New file.
	* libjava.compile/G19990225_01.java: New file.
	* libjava.compile/G19990217_02.java: New file.
	* libjava.compile/G19990217_01.java: New file.
	* libjava.compile/G19990210_3.java: New file.
	* libjava.compile/G19990210_2.java: New file.
	* libjava.compile/G19990210_1.java: New file.

From-SVN: r28087
1999-07-13 16:20:44 +00:00
Tom Tromey
dbdab5fa6c * libjava.lang/Final.xfail: Output fails, not exec.
From-SVN: r27965
1999-07-06 16:18:41 +00:00
Tom Tromey
f3d4f6f9a8 Final.xfail: New file.
* libjava.lang/Final.xfail: New file.
	* libjava.compile/Case.xfail: New file.
	* libjava.compile/Where.xfail: New file.
	* libjava.compile/test.exp: Look for `.xfail' files.
	* libjava.lang/test.exp: Don't look for `.arg' files.
	Do look for `.xfail' files.
	* lib/libjava.exp (test_libjava_from_source): Changed meaning of
	`exec_args' argument.  Handle `xfail-*' arguments.
	(test_libjava_from_javac): Likewise.
	(test_libjava): Likewise.
	(libjava_read_xfail): New proc.

From-SVN: r27957
1999-07-06 15:38:09 +00:00
Bryce McKinlay
58aa6bf059 Final.java: Added.
1999-07-05  Bryce McKinlay  <bryce@albatross.co.nz>
        * libjava.lang/Final.java: Added.
        * libjava.lang/Final.out: Added.

From-SVN: r27949
1999-07-05 20:54:41 +01:00
Tom Tromey
5193d0bfa5 Finalize_1.out: Removed.
* libjava.lang/Finalize_1.out: Removed.
	* libjava.lang/Finalize_1.java: Removed.

From-SVN: r27927
1999-07-02 15:55:46 +00:00
Tom Tromey
69aa60908b Thread_1.out: Updated.
* libjava.lang/Thread_1.out: Updated.
	* libjava.lang/Thread_1.java: Don't run exit test.

From-SVN: r27925
1999-07-02 15:44:11 +00:00
Anthony Green
c05fb06e32 mauve.exp: Don't stop counting test results prematurely.
* libjava.mauve/mauve.exp: Don't stop counting test results
        prematurely.

From-SVN: r27890
1999-07-01 16:32:32 +00:00
Anthony Green
4cf6f930ea Missed changelog entry
From-SVN: r27883
1999-07-01 15:36:58 +00:00
Anthony Green
10d86ac32b mauve.exp: Don't stop counting test results just because the harness returns non 0 value.
* libjava.mauve/mauve.exp: Don't stop counting test results just
        because the harness returns non 0 value.

From-SVN: r27882
1999-07-01 15:33:17 +00:00
Tom Tromey
7dda3e3a78 libjava.exp (test_libjava_from_javac): Fixed typo.
* lib/libjava.exp (test_libjava_from_javac): Fixed typo.  Always
	make class_files a list.

From-SVN: r27772
1999-06-25 13:59:09 +00:00
Tom Tromey
527c99b3ec libjava.exp (test_libjava_from_javac): Prepend `$objdir/' to class file names.
* lib/libjava.exp (test_libjava_from_javac): Prepend `$objdir/' to
	class file names.

From-SVN: r27771
1999-06-25 13:55:59 +00:00
Tom Tromey
fe574d5d92 libjava.exp (libjava_arguments): If `libtool' not found in build tree, just use $GCJ_UNDER_TEST as compiler.
* lib/libjava.exp (libjava_arguments): If `libtool' not found in
	build tree, just use $GCJ_UNDER_TEST as compiler.

From-SVN: r27728
1999-06-24 19:06:28 +00:00
Tom Tromey
09dd71fc3e * lib/libjava.exp (libjava_arguments): Handle -lzgcj.
From-SVN: r27721
1999-06-23 15:14:36 +00:00
Tom Tromey
41e0e0cdbb Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (INCLUDES): Added $(ZINCS).
	* configure: Rebuilt.
	* configure.in (ZINCS): New subst.

From-SVN: r27083
1999-05-21 13:09:54 +00:00
Andrew Haley
554b61bb30 prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added.
1999-05-20  Andrew Haley  <aph@cygnus.com>
        * libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW
        added.
        * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro.
        (INIT_FPE): Exception string made more informative.
        * include/sparc-signal.h (INIT_FPE): Exception string made more
        informative.
        * testsuite/libjava.lang/Divide_1.java: New file.
        * testsuite/libjava.lang/Divide_1.out: New file.

From-SVN: r27056
1999-05-20 08:26:55 +00:00
Anthony Green
7ec6a04ef8 Shazam.java: New file.
* libjava.lang/Shazam.java: New file.
	libjava.lang/Shazam.out: New file.

From-SVN: r27022
1999-05-19 06:53:20 +00:00
Andrew Haley
3b551e09f1 Invoke_2.java: New file.
1999-05-12  Andrew Haley  <aph@cygnus.com>
        * libjava.lang/Invoke_2.java: New file.

From-SVN: r26900
1999-05-12 11:17:09 +00:00
Tom Tromey
f994389bf8 Makefile.in, configure: Rebuilt.
* Makefile.in, configure: Rebuilt.
	* Makefile.am (jv_convert_LDFLAGS): Removed -nodefaultlibs.
	(jv_convert_LDADD): Added ZLIBS.  Removed -lm, -lc, -lgcc.
	(jv_convert_DEPENDENCIES): Added ZDEPS.
	* configure.in (GCSPEC): Added `-L' to point to boehm-gc build
	directory.
	(THREADSPEC): Added `-L' to point to qthreads build directory.
	(ZLIBS): New subst.
	(ZDEPS): New subst.
	* configure, Makefile.in: Rebuilt.
	* Makefile.am (toolexeclib_DATA): New macro.
	* configure.in: Create libgcj.spec.  Look for -lsocket and -lnsl.
	Recognize --with-system-zlib.
	(GCSPEC): New subst.
	(THREADSPEC): New subst.
	(SYSTEMSPEC): New subst.
	(ZLIBSPEC): New subst.
	* libgcj.spec.in: New file.

From-SVN: r26885
1999-05-11 12:11:09 +00:00
Tom Tromey
01b02b11de acconfig.h (GCJVERSION): New undef.
* acconfig.h (GCJVERSION): New undef.
	* java/lang/natSystem.cc (init_properties): Define java.version,
	java.class.version, os.name, os.arch, os.version.
	Include <sys/utsname.h> if required.
	* configure: Rebuilt.
	* configure.in: Compute and define GCJVERSION.
	* java/lang/natSystem.cc (default_file_encoding): Now static.

From-SVN: r26830
1999-05-07 18:44:38 +00:00
Tom Tromey
8b91074ea7 libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
* lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
	(libjava_find_lib): Add `-L' option to find the actual library.

From-SVN: r26782
1999-05-05 11:56:28 +00:00
Tom Tromey
e04aa64ded mauve.exp (test_mauve): Pass `link' to libjava_arguments when linking.
* libjava.mauve/mauve.exp (test_mauve): Pass `link' to
	libjava_arguments when linking.
	(test_mauve_sim): Likewise.
	* lib/libjava.exp (libjava_arguments): Run `libtool' to link.
	Don't use `-static'.  Added `mode' argument.  Use -nodefaultlibs
	when linking.
	(test_libjava_from_source): Mention why target_compile failed.
	Pass `link' to libjava_arguments when linking.  Only do `xfails'
	for tests we would actually have run.
	(test_libjava_from_javac): Likewise.
	(libjava_find_lib): Return name of `.la' file.

From-SVN: r26748
1999-05-03 12:48:34 +00:00
Tom Tromey
844f90bc2c libjava.exp (libjava_find_lib): New proc.
* lib/libjava.exp (libjava_find_lib): New proc.
	(libjava_arguments): Use it.  Force static linking.

From-SVN: r26651
1999-04-26 14:28:20 +00:00
Warren Levy
12571b1f96 Makefile.am: Added URLDecoder and URLEncoder.
* Makefile.am: Added URLDecoder and URLEncoder.
	* Makefile.in: Rebuilt.
	* java/net/ServerSocket.java (setSocketFactory): Renamed from
	setSocketImplFactory to match spec.
	* java/net/Socket.java (getSoLinger): Changed return type to
	match spec.
	* java/net/URLDecoder.java: New file.
	* java/net/URLEncoder.java: New file.

From-SVN: r26605
1999-04-23 16:36:22 +00:00
Anthony Green
12d03f6671 * libjava.compile/OperatorBenchmark.java: New file.
From-SVN: r26583
1999-04-22 14:22:11 +00:00
Anthony Green
fac6189871 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (ordinary_java_source_files): Add new security files.
	* java/security/NoSuchAlgorithmException.java,
	java/security/MessageDigest.java: New files.
	* include/javaprims.h: Add security namespace.

From-SVN: r26536
1999-04-18 08:24:30 +00:00
Tom Tromey
69d5914bd0 natSystem.cc (SystemClass): New define.
* java/lang/natSystem.cc (SystemClass): New define.
	(init_properties): Synchronize.

From-SVN: r26372
1999-04-12 12:34:41 +00:00
Warren Levy
8956b6a172 * libjava.mauve/mauve.exp (KEYS): Default to libgcj.
From-SVN: r26311
1999-04-09 11:44:38 +00:00
Tom Tromey
a08c72fe45 plusplus.java: New file.
* libjava.compile/plusplus.java: New file.
	From MoT <Sebastien.Villemot@ens.fr>.

From-SVN: r26310
1999-04-09 10:45:10 +00:00
Tom Tromey
ee9dd3721b Initial revision
From-SVN: r26263
1999-04-07 14:42:40 +00:00