[OpenJDK 2D-Dev] RFR: 8038875: Remove use of ServiceLoader in finding class implementing sun.java2d.pipe. RenderingEngine

Mandy Chung mandy.chung at oracle.com
Wed May 7 22:12:28 UTC 2014

On 5/7/2014 2:57 PM, Phil Race wrote:
> I did away with the doPrivileged and it seems fine ...
> http://cr.openjdk.java.net/~prr/8038875.1/

I'm glad that the doPrivileged block is reduced just to 
System.getProperty.  Looks good while I still think it's worth 
considering replacing Class.forName(pisecesREClass) with new 
PiscesRenderingEngine() that will further simplify it.  I'll leave it 
for you and Jim to decide.


More information about the 2d-dev mailing list