You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/07/13 11:50:58 UTC
[groovy] branch GROOVY_3_0_X updated: fix typo
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 2edf912 fix typo
2edf912 is described below
commit 2edf912aaacaba8192602d5ea88f6660c1a5b470
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Jul 13 21:50:36 2020 +1000
fix typo
---
src/main/java/org/codehaus/groovy/vmplugin/v8/Java8.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/Java8.java b/src/main/java/org/codehaus/groovy/vmplugin/v8/Java8.java
index 15e5cdb..6fc9775 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/Java8.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/Java8.java
@@ -621,7 +621,7 @@ public class Java8 implements VMPlugin {
@Override
public Object getInvokeSpecialHandle(final Method method, final Object receiver) {
if (getLookupConstructor() == null) {
- throw new GroovyBugError("getInvokeSpecialHandle requires at least JDK 7 wot private access to Lookup");
+ throw new GroovyBugError("getInvokeSpecialHandle requires at least JDK 7 for private access to Lookup");
}
if (!method.isAccessible()) {
AccessController.doPrivileged((PrivilegedAction<Object>) () -> {