JDK-8081301 : [TEST_BUG] java/awt/Focus/8073453/AWTFocusTransitionTest.java should not use internal API with JDK9
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-27
  • Updated: 2017-05-11
  • Resolved: 2015-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b76Fixed
Related Reports
Relates :  
Description
The test imports SunToolkit but  doesn't need SunToolkit for anything but realSync, it seems. 
Compilation of the test fails with modular build.

We either need to replace realSync with robot.waitForIdle()  with JDK9 or grant the usage of sun.awt.
I'm sorry but the first should be right thing to do, event if the test will be different in JDK9 comparing with older releases.
Comments
Fixed with JDK-8130430, JDK-8130125
11-08-2015

RULE java/awt/Focus/8073453/AWTFocusTransitionTest.java Exception java.lang.RuntimeException: Test Failed! Incorrect focus owner: null, but expected: java.awt.TextField[textfield0,0,1,30...,text=,editable,selection=0-0]
31-07-2015

Perhaps I should change synopsis. javax/swing/JRadioButton/8075609/bug8075609.java
27-05-2015

The same, java/awt/Focus/8073453/SwingFocusTransitionTest.java
27-05-2015