You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/11 17:00:06 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17342736#comment-17342736 ]
ASF subversion and git services commented on QPIDJMS-537:
---------------------------------------------------------
Commit a6f08b6d58ba6db0d34beeac470d3d702f93f76d in qpid-jms's branch refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-jms.git;h=a6f08b6 ]
QPIDJMS-537: replace Float/Double constructor usage now marked deprecated-for-removal in Java 16
> 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: Major
> 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