-
Bug
-
Resolution: Fixed
-
P4
-
11.0.7, 11.0.7-oracle, 17, 21, 25, 26
-
b04
The java/awt/font/TextLayout/MyanmarTextTest.java test passes if no font supporting Myanmar script is installed. Instead, it should throw jtreg.SkippedException if the preconditions to perform testing aren't met.
For example, MyanmarTextTest.java looks for 'Padauk' font on Linux. If the font is missing, the test returns early, that is the test passes, but it is wrong. The test should throw jtreg.SkippedException when the necessary preconditions are not satisfied.
The java/awt/font/TextLayout/MyanmarTextTest.java test creates and displays GUI, but it passes on headless machines because the preconditions aren't met. This behaviour leads to wrong assumption that the test can be run headless, but it can't.
For example, MyanmarTextTest.java looks for 'Padauk' font on Linux. If the font is missing, the test returns early, that is the test passes, but it is wrong. The test should throw jtreg.SkippedException when the necessary preconditions are not satisfied.
The java/awt/font/TextLayout/MyanmarTextTest.java test creates and displays GUI, but it passes on headless machines because the preconditions aren't met. This behaviour leads to wrong assumption that the test can be run headless, but it can't.
- relates to
-
JDK-8358691 Some of the headful tests are actually headless
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/bcad87ea
-
Review(jdk25) openjdk/jdk/25946
-
Review(master) openjdk/jdk/25879