Skip to content

Commit 969c68c

Browse files
authored
Merge branch 'main' into fix-123657
2 parents 694a192 + 196e083 commit 969c68c

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/SystemJvmOptions.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.elasticsearch.common.settings.Settings;
1313
import org.elasticsearch.common.util.concurrent.EsExecutors;
1414
import org.elasticsearch.core.Booleans;
15-
import org.elasticsearch.core.UpdateForV9;
1615
import org.elasticsearch.jdk.RuntimeVersionFeature;
1716

1817
import java.io.IOException;
@@ -150,7 +149,6 @@ private static Stream<String> maybeWorkaroundG1Bug() {
150149
return Stream.of();
151150
}
152151

153-
@UpdateForV9(owner = UpdateForV9.Owner.CORE_INFRA)
154152
private static Stream<String> maybeAllowSecurityManager(boolean useEntitlements) {
155153
if (RuntimeVersionFeature.isSecurityManagerAvailable()) {
156154
// Will become conditional on useEntitlements once entitlements can run without SM

libs/core/src/main/java/org/elasticsearch/jdk/RuntimeVersionFeature.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99

1010
package org.elasticsearch.jdk;
1111

12-
import org.elasticsearch.core.UpdateForV9;
13-
1412
public class RuntimeVersionFeature {
1513
private RuntimeVersionFeature() {}
1614

17-
@UpdateForV9(owner = UpdateForV9.Owner.CORE_INFRA) // Remove once we removed all references to SecurityManager in code
1815
public static boolean isSecurityManagerAvailable() {
1916
return Runtime.version().feature() < 24;
2017
}

0 commit comments

Comments
 (0)