OPENIDE disable SOE on EAP build

(cherry picked from commit 9e2c4755ba37857e30e9e2ca8d93febc0e71453c)
This commit is contained in:
Nikita Iarychenko
2025-05-12 13:20:18 +04:00
parent 7e95b509f2
commit 4169d04090

View File

@@ -1,4 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
//
// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru).
// Any modifications are available on the same license terms as the original source code.
package com.intellij.util;
import com.intellij.diagnostic.LoadingState;
@@ -188,7 +191,7 @@ public final class SlowOperations {
boolean result = System.getenv("TEAMCITY_VERSION") != null ||
application.isUnitTestMode() ||
application.isCommandLine() ||
!application.isEAP() && !application.isInternal() && !SystemProperties
!application.isInternal() && !SystemProperties
.getBooleanProperty(IDEA_PLUGIN_SANDBOX_MODE, false);
ourAlwaysAllow = result ? 1 : 0;
return result;