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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • core-libs
    • b17

      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.

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

              Created:
              Updated:
              Resolved: