You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2025/05/29 13:34:00 UTC
[jira] [Resolved] (GROOVY-11680) Java stubs use deprecated constant constructors in some cases
[ https://issues.apache.org/jira/browse/GROOVY-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles resolved GROOVY-11680.
----------------------------------
Resolution: Fixed
> Java stubs use deprecated constant constructors in some cases
> -------------------------------------------------------------
>
> Key: GROOVY-11680
> URL: https://issues.apache.org/jira/browse/GROOVY-11680
> Project: Groovy
> Issue Type: Improvement
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
> Fix For: 5.0.0-beta-2
>
>
> In stub code for static constants in classes, generated code uses the deprecated (from JDK9) constructors like {{new Boolean(false)}} instead of {{Boolean.valueOf(false)}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)