Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299497

Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs

    XMLWordPrintable

Details

    • 2d
    • b07
    • generic
    • generic

    Backports

      Description

        A DESCRIPTION OF THE PROBLEM :
        There are several code samples in the Java SE API documentation still using constructors of primitive wrapper classes, which are deprecated for removal. They should be replaced by valueOf factory methods or auto-boxing.

        Here's what I found:

        java.awt.image.renderable.ParameterBlock
        java.awt.font.LineBreakMeasurer



        Attachments

          Issue Links

            Activity

              People

                prr Philip Race
                tongwan Andrew Wang
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: