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 committed Jun 12, 2023
1 parent 55fb3b2 commit 2cbed4a
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 2cbed4a

Please sign in to comment.