Commit 83bbe490 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Print `Throwable` stack trace when it is made always; In System.arraycopy()...

Print `Throwable` stack trace when it is made always; In System.arraycopy() check against the correct length (destination and not source) when checking bounds.
parent 3901dd45
......@@ -112,6 +112,7 @@ More detailed changes:
* Generate JUnit output which can be used in test environments.
* Performed some refactoring on the deserialization/serialization code.
* `tool-classfile`
* Corrected parsing of the stack map table.
* Removed `net.multiphasicapps.classfile.ExecutableCode`, it was not used.
* `tool-profiler`
* When writing the NPS snapshot, set a limit on how deep the stack can
......@@ -84,7 +84,7 @@ public final class System
int srclen = ObjectAccess.arrayLength(__src),
destlen = ObjectAccess.arrayLength(__dest);
if (__srcoff + __copylen > srclen ||
__destoff + __copylen > srclen)
__destoff + __copylen > destlen)
throw new IndexOutOfBoundsException(String.format(
"ZZ19 %d %d %d %d %d", __srcoff, srclen, __destoff, destlen,
......@@ -147,6 +147,7 @@ public class Throwable
// Debug to catch which throwable was made
todo.DEBUG.note("new Throwable(`%s`)", __m);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment