Begin forwarded message:
Subject: update on JDK-8046290 (garbage pixels on OS X)
Date: November 29, 2015 at 11:39:12 AM PST
I believe I have encountered this previously reported bug and understand the cause. It is a timing problem that occurs when native code asks for pixels ( drawInCGLContext) at the same time that LWWindowPeer is trying to replace the surface data. The problem occurs if the request for pixels happens after a new CGLSurfaceData has been created but before it is initialized with a background color. In most cases, this error results in a transient flicker, but if the window is transparent, then the garbage pixels will be painted over by the background color and remain visible. Unfortunately, I have code that frequently runs into this problem.
I have attached a test case that is reliable (for me) on 1.8.0_66.
I hope with this new information the bug will be fixed soon.
Alan
|
Test.java
Description: Binary data