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

tools/jpackage/share/RuntimePackageTest.java fails because of systemPrefs files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • 15
    • 15
    • deploy
    • generic
    • linux

    Description

      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.

      Attachments

        Activity

          People

            asemenyuk Alexey Semenyuk
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: