Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9144

CLONE - CLONE - CLONE - Fix warning "An illegal reflective access operation has occurred"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.11, 2.4.15
    • Fix Version/s: None
    • Component/s: groovy-jdk
    • Labels:
      None
    • Environment:

      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/master/subprojects/groovy-swing/src/test/groovy/groovy/beans/BindableSwingTest.groovy#L31-L40
      We are considering to generate stub/bridge methods automatically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                benrobot Benjamin Roedell
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: