[ https://issues.apache.org/jira/browse/GROOVY-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855265#comment-17855265 ]
Eric Milles commented on GROOVY-11406: -------------------------------------- Would protected be enough? > Make Console.prefs public accessible > ------------------------------------ > > Key: GROOVY-11406 > URL: https://issues.apache.org/jira/browse/GROOVY-11406 > Project: Groovy > Issue Type: Improvement > Reporter: Daniel Sun > Assignee: Daniel Sun > Priority: Minor > Fix For: 5.0.0-alpha-9 > > > The > [Console.prefs|https://github.com/apache/groovy/blob/GROOVY_4_0_21/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy#L111] > property is declared private, however, it's accessed by ConsolePreference > object, for example > [here|https://github.com/apache/groovy/blob/GROOVY_4_0_21/subprojects/groovy-console/src/main/groovy/groovy/console/ui/ConsolePreferences.groovy#L52-L52], > causing an error to be reported when the Console class is extended by a > subclass. > > See also: [https://github.com/apache/groovy/pull/2086] > -- This message was sent by Atlassian Jira (v8.20.10#820010)