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

SC: error for call to protected method from same package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0-beta-2, 2.6.0-alpha-3
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: