Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4909

insufficient compiler error messages relating to interface member visibility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.1, 1.7.11
    • None

    Description

      The following interface illustrates two problems:

      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
      }
      

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: