On Fri, 7 Aug 2020 21:38:27 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> Florian Kirmaier has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   JDK-8241840
>>   The tests are now reused for native and monocle tests.
>
> tests/system/src/test/java/test/javafx/stage/FocusedWindowTestBase.java line 
> 60:
> 
>> 59:     static WeakReference<Stage> closedFocusedStageWeak = null;
>> 60:     static Stage closedFocusedStage = null;
>> 61:
> 
> These two can be instance fields (which is usually preferred for test 
> variables).

They are called from the following static method:
    @BeforeClass
    public static void initFX() throws Exception {
        initFXBase();
    }

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

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

Reply via email to