Skip to content

Commit

Permalink
Merge pull request #22005 from ffang/quarkus-quickstarts-993
Browse files Browse the repository at this point in the history
Fix Optaplanner native build failure with JDK17
  • Loading branch information
gsmet committed Dec 8, 2021
2 parents e9d6982 + bb8cb91 commit 5ce80ed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ public NativeImageInvokerInfo build() {
*/
nativeImageArgs.add("-J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED");

//address https://github.com/quarkusio/quarkus-quickstarts/issues/993
nativeImageArgs.add("-J--add-opens=java.base/java.text=ALL-UNNAMED");

handleAdditionalProperties(nativeImageArgs);

nativeImageArgs.add(
Expand Down

0 comments on commit 5ce80ed

Please sign in to comment.