[OpenJDK 2D-Dev] RFR: 8202767 : java/awt/font/GlyphVector/TestLayoutFlags.java is missing null check

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 8 17:24:52 UTC 2018


+1

On 08/05/2018 08:32, Phil Race wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8202767
> webrev : http://cr.openjdk.java.net/~prr/8202767/
> 
> On a system without fonts that support this test, findFont returns null
> which in turn makes makeGlyphVector return null.
> The test needs to catch this else it will NPE
> 
> -phil.


-- 
Best regards, Sergey.


More information about the 2d-dev mailing list