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

jtreg tests minor issues clean up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • tools
    • b27

    Backports

      Description

        Running jpackage tests locally uncovered some minor issues:
        1. BasicTest.testTemp fails on Windows randomly. Seems like exe installer get locked by antivirus when
        ---
                    // Clean output from the previus jpackage run.
                    Files.delete(cmd.outputBundle());
        ---
        code is executed making the test fail. Suggested fix is to remove this redundant clean up action.

        2. Test that run jpackage with `--add-modules` argument fail if launched with the specified external Java runtime (`-r` option of run_tests.sh script). Suggested fix is to add `ignoreDefaultRuntime(true)` call to all JPackageCommand instances configured to run jpackage with `--add-modules` argument.

        Attachments

          Issue Links

            Activity

              People

                asemenyuk Alexey Semenyuk
                asemenyuk Alexey Semenyuk
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: