Commit Graph

442 Commits

Author SHA1 Message Date
Tom Tromey
1c41b3d6cf For PR libgcj/7482:
* libjava.lang/PR7482.java: New file.
	* libjava.lang/PR7482.out: New file.

From-SVN: r69750
2003-07-24 17:17:24 +00:00
Tom Tromey
3c87bc22a9 mauve.exp (mauve_find_harness_files): New proc.
* libjava.mauve/mauve.exp (mauve_find_harness_files): New proc.
	(test_mauve): Use it.
	(test_mauve_sim): Likewise.

From-SVN: r69620
2003-07-21 01:09:47 +00:00
Tom Tromey
01482e6ded verify.exp (gcj_verify_list_tests): Only change directory if new directory exists.
* libjava.verify/verify.exp (gcj_verify_list_tests): Only change
	directory if new directory exists.

From-SVN: r69590
2003-07-19 15:43:20 +00:00
Tom Tromey
ac65af9d6e * libjava.verify/verify.exp: Fixed variable init.
From-SVN: r69309
2003-07-13 23:33:02 +00:00
Tom Tromey
783b7a595b verify.exp: New file.
* libjava.verify/verify.exp: New file.
	* libjava.verify/README.verify: New file.

From-SVN: r69253
2003-07-11 22:23:13 +00:00
Jeff Sturm
cd61dacbc8 SyncTest.java (run): Cache .class value.
2003-07-09  Jeff Sturm  <jsturm@one-point.com>

	* libjava.lang/SyncTest.java (run): Cache .class value.

From-SVN: r69153
2003-07-09 21:07:42 +00:00
Thomas Fitzsimmons
29e531ff29 glib-2.0.m4: New file.
* glib-2.0.m4: New file.
	* gtk-2.0.m4: New file.
	* glib.m4: Remove.
	* gtk.m4: Remove.
	* configure.in: Update AM_PATH_GTK macro call to
	AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
	jni/gtk-peer/gthread-jni.c,
	jni/gtk-peer/gthread-jni.h:
	New versions from classpath.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* Makefile.in: Regenerate.
	* gcj/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r68746
2003-06-30 23:53:29 +00:00
Roger Sayle
5f158b4400 builtins.c (define_builtin_type, [...]): Delete.
* builtins.c (define_builtin_type, builtin_types): Delete.
	(define_builtin): Rewritten to take just the built-in code,
	the function's name, type and fallback library function name.
	All built-ins used by Java are implicit and BUILT_IN_NORMAL.
	(initialize_builtins): Overhaul to define the GCC builtins
	used by gcj manually, providing the Java run-time's
	implementations as the fallback library function.

	* libjava.lang/MathBuiltin.java: New test case.
	* libjava.lang/MathBuiltin.out: New file.

From-SVN: r67632
2003-06-08 18:17:53 +00:00
Mark Wielaard
f07188514e re PR libgcj/6181 (Mauve Introspector.jdk11: getBeanInfo fail for AWT classes)
* libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.

        PR libgcj/6181:
        * libjava.mauve/xfails: Remove getBeanInfo() failures.

        PR libgcj/6293:
        * libjava.mauve/xfails: Remove PipedStream.close() failure.

From-SVN: r67536
2003-06-06 10:03:30 +00:00
Roger Sayle
4fa26a6079 flags.h (flag_wrapv): New flag controlling overflow semantics.
* flags.h (flag_wrapv): New flag controlling overflow semantics.
	* toplev.c (flag_wrapv): Declare the variable with default false.
	(lang_independent_options): New option "-fwrapv" to set the above.

	* fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
	as x, when signed arithmetic overflow wraps around.
	(fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
	* loop.c (basic_induction_var): Ignore BIVs that rely on undefined
	overflow when flag_wrapv is true.

	* java/lang.c (java_init_options): Prescribe wrap-around two's
	complement arithmetic overflow by setting flag_wrapv.

	* doc/invoke.texi: Document new -fwrapv command line option.
	* doc/c-tree.texi: Mention that the overflow semantics of
	NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
	upon both flag_wrapv and flag_trapv.

	* gcc.dg/fwrapv-1.c: New test case.
	* gcc.dg/fwrapv-2.c: New test case.

	* libjava.lang/Overflow.java: New test.
	* libjava.lang/Overflow.out: New file.

From-SVN: r67270
2003-05-31 13:23:32 +00:00
Tom Tromey
ac7aae5e2b verify.java: New file.
* libjava.lang/verify.java: New file.
	* libjava.lang/verify.out: New file.

From-SVN: r66547
2003-05-07 01:23:16 +00:00
Tom Tromey
a6f1f688a6 re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)
PR java/10459:
	* libjava.compile/pr10459_2.java: New file.
	* libjava.compile/pr10459.java: New file.

From-SVN: r66410
2003-05-03 00:33:18 +00:00
Tom Tromey
c93139b826 re PR libgcj/10582 (array assignment fails in some situations)
PR libgcj/10582:
	* libjava.lang/assign.java: New file.
	* libjava.lang/assign.out: New file.

From-SVN: r66347
2003-05-01 21:31:58 +00:00
Mark Mitchell
f2d80e7e81 re PR middle-end/8866 (Bug in switch statement code generation -- missing label)
PR middle-end/8866
	* cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
	jumptables.

	PR middle-end/8866
	* libjava.lang/PR8866.java: New test.

From-SVN: r65698
2003-04-16 20:39:12 +00:00
Andrew Haley
5a30c9b7ab Throw_2.java (main): Make a successful test produce some output.
2003-04-16  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Throw_2.java (main): Make a successful test produce
	some output.

From-SVN: r65678
2003-04-16 11:43:04 +00:00
Andreas Tobler
fb80b07d22 jni.exp: Add compilation/link fix dor darwin dylibs.
2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>

        * libjava.jni/jni.exp: Add compilation/link fix dor darwin dylibs.

From-SVN: r64704
2003-03-22 11:45:04 +01:00
Tom Tromey
6932a1994e libjava.exp (gcj_invoke): Moved...
* lib/libjava.exp (gcj_invoke): Moved...
	* libjava.jni/jni.exp: ...from here.

	* libjava.cni/shortfield.out: New file.
	* libjava.cni/shortfield.java: New file.
	* libjava.cni/natshortfield.cc: New file.
	* libjava.cni/natlongfield.cc: New file.
	* libjava.cni/longfield.out: New file.
	* libjava.cni/longfield.java: New file.

	* libjava.cni/cni.exp: New file.

From-SVN: r64702
2003-03-22 07:14:53 +00:00
Tom Tromey
218d1401af initfield.java: New file.
* libjava.lang/initfield.java: New file.
	* libjava.lang/initfield.out: New file.

From-SVN: r64184
2003-03-11 20:36:34 +00:00
Tom Tromey
8f474219ec * libjava.jacks/jacks.xfail: Updated to reflect reality.
From-SVN: r64093
2003-03-10 16:39:15 +00:00
Mark Wielaard
80a8227826 * libjava.mauve/xfails: Remove all AcuniaPropertiesTest failures
From-SVN: r63702
2003-03-02 22:40:00 +00:00
Hans Boehm
a6fdf2d3bf natMethod.cc (_Jv_CallAnyMethodA): Allocate a full jvalue for each argument.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
        jvalue for each argument. Simplify.
	* testsuite/libjava.jni/calls.c (docall),
	testsuite/libjava.jni/calls.java (longpb_f): check for argument
	misalignment.

From-SVN: r63563
2003-02-28 17:26:29 +00:00
Tom Tromey
6eebde4b4d * libjava.jacks/jacks.xfail: Most 4.7.10 tests pass now.
From-SVN: r63351
2003-02-24 02:15:22 +00:00
Jeff Sturm
ba5d2d3dc1 CompareNaN.java: New test.
* libjava.lang/CompareNaN.java: New test.
* libjava.lang/CompareNaN.out: New test.

From-SVN: r63003
2003-02-17 16:07:49 +00:00
Mark Wielaard
99a7d107b6 + * libjava.mauve/xfails: Add Class.reflect2 and String.getBytes FAILs.
From-SVN: r62970
2003-02-16 14:47:03 +00:00
Mark Wielaard
6ff741aa6c libjava.exp (test_libjava_from_javac): Use regsub not string map.
* lib/libjava.exp (test_libjava_from_javac): Use regsub not string map.
       * libjava.mauve/mauve.exp (mauve_compute_uses): Likewise.
       (test_mauve): Likewise.

From-SVN: r62937
2003-02-15 16:39:28 +00:00
Mark Wielaard
394a76de73 libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with...
* lib/libjava.exp (test_libjava_from_javac): Don't create .o files
       containing $ characters and always quote class files with "'"s.

From-SVN: r62919
2003-02-14 22:17:00 +00:00
Mark Wielaard
e4402f97c1 mauve.exp (mauve_compute_uses): Add inner class object files by changing all occurances of $ to ^.
* libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class
       object files by changing all occurances of $ to ^.
       (test_mauve): Replace ^ with $ for class file names and quote
       them with "'"s.

From-SVN: r62914
2003-02-14 20:36:00 +00:00
Tom Tromey
06b5f09133 xfails: Added entries for an unimplemented Class method.
* libjava.mauve/xfails: Added entries for an unimplemented Class
	method.

From-SVN: r62843
2003-02-13 16:36:57 +00:00
Mark Wielaard
c58391af7b xfails: Add new entries for gnu.testlet.java.text.CollationElementIterator.jdk11
* libjava.mauve/xfails: Add new entries for
       gnu.testlet.java.text.CollationElementIterator.jdk11

From-SVN: r62525
2003-02-07 17:50:35 +00:00
Ulrich Weigand
954d4177cc jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s.
* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH
	to find libgcc_s.  Set JAVA_CLASSPATH to find libgcj.jar.

From-SVN: r62318
2003-02-03 16:20:30 +00:00
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
5aac1dac62 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration.
* java/awt/Window.java (Window(Window,GraphicsConfiguration)):
	Don't try to find graphics configuration.
	* java/awt/Toolkit.java (default_toolkit_name): Use new
	Configuration entry.
	* gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
	New global.
	* configure: Rebuilt.
	* configure.in (TOOLKIT): New subst.
	(--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
	Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
	directory.  Make output directories for .c files.
	* Makefile.in: Rebuilt.
	* Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
	(toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
	(all_java_source_files): Added new sources.
	($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
	(gtk_c_files): New macro.
	(gtk_c_source_files): New macro.
	(cond_gtk_ltlibrary): New macro.
	($(gtk_c_files)): New target.
	(lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
	(gtk_awt_peer_sources): New macro.
	(gtk_c_headers): New macro.
	($(gtk_c_headers)): New target.
	(ACLOCAL_AMFLAGS): New macro.
	* gtk.m4, glib.m4, libart.m4: New files.
	* gnu/java/awt/peer/gtk/GdkFontMetrics.java,
	gnu/java/awt/peer/gtk/GdkGraphics.java,
	gnu/java/awt/peer/gtk/GtkArg.java,
	gnu/java/awt/peer/gtk/GtkArgList.java,
	gnu/java/awt/peer/gtk/GtkButtonPeer.java,
	gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
	gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
	gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
	gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
	gnu/java/awt/peer/gtk/GtkChoicePeer.java,
	gnu/java/awt/peer/gtk/GtkClipboard.java,
	gnu/java/awt/peer/gtk/GtkComponentPeer.java,
	gnu/java/awt/peer/gtk/GtkContainerPeer.java,
	gnu/java/awt/peer/gtk/GtkDialogPeer.java,
	gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
	gnu/java/awt/peer/gtk/GtkFontPeer.java,
	gnu/java/awt/peer/gtk/GtkFramePeer.java,
	gnu/java/awt/peer/gtk/GtkGenericPeer.java,
	gnu/java/awt/peer/gtk/GtkImage.java,
	gnu/java/awt/peer/gtk/GtkImagePainter.java,
	gnu/java/awt/peer/gtk/GtkLabelPeer.java,
	gnu/java/awt/peer/gtk/GtkListPeer.java,
	gnu/java/awt/peer/gtk/GtkMainThread.java,
	gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
	gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
	gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
	gnu/java/awt/peer/gtk/GtkMenuPeer.java,
	gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
	gnu/java/awt/peer/gtk/GtkPanelPeer.java,
	gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
	gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
	gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
	gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
	gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
	gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
	gnu/java/awt/peer/gtk/GtkToolkit.java,
	gnu/java/awt/peer/gtk/GtkWindowPeer.java,
	gnu/java/awt/peer/gtk/TestAWT.java,
	gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
	jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
	jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
	jni/classpath/jnilink.c, jni/classpath/jnilink.h,
	jni/classpath/native_state.c, jni/classpath/native_state.h,
	jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.

From-SVN: r62187
2003-01-31 17:54:14 +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
ac45a06243 New tests.
From-SVN: r58782
2002-11-04 04:17:38 +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
20a5fa3d0c cvs commit fubar.
From-SVN: r58178
2002-10-15 19:25:13 +00:00
Andrew Haley
de78b090db Fix bad checkin.
From-SVN: r58177
2002-10-15 19:00:24 +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
Tom Tromey
d74732f5cd ObjectInputStream.java (resolveProxyClass): New method from Classpath.
* java/io/ObjectInputStream.java (resolveProxyClass): New method
	from Classpath.
	* Makefile.in: Rebuilt.
	* Makefile.am (rmi_java_source_files): Added new files.
	* gnu/java/rmi/RMIMarshalledObjectInputStream.java,
	gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
	gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
	Classpath.
	* gnu/java/rmi/dgc/DGCImpl.java,
	gnu/java/rmi/dgc/DGCImpl_Skel.java,
	gnu/java/rmi/dgc/DGCImpl_Stub.java,
	gnu/java/rmi/registry/RegistryImpl_Skel.java,
	gnu/java/rmi/registry/RegistryImpl_Stub.java,
	gnu/java/rmi/server/RMIHashes.java,
	gnu/java/rmi/server/RMIObjectInputStream.java,
	gnu/java/rmi/server/RMIObjectOutputStream.java,
	gnu/java/rmi/server/UnicastConnection.java,
	gnu/java/rmi/server/UnicastConnectionManager.java,
	gnu/java/rmi/server/UnicastRef.java,
	gnu/java/rmi/server/UnicastServer.java,
	gnu/java/rmi/server/UnicastServerRef.java,
	java/rmi/MarshalledObject.java,
	java/rmi/server/RMIClassLoader.java,
	java/rmi/server/RemoteObject.java,
	java/rmi/server/UnicastRemoteObject.java,
	java/security/SecureClassLoader.java: Merged from Classpath.

From-SVN: r57675
2002-10-01 03:46:43 +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
8217640552 javaprims.h: Updated class declaration list.
* gcj/javaprims.h: Updated class declaration list.
	* Makefile.in: Rebuilt.
	* Makefile.am (core_java_source_files): Added new file.
	* java/util/EventListenerProxy.java: New file.
	* java/util/EventListener.java: Re-merge with Classpath.
	* java/util/EventObject.java: Re-merge with Classpath.

From-SVN: r54720
2002-06-17 21:32:01 +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
Bryce McKinlay
1457a0b52a re PR java/6820 (miscompilation of (a,++a) as arguments to final method)
* libjava.lang/PR6820.java: New file.
	* libjava.lang/PR6820.out: New file.

From-SVN: r53908
2002-05-27 06:47:40 +01:00
Bryce McKinlay
30def3f537 re PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)
* libjava.lang/PR6729.java: New file.
	* libjava.lang/PR6729.out: New file.

From-SVN: r53759
2002-05-23 04:32:05 +01:00
Bryce McKinlay
851ac95734 Test case for PR 6729.
From-SVN: r53758
2002-05-23 04:30:13 +01:00
Jakub Jelinek
2937267b6a re PR target/6429 (libgcc_s problem on dual 32/64-bit arches)
PR target/6429
	* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
	* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
	shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
	base multilibs.
	* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
	* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
	* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
	* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
	* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.

	* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
	libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
	* lib/g++.exp (g++_link_flags): Likewise.
	* lib/objc.exp (objc_target_compile): Likewise.

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

	* testsuite/lib/libjava.exp (libjava_arguments): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

From-SVN: r53345
2002-05-09 23:01:55 +02:00
David Billinghurst
61b8fbecf7 libjava.exp (test_libjava_from_javac): Append .exe to executable names.
2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (test_libjava_from_javac):
	Append .exe to executable names.  Fix for cygwin.

From-SVN: r53291
2002-05-08 12:38:55 +00:00
David Billinghurst
736a57deec libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.
2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (libjava_arguments): Don't link
	with -no-install on *-*-cygwin*.

From-SVN: r53210
2002-05-06 11:37:34 +00:00
David Billinghurst
49f8e94b6b libjava.exp (test_libjava_from_source): Add comment explaining last patch.
2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (test_libjava_from_source):
	Add comment explaining last patch.

From-SVN: r53201
2002-05-05 23:19:06 +00:00
Mark Wielaard
de6ba6e546 For PR java/6519:
* libjava.lang/emptystring.java: New.
	* libjava.lang/emptystring.out: New.

From-SVN: r53157
2002-05-04 13:24:40 +00:00
David Billinghurst
1c177c1816 libjava.exp (test_libjava_from_source): Append .exe to executable names.
2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (test_libjava_from_source):
	Append .exe to executable names.  If no suffix is present,
	then ".exe" is added by default on win32.  Harmless
	elsewhere so always do it.

From-SVN: r53143
2002-05-04 03:38:14 +00:00
Rainer Orth
b651af860e libjava.exp (libjava_find_spec): New function.
* testsuite/lib/libjava.exp (libjava_find_spec): New function.
	(libjava_init): Use it to find libgcj.spec.
	(libjava_arguments): Likewise.

From-SVN: r53057
2002-05-02 19:12:37 +00:00
Mark Wielaard
da3c5444ca re PR java/6391 (Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code)
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy.

	* libjava.mauve/xfail: Expect failures for PR java/6391 and
	libgcj/6389.

From-SVN: r52577
2002-04-21 12:35:04 +00:00
Mark Wielaard
03408d2b80 negzero.java: New.
* libjava.lang/negzero.java: New.
	* libjava.lang/negzero.out: New.

From-SVN: r52429
2002-04-17 16:39:47 +00:00
Tom Tromey
ab8471334e re PR libgcj/6081 (libjava make install fails: Arg list too long)
Fix for PR libgcj/6081:
	* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Use GNU make trick to avoid
	shell limit.

From-SVN: r52370
2002-04-16 15:52:26 +00:00
Mark Wielaard
f20c0d98a7 re PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked transfer encoding))
* libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
        libgcj/6298.

From-SVN: r52305
2002-04-14 22:37:56 +00:00
Mark Wielaard
5a230810c7 re PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))
* libjava.mauve/xfails: Expect failures for PR libgcj/6293,
	libgcj/6295, libgcj/6296 and libgcj/6297.

From-SVN: r52297
2002-04-14 15:03:31 +00:00
Anthony Green
395cb21141 Install libgcj.jar as libgcj-VERSION.jar.
From-SVN: r52226
2002-04-12 14:28:10 +00:00
Loren J. Rittle
4b4248b674 SyncGlobal.java, [...]: New test case.
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
	New test case.

From-SVN: r52207
2002-04-12 08:33:13 +00:00
Bryce McKinlay
973348ec02 re PR java/6204 (gcj generates invalid byte code)
* libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case.
	* libjava.lang/PR6085.java, libjava.lang/PR6085.out: Likewise.

From-SVN: r52056
2002-04-09 06:25:11 +01:00
Mark Wielaard
298f6e4bdc xfails: Add CASE_INSENSITIVE_ORDER...
* libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result was
    unspecified and test should be updated to match latest spec.
    Add AcuniaPropertiesTest, known bug #6219. Add test_getClassLoader,
    what we do seems to be not really right or wrong.

From-SVN: r52006
2002-04-07 22:33:09 +00:00
Mark Wielaard
1abbe5b516 mauve.exp: Use libgcj.jar not libgcj.zip.
* libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip.
	* libjava.mauve/xfails: add Character.classify12 (number 1),
	Character.getType (number 11), Character.getType (number 20) and
	Character.getType (number 22). We implement 1.4 Character.

From-SVN: r51987
2002-04-07 09:21:27 +00:00
Mark Wielaard
f74761cd7e mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test.
* mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
        test.
        * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
        FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
        that depend on awt code and BufferedByteOutputStream.interrupt.

From-SVN: r51893
2002-04-05 00:47:34 +00:00
Andrew Haley
4d00945e45 Throw_2.java: New.
2002-03-28  Andrew Haley  <aph@redhat.com>

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

From-SVN: r51515
2002-03-28 16:24:21 +00:00
Anthony Green
5cb27a4697 libgcj.spec.in: Add CHECKREFSPEC.
2002-03-27  Anthony Green  <green@redhat.com>

	* libgcj.spec.in: Add CHECKREFSPEC.
	* configure.in: Ditto.
	* configure.host: Ditto.  Check references for xscale-elf.
	* configure: Rebuilt.

From-SVN: r51457
2002-03-27 16:41:44 +00:00
Anthony Green
f5cfade6fa InvokeReturn.java: Modify test for targets which do not yet support reflection.
2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.lang/InvokeReturn.java: Modify test for targets
	which do not yet support reflection.

From-SVN: r51455
2002-03-27 16:31:18 +00:00
Anthony Green
fe4dabf80c jni.exp (gcj_jni_run): Fix cross build test.
2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.

From-SVN: r51453
2002-03-27 16:29:04 +00:00
Anthony Green
30cc872274 libjava.exp: Add the wrapper link options only when we're linking.
2002-03-27  Anthony Green  <green@redhat.com>

	* lib/libjava.exp: Add the wrapper link options only when we're
	linking.

From-SVN: r51451
2002-03-27 16:27:06 +00:00
Tom Tromey
1f3f6dadcb mauve.exp (test_mauve): Use correct stderr redirection code.
* libjava.mauve/mauve.exp (test_mauve): Use correct stderr
	redirection code.

From-SVN: r51405
2002-03-26 20:51:19 +00:00
Tom Tromey
5c00920976 Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
* Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
	(jv_convert_LDFLAGS): Likewise.
	(gij_LDFLAGS): Likewise.
	(rmic_LDFLAGS): Likewise.
	(rmiregistry_LDFLAGS): Likewise.
	* configure.in (THREADLDFLAGS): New subst; set correctly for
	*BSD.

From-SVN: r51363
2002-03-26 00:54:41 +00:00
Tom Tromey
c677cd7f47 reverted erroneous checkin
From-SVN: r51235
2002-03-23 16:16:46 +00:00
Tom Tromey
f5c5a4e915 name-finder.h (_Jv_name_finder::myclose): New method.
* include/name-finder.h (_Jv_name_finder::myclose): New method.
	* name-finder.cc (_Jv_name_finder): Initialize file descriptors.

From-SVN: r51234
2002-03-23 16:14:28 +00:00
Eric Blake
4e9a8e8d6d For PR java/6026:
2002-03-22  Eric Blake  <ebb9@email.byu.edu>

	For PR java/6026:
	* libjava.compile/PR6026.java: New file.

From-SVN: r51209
2002-03-23 00:05:44 +00:00
Andrew Haley
f42f14a9ca Thread_Interrupt.java (Looper.calibrate): New.
2002-03-21  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Thread_Interrupt.java (Looper.calibrate): New.
	(yields): New.

From-SVN: r51169
2002-03-22 11:18:03 +00:00
Tom Tromey
6a4ed6c8a9 jni.exp (gcj_jni_test_one): Find libstdc++ in build tree.
* libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build
	tree.
	(gcj_invoke): Added ld_library_additions argument.

From-SVN: r51006
2002-03-18 21:39:09 +00:00
Tom Tromey
6e1a435df0 re PR other/5874 (gcc-3.1 20020304 (prerelease) FAILs in libjava testsuite with RUNTESTFLAGS="--target_board 'unix{-fPIC,-fpic,}'")
* libjava.jni/jni.exp (gcj_jni_build_header): Use local_exec, not
	target_compile.  Fixes PR other/5874.

From-SVN: r50923
2002-03-17 20:34:36 +00:00
Eric Blake
08bcc159d9 For PR java/5902:
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

	For PR java/5902:
	* libjava.compile/PR5902.java: Does not need to execute.
	For PR java/5913:
	* libjava.compile/PR5913.java: Ditto.

From-SVN: r50829
2002-03-15 19:17:39 +00:00
Anthony Green
e2ea015c1c Install libgcj-config.h in a better place.
From-SVN: r50817
2002-03-15 18:03:49 +00:00
Tom Tromey
5a471df6f9 Test for PR java/5848:
* libjava.compile/PR5848.xfail: New file.
	* libjava.compile/PR5848.java: New file.

From-SVN: r50674
2002-03-12 19:51:44 +00:00
Eric Blake
36e5138325 re PR java/5913 (Core dump for String constant instanceof)
2002-03-12  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5913.java: Expand test.

From-SVN: r50638
2002-03-12 07:40:46 +00:00
Eric Blake
76a43492ea re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5902.java: New file.
	* libjava.compile/PR5913.java: New file.
	* libjava.compile/PR5913.xfail: New file.

From-SVN: r50637
2002-03-12 07:23:25 +00:00
Tom Tromey
fc04b455f9 natSystem.cc (init_properties): Use __VERSION__.
* java/lang/natSystem.cc (init_properties): Use __VERSION__.
	* gij.cc (version): Use __VERSION__.
	* include/config.h.in: Rebuilt.
	* acconfig.h (GCJVERSION): Removed.
	* configure: Rebuilt.
	* configure.in (GCJVERSION): Removed.

From-SVN: r50088
2002-02-27 05:32:29 +00:00
Jeff Sturm
0d06a7332d InvokeReturn.java: New file.
* libjava.lang/InvokeReturn.java: New file.
	* libjava.lang/InvokeReturn.out: New file.

From-SVN: r50001
2002-02-24 06:45:19 +00:00
Alexandre Oliva
d6e671fadf Makefile.in, [...]: Rebuilt.
* Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
* testsuite/Makefile.in: Likewise.

From-SVN: r49985
2002-02-23 03:15:37 +00:00
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