bug : https://bugs.openjdk.java.net/browse/JDK-8146324 fix : http://cr.openjdk.java.net/~prr/8146324/
Developers have used an internal API to detect when TextLayout or GlyphVector.layoutGlyphVectorwill be needed since that is a slower path. This provides a public equivalent capability. I have included a test which checks the assertions of the API. A CCC will be filed. -phil.