Skip to content

Commit

Permalink
[WFCORE-6556] Fixing JDK11 illegal access warnings in Elytron tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ropalka committed Oct 11, 2023
1 parent 98b9d18 commit d16ff7d
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion elytron/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
<properties>
<!-- TlsTestCase specifies use of sun.security.ssl.SunJSSE in the server config,
so make it available. -->
<modular.jdk.args>${standard.client.modular.jdk.args}
<modular.jdk11.args/>
<modular.jdk.args>${standard.client.modular.jdk.args} ${modular.jdk11.args}
--add-opens=java.base/sun.security.ssl=ALL-UNNAMED
</modular.jdk.args>
</properties>
Expand Down Expand Up @@ -409,4 +410,23 @@
</plugins>
</build>

<!-- Profiles -->
<profiles>
<!--
Name: JDK11
Descr: JDK11 specific settings
-->
<profile>
<id>jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<properties>
<modular.jdk11.args>
--add-opens=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED
</modular.jdk11.args>
</properties>
</profile>
</profiles>

</project>

0 comments on commit d16ff7d

Please sign in to comment.