On Fri, 9 Oct 2020 04:53:36 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> CSR: https://bugs.openjdk.java.net/browse/JDK-8218264
>
> Nir Lisker has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Addressed review comments

tests/system/src/test/java/test/javafx/scene/lighting3D/PointLightAttenuationTest.java
 line 135:

> 133:     @AfterClass
> 134:     public static void teardown() {
> 135:         Platform.runLater(() -> {

I forgot to mention that the `@AfterClass` method is still run even if the call 
to `assumeTrue` in the `@BeforeClass`
method causes the test to be skipped. You will need to repeat the check (or set 
a flag in `initFX` and check that flag)
here and skip the cleanup if the initialization was skipped (using an `if` 
check, not repeating the `assumeTrue`).
Otherwise the exception that is thrown here will cause the test to fail.

You can test this by forcing the SW pipeline. I did it like this:

_JAVA_OPTIONS="-Dprism.order=sw" gradle --info -PFULL_TEST=true 
:systemTests:test --tests PointLightAttenuationTest

-------------

PR: https://git.openjdk.java.net/jfx/pull/43

Reply via email to