Skip to content

Commit

Permalink
make build work on jdk9 b135+
Browse files Browse the repository at this point in the history
  • Loading branch information
ctomc committed Sep 16, 2016
1 parent 5c42a93 commit 0160af3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pom.xml
Expand Up @@ -6144,9 +6144,10 @@
</activation>
<properties>
<!-- [WFCORE-1431] remove SASL workaround -->
<modular.jdk.args>-XaddExports:java.security.sasl/com.sun.security.sasl.digest=ALL-UNNAMED
-XaddExports:java.security.sasl/com.sun.security.sasl=ALL-UNNAMED -XaddExports:jdk.unsupported/sun.reflect=ALL-UNNAMED
-XaddExports:jdk.unsupported/sun.misc=ALL-UNNAMED
<modular.jdk.args>--add-exports java.security.sasl/com.sun.security.sasl.digest=ALL-UNNAMED
--add-exports java.security.sasl/com.sun.security.sasl=ALL-UNNAMED
--add-exports jdk.unsupported/sun.reflect=ALL-UNNAMED
--add-exports jdk.unsupported/sun.misc=ALL-UNNAMED
</modular.jdk.args>
<!-- [WFCORE-1494] remove JUL workaround -->
<modular.jdk.props>-Dsun.util.logging.disableCallerCheck=true</modular.jdk.props>
Expand All @@ -6163,7 +6164,7 @@
<!-- fork is needed so compiler args can be used -->
<fork>true</fork>
<compilerArgs>
<arg>-J-addmods</arg>
<arg>-J--add-modules</arg>
<arg>-Jjava.annotations.common</arg>
</compilerArgs>
</configuration>
Expand Down

0 comments on commit 0160af3

Please sign in to comment.