RFR: 8340560: Open Source several AWT/2D font and rendering tests

Andrey Turbanov aturbanov at openjdk.org
Thu Sep 26 13:14:39 UTC 2024


On Wed, 25 Sep 2024 20:29:40 GMT, Phil Race <prr at openjdk.org> wrote:

> Open sourcing some rendering tests.

test/jdk/sun/awt/font/TestArabicHebrew.java line 75:

> 73:         int index = font.canDisplayUpTo(str);
> 74:         if (index != -1) {
> 75:             throw new RuntimeException("Cannot display char " +  index + " for " + script);

Suggestion:

            throw new RuntimeException("Cannot display char " + index + " for " + script);

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21192#discussion_r1777055226


More information about the client-libs-dev mailing list