Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8537

[Broker-J] Replace use of constructors marked deprecated for-removal

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: qpid-java-broker-8.0.4
    • Fix Version/s: qpid-java-broker-8.0.5
    • Component/s: Broker-J
    • Labels:
      None

      Description

      The Long/Float/Double etc constructors were deprecated in Java 9. Various bits of the codebase (mostly tests, but some not) are still using these. The constructors remain available currently, but their deprecation was raised to for-removal status in Java 16, meaning they are intended for actual removal at some point. The valueOf methods should be used instead.

        Attachments

          Activity

            People

            • Assignee:
              robbie Robbie Gemmell
              Reporter:
              robbie Robbie Gemmell

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment