You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/05/22 16:06:00 UTC

[jira] [Updated] (GROOVY-4909) insufficient compiler error messages relating to interface member visibility

     [ https://issues.apache.org/jira/browse/GROOVY-4909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Milles updated GROOVY-4909:
--------------------------------
    Labels: ClassFormatError  (was: )

> insufficient compiler error messages relating to interface member visibility
> ----------------------------------------------------------------------------
>
>                 Key: GROOVY-4909
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4909
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>              Labels: ClassFormatError
>             Fix For: 1.8.1, 1.7.11
>
>
> The following interface illustrates two problems:
> {code}
> interface Foo {
>   private static BAR = 3 // => java.lang.ClassFormatError: Illegal field modifiers in class Foo: 0x1A
>   protected foo() // => java.lang.ClassFormatError: Method foo in class Foo has illegal modifiers: 0x404
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)