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

Resources are not copied to the shims directory causing unit test failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • javafx

      The classes are copied to the shims directory, but the resources are not. This means that if the resources are not in the boot JDK we are using to run the tests, then they won't be found and the test will fail. This bug was discovered after the fix for JDK-8169286 went in, but would cause problems any time a new resource is added that a test depends upon.

      To reproduce this:

      1. build FX from tip of 9-dev

      2. build JDK using those bits

      3. build FX using the just-built JDK

      4. Run the system tests using the above-built JDK as follows:

      gradle -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test

      All of the tests that use resources in the monocle package will fail.

            ddhill David Hill (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: