David Daney
faa03cf1b4
Process_1.java: New test.
...
2004-08-03 David Daney <ddaney@avtrex.com>
* testsuite/libjava.lang/Process_1.java: New test.
* testsuite/libjava.lang/Process_2.java: New test.
* testsuite/libjava.lang/Process_3.java: New test.
* testsuite/libjava.lang/Process_4.java: New test.
* testsuite/libjava.lang/Process_5.java: New test.
* testsuite/libjava.lang/Process_6.java: New test.
* testsuite/libjava.lang/Process_1.out: Expected result.
* testsuite/libjava.lang/Process_2.out: Expected result.
* testsuite/libjava.lang/Process_3.out: Expected result.
* testsuite/libjava.lang/Process_4.out: Expected result.
* testsuite/libjava.lang/Process_5.out: Expected result.
* testsuite/libjava.lang/Process_6.out: Expected result.
From-SVN: r85881
2004-08-12 16:24:56 +00:00
Diego Novillo
c597ef4eab
re PR tree-optimization/16867 (Inline array initializer miscompilation at -O)
...
PR tree-optimization/16867
* tree.c (is_global_var): New function.
(needs_to_live_in_memory): Check for TREE_ADDRESSABLE.
Call is_global_var.
* tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove.
Update all users.
(is_global_var): Declare.
* tree-dfa.c (dump_variable): Display global and addressable
attributes.
(add_referenced_var): Clarify documentation when marking
variables call-clobbered.
* tree-flow-inline.h (is_call_clobbered): Call is_global_var
instead of needs_to_live_in_memory.
(mark_call_clobbered): If the variable is a tag, mark it
DECL_EXTERNAL.
* tree-gimple.c (is_gimple_reg): Don't check for
TREE_ADDRESSABLE.
(is_gimple_non_addressable): Likewise.
* tree-ssa-alias.c (get_nmt_for): Always check whether the tag
needs to be marked call-clobbered.
(setup_pointers_and_addressables): Call is_global_var instead
of needs_to_live_in_memory.
* tree-ssa-dce.c (need_to_preserve_store): Remove.
Update all users with is_global_var.
(mark_stmt_if_obviously_necessary): Fix processing of aliased
stores. Don't check the virtual definitions. Rather, check
whether the store is going into global memory.
(find_obviously_necessary_stmts): Get the symbol from the PHI
result.
* tree-ssa-operands.c (get_call_expr_operands): Do not add
clobbering may-defs if the call does not have side effects.
libjava/ChangeLog
PR tree-optimization/16867
* testsuite/libjava.lang/PR16867.java: New test.
From-SVN: r85874
2004-08-12 10:34:11 -04:00
Andrew Haley
50ab464c2e
err14.java: New file.
...
2004-08-10 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/err14.java: New file.
* testsuite/libjava.lang/err14.out: New file.
From-SVN: r85752
2004-08-10 14:21:05 +00:00
Bryce McKinlay
ce961468b7
TLtest.java: Reduce sleep time.
...
2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.lang/TLtest.java: Reduce sleep time.
* testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
Reduce sleep time.
* testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
compiler bug.
* testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
address. Reduce sleep times. Synchronize with target threads before
attempting to interrupt them. Don't try to calibrate yeild count,
instead, always loop for a fixed time.
* testsuite/libjava.lang/Thread_Join.java: Remove old email address.
* testsuite/libjava.lang/Thread_Monitor.java: Likewise.
* testsuite/libjava.lang/Thread_Wait.java: Likewise.
* testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
* testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
* testsuite/libjava.lang/pr179.java: Likewise.
* testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
time. Remove upper bounds check on sleep time.
From-SVN: r85248
2004-07-28 03:44:06 +01:00
Bryce McKinlay
0954f3eb52
Thread_HoldsLock.java: New test case.
...
2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
* testsuite/libjava.lang/Thread_HoldsLock.out: New.
From-SVN: r85234
2004-07-27 23:04:37 +01:00
Bryce McKinlay
ae066484df
ObjectStreamField (ObjectStreamField): Don't unset 'toset' for final fields.
...
2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
* java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
for final fields.
* testsuite/libjava.lang/Serialization.java: New test.
* testsuite/libjava.lang/Serialization.out: New.
From-SVN: r85096
2004-07-23 22:46:09 +01:00
Bryce McKinlay
b845ed9ff8
re PR libgcj/16204 (File I/O fails on files >= 2^31 bytes (2GB))
...
2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/16204
* Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
large file support.
* Makefile.in: Rebuilt.
* testsuite/libjava.lang/LargeFile.java: New test case.
* testsuite/libjava.lang/LargeFile.out: New file.
From-SVN: r84733
2004-07-15 01:58:41 +01:00
Roger Sayle
2d99c042fc
builtins.c (java_builtins): Add acos, asin, ceil and floor.
...
* builtins.c (java_builtins): Add acos, asin, ceil and floor.
(initialize_builtins): Likewise, define acos, asin, ceil and floor.
* testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
ceil and floor.
From-SVN: r81341
2004-04-30 14:15:08 +00:00
Bryce McKinlay
d7afe286b3
[multiple changes]
...
2004-04-14 Andrew Haley <aph@redhat.com>
Bryce McKinlay <mckinlay@redhat.com>
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
_Jv_LookupInterfaceMethodIdx for calls to interfaces.
* include/jvm.h (_Jv_CallAnyMethodA): Add new face' arg.
* testsuite/libjava.lang/InvokeInterface.java: New file.
* testsuite/libjava.lang/InvokeInterface.out: New file.
2004-04-14 Bryce McKinlay <mckinlay@redhat.com>
* class.c (get_interface_method_index): New function. Return
dispatch index for interface method.
(make_method_value): For interface methods, set index field to
iface dispatch index, not DECL_VINDEX.
* expr.c (build_invokeinterface): Use get_interface_method_index.
From-SVN: r80684
2004-04-14 18:45:20 +01:00
Tom Tromey
fe1081b017
re PR libgcj/13107 (Wrong verification error in gij: recursive subroutine call)
...
PR libgcj/13107:
* testsuite/libjava.lang/pr13107_2.xfail: New file.
* testsuite/libjava.lang/pr13107_3.xfail: New file.
* testsuite/libjava.lang/pr13107_3.java: New file.
* testsuite/libjava.lang/pr13107_3.out: New file.
* testsuite/libjava.lang/pr13107_2.java: New file.
* testsuite/libjava.lang/pr13107_2.out: New file.
* testsuite/libjava.lang/pr13107.java: New file.
* testsuite/libjava.lang/pr13107.out: New file.
* verify.cc (jsr_ptrs): Removed.
(entry_points): Likewise.
(struct subr_info): Likewise.
(struct subr_entry_info): Likewise.
(type_val::unused_by_subroutine_type): Likewise.
(type::merge): Don't handle unused_by_subroutine_type.
(type::print): Likewise.
(state::flags): Removed.
(state::subroutine): Likewise.
(state::seen_subrs): Likewise.
(state::NO_STACK): Likewise.
(state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
(state): Updated all methods.
(state::clean_subrs): Removed.
(state::state): Removed `ret_semantics' flag.
(state::copy): Likewise.
(state::add_subr): Removed.
(state::enter_subroutine): Likewise.
(type::set_return_address): New method.
(handle_jsr_insn): Set return address on the type. Always
invalidate PC after call.
(check_nonrecursive_call): Removed.
(~_Jv_BytecodeVerifier): Updated.
(branch_prepass): Removed special handling of jsr.
(note_branch_target): Likewise.
(get_subroutine): Removed.
(state::merge): Don't merge subroutines and don't handle
NO_STACK. Removed ret_semantics and jsr_semantics arguments.
(state::note_variable): Removed.
(state::is_unmerged_ret_state): Likewise.
(state::print): Updated.
(set_variable): Likewise.
(merge_into): Renamed from push_jump_merge. Removed ret_semantics
and jsr_semantics arguments. Updated for new reverification
list.
(pop_jump): Rewrote.
(construct_primitive_array_type): Updated.
(state::next): Removed.
(INVALID_STATE): New define.
(state::INVALID): Removed.
(state::NO_NEXT): New value.
(state::pc, state::next): New fields.
(state::get_pc): New method.
(next_verify_pc): Removed.
(next_verify_state): New field.
(verify_instructions_0): Always check for falling off end.
(linked): New type.
(linked_utf8): Removed.
(states): Changed type.
(type::state_mergeable_p): New method.
(state::state_mergeable_p): Likewise.
(handle_ret_insn): Removed most code.
(state::reverify): New method.
(add_new_state): Likewise.
(state::set_pc): Likewise.
From-SVN: r76395
2004-01-23 02:49:57 +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
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
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
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
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
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
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
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
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
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
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
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
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
Kaveh R. Ghazi
4f8d9f2be6
* libjava.lang/pr8823.xfail: New file, add "xfail-byte".
...
From-SVN: r61917
2003-01-28 01:34:49 +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
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
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
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
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
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
Andrew Haley
cd8dbeeff3
Array_3.java (baz): New.
...
2002-10-03 Andrew Haley <aph@redhat.com>
* libjava.lang/Array_3.java (baz): New.
(main): Call baz.
From-SVN: r57774
2002-10-03 13:12:01 +00:00
Anthony Green
d3cc3f10da
Add Proxy support.
...
From-SVN: r57635
2002-09-30 05:19:09 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c94ef60f8f
* libjava.lang/stub.xfail: Removed.
...
From-SVN: r43558
2001-06-25 20:36:16 +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
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
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
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
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
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
a717799c52
more work
...
From-SVN: r37926
2000-12-01 21:58:34 +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
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