JDK-7175704 : [macosx] "8" PIT: NPE in GetDisplayMode fullscreen test
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u6,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-06-09
  • Updated: 2015-02-02
  • Resolved: 2012-10-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 7 JDK 8
7u6Resolved 8 b63Fixed
Related Reports
Duplicate :  
Relates :  
Description
In 8 b43 PIT testing on MacOS X 10.7.4, macmini4,1 observing a new failure:
NullPointerException in
sun.awt.CGraphicsDevice.setDisplayMode(CGraphicsDevice.java:190)

It may be related to 7124247: [macosx] Implement GraphicsDevice.setDisplayMode().
The same failure in 7u6 b18 after an attempt to setDisplayMode(null).

Comments
Need to check parameters in CGraphicsDevice.setDisplayMode() method and throw an IllegalArgumentException on attempt to call it with null parameter.
04-10-2012