Skip to content

Commit

Permalink
Merge pull request #5711 from ropalka/WFCORE-6556
Browse files Browse the repository at this point in the history
[WFCORE-6556] Fixing JDK11 illegal access warnings in Elytron tests
  • Loading branch information
yersan authored Oct 12, 2023
2 parents d316d7e + d16ff7d commit 64ea149
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 64ea149

Please sign in to comment.