Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-537

replace Float/Double constructor usage marked deprecated for-removal

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.58.0
    • Fix Version/s: 0.59.0, 1.0.0
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              robbie Robbie Gemmell
              Reporter:
              robbie Robbie Gemmell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: