mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-09 21:19:38 +00:00
8178708: Regtest failure: java/awt/Color/LoadProfileWithSM.java
Reviewed-by: serb, alanb, mchung
This commit is contained in:
parent
ea40cb4fca
commit
8fbe9c5865
@ -1874,7 +1874,8 @@ public class ICC_Profile implements Serializable {
|
||||
return
|
||||
PCMM.class.getResourceAsStream("profiles/" + fileName);
|
||||
}
|
||||
}, null, new FilePermission("<<ALL FILES>>", "read"));
|
||||
}, null, new FilePermission("<<ALL FILES>>", "read"),
|
||||
new RuntimePermission("accessSystemModules"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -25,7 +25,7 @@ import java.awt.color.*;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8058969
|
||||
* @bug 8058969 8178708
|
||||
* @summary test standard profiles loads with SecurityManager installed.
|
||||
* @run main/othervm LoadProfileWithSM
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user