[OpenJDK 2D-Dev] RFR: 8178708: Regtest failure: java/awt/Color/LoadProfileWithSM.java

Phil Race philip.race at oracle.com
Fri Apr 14 15:47:50 UTC 2017

Bug: http://cr.openjdk.java.net/~prr/8178708/
Webrev : http://cr.openjdk.java.net/~prr/8178708/

As of the b163 module system refresh, accessing resources in a modular image
requires a new RuntimePermission.

Since we were lacking that permission getResourceAsStream failed when trying
to open an ICC Color Profile and this bubbled up into a NPE.

Fixed by adding the new permission.


More information about the 2d-dev mailing list