This looks fine. I am just puzzled why reflection was used to begin with.What am I missing ? Was this future proofing against new constants being added ?
-phil. On 8/22/16, 7:40 PM, Rachna Goel wrote:
Hi, Please review fix for JDK-8163362. https://bugs.openjdk.java.net/browse/JDK-8163362 Webrev:http://cr.openjdk.java.net/~rgoel/JDK-8163362/webrev.01/ This is a cleanup fix in which Reflection usage in JavaAWTFontAccessImpl class was removed. Thanks, Rachna