You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2024/11/12 11:41:00 UTC

[jira] [Closed] (GROOVY-11406) Make Console.prefs public accessible

     [ https://issues.apache.org/jira/browse/GROOVY-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-11406.
------------------------------

> 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)