Hello, AWT Team.

Please review the fix for the issue:
https://bugs.openjdk.java.net/browse/JDK-8036917
The fix is available at:
http://cr.openjdk.java.net/~pchelko/9/8036917/webrev/

The problem:
We overretain native images so they are never deleted. 

The solution:
When we return a native image pointer to Java it's retain count should be 1, 
so in case we use alloc-init we should not use retain. The image will be deleted
in CFRetainedResource.dispose

It's impossible to make a regression test.

With best regards. Petr.

Reply via email to