This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_4_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push: new 149612cd44 GROOVY-10610: Provide a better fallback for running without a security manager for groovysh on JDK18 (fix to not use property notation on interface) 149612cd44 is described below commit 149612cd444e778cde0e01f951178346e6adddb9 Author: Paul King <pa...@asert.com.au> AuthorDate: Wed Jun 1 18:55:18 2022 +1000 GROOVY-10610: Provide a better fallback for running without a security manager for groovysh on JDK18 (fix to not use property notation on interface) --- .../groovy/org/apache/groovy/groovysh/util/SecurityManagerUtil.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/SecurityManagerUtil.groovy b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/SecurityManagerUtil.groovy index e37da797d4..b16daa5088 100644 --- a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/SecurityManagerUtil.groovy +++ b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/SecurityManagerUtil.groovy @@ -32,7 +32,7 @@ class SecurityManagerUtil { } private boolean autoEnabledUntilJDK17() { - !CompilerConfiguration.isPostJDK18(VMPlugin.javaVersion) + !CompilerConfiguration.isPostJDK18(VMPlugin.getJavaVersion()) } private boolean explicitlyEnabled() {