Skip to content

Commit

Permalink
Use JavaBinFinder when launching decompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand authored and sberyozkin committed Jun 21, 2023
1 parent ad85e6d commit eb28606
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 eb28606

Please sign in to comment.