<AWT Dev> [8] Review request for 7182902 [macosx] Test api/java_awt/GraphicsDevice/indexTGF.html#SetDisplayMode fails on Mac OS X 10.7

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Jul 17 07:34:00 PDT 2012


Please review the fix:
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7182902
webrev:  http://cr.openjdk.java.net/~alexsch/7182902/webrev.00/

There are 2 fixed problems:
- GraphicsDevice can have display mode which has non zero refresh rate.
   In this case the getBestModeForParameters method from the 
CGraphicsDevice.m class should
   return appropriate display mode even if the requested refresh rate is 

- The original DisplayMode should be restored after exiting from the 
Full Screen mode.


More information about the awt-dev mailing list