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: Won't Fix
    • Icon: P4 P4
    • tbd
    • 10
    • other-libs

      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:
              Resolved: