[OpenJDK 2D-Dev] RFR: 8178708: Regtest failure: java/awt/Color/LoadProfileWithSM.java
Sergey Bylokhov
sergey.bylokhov at oracle.com
Sun Apr 16 19:26:18 UTC 2017
+1
>
>
> On 14/04/2017 16:47, Phil Race wrote:
>
>> 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.
> Sorry for the regression, we didn't run the AWT tests before pushing the last refresh.
>
> This fix looks okay to me.
>
> -Alan
More information about the 2d-dev
mailing list