> On Jul 5, 2016, at 8:11 AM, Alan Bateman <alan.bate...@oracle.com> wrote:
> 
> On 05/07/2016 09:22, Wang Weijun wrote:
> 
>>> On Jul 5, 2016, at 11:53 AM, Wang Weijun <weijun.w...@oracle.com> wrote:
>>> 
>>> The exception is at the end of this mail. The test passes if I change 
>>> X.go() to calling a method inside this class
>> Update: any call that triggers a permission check will do. For example:
>> 
>> 
> Yes, tricky issue because checkPermission is triggering class loading and 
> permission checks. It worked previously because the java.sql module was 
> defined to the boot loader.


Max - are you running the test with exploded image (see JDK-8155858 [1])?  The 
java.policy grants permission to modules in the jimage.

Mandy
[1] https://bugs.openjdk.java.net/browse/JDK-8155858

Reply via email to