IJPL-171213 Add toolkit information to the troubleshooting.txt

GitOrigin-RevId: 3e435e128554142a0623a09f7598dc7fa41ad4df
This commit is contained in:
Maxim Kartashev
2025-01-30 12:50:51 +00:00
committed by intellij-monorepo-bot
parent 5869bf3746
commit 55c88459cb
@@ -10,6 +10,7 @@ import com.intellij.troubleshooting.GeneralTroubleInfoCollector;
import com.intellij.util.system.CpuArch;
import org.jetbrains.annotations.NotNull;
import java.awt.*;
import java.io.IOException;
import java.nio.file.InvalidPathException;
import java.nio.file.Path;
@@ -64,6 +65,10 @@ final class AboutTroubleInfoCollector implements GeneralTroubleInfoCollector {
output += " (" + SystemInfo.OS_ARCH + (CpuArch.isEmulated() ? ", emulated" : "") + ')';
output += '\n';
output += "Toolkit: ";
output += Toolkit.getDefaultToolkit().getClass().getName();
output += '\n';
output += PathManager.PROPERTY_CONFIG_PATH + "=" + logPath(PathManager.getConfigPath()) + '\n';
output += PathManager.PROPERTY_SYSTEM_PATH + "=" + logPath(PathManager.getSystemPath()) + '\n';
output += PathManager.PROPERTY_PLUGINS_PATH + "=" + logPath(PathManager.getPluginsPath()) + '\n';