[OpenJDK 2D-Dev] RFR: 8168364: [macosx] Delete unused class NSPrintinfo

Philip Race philip.race at oracle.com
Wed Oct 19 23:35:58 UTC 2016


bug: https://bugs.openjdk.java.net/browse/JDK-8168364
webrev : http://cr.openjdk.java.net/~prr/8168364/

NSPrintInfo is an Attribute so it can presumably be stuffed in an 
AttributeSet.
Apart from being inaccessible to apps and unused it is not a good idea.
It was perhaps once used to (re-?)initialise fNSPrintInfo .. and that 
needs to
be synchronized it seems. I fixed the one other unsynchronised use of that
as well as deleting the unused code.

-phil.



More information about the 2d-dev mailing list