Avoid filling in the stack trace for Java commits.

Diff from Maxime Van Assche.

java/runtime/Commit.java:
    Override fillInStackTrace() method to do nothing and avoid
    constructing a stack trace.
This commit is contained in:
Julien Fischer
2017-11-08 05:26:52 -05:00
parent d9e576a2b2
commit dec08ab404

View File

@@ -9,6 +9,9 @@
package jmercury.runtime;
public class Commit extends java.lang.Error {
public Throwable fillInStackTrace() {
// Do nothing.
return this;
}
}