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

insufficient compiler error messages relating to interface member visibility

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.1, 1.7.11
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: