Scott Gilbertson
c79c6c5b9e
Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java.
...
2003-08-21 Scott Gilbertson <scottg@mantatest.com>
Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am (gtk_awt_peer_sources): Add
gnu/java/awt/peer/GLightweightPeer.java. Remove
gnu/java/awt/GLightweightPeer.java.
* gnu/java/awt/GLightweightPeer.java: Remove file.
* gnu/java/awt/peer/GLightweightPeer.java: New file.
* java/awt/Component.java (getToolkit): Add comment about
lightweight components.
* java/awt/Toolkit.java (createComponent): Return
gnu.java.awt.peer.GLightweightPeer.
Co-Authored-By: Thomas Fitzsimmons <fitzsim@redhat.com>
From-SVN: r70657
2003-08-21 18:39:56 +00:00
Jeff Sturm
ab3d4713ce
libjava.exp (libjava_arguments): Add $libjava to the list of libraries.
...
2003-08-19 Jeff Sturm <jsturm@one-point.com>
* lib/libjava.exp (libjava_arguments): Add $libjava to the list of
libraries.
From-SVN: r70572
2003-08-19 19:44:44 +00:00
Tom Tromey
cd06983639
re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ffi_result before ffi_call)
...
PR libgcj/11951:
* libjava.jni/pr11951.c: New file.
* libjava.jni/pr11951.out: New file.
* libjava.jni/pr11951.java: New file.
From-SVN: r70543
2003-08-18 14:35:34 +00:00
Tom Tromey
b9172475ad
re PR java/5641 (Verifier ICE on reference to inherited method)
...
* libjava.jacks/jacks.xfail: Updated to account for new passes.
* libjava.compile/abstr.xfail: Now can compile from bytecode.
* libjava.compile/PR5641.xfail: Now can compile from bytecode.
From-SVN: r70387
2003-08-12 20:32:28 +00:00
Tom Tromey
358bfe3df3
mauve.exp (test_mauve_sim): Don't find DejaGNUTestHarness in gnu/testlet.
...
* libjava.mauve/mauve.exp (test_mauve_sim): Don't find
DejaGNUTestHarness in gnu/testlet.
(test_mauve): Use correct object extension.
From-SVN: r70381
2003-08-12 17:59:17 +00:00
Tom Tromey
a98c7b2c66
libjava.exp (libjava_find_lib): Search for .so file first.
...
* lib/libjava.exp (libjava_find_lib): Search for .so file first.
(libjava_arguments): Don't add libraries to link line explictly.
From-SVN: r70379
2003-08-12 16:01:16 +00:00
Tom Tromey
10063dff3b
For PR java/11600:
...
* libjava.compile/PR11600.xfail: New file.
* libjava.compile/PR11600.java: New file.
From-SVN: r70183
2003-08-05 19:43:20 +00:00
Tom Tromey
2901980332
jacks.exp (gcj_jacks_run): Just ignore errors from jacks.
...
* libjava.jacks/jacks.exp (gcj_jacks_run): Just ignore errors
from jacks.
From-SVN: r70157
2003-08-04 22:07:06 +00:00
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
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
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
Anthony Green
6aaeb97551
Makefile.in: Rebuilt.
...
2000-08-26 Anthony Green <green@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/ClassLoader.h): Make _Jv_RunMain a
friend.
* prims.cc: Include ClassLoader.h.
(_Jv_RunMain): When executing jar files, classpath must be the jar
file only. Lose our reference to the system ClassLoader in order
to get a new one with the correct classpath.
* java/lang/natSystem.cc (init_properties): When executing a jar
file, only use the jar file for java.class.path.
* gnu/gcj/runtime/VMClassLoader.java: Use the canonical file name
for bytecode archives.
* gnu/gcj/runtime/FirstThread.java: Handle case where manifest
exists, but not Main-Class.
From-SVN: r35999
2000-08-26 19:25:13 +00:00
Mark Wielaard
9adfd95980
Makefile.in: Rebuilt.
...
2000-08-21 Mark Wielaard <mark@klomp.org>
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/reflect/Constructor.h): Declare Class as
a `friend class'.
(java/lang/reflect/Field.h): Likewise.
(java/lang/reflect/Method.h): Likewise.
(gnu/gcj/runtime/VMClassLoader.h): Declare ClassLoader as a
`friend class'.
From-SVN: r35863
2000-08-22 04:46:51 +00:00
Anthony Green
a729a4e9ab
Attributes.java, [...]: Imported from Classpath.
...
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 18:19:42 +00:00
Tom Tromey
60798ef254
re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
...
From PR gcj/310:
* libjava.compile/PR310.java: New file.
* libjava.compile/PR310.xfail: New file.
From-SVN: r35596
2000-08-10 01:09:12 +00:00
Anthony Green
9145715ca3
Test case for gcj/295.
...
From-SVN: r35352
2000-07-30 21:50:24 +00:00
Andrew Haley
c2584d76af
static_init2.java: New file.
...
2000-07-11 Andrew Haley <aph@cygnus.com>
* libjava.compile/static_init2.java: New file.
From-SVN: r34962
2000-07-11 17:45:27 +00:00
Tom Tromey
261985c30c
stringconst2.out: New file.
...
* libjava.lang/stringconst2.out: New file.
* libjava.lang/stringconst2.java: New file.
From-SVN: r34909
2000-07-07 20:51:48 +00:00
Tom Tromey
90db9131f1
For PR gcj/260:
...
* libjava.lang/PR260.out: New file.
* libjava.lang/PR260.java: New file.
From-SVN: r34670
2000-06-23 21:53:52 +00:00
Warren Levy
99a7631a98
Fix a stupid typo.
...
From-SVN: r34536
2000-06-13 23:52:00 +00:00
Warren Levy
7254e4eab9
Test for PR java.lang/258:
...
* libjava.lang/Class_1.java: New file.
* libjava.lang/Class_1.out: New file.
From-SVN: r34532
2000-06-13 23:44:05 +00:00
Bryce McKinlay
f192590a79
re GNATS gcj/242 (Compiler generates call to wrong method from inner class)
...
2000-05-29 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.lang/PR242.java: New file. PR gcj/242.
From-SVN: r34245
2000-05-29 06:26:14 +01:00
Tom Tromey
a84b5d6436
* libjava.compile/PR238.java: New file. For PR gcj/238.
...
From-SVN: r34116
2000-05-23 22:38:07 +00:00
Tom Tromey
665bfbb0b4
stringconst.out: New file.
...
* libjava.lang/stringconst.out: New file.
* libjava.lang/stringconst.java: New file.
From-SVN: r34115
2000-05-23 21:45:16 +00:00
Bryce McKinlay
8f5c8c72db
re GNATS gcj/232 (segmentation violation at except.c:2180)
...
2000-05-22 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.compile/PR232B.java: Additional PR gcj/232 test.
From-SVN: r34092
2000-05-22 23:22:07 +01:00
Tom Tromey
1eccefcd18
* libjava.compile/PR235.java: New file. For PR gcj/235.
...
From-SVN: r34086
2000-05-22 19:34:21 +00:00
Tom Tromey
13ffcdbbf6
* libjava.compile/PR234.java: New file. For PR gcj/234.
...
From-SVN: r34072
2000-05-22 05:14:38 +00:00
Bryce McKinlay
f5f67fb58c
Test for PR gcj/232:
...
2000-05-22 Bryce McKinlay <bryce@albatross.co.nz>
Test for PR gcj/232:
* libjava.compile/PR232.java: New file.
From-SVN: r34070
2000-05-22 04:16:01 +01:00
Tom Tromey
6c80c45e30
Jumbo patch:
...
* Imported beans and serialization
* Updated IA-64 port
* Miscellaneous bug fixes
From-SVN: r34028
2000-05-19 17:55:34 +00:00
Tom Tromey
fcd4823055
* lib/libjava.exp (bytecompile_file): Use exec, not system.
...
From-SVN: r33989
2000-05-18 17:17:55 +00:00
Tom Tromey
9cb0bef59f
mauve.exp (test_mauve): Call `prune_warnings'.
...
* libjava.mauve/mauve.exp (test_mauve): Call `prune_warnings'.
(test_mauve_sim): Likewise.
(test_mauve): Redirect stderr in system call.
(test_mauve_sim): Likewise.
* lib/libjava.exp (test_libjava_from_source): Call
`prune_warnings'.
(test_libjava_from_javac): Likewise.
(bytecompile_file): Redirect stderr in system call.
* lib/libjava.exp (libjava_find_program): New proc.
(find_jvscan): Use it.
(find_gcjh): New proc.
* libjava.compile/compile.exp: Use "", not $options.
From-SVN: r33959
2000-05-17 15:48:44 +00:00
Tom Tromey
3faf9b6b1f
instance.out: New file.
...
* libjava.lang/instance.out: New file.
* libjava.lang/instance.java: New file.
From-SVN: r33941
2000-05-16 19:58:42 +00:00
Bryce McKinlay
8f0c0ebd0c
StringBuffer_1.java: New file.
...
2000-05-10 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.lang/StringBuffer_1.java: New file.
* libjava.lang/StringBuffer_1.out: New file.
From-SVN: r33818
2000-05-10 11:13:07 +01:00
Bryce McKinlay
84d7ae3293
Test for PR gcj/224:
...
2000-05-08 Bryce McKinlay <bryce@albatross.co.nz>
Test for PR gcj/224:
* libjava.compile/PR224.java: New file.
* libjava.compile/PR224.xfail: New file.
From-SVN: r33762
2000-05-08 07:37:54 +01:00
Bryce McKinlay
ceed610d1d
Test for PR gcj/218:
...
2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>
Test for PR gcj/218:
* libjava.lang/PR218.java: New file.
* libjava.lang/PR218.out: New file.
From-SVN: r33506
2000-04-28 08:42:27 +01:00
Alexandre Petit-Bianco
dc87bfdef1
MethodFailure4.java: New file.
...
2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava.compile/MethodFailure4.java: New file.
* libjava.compile/MethodFailure4.out: New file.
From-SVN: r33415
2000-04-25 15:04:48 +00:00
Alexandre Petit-Bianco
f0c0bdf5e0
block.java: New file.
...
* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.
From-SVN: r33298
2000-04-21 00:53:14 +00:00
Tom Tromey
dea4b2db61
throwit.out: Fixed output to be correct.
...
* libjava.jni/throwit.out: Fixed output to be correct.
* libjava.jni/noclass.java (main): `find_it' throws an exception.
From-SVN: r33291
2000-04-20 19:49:14 +00:00
Anthony Green
95fcd5331d
Test case for gcj/209
...
From-SVN: r33205
2000-04-17 06:40:38 +00:00
Anthony Green
7ffcae80d0
Test case for gcj/208
...
From-SVN: r33204
2000-04-17 05:51:14 +00:00
Anthony Green
7828f83014
More new tests.
...
From-SVN: r33203
2000-04-17 05:26:42 +00:00
Anthony Green
2b0807d3bc
New tests.
...
From-SVN: r33202
2000-04-17 05:26:20 +00:00