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

[TEST_BUG] test FullScreenAfterSplash.java failed because image was not generated

    XMLWordPrintable

Details

    • b161

    Backports

      Description

        The test java/awt/SplashScreen/FullscreenAfterSplash/FullScreenAfterSplash.java runs after a preliminary step of creation of test.png by GenerateTestImage.java utility. The jtreg instructions are like this:
         * @build GenerateTestImage
         * @run main GenerateTestImage
         * @run main/othervm -splash:test.png FullScreenAfterSplash

        Back in July, 2015 the test passed on OS X 10.9 but failed on OS X 10.10 in the test itself, see JDK-8051590. However now in October it fails in GenerateTestImage with java.io.FileNotFoundException\: <...> workDir/classes/java/awt/SplashScreen/FullscreenAfterSplash/test.png

        Apparently new version of jtreg sets the test.classes property to workDir/classes/java/awt/SplashScreen/FullscreenAfterSplash/ but does not create this directory until the last @run step.

        Either we should ask for a reverse change in jtreg or find some workaround in the test itself. I think the second option would be better.

        I guess jdk8 is affected as well.

        Attachments

          Issue Links

            Activity

              People

                rsingh Rahul Singh (Inactive)
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: