[platform] catching early AWT init errors; more diagnostics (IDEA-236262)

GitOrigin-RevId: f3abe0b4bb7e42e604aa4caf0fed96a33efb14b8
This commit is contained in:
Roman Shevchenko
2020-06-18 22:51:44 +03:00
committed by intellij-monorepo-bot
parent 10884998f7
commit e1e85554b4
@@ -19,6 +19,7 @@ import com.intellij.ide.gdpr.ConsentOptions;
import com.intellij.ide.gdpr.EndUserAgreement;
import com.intellij.ide.instrument.WriteIntentLockInstrumenter;
import com.intellij.ide.plugins.PluginManagerCore;
import com.intellij.ide.plugins.StartupAbortedException;
import com.intellij.ide.ui.laf.IntelliJLaf;
import com.intellij.jna.JnaLoader;
import com.intellij.openapi.application.ApplicationInfo;
@@ -367,6 +368,7 @@ public final class StartupUtil {
}
catch (Throwable e) {
initUiFuture.completeExceptionally(e);
StartupAbortedException.processException(e);
}
});
@@ -661,6 +663,9 @@ public final class StartupUtil {
}
}
log.info("library path: " + System.getProperty("java.library.path"));
log.info("boot library path: " + System.getProperty("sun.boot.library.path"));
logEnvVar(log, "_JAVA_OPTIONS");
logEnvVar(log, "JDK_JAVA_OPTIONS");
logEnvVar(log, "JAVA_TOOL_OPTIONS");