RFR: 6899304 : java.awt.Toolkit.getScreenInsets(GraphicsConfiguration) returns incorrect values [v8]

Harshitha Onkar honkar at openjdk.org
Fri Jan 31 02:09:40 UTC 2025


On Fri, 31 Jan 2025 00:59:51 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> anass baya has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add debug output
>
> test/jdk/java/awt/Multiscreen/MultiScreenInsetsTest/MultiScreenInsetsTest.java line 59:
> 
>> 57:         GraphicsDevice[] gds = ge.getScreenDevices();
>> 58:         if (gds.length < 2) {
>> 59:             System.out.println("It's a multi-screen test... skipping!");
> 
> BTW I hope we have a test for insets in a single screen config?

Good point. Yes, I did see a test for Single screen config - `test/jdk/java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java`

@mrserb @aivanov-jdk May be it can be combined into one single test rather than have two separate tests?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23183#discussion_r1936568297


More information about the client-libs-dev mailing list