Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3794

javaVersion() in org.apache.openejb.arquillian.common.Setup breaks for version strings with length lower than 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.8
    • 8.0.9
    • None

    Description

      javaVersion() in org.apache.openejb.arquillian.common.Setup breaks for GA version of JDK 17 retrieved via https://jdk.java.net/17/ with

      Reason: We get an IndexOutOfBoundException as GA version returns "17" for "java.version" property. Doing a substring operation from 0,3 leads to an exception.

       

      Attachments

        Activity

          People

            rzo1 Richard Zowalla
            rzo1 Richard Zowalla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: