Skip to content

Commit

Permalink
Option TraceServiceLoaderFeature removed in GraalVM 23.1
Browse files Browse the repository at this point in the history
The option `TraceServiceLoaderFeature` is no longer available starting
with GraalVM 23.1 as part of a refactoring in how the
`ServiceLoaderFeature` works.

There is currently no option offering similar output.

Fixes quarkusio#36129
  • Loading branch information
zakkak committed Nov 8, 2023
1 parent 59bc85b commit 6b16b10
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,10 @@ public NativeImageInvokerInfo build() {

if (nativeConfig.autoServiceLoaderRegistration()) {
addExperimentalVMOption(nativeImageArgs, "-H:+UseServiceLoaderFeature");
//When enabling, at least print what exactly is being added:
nativeImageArgs.add("-H:+TraceServiceLoaderFeature");
if (graalVMVersion.compareTo(GraalVM.Version.VERSION_23_1_0) < 0) {
// When enabling, at least print what exactly is being added. Only possible in <23.1.0
nativeImageArgs.add("-H:+TraceServiceLoaderFeature");
}
} else {
addExperimentalVMOption(nativeImageArgs, "-H:-UseServiceLoaderFeature");
}
Expand Down

0 comments on commit 6b16b10

Please sign in to comment.