OPENIDE disable SOE on EAP build

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

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;