Skip to content
Permalink
Browse files
8277407: javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java…
… fails to compile after JDK-8276058

Reviewed-by: dcubed
  • Loading branch information
prsadhuk committed Nov 18, 2021
1 parent d93b238 commit 276bfcd1a115f90dde644abef79d64bb61788c75
Showing 1 changed file with 1 addition and 1 deletion.
@@ -80,7 +80,7 @@ public void run() {
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
robot.waitForIdle();

Color color = robot.getPixelColor(p.x - OFFSET_X, p.y - OFFSET_y);
Color color = robot.getPixelColor(p.x - OFFSET_X, p.y - OFFSET_Y);
robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
robot.waitForIdle();
boolean red = color.getRed() > 0 && color.getGreen() == 0 && color.getBlue() == 0;

1 comment on commit 276bfcd

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 276bfcd Nov 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.