Robbie Gemmell created QPIDJMS-537:
--------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]