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

[JEP 390] Deprecate wrapper class constructors for removal

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 16
    • None
    • core-libs
    • b28

      The public constructors of the following classes have been deprecated since SE 9, and should be deprecated for removal in anticipation of these classes becoming inline classes.

      java.lang.Byte
      java.lang.Short
      java.lang.Integer
      java.lang.Long
      java.lang.Float
      java.lang.Double
      java.lang.Character
      java.lang.Boolean

      The existing documentation seems to sufficiently describe the alternatives for creating instances of these classes.

            rriggs Roger Riggs
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: