IJPL-182027 Make JCEF rem-dev support work on hosts with older glibc

(cherry picked from commit ebcf60091f64abd5e3eae05909b58610996d5479)

IJ-CR-158507

GitOrigin-RevId: 3c03052142d48d3e2d870c7627615951794228cb
This commit is contained in:
Dmitry Batrak
2025-03-26 14:08:47 +02:00
committed by intellij-monorepo-bot
parent 27972cf8ba
commit bc5f4a6cce

View File

@@ -276,14 +276,15 @@ public final class JBCefApp {
}
private static boolean isSupportedImpl() {
if (SystemInfo.isLinux && !isLinuxLibcSupported()) {
return false;
}
CefDelegate delegate = getActiveDelegate();
if (delegate != null) {
return delegate.isCefSupported();
}
if (SystemInfo.isLinux && !isLinuxLibcSupported()) {
return false;
}
Function<String, Boolean> unsupported = (msg) -> {
LOG.warn(msg + (!msg.contains("disabled") ? " (Use JBR bundled with the IDE)" : ""));
return false;