RFR: 8265586: [windows] last button is not shown in AWT Frame with BorderLayout and MenuBar set. [v3]

Harshitha Onkar honkar at openjdk.java.net
Wed Jun 15 15:52:12 UTC 2022


On Wed, 15 Jun 2022 05:37:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   minor changes
>
> test/jdk/java/awt/Frame/AwtFramePackTest.java line 42:
> 
>> 40:  * @bug 8265586
>> 41:  * @key headful
>> 42:  * @requires (os.family == "windows")
> 
> Any reason why the test is windows specific? It does not have the platform specific code.

@mrserb I wanted to clarify if you meant - Though the fix is windows specific, the condition used in test case frame.getSize() == frame.getPreferredSize() should hold on all platforms and the test case can be made generic?

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

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



More information about the client-libs-dev mailing list