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

Fix warning "An illegal reflective access operation has occurred"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.11, 2.4.15
    • None
    • groovy-jdk
    • 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

          Activity

            People

              emilles Eric Milles
              benrobot Benjamin Roedell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: