Skip to content

Commit 886544f

Browse files
committed
added support for build under JDK16
1 parent cb1c5d1 commit 886544f

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed

jcp-tests/jcp-test-javassist/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>org.javassist</groupId>
1717
<artifactId>javassist</artifactId>
18-
<version>3.24.1-GA</version>
18+
<version>3.28.0-GA</version>
1919
</dependency>
2020
</dependencies>
2121

jcp-tests/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@
2626
</modules>
2727

2828
<profiles>
29+
<profile>
30+
<id>java-9</id>
31+
<activation>
32+
<jdk>[9</jdk>
33+
</activation>
34+
<properties>
35+
<argLine>
36+
--add-opens java.base/java.lang=ALL-UNNAMED
37+
--add-opens java.base/java.io=ALL-UNNAMED
38+
--add-opens java.base/java.util=ALL-UNNAMED
39+
--add-opens java.base/java.util.stream=ALL-UNNAMED
40+
--add-opens java.base/java.net=ALL-UNNAMED
41+
--add-opens java.base/java.nio.charset=ALL-UNNAMED
42+
--add-opens java.base/sun.nio.cs=ALL-UNNAMED
43+
</argLine>
44+
</properties>
45+
</profile>
2946
<profile>
3047
<id>new-jdk</id>
3148
<activation>

jcp/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<dependency>
169169
<groupId>org.projectlombok</groupId>
170170
<artifactId>lombok</artifactId>
171-
<version>1.18.4</version>
171+
<version>1.18.20</version>
172172
<scope>provided</scope>
173173
</dependency>
174174
<dependency>
@@ -326,7 +326,7 @@
326326
<plugin>
327327
<groupId>org.projectlombok</groupId>
328328
<artifactId>lombok-maven-plugin</artifactId>
329-
<version>1.18.4.0</version>
329+
<version>1.18.20.0</version>
330330
<executions>
331331
<execution>
332332
<phase>generate-sources</phase>

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,23 @@
6969
</modules>
7070

7171
<profiles>
72+
<profile>
73+
<id>java-9</id>
74+
<activation>
75+
<jdk>[9</jdk>
76+
</activation>
77+
<properties>
78+
<argLine>
79+
--add-opens java.base/java.lang=ALL-UNNAMED
80+
--add-opens java.base/java.io=ALL-UNNAMED
81+
--add-opens java.base/java.util=ALL-UNNAMED
82+
--add-opens java.base/java.util.stream=ALL-UNNAMED
83+
--add-opens java.base/java.net=ALL-UNNAMED
84+
--add-opens java.base/java.nio.charset=ALL-UNNAMED
85+
--add-opens java.base/sun.nio.cs=ALL-UNNAMED
86+
</argLine>
87+
</properties>
88+
</profile>
7289
<profile>
7390
<id>it</id>
7491
<modules>

0 commit comments

Comments
 (0)