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 authored and DavideD committed Nov 27, 2023
1 parent f94faf9 commit 85da8a2
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 85da8a2

Please sign in to comment.