Skip to content

Commit

Permalink
fix [GraalVM 21.3.0.r17] Optaplanner Native Build Failure with JDK17 #…
Browse files Browse the repository at this point in the history
…993

(cherry picked from commit bb8cb91)
  • Loading branch information
ffang authored and gsmet committed Dec 9, 2021
1 parent 1b7251b commit 723bc87
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,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 723bc87

Please sign in to comment.