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

Number.{byteValue, shortValue} spec should use @implSpec

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • core-libs
    • b17

    Description

      The Number abstract class has "default" methods for byteValue and shortValue which cast the result of intValue.

      Per current javadoc capabilities, such requirements should be captured in an @implSpec tag.

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: