[OpenJDK 2D-Dev] RFR: 8248352: [TEST_BUG] Test test/jdk/java/awt/font/TextLayout/ArabicDiacriticTest.java can leave frame open

skodanda github.com+70650887+skodanda at openjdk.java.net
Mon Sep 21 22:00:52 UTC 2020


Hello All,

Could you please review a TEST_BUG fix for the JDK 16?

Bug: https://bugs.openjdk.java.net/browse/JDK-8248352

Problem description: The test test/jdk/java/awt/font/TextLayout/ArabicDiacriticTest.java can potentially leave the
frame open if it fails. If it were not for the frame, the test could be headless. So probably, we can remove the call
to showText() from the test and make it headless..

Fix: An argument is added to the test. If "-show" is passed, the test will show UI for visual inspection.

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

Commit messages:
 - Update ArabicDiacriticTest.java

Changes: https://git.openjdk.java.net/jdk/pull/255/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=255&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8248352
  Stats: 11 lines in 1 file changed: 2 ins; 4 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/255.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/255/head:pull/255

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


More information about the 2d-dev mailing list