Eric Milles created GROOVY-9281:
-----------------------------------
Summary: Unqualified inner class of super class reference 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
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)