JDK-8158494 : [macosx] Regression: no Popup in javax/swing/Popup/TaskbarPositionTest.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • Submitted: 2016-06-02
  • Updated: 2016-09-20
  • Resolved: 2016-09-20
Related Reports
Duplicate :  
Relates :  
Description
Run this test on OS X with b120 or i.e. current state of jdk9/client from Jun 1-st with JDK-8158230 pushed:
javax/swing/Popup/TaskbarPositionTest.java

It will fail because there will be no Popup to get bounds of.
The test does pass with b111.
As JDK-8158230 is fixed, there seems to be another issue.
Comments
This issue is already fixed in JDK 130 build as part of fix of the issue 8156460. Webrev link: http://cr.openjdk.java.net/~mhalder/8156460/webrev.01/ Hence closing this issue as a duplicate of issue 8156460.
16-08-2016

This is an AWT issue. On checking manually, it works fine. Probably issue with keybinding or Robot in the case of MacOS X due to default keybinding for Ctrl+down being a different system action. Mostly a test case issue.
16-08-2016

This is not a regression. Fixing JDK-8158230 has exposed another issue unrelated to the same.
16-08-2016

RULE "javax/swing/Popup/TaskbarPositionTest.java" Exception java.lang.RuntimeException: We do not match! java.awt.Rectangle ( it is screen geometry-specific: [x=0,y=23,width=1280,height=730] / ) and it is not:-) java.awt.Rectangle[x=0,y=0,width=0,height=0] )
02-06-2016