RFR: 8022403: sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails [v4]

Jayathirth D V jdv at openjdk.org
Thu Nov 17 04:08:26 UTC 2022


On Wed, 16 Nov 2022 19:39:09 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove comment
>
> test/jdk/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java line 89:
> 
>> 87: 
>> 88:         final Frame frame = new Frame("OnScreenRenderingResizeTest") {
>> 89:             public void paint(Graphics g) {}
> 
> Looks like these two empty methods are removed by the fix, why?

We creating frame on EDT and running animation in main().
I didnt see any change by removing empty paint() method of frame(), thats why it is removed as cleanup.

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

PR: https://git.openjdk.org/jdk/pull/11158



More information about the client-libs-dev mailing list