Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248096 | 16 | Alexey Semenyuk | P4 | Resolved | Fixed | team |
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.
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.
- backported by
-
JDK-8248096 jtreg tests minor issues clean up
-
- Resolved
-