RFR: 8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java fails [v2]

Damon Nguyen dnguyen at openjdk.org
Wed Nov 30 17:53:14 UTC 2022


On Tue, 29 Nov 2022 05:26:11 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update test to capture current screen
>
> test/jdk/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java line 128:
> 
>> 126:         robot.waitForIdle();
>> 127:         if (choice.getSelectedIndex() == 0) {
>> 128:             GraphicsConfiguration ge = GraphicsEnvironment
> 
> `ge` is unused in the latest version of the patch?

My mistake. This was a remnant from when I was double-checking that the image would still produce correctly. But yes, I'm just using the existing instance of `ge` since that is determining the screen where the popup is shown.

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

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



More information about the client-libs-dev mailing list