groovy
  1. groovy
  2. GROOVY-4909

insufficient compiler error messages relating to interface member visibility

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.1, 1.7.11
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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
      }
      

        Activity

          People

          • Assignee:
            Paul King
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: