JDK-8156711 : Runtime.Version.version should be an int[] instead of a List
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-05-11
  • 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
http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-February/039096.html

"I think it would be better to internally maintain an int[] for the version numbers rather than List<Integer>, that is more efficient in terms of space and comparing/equality (you can even use the new array comparison methods, thus the compareVersion becomes a one-liner)."