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

(spec) Runtime.Version.version() should reference indices of List

XMLWordPrintable

      The current specification:

          Returns an unmodifiable List of the integer numerals contained in the
          version number. The List always contains at least one element
          corresponding to the major version number.

      An update along the following lines may be clearer:

          Returns an unmodifiable List of the integer numerals contained in the
          version number. The zeroth element of the List is the required
          major version number. The first and second elements correspond to
          the major and security version numbers, if present.


      List always contains at least one element
           corresponding to the major version number.

            iris Iris Clark
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: