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

[TEST] Make detection of compilation mode more robust

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: infrastructure
    • Labels:
      None
    • Resolved In Build:
      b15
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: