You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2021/05/11 17:08:00 UTC

[jira] [Resolved] (QPIDJMS-537) replace Float/Double constructor usage marked deprecated for-removal

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

Robbie Gemmell resolved QPIDJMS-537.
------------------------------------
    Resolution: Fixed

> replace Float/Double constructor usage marked deprecated for-removal
> --------------------------------------------------------------------
>
>                 Key: QPIDJMS-537
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-537
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.58.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Trivial
>             Fix For: 0.59.0
>
>
> The Float and Double constructors were deprecated in Java 9. Some of the 'mature'/previously-generated selector code is still using these. The methods remain currently but have additionally been marked as for-removal in Java 16, meaning they are intended for actual removal and could actually go away in 17+. The valueOf methods should be used instead.
> (This isn't visible during build normally while the javac -release flag is being set, but having disabled it to test something else the compiler then emitted a warning once using the Java16 signatures even though continuing to target 8)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org