[OpenJDK 2D-Dev] RFR: JDK-8163362-Reconsider reflection usage in java.awt.font.JavaAWTFontAccessImpl class

Philip Race philip.race at oracle.com
Tue Aug 23 04:28:55 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160822/36e9b9a3/attachment.html>


More information about the 2d-dev mailing list