hg: jdk/client: 8245159: Font.getStringBounds() throws IAE for empty string if the Font has layout attributes.

philip.race at oracle.com philip.race at oracle.com
Sun Jul 19 18:08:07 UTC 2020


Changeset: 003ee1074ca8
Author:    prr
Date:      2020-07-19 11:03 -0700
URL:       https://hg.openjdk.java.net/jdk/client/rev/003ee1074ca8

8245159: Font.getStringBounds() throws IAE for empty string if the Font has layout attributes.
Reviewed-by: serb

! src/java.desktop/share/classes/java/awt/Font.java
+ test/jdk/java/awt/FontClass/ZeroWidthStringBoundsTest.java



More information about the jdk-client-changes mailing list