Skip to content

Commit

Permalink
Enable ThrowMissingRegistrationErrors with GraalVM >= 23.1
Browse files Browse the repository at this point in the history
This feature will become available as non-experimental in the next
release (GraalVM for Java 22), and will be promoted to the default
behavior as the community adopts it.
  • Loading branch information
zakkak committed Jul 18, 2024
1 parent 6d8339f commit 82d2af2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,9 @@ public NativeImageInvokerInfo build() {
// Enabled by default in GraalVM 24.0.0.
nativeImageArgs.add("--strict-image-heap");
}
// This feature will become available as non-experimental in the next release (GraalVM for Java 22,
// GraalVM 24.0.0), and will be promoted to the default behavior as the community adopts it.
addExperimentalVMOption(nativeImageArgs, "-H:ThrowMissingRegistrationErrors=");
}

/*
Expand Down

0 comments on commit 82d2af2

Please sign in to comment.