Bryce McKinlay
bde47e0796
StackTrace2.java: Renamed from StackTrace.java.
...
2006-07-07 Bryce McKinlay <mckinlay@redhat.com>
Geoffrey Keating <geoffk@apple.com>
* testsuite/libjava.lang/StackTrace2.java: Renamed from
StackTrace.java. Changed class name.
* testsuite/libjava.lang/StackTrace2.out: Renamed from
StackTrace.out. Updated for new class name.
Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
From-SVN: r115268
2006-07-07 20:33:02 +01:00
Geoffrey Keating
96f9772f91
Fix conflict with stacktrace.java.
...
From-SVN: r115267
2006-07-07 18:49:19 +00:00
Geoffrey Keating
f8aaba7798
Fix conflict with stacktrace.out.
...
From-SVN: r115266
2006-07-07 18:49:03 +00:00
Bryce McKinlay
21dc66848e
stacktrace.cc (ClassForFrame): Remove commented-out code.
...
2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
* stacktrace.cc (ClassForFrame): Remove commented-out code.
(UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
only when needed.
(getLineNumberForFrame): Don't adjust IP here.
* testsuite/libjava.lang/StackTrace.java: New test case.
* testsuite/libjava.lang/StackTrace.out: Ditto.
From-SVN: r115235
2006-07-07 00:26:24 +01:00
Tom Tromey
9e01bff779
OutputStreamWriter.java (writeChars): Use a 'do' loop.
...
* java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
Set 'out.count' earlier.
(close): Call setFinished on converter.
(flush): Always write work buffer.
* java/io/PrintStream.java (writeChars): Do 'do' loop.
(close): Call setFinished on converter. Write a 'flush' array.
* java/lang/natString.cc (getBytes): Call setFinished on
converter.
* gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
field.
(write): Set hasBytes. Changed 'finished' logic.
(havePendingBytes): Rewrote.
(setFinished): New method.
* gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
* testsuite/libjava.lang/RH194522.java: New file.
* testsuite/libjava.lang/RH194522.out: New file.
From-SVN: r115039
2006-06-27 20:38:10 +00:00
Andrew Haley
dfa52cf9d1
re PR java/27908 (VMSecureRandom generateSeed infinite loop? (Regression))
...
2006-06-19 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/PR27908.out: New.
* testsuite/libjava.lang/PR27908.java: New.
From-SVN: r114779
2006-06-19 17:39:16 +00:00
Andrew Haley
586825f169
re PR java/27908 (VMSecureRandom generateSeed infinite loop? (Regression))
...
2006-06-12 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/PR27908.out: Delete.
* testsuite/libjava.lang/PR27908.java: Delete.
From-SVN: r114572
2006-06-12 17:07:48 +00:00
Andrew Haley
af7acf2ed6
re PR java/27908 (VMSecureRandom generateSeed infinite loop? (Regression))
...
2006-06-12 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/PR27908.out: New.
* testsuite/libjava.lang/PR27908.java: New.
From-SVN: r114568
2006-06-12 13:37:54 +00:00
Andreas Tobler
860d14158e
stacktrace.java: New file.
...
2006-05-24 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.lang/stacktrace.java: New file.
* testsuite/libjava.lang/stacktrace.out: Likewise.
From-SVN: r114052
2006-05-24 22:42:38 +02:00
Andrew Haley
4f72054bca
re PR libgcj/26858 (NullPointerException not generated for large classes...)
...
2006-05-04 Andrew Haley <aph@redhat.com>
PR java/26858
* testsuite/libjava.lang/PR26858.xfail: Delete.
From-SVN: r113526
2006-05-04 13:54:15 +00:00
Tom Tromey
dff81d4f4c
re PR libgcj/27171 (UTF8 PrintWriter goes haywire)
...
PR libgcj/27171:
* testsuite/libjava.lang/pr27171.java: New file.
* testsuite/libjava.lang/pr27171.out: New file.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
true if we've seen a high surrogate.
(write): Handle high surrogates at the end of the stream.
Properly emit isolated low surrogates.
From-SVN: r113013
2006-04-17 21:41:47 +00:00
Andreas Tobler
c60fe329d5
stringconst2.java: Print a stack trace in case of failure.
...
2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
of failure.
From-SVN: r113011
2006-04-17 23:18:23 +02:00
Tom Tromey
119afc377a
re PR classpath/26990 (SecurityManager.checkExit() problem)
...
PR libgcj/26990:
* prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
* gnu/java/lang/natMainThread.cc (call_main): Use
exitNoChecksAccessor.
* testsuite/libjava.lang/pr26990.out: New file.
* testsuite/libjava.lang/pr26990.java: New file.
* java/lang/Runtime.java (exitNoChecks): New method.
(exitNoChecksAccessor): Likewise.
(exit): Call exitNoChecks.
From-SVN: r112685
2006-04-04 23:25:09 +00:00
Andrew Haley
f096660b46
Float_2.java: New file.
...
2006-04-03 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/Float_2.java: New file.
From-SVN: r112636
2006-04-03 10:15:25 +00:00
Tom Tromey
531e214a01
re PR java/26390 (Problem dispatching method call when method does not exist in superclass)
...
gcc/java
PR java/26390:
* parse.y (find_most_specific_methods_list): Added 'class'
argument.
(lookup_method_invoke): Updated.
libjava
PR java/26390:
* testsuite/libjava.lang/pr26390.out: New file.
* testsuite/libjava.lang/pr26390.java: New file.
* sources.am, Makefile.in: Rebuilt.
* scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
From-SVN: r112499
2006-03-29 16:31:53 +00:00
David Daney
ccf37f7736
re PR libgcj/26858 (NullPointerException not generated for large classes...)
...
* testsuite/libjava.lang/PR26858.java: New test.
* testsuite/libjava.lang/PR26858.out: Ditto.
* testsuite/libjava.lang/PR26858.xfail: Ditto.
From-SVN: r112374
2006-03-25 01:53:48 +00:00
Tom Tromey
2bb6e0cefe
re PR libgcj/24321 (instanceof erroneously causes class initialization)
...
PR java/24321:
* testsuite/libjava.lang/pr24321.java: New file.
* testsuite/libjava.lang/pr24321.out: New file.
* java/lang/natClass.cc (isInstance): Don't initialize class.
(isAssignableFrom): Likewise.
From-SVN: r111603
2006-03-01 16:01:34 +00:00
Tom Tromey
05d8200d79
re PR java/25676 (Use of MIN_EXPR/MAX_EXPR is wrong for java)
...
gcc/java
PR java/25676:
* builtins.c (max_builtin): Skip floating point 'max'.
(min_builtin): Skip floating point 'min'.
(check_for_builtin): Never return NULL_TREE.
libjava
PR java/25676:
* testsuite/libjava.lang/pr25676.out: New file.
* testsuite/libjava.lang/pr25676.java: New file.
From-SVN: r110599
2006-02-04 23:34:06 +00:00
Andrew Haley
f71d94055a
re PR java/25535 (gcj broken on 64-bit big-endian systems)
...
2005-12-22 Andrew Haley <aph@redhat.com>
PR java/25535
* testsuite/libjava.lang/PR25535.java: New test.
From-SVN: r108961
2005-12-22 18:34:01 +00:00
Alan Modra
d561bdfde8
libjava.exp: Revert 2005-12-01.
...
* testsuite/lib/libjava.exp: Revert 2005-12-01.
* testsuite/libjava.lang/Array_3.xfail: Delete.
From-SVN: r108563
2005-12-15 18:07:32 +10:30
Geoffrey Keating
2b6f297e79
libjava.exp (test_libjava_from_javac): Support xfail-byte-exec.
...
* testsuite/lib/libjava.exp (test_libjava_from_javac): Support
xfail-byte-exec.
* testsuite/libjava.lang/Array_3.xfail: New file.
From-SVN: r107811
2005-12-01 08:25:36 +00:00
Tom Tromey
ab711ed3c2
ExtraClassLoader.out: New file.
...
* testsuite/libjava.lang/ExtraClassLoader.out: New file.
* testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
Now static.
From-SVN: r105185
2005-10-10 19:18:26 +00:00
Tom Tromey
97b51fd08e
class.c (make_class_data): Always emit JV_STATE_PRELOADING for class' initial state.
...
gcc/java:
* class.c (make_class_data): Always emit JV_STATE_PRELOADING for
class' initial state.
libjava:
* java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
friend.
* include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
* testsuite/libjava.lang/bclink.java: New file.
* testsuite/libjava.lang/bclink.out: New file.
* link.cc (print_class_loaded): Changed ABI test to look at
various _syms fields.
From-SVN: r103225
2005-08-17 20:44:10 +00:00
Ranjit Mathew
8a14e6e1ac
More testsuite adjustments for PR java/19870.
...
* testsuite/libjava.lang/PR19870_2.java: New testcase.
* testsuite/libjava.lang/PR19870_2.out: Expected output for the
new testcase.
* testsuite/libjava.jacks/jacks.xfail: Remove
8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
From-SVN: r103165
2005-08-16 18:32:14 +00:00
Tom Tromey
3af9ac15a9
re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if thread is already dead)
...
PR libgcj/22211:
* testsuite/libjava.lang/pr22211.java: New file.
* java/lang/natThread.cc (finish_): Synchronize when updating
alive_flag.
(_Jv_AttachCurrentThread): Likewise.
(interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
* java/lang/Thread.java (isAlive): Now synchronized.
From-SVN: r101430
2005-06-29 17:36:16 +00:00
Tom Tromey
f652253b03
re PR libgcj/17536 (wrong ClassLoader for int[])
...
PR libgcj/17536:
* testsuite/libjava.lang/pr17536.java: New file.
* testsuite/libjava.lang/pr17536.out: New file.
From-SVN: r100999
2005-06-15 22:36:01 +00:00
Tom Tromey
a1b6a5910b
re PR java/21844 (miscompilation of LinkedHashMap)
...
PR java/21844:
* testsuite/libjava.lang/pr21844.java: New file.
* testsuite/libjava.lang/pr21844.out: New file.
From-SVN: r100894
2005-06-13 19:21:56 +00:00
Tom Tromey
cd3352b625
re PR libgcj/21785 (ClassNotFound during deserialization)
...
PR libgcj/21785:
* java/io/natObjectInputStream.cc (currentClassLoader): Removed.
(currentLoader): New method.
* java/io/ObjectInputStream.java (resolveProxyClass): Use
currentLoader.
(currentLoader): Now native.
(currentClassLoader): Removed.
* testsuite/libjava.lang/pr21785.java: New file.
* testsuite/libjava.lang/pr21785.out: New file.
From-SVN: r100462
2005-06-01 19:58:25 +00:00
Ranjit Mathew
27358466f9
Testsuite adjustments for PR java/19870.
...
* testsuite/libjava.lang/PR19870.java: New testcase.
* testsuite/libjava.lang/PR19870.out: Expected output for the
testcase.
* testsuite/libjava.jacks/jacks.xfail: Add
8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
From-SVN: r100245
2005-05-27 05:11:44 +00:00
David Daney
6bca4ff625
re PR libgcj/18220 (Test case libjava.lang/Process_3 does not end if "sed" not available)
...
2005-05-17 David Daney <ddaney@avtrex.com>
PR libgcj/18220
* testsuite/libjava.lang/Process_3.java (run): Exit on error.
From-SVN: r99877
2005-05-18 01:00:16 +00:00
Andrew Haley
58bf803e6c
bytearray.java: New file.
...
2005-04-06 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/bytearray.java: New file.
* testsuite/libjava.lang/bytearray.out: New file.
* java/lang/ClassLoader.java (loadClassFromSig): Declare
(loadClass): Use it.
* java/lang/natClassLoader.cc (loadClassFromSig): New method.
From-SVN: r97756
2005-04-06 22:30:01 +00:00
Bryce McKinlay
b1e11d1e30
[multiple changes]
...
2005-03-07 Ranjit Mathew <rmathew@hotmail.com>
* lang.c (flag_new_verifier): Enable by default, regardless of ABI.
2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
* testsuite/libjava.lang/pr13107_3.xfail: Likewise.
From-SVN: r96114
2005-03-08 16:24:21 +00:00
Tom Tromey
b55cb4a133
re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)
...
PR java/20056:
* verify.cc (type::equals): Fixed test.
* testsuite/libjava.lang/PR20056.out: New file.
* testsuite/libjava.lang/PR20056.java: New file.
From-SVN: r95266
2005-02-19 03:57:21 +00:00
Tom Tromey
5728cb6687
* testsuite/libjava.lang/PR19921.java: Use correct class name.
...
From-SVN: r95046
2005-02-14 20:56:11 +00:00
Tom Tromey
3cc0646dbc
re PR java/19921 (wrong argument count for invokeInterface with new multidimensional array)
...
* testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
* testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
From-SVN: r95045
2005-02-14 20:51:07 +00:00
Tom Tromey
adfec6a67b
re PR java/19921 (wrong argument count for invokeInterface with new multidimensional array)
...
gcc/java:
PR java/19921:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the
stack effect of multianewarray.
libjava:
For PR java/19929:
* testsuite/libjava.lang/PR19929.out: New file.
* testsuite/libjava.lang/PR19929.java: New file.
From-SVN: r95041
2005-02-14 20:04:36 +00:00
Eric Botcazou
cde7853d20
Process_4.java (Process_4): Expect only a non-zero exit status from 'false'.
...
* testsuite/libjava.lang/Process_4.java (Process_4): Expect only
a non-zero exit status from 'false'.
From-SVN: r92860
2005-01-03 19:13:12 +00:00
Bryce McKinlay
28a6dfca3d
re PR libgcj/18699 (SIGSEGV in GC_local_gcj_malloc)
...
2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/18699
* testsuite/libjava.lang/PR18699.java,
testsuite/libjava.lang/PR18699.out: New test.
From-SVN: r91573
2004-12-01 18:34:54 +00:00
Tom Tromey
367390404d
* Merged gcj-abi-2-dev-branch to trunk.
...
(Actual changes too large to list in the commit message;
see ChangeLog.)
From-SVN: r91270
2004-11-25 03:47:08 +00:00
Mark Wielaard
bc2fed82b5
ExtraClassLoader.java: New.
...
2004-10-18 Mark Wielaard <mark@klomp.org>
Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/ExtraClassLoader.java: New.
Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r89222
2004-10-18 14:13:18 +00:00
Rutger Ovidius
2abb138b79
re PR libgcj/17903 (Incorrect SHA result)
...
2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
PR libgcj/17903:
* testsuite/libjava.lang/md5test.java: New file.
* testsuite/libjava.lang/md5test.out: Likewise.
* testsuite/libjava.lang/shatest.java: Likewise.
* testsuite/libjava.lang/shatest.out: Likewise.
From-SVN: r88922
2004-10-12 12:13:39 +02:00
Tom Tromey
0a08595abd
re PR java/16789 (ICE in force_evaluation_order() on valid code)
...
PR java/16789:
* testsuite/libjava.lang/pr16789.out: New file.
* testsuite/libjava.lang/pr16789.java: New file.
From-SVN: r88046
2004-09-24 15:41:17 +00:00
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