mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +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() {
|
private static boolean isSupportedImpl() {
|
||||||
if (SystemInfo.isLinux && !isLinuxLibcSupported()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
CefDelegate delegate = getActiveDelegate();
|
CefDelegate delegate = getActiveDelegate();
|
||||||
if (delegate != null) {
|
if (delegate != null) {
|
||||||
return delegate.isCefSupported();
|
return delegate.isCefSupported();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (SystemInfo.isLinux && !isLinuxLibcSupported()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
Function<String, Boolean> unsupported = (msg) -> {
|
Function<String, Boolean> unsupported = (msg) -> {
|
||||||
LOG.warn(msg + (!msg.contains("disabled") ? " (Use JBR bundled with the IDE)" : ""));
|
LOG.warn(msg + (!msg.contains("disabled") ? " (Use JBR bundled with the IDE)" : ""));
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user