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

Runtime.Version.version should be an int[] instead of a List<Integer>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • other-libs
    • Fix Understood

      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)."

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

              Created:
              Updated: