[ https://issues.apache.org/jira/browse/GROOVY-11611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17943951#comment-17943951 ]
Eric Milles commented on GROOVY-11611: -------------------------------------- This is what I see when I try to do the same in Java: !screenshot-1.png! > Calls to the outer class's super from an inner class does not work > ------------------------------------------------------------------ > > Key: GROOVY-11611 > URL: https://issues.apache.org/jira/browse/GROOVY-11611 > Project: Groovy > Issue Type: Bug > Components: Compiler, Static compilation > Affects Versions: 4.0.24 > Reporter: Saravanan > Priority: Minor > Attachments: screenshot-1.png > > > This example fails with a compile error "no such property super in > java.lang.Class" on the line MyImplementation.super.myValue() > I am running static compilation > {code:java} > public class Wrapper { > public class MyInterface { > String myValue() { > return "BLAHBLAH"; > } > public static class MyImplementation extends MyInterface { > private String myValueFunction() { > return super.myValue(); > } > private final class Builder { > void init() { > // Error with no such property super in java.lang.Class > // maybe because MyImplementation makes a Class reference > in groovy > MyImplementation.super.myValue() > } > } > } > } > } {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)