<AWT Dev>  Please review fix for 7175183: [macosx] Objective-C exception thrown when switching monitor configuration
Sergey.Bylokhov at oracle.com
Tue Sep 4 04:08:59 PDT 2012
I think that it should be reviewed on 2d alias.
But a few comments:
- It is unclear how getBackupSurface can set sdAccel to null, but if
it set, it should invalidate old surface.
- Same question about CWrapper: if pointer contains nil do we release
this object before?
04.09.2012 13:48, Alexander Zuev wrote:
> please review my fix for CR 7175183: [macosx] Objective-C exception
> thrown when switching monitor configuration
> The NPE happens because of the getBackupSurface method call results
> in the resetting of the current surface to null. The idea of the fix
> is to check for it in both native and java methods before using it.
> Bug description is:
> Webrev can be found here:
> With best regards,
Best regards, Sergey.
More information about the awt-dev