JDK-8221304 : Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7,8,11,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-22
  • Updated: 2020-02-26
  • Resolved: 2019-03-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 Other
11.0.4Fixed 13 b15Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Description
This test is failing regularly on MacOS + Solaris

eg: 
Testing java.awt.Font[family=Monospaced,name=Monospaced,style=bolditalic,size=10] in FT_LOAD_TARGET_MONO
getMaxAdvance: 7
Exception in thread "main" java.lang.Exception: FAILED: getMaxAdvance is not max for font: java.awt.Font[family=Monospaced,name=Monospaced,style=bolditalic,size=10] getMaxAdvance(): 7 getWidths()[131]: 10
	at MaxAdvanceIsMax.main(MaxAdvanceIsMax.java:129)

We need to problem list it for now.
Comments
Fix Request jdk8u release will be affected by this issue when JDK-8218854 is backported. jdk11u patch does not apply cleanly (because the black list has different tests) but it's trivial and a review process does not look necessary to me.
12-07-2019

Fix request We need to temporary disable the MaxAdvanceIsMax test for macOS and Solaris in order to successfully backport JDK-8218854. Patch applies cleanly to jdk11u.
17-04-2019