Merge branch 'targetBytecode' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into targetBytecode

This commit is contained in:
Victorious3 2022-08-08 14:51:08 +02:00
commit 2af59d1e1f
2 changed files with 8 additions and 1 deletions

View File

@ -337,6 +337,12 @@ public class TestComplete {
var instance = classFiles.get("SubMatrix").getDeclaredConstructor().newInstance(); var instance = classFiles.get("SubMatrix").getDeclaredConstructor().newInstance();
} }
@Test
public void tph2Test() throws Exception {
var classFiles = generateClassFiles("Tph2.jav", new ByteArrayClassLoader());
var instance = classFiles.get("Tph2").getDeclaredConstructor().newInstance();
}
@Test @Test
public void tph3Test() throws Exception { public void tph3Test() throws Exception {
var classFiles = generateClassFiles("Tph3.jav", new ByteArrayClassLoader()); var classFiles = generateClassFiles("Tph3.jav", new ByteArrayClassLoader());

View File

@ -4,7 +4,7 @@ public class Tph2 {
return id.apply(x); return id.apply(x);
} }
/*
m(a,b){ m(a,b){
var c = m2(a,b); var c = m2(a,b);
//m2(a,b); //m2(a,b);
@ -14,4 +14,5 @@ public class Tph2 {
m2(a,b){ m2(a,b){
return b; return b;
} }
*/
} }