Add Java options for tests under JDK 24
This commit is contained in:
parent
2e16f1bb54
commit
db199f7e14
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ public class ApplicationBuild extends WebProject {
|
|||
scope(standalone)
|
||||
.include(dependency("org.springframework.boot:spring-boot-loader:3.4.3"));
|
||||
|
||||
testOperation().javaOptions(List.of("--enable-native-access=ALL-UNNAMED", "-XX:+EnableDynamicAgentLoading"));
|
||||
testOperation().javaOptions(List.of("-XX:+EnableDynamicAgentLoading"))
|
||||
.javaOptions().enableNativeAccess("ALL-UNNAMED");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue