From bc5f4a6cce265ebc03419f47db09d1be3f4f1cbb Mon Sep 17 00:00:00 2001 From: Dmitry Batrak Date: Wed, 26 Mar 2025 14:08:47 +0200 Subject: [PATCH] IJPL-182027 Make JCEF rem-dev support work on hosts with older glibc (cherry picked from commit ebcf60091f64abd5e3eae05909b58610996d5479) IJ-CR-158507 GitOrigin-RevId: 3c03052142d48d3e2d870c7627615951794228cb --- platform/ui.jcef/jcef/JBCefApp.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/platform/ui.jcef/jcef/JBCefApp.java b/platform/ui.jcef/jcef/JBCefApp.java index fa4e36b7cb2d..d2ac9dfb48f5 100644 --- a/platform/ui.jcef/jcef/JBCefApp.java +++ b/platform/ui.jcef/jcef/JBCefApp.java @@ -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 unsupported = (msg) -> { LOG.warn(msg + (!msg.contains("disabled") ? " (Use JBR bundled with the IDE)" : "")); return false;