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

[CRaC] tools/launcher/HelpFlagsTest.java and tools/launcher/VersionCheck.java tests fail on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-crac
    • repo-crac
    • tools
    • None
    • generic
    • windows

      Tests `tools/launcher/HelpFlagsTest.java` and `tools/launcher/VersionCheck.java` fail on Windows with the following exceptions:
      ```
      java.lang.AssertionError: HelpFlagsTest failed: Tool pauseengine.exe not covered by this test. Add specification to jdkTools array! Tool simengine.exe not covered by this test. Add specification to jdkTools array!
      ```
      ```
      java.lang.AssertionError: VersionCheck failed: testJVersionStrings: [simengine.exe, pauseengine.exe]; testToolVersion: [simengine.exe, pauseengine.exe];
      ```

      They would also fail on Linux and Mac but accidentally CRaC engine binaries are located in `jdk/lib` directory there instead of `jdk/bin`.

            tpushkin Timofei Pushkin
            tpushkin Timofei Pushkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: