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

[TEST] Make detection of compilation mode more robust

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • infrastructure
    • None
    • b15
    • generic
    • generic

      The compilation mode in JTreg is parsed from the "java.vm.info" system property. The current implementation expects that "java.vm.info" contains exactly one of the strings "mixed mode", "compiled mode" or "interpreted mode" otherwise the detection will fail and JTreg will quit with an error.

      The detection can be done more robust by searching for the substrings "mixed mode", "compiled mode" or "interpreted mode" thus allowing OpenJDK builders to store additional information in the "java.vm.info" system property.

            simonis Volker Simonis
            simonis Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: