IDE Launcher should set JVM options like kc.sh (#32189)
Closes #32188 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
parent
ce07ad25a7
commit
b0dfef0c60
1 changed files with 12 additions and 0 deletions
|
@ -29,6 +29,18 @@ import io.quarkus.runtime.Quarkus;
|
|||
public class IDELauncher {
|
||||
|
||||
public static void main(String[] args) {
|
||||
if (System.getProperty("java.util.logging.manager") == null) {
|
||||
System.setProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager");
|
||||
}
|
||||
|
||||
if (System.getProperty("picocli.disable.closures") == null) {
|
||||
System.setProperty("picocli.disable.closures", "true");
|
||||
}
|
||||
|
||||
if (System.getProperty("java.util.concurrent.ForkJoinPool.common.threadFactory") == null) {
|
||||
System.setProperty("java.util.concurrent.ForkJoinPool.common.threadFactory", "io.quarkus.bootstrap.forkjoin.QuarkusForkJoinWorkerThreadFactory");
|
||||
}
|
||||
|
||||
List<String> devArgs = new ArrayList<>(Picocli.parseArgs(args));
|
||||
|
||||
if (System.getProperty("kc.home.dir") == null) {
|
||||
|
|
Loading…
Reference in a new issue