JDK-8157260 : (spec) Runtime.Version.version() should reference indices of List
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 9
  • Priority: P2
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-05-18
  • Updated: 2024-01-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
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.