[OpenJDK 2D-Dev] RFR: 8263488: Verify CWarningWindow works with metal rendering pipeline

Pankaj Bansal pbansal at openjdk.java.net
Sat Mar 20 10:55:39 UTC 2021

On Fri, 19 Mar 2021 10:17:57 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

> Root cause : 
> CWarningWindow creates a MTLLayer with null peer.
> In MTLLayer.replaceSurfaceData() method, insets should be set only if peer is not null.
> Fix : 
> Added the required null check.

Marked as reviewed by pbansal (Reviewer).


PR: https://git.openjdk.java.net/jdk/pull/3086

More information about the 2d-dev mailing list