OPENIDE disable SOE on EAP build

(cherry picked from commit cdfd76be2c)
(cherry picked from commit 6de2d7338e)
This commit is contained in:
Nikita Iarychenko
2025-05-12 13:20:18 +04:00
parent d805aca0a2
commit 814aaa0097

View File

@@ -1,4 +1,7 @@
// 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;
@@ -222,7 +225,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;