Commit Graph

383 Commits

Author SHA1 Message Date
David Jee
3c3a78a502 2004-01-13�� David Jee�� <djee@redhat.com>
����������������* Makefile.am: Add BitwiseXORComposite.java.
����������������* Makefile.in: Regenerated.
����������������* gcj/Makefile.in: Regenerated.
����������������* include/Makefile.in: Regenerated.
����������������* testsuite/Makefile.in: Regenerated.

From-SVN: r75808
2004-01-13 17:37:23 +00:00
Andreas Tobler
6b692ad7bd libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper path setting for Ssolaris 32/64-bit testing.
2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>

	* lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper
	path setting for Ssolaris 32/64-bit testing.
	Reorganize LD_LIBRARY_PATH setting.

From-SVN: r75762
2004-01-12 22:19:26 +01:00
Andrew Haley
2fca049fe8 libjava.exp (bytecompile_file): Log compile command.
2004-01-09  Andrew Haley  <aph@redhat.com>

	* lib/libjava.exp (bytecompile_file): Log compile command.

From-SVN: r75593
2004-01-09 17:27:37 +00:00
Andreas Tobler
51dc0a0aad re PR libgcj/13011 (gij -jar simple.jar generates: Exception during runtime initialization)
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

	PR libgcj/13011:
	* libjava.jar/simple.jar: Add a working MANIFEST.MF.

From-SVN: r75513
2004-01-07 19:54:00 +01:00
Michael Koch
04d1e6e212 xfails: Removed tests that pass now...
2003-12-31  Michael Koch  <konqueror@gmx.de>

	* testsuite/libjava.mauve/xfails: Removed tests that pass now:
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
	(number 26)
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
	(number 54)

From-SVN: r75262
2003-12-31 10:29:05 +00:00
Michael Koch
cca9b4b54d [multiple changes]
2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>

	* java/util/GregorianCalendar.java
	(computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
	Fixed the computation of DAY_OF_WEEK_IN_MONTH.
	(computeTime): 12:00 midnight is AM and 12:00 noon is PM.

2003-12-30  Michael Koch  <konqueror@gmx.de>

	* testsuite/libjava.mauve/xfails: Removed the following testcase
	because it passes now:
	FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
	(number 1)

From-SVN: r75244
2003-12-30 19:56:49 +00:00
Michael Koch
28e4696cc1 mauve-libgcj: Removed the disabling of java.text.ACIAttribute and...
2003-12-18  Michael Koch  <konqueror@gmx.de>

	* mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
	java.text.CollationElementIterator tests as they compile again.
	* testsuite/libjava.mauve/xfails: Added failing
	java.text.CollationElementIterator tests.

From-SVN: r74796
2003-12-18 20:23:48 +00:00
Ralph Loader
c6a25d3a3d re PR java/12374 (Segfault on "".x)
PR java/12374:
	* parse.y (qualify_ambiguous_name): Remove lots of broken
	field access processing - there's no need to do that here,
	because we have resolve_field_access.  Remove
	RESOLVE_EXPRESSION_NAME_P as it isn't used anywhere else.
	* java-tree.h: Remove RESOLVE_EXPRESSION_NAME_P as it isn't
	used.

From-SVN: r74217
2003-12-03 07:04:19 +00:00
Jeff Sturm
c25d9caa3b re PR rtl-optimization/13024 (gcj can't build current rhug)
* libjava.compile/PR13024.java: New file.
* libjava.compile/PR13237.java: New file.

From-SVN: r74157
2003-12-02 04:43:25 +00:00
Michael Koch
7d9c11e559 xfails: Removed these two tests, they mystically pass now...
2003-11-25  Michael Koch  <konqueror@gmx.de>

	* testsuite/libjava.mauve/xfails:
	Removed these two tests, they mystically pass now:
	-FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
	test_params failed - 5getInetAddress did not return proper values
	(number 1)
	-FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
	test_BasicServer failed - 11 exception was thrown :Illegal seek
	(number 1)

From-SVN: r73919
2003-11-25 10:31:27 +00:00
Andreas Tobler
d6fcadb293 libjava.exp: Add DYLD_LIBRARY_PATH for darwin.
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

	* lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
	the right libgcc. Add -multiply_defined suppress and -bind_at_load
	flags.

From-SVN: r73725
2003-11-19 05:53:29 +01:00
Andreas Tobler
0ec5fef218 jar.exp: Cleanup files and reset CLASSPATH.
2003-11-18  Andreas Tobler  <a.tobler@schweiz.ch>

	* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.

From-SVN: r73696
2003-11-18 08:17:01 +01:00
Jeff Sturm
217ec3ae92 * libjava.compile/PR12857.java: New test case.
From-SVN: r73692
2003-11-18 04:19:24 +00:00
Tom Tromey
dd168984f6 * libjava.jar/simple.jar: Replaced.
From-SVN: r73614
2003-11-14 19:38:39 +00:00
Tom Fitzsimmons
d794fb9fbc jniutf.c: New file.
2003-11-13  Tom Fitzsimmons  <fitzsim@redhat.com>

	* libjava.jni/jniutf.c: New file.
	* libjava.jni/jniutf.java: New file.
	* libjava.jni/jniutf.out: New file.

From-SVN: r73569
2003-11-14 01:43:14 +00:00
Tom Tromey
ec629ef5a4 For PR java/12915:
* libjava.lang/PR12915.java: New file.
	* libjava.lang/PR12915.out: New file.

From-SVN: r73460
2003-11-11 20:11:43 +00:00
Tom Tromey
0259239a6a jacks.exp (gcj_jacks_write): Enable "assert" constraint.
* libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert"
	constraint.
	* libjava.jacks/jacks.xfail: Added new xfails.

From-SVN: r73458
2003-11-11 20:04:22 +00:00
Tom Tromey
9472b498dd For PR java/12996:
* libjava.jar/simple.jar: New file.
	* libjava.jar/simple.xfail: New file.
	* libjava.jar/simple.out: New file.
	* libjava.jar/simple.java: New file.
	* libjava.jar/jar.exp: New file.

From-SVN: r73426
2003-11-10 21:30:10 +00:00
Tom Tromey
49b8ea5ab0 * libjava.jacks/jacks.xfail: Updated.
From-SVN: r73371
2003-11-08 18:56:51 +00:00
Jeff Sturm
1b64e33f3f * libjava.compile/InnerExcept.java: New File.
From-SVN: r73240
2003-11-04 01:51:15 +00:00
Tom Tromey
ab3ec830b3 re PR libgcj/12416 (java.lang.Class.getFields returns duplicate entries.)
PR libgcj/12416:
	* libjava.lang/PR12416.out: New file.
	* libjava.lang/PR12416.java: New file.

From-SVN: r72817
2003-10-22 19:28:15 +00:00
Tom Tromey
fc41584e92 re PR libgcj/12656 (Inherited main( ) Method Not Seen At Runtime)
PR libgcj/12656:
	* libjava.lang/PR12656.java: New file.
	* libjava.lang/PR12656.out: New file.

From-SVN: r72810
2003-10-22 18:04:35 +00:00
David Daney
1322946805 mips-signal.h: New file.
2003-10-22  David Daney  <ddaney@avtrex.com)

	* include/mips-signal.h: New file.
	* sysdep/dwarf2-backtrace.cc: New file.
	* sysdep/mips: New directory.
	* sysdep/mips/locks.h: New file.
	* Makefile.am(extra_cc_files): New, to allow extra c++ files to be
	added to libgcj.
	(extra_cc_source_files): Ditto.
	* configure.host(disable_dladdr):  New shell variable passed to
	configure.
	(mips*-*-linux*): sysdeps_dir=mips,
	can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
	(mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
	* configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
	generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
	(HAVE_DLADDR): Make it depend on setting of disable_dladdr.
	(EXTRA_CC_FILES): New, to support conditional addition of
	sysdep/dwarf2-backtrace.cc.
	* configure: Regenerated.
	* Makefile.in: Regenerated.
	* gcj/Makefile.in: Regenerated.
	* include/config.h.in: Regenerated.
	* include/Makefile.in: Regenerated.
	* testsuite/Makefile.in: Regenerated.

From-SVN: r72808
2003-10-22 16:35:17 +00:00
Ralph Loader
35e1369c77 StringBuffer.java (getChars): Fix array index checks.
* java/lang/StringBuffer.java (getChars): Fix array index checks.
	(append, substring, insert): Likewise.
	* testsuite/libjava.lang/StringBuffer_overflow.java: New file.
	* testsuite/libjava.lang/StringBuffer_overflow.out: New file.

From-SVN: r72579
2003-10-16 21:35:42 +00:00
Ralph Loader
2488a51e82 natString.cc (getChars): Fix validation of array indexes.
* java/lang/natString.cc (getChars):
	Fix validation of array indexes.
	(getBytes, regionMatches, startsWith, valueOf): Likewise.
	* testsuite/libjava.lang/String_overflow.java: New file.
	* testsuite/libjava.lang/String_overflow.out: New file.

From-SVN: r72578
2003-10-16 21:28:23 +00:00
Ralph Loader
bf1b388d0e prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't overflow a jint.
* prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
	overflow a jint.
	(_Jv_NewPrimArray): Check for overflowing a jint, replacing a
	check for overflowing size_t, since the lower level functions
	take a jint.
	* testsuite/libjava.lang/newarray_overflow.java:  New file.
	* testsuite/libjava.lang/newarray_overflow.out:  New file.

From-SVN: r72577
2003-10-16 21:19:53 +00:00
Tom Tromey
aa7dcd69a9 * libjava.mauve/xfails: Removed some tests.
From-SVN: r72242
2003-10-08 21:16:01 +00:00
Tom Tromey
ed28830a47 * libjava.jacks/jacks.xfail: Updated for new passes.
From-SVN: r71863
2003-09-27 20:22:03 +00:00
Ralph Loader
88962108fc re PR libgcj/12350 (StringBuffer.substring handles shared flag incorrected.)
2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>

        PR java/12350:
        * java/lang/StringBuffer.java (substring): Fix handling of shared
        flag.

2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>

        PR java/12350
        * libjava.lang/PR12350.java: New file.
        * libjava.lang/PR12350.out: New file.

From-SVN: r71651
2003-09-22 09:17:49 +01:00
Ranjit Mathew
25a017631e re PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed)
2003-09-17  Ranjit Mathew  <rmathew@hotmail.com>

	PR java/9577
	* libjava.cni/PR9577.java: New file.
	* libjava.cni/natPR9577.cc: New file.
	* libjava.cni/PR9577.out: New file.

From-SVN: r71460
2003-09-17 15:25:07 +00:00
Jeff Sturm
09edb09355 compile.exp: Test with -O3 rather than -O.
* libjava.compile/compile.exp: Test with -O3 rather than -O.
* libjava.lang/lang.exp: Likewise.

From-SVN: r71102
2003-09-05 01:54:21 +00:00
Jeff Sturm
cf0aaf32c6 libjava.exp (libjava_arguments): Remove unneeded variables.
* lib/libjava.exp (libjava_arguments): Remove unneeded variables.
(test_libjava_from_source): Likewise.
(test_libjava_from_javac): Likewise.

From-SVN: r71101
2003-09-05 01:47:27 +00:00
Andreas Tobler
0099b66d36 re PR libgcj/8823 (gij doesn't handle "Miranda methods" (abstract class that implements interface but doesn't define all methods))
2003-08-23  Andreas Tobler <a.tobler@schweiz.ch>

        PR libgcj/8823
        * libjava.lang/pr8823.xfail: Removed.

From-SVN: r70730
2003-08-23 07:31:36 +02:00
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