When running a whole jdk jtreg test suite we notice failures of the the tools/jpackage/share/RuntimePackageTest.java test.
Failures are like this :
TRACE: Missing 3 files:
TRACE: .systemPrefs
TRACE: .systemPrefs/.system.lock
TRACE: .systemPrefs/.systemRootModFile
TRACE: Done
ERROR: Failed: Check there are no missing files in installed image
Looking into the jdk under test, we notice the mentioned files were created inside the jdk under test
(by previous jtreg tests, this is indicated by the time stamps of those files).
my estimation is that some other tests using FileSystemPreferences might created those files.
The RuntimePackageTest.java test however does not expect those files in the jdk image under test.
Failures are like this :
TRACE: Missing 3 files:
TRACE: .systemPrefs
TRACE: .systemPrefs/.system.lock
TRACE: .systemPrefs/.systemRootModFile
TRACE: Done
ERROR: Failed: Check there are no missing files in installed image
Looking into the jdk under test, we notice the mentioned files were created inside the jdk under test
(by previous jtreg tests, this is indicated by the time stamps of those files).
my estimation is that some other tests using FileSystemPreferences might created those files.
The RuntimePackageTest.java test however does not expect those files in the jdk image under test.