diff --git a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java index ecfa5b4385397..8c83b82ca1b1a 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java @@ -702,6 +702,10 @@ public NativeImageInvokerInfo build() { //address https://github.com/quarkusio/quarkus-quickstarts/issues/993 nativeImageArgs.add("-J--add-opens=java.base/java.text=ALL-UNNAMED"); + // kogito-dmn-quickstart is failing if we don't have this + nativeImageArgs.add("-J--add-opens=java.base/java.io=ALL-UNNAMED"); + // mybatis extension + nativeImageArgs.add("-J--add-opens=java.base/java.lang.invoke=ALL-UNNAMED"); if (nativeConfig.enableReports) { if (graalVMVersion.isOlderThan(GraalVM.Version.VERSION_21_3_2)) {