-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
b23
-
Verified
The Bidi dependency on java.awt.font.TextAttribute and java.awt.font.NumericShaper is problematic for our modularization effort.
At this time (early JDK 9) then the dependency is reflective:
sun.text.bidi.BidiBase
->java.awt.font.TextAttribute
sun.text.bidi.BidiBase
->java.awt.font.NumericShaper
and this is good enough for Compact Profiles in JDK 8.
This bug requests that this dependency be re-examined in the context of modules where the access to the java.awt.font fonts types will fail with IllegalAccessException because the base module does not require the desktop module. A possible approach is to replace the current use of reflection with a solution based on sun.misc.SharedSecrets.
- relates to
-
JDK-8163362 Reconsider reflection usage in java.awt.font.JavaAWTFontAccessImpl class
-
- Resolved
-