This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch GROOVY-11935-2
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY-11935-2 by this push:
new 4505234f5c GROOVY-11935: exclude private cases
4505234f5c is described below
commit 4505234f5c478c356a41cca392beac54c348ffca
Author: Daniel Sun <[email protected]>
AuthorDate: Sun May 24 16:57:34 2026 +0900
GROOVY-11935: exclude private cases
---
src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
b/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
index 6fbe331c02..62d0bcd943 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
@@ -421,7 +421,7 @@ public class IndyInterface {
// Private method (static or instance): non-overridable; the target is
uniquely determined
// and cannot change through subclassing, so relinking is safe on the
very first hit.
- if (Modifier.isPrivate(modifiers)) return true;
+// if (Modifier.isPrivate(modifiers)) return true;
// Static call: stable only when the call-site declared type is Class,
// because that is the only shape where the dispatch target is fully
determined by the