[
https://issues.apache.org/jira/browse/GROOVY-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-9281.
---------------------------------
Fix Version/s: 3.0.0-rc-1
Resolution: Fixed
> Unqualified reference to inner class of super class does not support
> package-private visibility
> -----------------------------------------------------------------------------------------------
>
> Key: GROOVY-9281
> URL: https://issues.apache.org/jira/browse/GROOVY-9281
> Project: Groovy
> Issue Type: Bug
> Reporter: Eric Milles
> Assignee: Eric Milles
> Priority: Minor
> Fix For: 3.0.0-rc-1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Follow up to GROOVY-8531. Consider the following:
> Outer.java
> {code:java}
> package pack;
> class Outer {
> enum Inner {
> CONST
> }
> Outer(Inner inner) {
> }
> }
> {code}
> Other.groovy
> {code:groovy}
> package pack
> class Other extends Outer {
> Other() {
> super(Inner.CONST)
> }
> }
> {code}
> The reference to the static inner class "Inner" should also work for
> package-private visibility. Currently public and protected are supported.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)