[ https://issues.apache.org/jira/browse/GROOVY-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152320#comment-17152320 ]
Eric Milles commented on GROOVY-9471: ------------------------------------- Is "import static Outer.Inner" supposed to work in Groovy? I only just recently saw it in Java and thought it was odd that it worked there at all when you can just use plain imports for this purpose. > 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 > Priority: Major > > {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)