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

Incorrect comparison of number version strings in ToolValidator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      If jdk.jpackage.internal.ToolValidator instance is configured with the minimal version value of "8" and the version string to compare is "10" the outcome of the comparison would be "10" is less than "8". This is not correct for numbers.

        Attachments

          Activity

            People

            Assignee:
            asemenyuk Alexey Semenyuk
            Reporter:
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: