Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.11, 2.4.15
-
None
-
None
Description
This cloned issue is to cover the rest part of GROOVY-9103.
? means that we should discuss the case further as some breaking changes may be introduced.
2) Sub-class derives the protected members from public class,
2.0) ?Invoke the members on the sub class instances(Truely illegal access), e.g.
https://github.com/apache/groovy/blob/b7d24132129cc871e81e1c0a0edc4608c5b85477/subprojects/groovy-swing/src/test/groovy/groovy/swing/beans/BindableSwingTest.groovy#L32
We are considering to generate stub/bridge methods automatically.
Attachments
Issue Links
- is a clone of
-
GROOVY-9103 CLONE - CLONE - Fix warning "An illegal reflective access operation has occurred"
- Closed
- relates to
-
GROOVY-9596 Cannot access protected field of Java superclass with --illegal-access=deny
- Closed
-
GROOVY-10070 Groovy classes (for Groovy < 4) cannot access protected methods from base classes under Java 16
- Closed
-
GROOVY-10931 Remove $getLookup method generation (Groovy 4+)
- Closed