JDK-8131673 : [TEST_BUG] add @modules to some OS X-specific regtests
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-07-16
  • Updated: 2021-10-07
  • Resolved: 2015-07-17
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 8 JDK 9
8u321Fixed 9 b76Fixed
Related Reports
Relates :  
Description
There are 3 regression tests (if my calculations are right) accessing com.apple stuff by reflection. They were not properly patched in JDK-8076468 for this exactly reason and fail on OS X with a modular build.
Should fix them manually.

com/apple/eawt/DefaultMenuBar/DefaultMenuBarTest.java
java/awt/Mouse/EnterExitEvents/FullscreenEnterEventTest.java
java/awt/SplashScreen/FullscreenAfterSplash/FullScreenAfterSplash.java
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/6c39ec510816 User: lana Date: 2015-08-05 21:01:38 +0000
05-08-2015

URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/6c39ec510816 User: yan Date: 2015-07-17 08:45:48 +0000
17-07-2015

Note however that I cannot make latter 2 tests work on OS X 10.10: I cannot easily find full screen button which is in place of maximize button of earlier releases. OS X keeps a keyboard shortcut the same between releases but I don't know outright how to enable its processing. We should file another bug to fix that.
16-07-2015