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

SC: error for call to protected method from same package

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-beta-2, 2.6.0-alpha-3
    • Component/s: None
    • Labels:
      None

      Description

      Groovy 2.5+ is producing compilation errors for @CompileStatic test class calling a protected method of class under test (in same package). This should be allowed as protected is "package-private" plus subtypes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwagenleitner John Wagenleitner
                Reporter:
                emilles Eric Milles
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: