Commit Graph

253 Commits

Author SHA1 Message Date
Mark Wielaard 08fcde7c43 libjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings.
* lib/libjava.exp (libjava_prune_warnings): Remove all unreachable
       bytecode warnings.

From-SVN: r62190
2003-01-31 18:09:04 +00:00
Tom Tromey f3ded1c171 TestEarlyGC.java: Added comment explaining bytecode.
* libjava.loader/TestEarlyGC.java: Added comment explaining
	bytecode.

From-SVN: r62047
2003-01-28 23:21:13 +00:00
Tom Tromey 1234e7383d * libjava.jacks/jacks.xfail: More lexer tests now pass.
From-SVN: r61995
2003-01-28 18:48:32 +00:00
Tom Tromey d52c5b0a9c consthrow.java: New file.
* libjava.compile/consthrow.java: New file.
	* libjava.compile/consthrow.xfail: New file.

From-SVN: r61959
2003-01-28 06:19:48 +00:00
Kaveh R. Ghazi 4f8d9f2be6 * libjava.lang/pr8823.xfail: New file, add "xfail-byte".
From-SVN: r61917
2003-01-28 01:34:49 +00:00
Ranjit Mathew 38997f1bf5 calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes.
2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>

	* libjava.jni/calls.c (Java_calls_docall): Define with
	JNIEXPORT and JNICALL method attributes.
	* libjava.jni/field.c (Java_field_fetch): Likewise.
	* libjava.jni/final_method.c (Java_final_1method_meth): Likewise.
	* libjava.jni/findclass.c (Java_findclass_doit): Likewise.
	* libjava.jni/invoke.c (Java_invoke_val): Likewise.
	* libjava.jni/martin.c (Java_martin_myNative): Likewise.
	* libjava.jni/noclass.c (Java_noclass_find_1it): Likewise.
	* libjava.jni/overload.c (Java_overload_over__I): Likewise.
	(Java_overload_over__II): Likewise.
	* libjava.jni/register.c (JNI_OnLoad): Likewise.
	* libjava.jni/simple_int.c (Java_simple_1int_nat): Likewise.
	* libjava.jni/throwit.c (Java_throwit_throwit): Likewise.
	* libjava.jni/virtual.c (Java_virtual_equals): Likewise.

From-SVN: r61720
2003-01-24 17:39:49 +00:00
Tom Tromey 32ca7e0a42 jacks.xfail: All 8.4.3 tests and 9.4-modifier-10 now pass.
* libjava.jacks/jacks.xfail: All 8.4.3 tests and 9.4-modifier-10
	now pass.

From-SVN: r61557
2003-01-21 18:50:28 +00:00
Tom Tromey 6b8c548930 re PR libgcj/9139 (mauve tests require installation)
Fix for PR libgcj/9139:
	* lib/libjava.exp (find_javac): Put value of libgcj_jar into
	return value when gcj is used.
	* libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global.

From-SVN: r61237
2003-01-13 00:22:20 +00:00
Tom Tromey 1778c8ff34 * libjava.compile/pr8712.java: New file, for PR java/8712.
From-SVN: r60856
2003-01-03 23:07:23 +00:00
Tom Tromey 3c32ae1c35 * libjava.compile/pr8955.java: New test, for PR java/8955.
From-SVN: r60764
2003-01-02 00:05:14 +00:00
Tom Tromey a1aba4f9a5 natClassLoader.cc (defineClass0): Removed erroneous comment.
* java/lang/natClassLoader.cc (defineClass0): Removed erroneous
	comment.
	* java/lang/ClassLoader.java (defineClass): Use chained
	exception when rethrowing.
	* defineclass.cc (handleClassBegin): Mark class as interpreted.
	* java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
	constants.
	* resolve.cc (_Jv_PrepareMissingMethods): New function.
	(_Jv_PrepareClass): Use it.
	* include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
	(_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
	* java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
	(Class): _Jv_PrepareMissingMethods now friend.
	* java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
	Record `NULL' for system class loader.
	(_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
	system class loader.
	(_Jv_FindClassInCache): Likewise.
	(_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
	(_Jv_FindClass): Special case system class loader.
	* java/lang/natClass.cc (_Jv_abstractMethodError): New function.
	(_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
	vtable slots.
	(_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
	in a final class.
	(_getDeclaredMethod): Don't return synthetic methods.
	(getDeclaredMethods): Likewise.
	(_getMethod): Likewise.
	(_getMethods): Likewise.

From-SVN: r60319
2002-12-19 19:31:55 +00:00
Tom Tromey 453eac4a7d pr8945.java: New file.
* libjava.lang/pr8945.java: New file.
	* libjava.lang/pr8945.out: New file.

From-SVN: r60286
2002-12-19 06:40:03 +00:00
Tom Tromey 19eaa5a38b loader.exp (gcj_loader_test_one): Use libjava_prune_warnings.
* libjava.loader/loader.exp (gcj_loader_test_one): Use
	libjava_prune_warnings.
	(gcj_loader_run): Likewise.
	* libjava.mauve/mauve.exp (test_mauve): Use
	libjava_prune_warnings.
	(test_mauve_sim): Likewise.
	* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
	libjava_prune_warnings.
	(gcj_jni_build_header): Likewise.
	* lib/libjava.exp (libjava_prune_warnings): New proc.
	(gcj_link): Use it.
	(test_libjava_from_source): Likewise.
	(test_libjava_from_javac): Likewise.

From-SVN: r60089
2002-12-13 05:00:15 +00:00
Tom Tromey 1d9033cb3f Test for PR libgcj/8823:
* libjava.lang/pr8823.java: New file.
	* libjava.lang/pr8823.out: New file.

From-SVN: r59953
2002-12-09 01:20:38 +00:00
Tom Tromey 0c4077f9c7 override.java: New file.
* libjava.lang/override.java: New file.
	* libjava.lang/override.out: New file.

From-SVN: r59848
2002-12-05 08:06:10 +00:00
Tom Tromey ab8227fa45 jacks.exp (gcj_jacks_setup_xfail): New function.
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function.
	(gcj_jacks_parse): Use it; set up xfails.
	* libjava.jacks/jacks.xfail: New file.

From-SVN: r59702
2002-12-01 23:50:03 +00:00
Mark Wielaard 5bb7e2ac1c * libjava.mauve/xfails: Remove Inspector FAILs that now PASS.
From-SVN: r59680
2002-12-01 15:50:33 +00:00
Tom Tromey fc589541ad For PR java/8676:
* libjava.lang/pr8676.java: New file.
	* libjava.lang/pr8676.out: New file.

From-SVN: r59379
2002-11-22 16:54:22 +00:00
Ulrich Weigand 5f2925a72d loader.exp (gcj_loader_test_one): Fix typo in 'type' argument to libjava_tcompile.
* libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in
	'type' argument to libjava_tcompile.
	(gcj_loader_run): Use libjava_tcompile instead of running
	GCJ_UNDER_TEST directly.

From-SVN: r59351
2002-11-21 18:14:47 +00:00
Tom Tromey f263ebdd7f * libjava.jacks/jacks.exp: New file.
From-SVN: r58850
2002-11-06 01:02:19 +00:00
Tom Tromey 5dbc91f572 * libjava.compile/pr7912.java: New file.
From-SVN: r58806
2002-11-05 04:07:39 +00:00
Andrew Haley deb778c249 utilTest.java: New.
2002-11-04  Andrew Haley  <aph@redhat.com>

        * libjava.lang/utilTest.java: New.
        * libjava.lang/utilTest.out: New.

From-SVN: r58795
2002-11-04 17:34:09 +00:00
Anthony Green f1c129e309 More test code.
From-SVN: r58793
2002-11-04 14:00:15 +00:00
Anthony Green 917c4de19a Add missing file.
From-SVN: r58784
2002-11-04 04:19:47 +00:00
Anthony Green a63340661e New test code
From-SVN: r58783
2002-11-04 04:17:59 +00:00
Anthony Green 55376e4128 New files.
From-SVN: r58778
2002-11-04 01:31:12 +00:00
Tom Tromey 863d115f33 initexc.java (fail): Static initializers must be able to complete normally.
* libjava.lang/initexc.java (fail): Static initializers must be
	able to complete normally.  From Eric Blake.

From-SVN: r58765
2002-11-03 01:30:28 +00:00
Tom Tromey 2640ad1110 initexc.java: New file.
* libjava.lang/initexc.java: New file.
	* libjava.lang/initexc.out: New file.

From-SVN: r58761
2002-11-02 23:36:47 +00:00
Tom Tromey a70b59e1db For PR java/8415:
* libjava.lang/pr8415.java: New file.
	* libjava.lang/pr8415.out: New file.

From-SVN: r58732
2002-11-02 00:19:52 +00:00
Tom Tromey 0e75523eb4 mauve.exp (find_mauve_sources): New proc.
* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
	(test_mauve): Use it.
	(test_mauve_sim): Likewise.

From-SVN: r58725
2002-11-01 19:32:21 +00:00
Tom Tromey f7d11ebda1 Primes.java: Removed.
* libjava.lang/Primes.java: Removed.
	* libjava.lang/Primes.out: Removed.

From-SVN: r58498
2002-10-24 17:45:23 +00:00
Tom Tromey 6ddbb7ebba For PR java/6388:
* libjava.lang/pr6388.java: New file.
	* libjava.lang/pr6388.out: New file.

From-SVN: r58475
2002-10-23 22:56:13 +00:00
Andrew Haley f95eae39f8 EvaluationOrder.java (EvaluationOrder): New.
2002-10-15  Andrew Haley  <aph@redhat.com>

        * libjava.lang/EvaluationOrder.java (EvaluationOrder): New.
        * libjava.lang/EvaluationOrder.out (EvaluationOrder): New.

From-SVN: r58176
2002-10-15 18:43:11 +00:00
Andrew Haley 006941eb2f StaticConstructor.java: New.
2002-10-14  Andrew Haley  <aph@redhat.com>

        * libjava.lang/StaticConstructor.java: New.
        * libjava.lang/StaticConstructor.out: New.

From-SVN: r58131
2002-10-14 19:02:56 +00:00
Mark Wielaard 07fe984bc0 * libjava.mauve/xfails: Remove tests that now XPASS.
From-SVN: r58099
2002-10-13 11:07:24 +00:00
Andrew Haley cd8dbeeff3 Array_3.java (baz): New.
2002-10-03  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Array_3.java (baz): New.
	(main): Call baz.

From-SVN: r57774
2002-10-03 13:12:01 +00:00
Anthony Green d3cc3f10da Add Proxy support.
From-SVN: r57635
2002-09-30 05:19:09 +00:00
Tom Tromey 8632ed40b6 * libjava.compile/narrow_case.java: New file.
From-SVN: r56604
2002-08-27 16:07:02 +00:00
Adam Megacz e006911274 libjava.exp: don't apply -no-install when platform is mingw.
2002-08-25  Adam Megacz <adam@xwt.org>

    * lib/libjava.exp: don't apply -no-install when platform is mingw.

From-SVN: r56573
2002-08-26 05:26:32 +00:00
H.J. Lu 400639e641 libjava.exp (gcc_version): Removed.
2002-08-16  H.J. Lu <hjl@gnu.org>

	* lib/libjava.exp (gcc_version): Removed.
	(libgcj_jar): New.
	(libjava_init): Set libgcj_jar with tcl glob.
	(libjava_arguments): Use libgcj_jar.

From-SVN: r56382
2002-08-16 11:19:00 -07:00
Tom Tromey 9cc37f69d2 * libjava.compile/zeroexp.java: New file.
From-SVN: r55663
2002-07-23 03:15:02 +00:00
Rainer Orth c1740ae3c1 compile.exp: Sort sources.
* libjava.compile/compile.exp: Sort sources.
	* libjava.jni/jni.exp (gcj_jni_run): Likewise.
	* libjava.lang/lang.exp: Likewise.

From-SVN: r55558
2002-07-18 17:42:31 +00:00
Andrew Haley 6ac0c1e36f inline.java: New file.
2002-07-02  Andrew Haley  <aph@redhat.com>

        * libjava.lang/inline.java: New file.
        * libjava.lang/inline.out: Likewise.

        * libjava.lang/Array_3.java: Add another case.

From-SVN: r55186
2002-07-02 17:21:10 +00:00
Tom Tromey 44d96e0c57 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (RUNTEST): Added AM_RUNTESTFLAGS.
	(AM_RUNTESTFLAGS): New variable.
	(RUNTESTFLAGS): Don't define.
	* lib/libjava.exp (libjava_invoke): New proc.
	(test_libjava_from_source): Use it.
	(test_libjava_from_javac): Likewise.
	(libjava_find_gij): New proc.

From-SVN: r54939
2002-06-24 04:44:53 +00:00
Tom Tromey a8fa30f301 re PR java/6865 (gcj: segmentation fault on incorrect input)
* lib/libjava.exp (test_libjava): Fixed typo.
	* libjava.compile/PR6865.xfail: New file.

From-SVN: r54594
2002-06-13 17:34:49 +00:00
Tom Tromey e9024f7f38 * libjava.compile/PR6865.java: New file. For PR java/6865.
From-SVN: r54505
2002-06-11 14:46:11 +00:00
Tom Tromey 1632a23685 * libjava.lang/PR6520.java: Fixed typo.
From-SVN: r54503
2002-06-11 14:38:44 +00:00
Tom Tromey d8f19ccfab * libjava.lang/PR6520.java: New file. For PR java/6520.
From-SVN: r54482
2002-06-11 03:50:30 +00:00
Tom Tromey d6ee617dd7 re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)
* libjava.compile/T20020604.java: New file.

	For PR libgcj/6389:
	* libjava.mauve/xfails: Now passes System.getProperty test.

	For PR java/1343 and PR java/6336:
	* libjava.compile/PR1343.java: New file.

	For PR java/5913:
	* libjava.compile/PR5913.xfail: Removed.

From-SVN: r54259
2002-06-04 19:39:02 +00:00
Bryce McKinlay 5549d65dfb * libjava.compile/T20020529.java: New file.
From-SVN: r54039
2002-05-30 03:53:13 +01:00