You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Wagenleitner (JIRA)" <ji...@apache.org> on 2018/05/18 15:08:00 UTC
[jira] [Resolved] (GROOVY-8509) SC: error for call to protected
method from same package
[ https://issues.apache.org/jira/browse/GROOVY-8509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Wagenleitner resolved GROOVY-8509.
---------------------------------------
Resolution: Fixed
Assignee: John Wagenleitner
Fix Version/s: 2.5.0-rc-3
3.0.0-alpha-3
2.6.0-alpha-4
Provided patch applied, thanks.
> SC: error for call to protected method from same package
> --------------------------------------------------------
>
> Key: GROOVY-8509
> URL: https://issues.apache.org/jira/browse/GROOVY-8509
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 2.5.0-beta-2, 2.6.0-alpha-3
> Reporter: Eric Milles
> Assignee: John Wagenleitner
> Priority: Major
> Fix For: 2.6.0-alpha-4, 3.0.0-alpha-3, 2.5.0-rc-3
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)