RFR: 8286867: Update #getGlyphCode return a negative number

Tomator duke at openjdk.java.net
Wed May 18 21:16:13 UTC 2022


On Tue, 17 May 2022 13:34:47 GMT, yosbits <duke at openjdk.java.net> wrote:

> Reading the author's description of this PR, one wonders why the added condition is not "glyphCode < 0".
> 
> ```java
> if (glyphCode <= 0) {return null;}
> ```

Your suggestion is right

-------------

PR: https://git.openjdk.java.net/jfx/pull/795


More information about the openjfx-dev mailing list