Daniil Ovchinnikov created GROOVY-9471:
------------------------------------------

             Summary: NCDFE: nested class in middle class via static import 
resolution
                 Key: GROOVY-9471
                 URL: https://issues.apache.org/jira/browse/GROOVY-9471
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 2.5.10
            Reporter: Daniil Ovchinnikov


{code}
import static Child.Nested

class Parent {
    Nested xxx
}

class Middle extends Parent {
    static class Nested {}
}

class Child extends Middle {}

println(new Parent()) // java.lang.NoClassDefFoundError: Nested
{code}

The same exception when using star import.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to