This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch JDK16
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/JDK16 by this push:
new f5fb13dd update
f5fb13dd is described below
commit f5fb13ddfb66e84b8f04c4240af5f1c01fedb8bf
Author: HTHou <[email protected]>
AuthorDate: Tue May 11 00:28:30 2021 +0800
update
---
pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/pom.xml b/pom.xml
index a5b828f..77ddea7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -911,6 +911,13 @@
<goal>test</goal>
</goals>
<configuration>
+ <argLine>
+
--illegal-access=permit
+
--add-opens=java.base/java.lang=ALL-UNNAMED
+
--add-opens=java.base/java.util=ALL-UNNAMED
+
--add-opens=java.base/java.nio=ALL-UNNAMED
+
--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+
</argLine>
<includes>
<!-- Include unit tests within
integration-test phase. -->
<include>src/test/**/*Test.java</include>
@@ -928,6 +935,13 @@
<goal>test</goal>
</goals>
<configuration>
+ <argLine>
+ --illegal-access=permit
+ --add-opens=java.base/java.lang=ALL-UNNAMED
+ --add-opens=java.base/java.util=ALL-UNNAMED
+ --add-opens=java.base/java.nio=ALL-UNNAMED
+
--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+ </argLine>
<includes>
<!-- Include integration tests within
integration-test phase. -->
<include>src/test/**/*IT.java</include>