Skip to content

Commit

Permalink
Update native image args
Browse files Browse the repository at this point in the history
* `--allow-incomplete-classpath` is now default.
* `VersionEnum` is now loaded during build time.
* Native image now runs on the module path, obviously missing an export
  (see also: oracle/graal#4468)
  • Loading branch information
beatngu13 committed Sep 10, 2022
1 parent 61017a1 commit 5d85ac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@
<javaStaticSdkVersion>${java.version}</javaStaticSdkVersion>
<javafxStaticSdkVersion>${javafx.version}</javafxStaticSdkVersion>
<nativeImageArgs>
<arg>--allow-incomplete-classpath</arg>
<arg>--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.proxy=ALL-UNNAMED</arg>
<arg>--initialize-at-build-time=org.pdfclown.Version</arg>
<arg>--initialize-at-build-time=org.pdfclown.VersionEnum</arg>
<arg>--no-fallback</arg>
</nativeImageArgs>
</configuration>
Expand Down

0 comments on commit 5d85ac7

Please sign in to comment.