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

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

    XMLWordPrintable

Details

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

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: