These functions are used to prevent compiler from removing code which it considers "unused".
Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- regression/jvm/ExceptionsTest.java | 9 --------- regression/jvm/TestCase.java | 4 ++++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/regression/jvm/ExceptionsTest.java b/regression/jvm/ExceptionsTest.java index 292fb05..97d6d6a 100644 --- a/regression/jvm/ExceptionsTest.java +++ b/regression/jvm/ExceptionsTest.java @@ -38,15 +38,6 @@ public class ExceptionsTest extends TestCase { public void publicMethod() { } - public static void takeInt(int val) { - } - - public static void takeLong(long val) { - } - - public static void takeObject(Object obj) { - } - public static void testTryBlockDoesNotThrowAnything() { boolean caught; try { diff --git a/regression/jvm/TestCase.java b/regression/jvm/TestCase.java index 54f0c45..32d2a88 100644 --- a/regression/jvm/TestCase.java +++ b/regression/jvm/TestCase.java @@ -81,4 +81,8 @@ public class TestCase { protected static void exit() { VM.exit(status); } + + public static void takeInt(int val) {} + public static void takeLong(long val) {} + public static void takeObject(Object obj) {} } -- 1.6.0.6 ------------------------------------------------------------------------------ _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel