diff --git a/core/src/main/java/org/elasticsearch/script/groovy/GroovyScriptEngineService.java b/core/src/main/java/org/elasticsearch/script/groovy/GroovyScriptEngineService.java index 7b73cdbc5fd..f128edcd9f0 100644 --- a/core/src/main/java/org/elasticsearch/script/groovy/GroovyScriptEngineService.java +++ b/core/src/main/java/org/elasticsearch/script/groovy/GroovyScriptEngineService.java @@ -64,10 +64,6 @@ public class GroovyScriptEngineService extends AbstractComponent implements Scri /** * The setting to enable or disable invokedynamic instruction support in Java 7+. *

- * This should only be used with Java 7u60 or later because of issues related to the instruction. - * The invokedynamic instruction allows near-Java performance from many of Groovy's - * dynamic features, which is why it is enabled by default. - *

* Note: If this is disabled because invokedynamic is causing issues, then the Groovy * indy jar needs to be replaced by the non-indy variant of it on the classpath (e.g., * groovy-all-2.4.4-indy.jar should be replaced by groovy-all-2.4.4.jar).