<AWT Dev> RFR: 8256465: [macos] Java frame and dialog presented full screen freeze application [v10]

Tejpal Rebari trebari at openjdk.java.net
Fri Jun 4 14:30:02 UTC 2021


On Fri, 4 Jun 2021 13:48:18 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Tejpal Rebari has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add SupressWarnings and test changes
>
> test/jdk/java/awt/Window/TestAppFreeze.java line 107:
> 
>> 105: 
>> 106:     private static void testApp() {
>> 107:         testFrame = new JFrame("TestFrame");
> 
> This is being run on the wrong thread. You should wrap this method in an `invokeLater` as you did in the `createInstructionUI` method.

yeah , i have added this code to run on  EDT.

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

PR: https://git.openjdk.java.net/jdk/pull/3407


More information about the awt-dev mailing list