Hi, Phil. Why we cannot change the implementation of getMaxAdvance() and make a quick check of the FontMetrics.getWidths() the same as in the test? I think it does not break the new spec and the test will pass.
On 4/28/20 12:38 pm, Philip Race wrote:
Bug: https://bugs.openjdk.java.net/browse/JDK-8221305 Webrev: http://cr.openjdk.java.net/~prr/8221305/ Now that we have resolved JDK-8230672 : Specification for java.awt.FontMetrics.getMaxAdvance() is too prescriptive. with an approved CSR, the assertion being tested by java/awt/FontMetrics/MaxAdvanceIsMax.java is not enforceable. The test should just be retired. -phil.
-- Best regards, Sergey.