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
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