File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli
libs/core/src/main/java/org/elasticsearch/jdk Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 1212import org .elasticsearch .common .settings .Settings ;
1313import org .elasticsearch .common .util .concurrent .EsExecutors ;
1414import org .elasticsearch .core .Booleans ;
15- import org .elasticsearch .core .UpdateForV9 ;
1615import org .elasticsearch .jdk .RuntimeVersionFeature ;
1716
1817import 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
Original file line number Diff line number Diff line change 99
1010package org .elasticsearch .jdk ;
1111
12- import org .elasticsearch .core .UpdateForV9 ;
13-
1412public 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 }
You can’t perform that action at this time.
0 commit comments