[ https://issues.apache.org/jira/browse/ARTEMIS-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388084#comment-17388084 ]
ASF subversion and git services commented on ARTEMIS-3304: ---------------------------------------------------------- Commit d9a44002c5fe177ccb612197c1db59e22d62c90e in activemq-artemis's branch refs/heads/main from Robbie Gemmell [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=d9a4400 ] ARTEMIS-3304: replace use of deprecated constructors marked as for-removal since Java 16 updates all the uses in tests, missed in original commit > replace Long/Double/etc constructor usage marked deprecated for-removal > ----------------------------------------------------------------------- > > Key: ARTEMIS-3304 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3304 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 2.17.0 > Reporter: Robbie Gemmell > Assignee: Robbie Gemmell > Priority: Major > Fix For: 2.18.0 > > > The Long/Double/etc constructors were deprecated in Java 9. Some of the > selector code and lots of tests are still using these. The methods remain in > place currently, but the deprecation has been raised to for-removal status in > Java 16, meaning they are likely to actually go away in future. The valueOf > methods should be used instead. -- This message was sent by Atlassian Jira (v8.3.4#803005)