Skip to content

Commit 0806718

Browse files
committed
Update SigmaProcessorTest.java
1 parent f32ec63 commit 0806718

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test-sigma/src/test/java/io/avaje/http/generator/SigmaProcessorTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public void runAnnotationProcessor() throws Exception {
5050
new PrintWriter(System.out),
5151
null,
5252
null,
53-
List.of("--release=11", "-AdisableDirectWrites=true"),
53+
List.of(
54+
"--release=" + Integer.getInteger("java.specification.version"),
55+
"-AdisableDirectWrites=true"),
5456
null,
5557
files);
5658
task.setProcessors(List.of(new SigmaProcessor()));
@@ -75,7 +77,7 @@ void runAnnotationProcessorJakarta() throws Exception {
7577
null,
7678
null,
7779
List.of(
78-
"--release=11",
80+
"--release=" + Integer.getInteger("java.specification.version"),
7981
"-AuseJavax=false",
8082
"-AuseSingleton=true",
8183
"-AdisableDirectWrites=true"),

0 commit comments

Comments
 (0)