mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
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:
committed by
intellij-monorepo-bot
parent
27972cf8ba
commit
bc5f4a6cce
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user