mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Remove @UpdateForV9 usages that are related to security manager removal (#123690)
* Remove @UpdateForV9 annotation in RuntimeVersionFeature Re ES-10338 the Core/Infra team agreed that this is not blocked on security manager removal. We should go ahead and remove these 2 instances of the @UpdateForV9 annotation, the code will be cleaned up soon with the removal of Security Manager. * Remove @UpdateForV9 annotation from SystemJvmOptions re ES-10338 the Core/Infra team agreed this is not blocked on security manager removal. We should go ahead and remove this instance of the @UpdateForV9 annotation.
This commit is contained in:
parent
8baba58529
commit
196e083502
2 changed files with 0 additions and 5 deletions
|
@ -9,12 +9,9 @@
|
|||
|
||||
package org.elasticsearch.jdk;
|
||||
|
||||
import org.elasticsearch.core.UpdateForV9;
|
||||
|
||||
public class RuntimeVersionFeature {
|
||||
private RuntimeVersionFeature() {}
|
||||
|
||||
@UpdateForV9(owner = UpdateForV9.Owner.CORE_INFRA) // Remove once we removed all references to SecurityManager in code
|
||||
public static boolean isSecurityManagerAvailable() {
|
||||
return Runtime.version().feature() < 24;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue