diff --git a/test/bytecode/JavaTXCompilerTest.java b/test/bytecode/JavaTXCompilerTest.java index d68462043..35c2ea3fd 100644 --- a/test/bytecode/JavaTXCompilerTest.java +++ b/test/bytecode/JavaTXCompilerTest.java @@ -29,7 +29,7 @@ public class JavaTXCompilerTest { @Test public void test() throws IOException, java.lang.ClassNotFoundException { System.out.println(rootDirectory); - String fileName = "VoidMeth"; + String fileName = "RecursiveMeth"; filesToTest.add(new File(rootDirectory+fileName+".jav")); System.out.println(rootDirectory+fileName+".jav"); JavaTXCompiler compiler = new JavaTXCompiler(filesToTest); diff --git a/test/bytecode/RecursiveMeth.jav b/test/bytecode/RecursiveMeth.jav new file mode 100644 index 000000000..fd2851b0f --- /dev/null +++ b/test/bytecode/RecursiveMeth.jav @@ -0,0 +1,5 @@ +public class VoidMeth{ + public Integer test(){ + return this.test(); + } +} \ No newline at end of file