forked from JavaTX/JavaCompilerCore
modified: ../../../../pom.xml
wieder auf Java-18 umgestellt modified: ../../java/targetast/TestComplete.java Test Tph4Test eingefuegt
This commit is contained in:
parent
975f2cefe3
commit
d54cd5e20a
8
pom.xml
8
pom.xml
@ -122,8 +122,8 @@ http://maven.apache.org/maven-v4_0_0.xsd">
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>17</source>
|
<source>18</source>
|
||||||
<target>17</target>
|
<target>18</target>
|
||||||
<compilerArgs>--enable-preview</compilerArgs>
|
<compilerArgs>--enable-preview</compilerArgs>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -138,8 +138,8 @@ http://maven.apache.org/maven-v4_0_0.xsd">
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>18</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>18</maven.compiler.target>
|
||||||
<compilerArgs>
|
<compilerArgs>
|
||||||
--enable-preview
|
--enable-preview
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
|
@ -349,6 +349,13 @@ public class TestComplete {
|
|||||||
var instance = classFiles.get("Tph3").getDeclaredConstructor().newInstance();
|
var instance = classFiles.get("Tph3").getDeclaredConstructor().newInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void tph4Test() throws Exception {
|
||||||
|
var classFiles = generateClassFiles("Tph4.jav", new ByteArrayClassLoader());
|
||||||
|
var tph5 = classFiles.get("Tph4");
|
||||||
|
var instance = tph5.getDeclaredConstructor().newInstance();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void tph5Test() throws Exception {
|
public void tph5Test() throws Exception {
|
||||||
var classFiles = generateClassFiles("Tph5.jav", new ByteArrayClassLoader());
|
var classFiles = generateClassFiles("Tph5.jav", new ByteArrayClassLoader());
|
||||||
|
Loading…
Reference in New Issue
Block a user