Skip to content

Commit

Permalink
Merge pull request #33962 from geoand/#33930
Browse files Browse the repository at this point in the history
Use JavaBinFinder when launching decompiler
  • Loading branch information
geoand authored Jun 12, 2023
2 parents e83946c + 2cbed4a commit 66ef968
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
import io.quarkus.maven.dependency.ResolvedDependency;
import io.quarkus.paths.PathVisit;
import io.quarkus.paths.PathVisitor;
import io.quarkus.utilities.JavaBinFinder;

/**
* This build step builds both the thin jars and uber jars.
Expand Down Expand Up @@ -1612,7 +1613,7 @@ public boolean decompile(Path jarToDecompile) {
String fileName = jarToDecompile.getFileName().toString().substring(0, dotIndex);
ProcessBuilder processBuilder = new ProcessBuilder(
Arrays.asList(
"java",
JavaBinFinder.findBin(),
"-jar",
decompilerJar.toAbsolutePath().toString(),
"-rsy=0", // synthetic methods
Expand Down

0 comments on commit 66ef968

Please sign in to comment.