<html><body><div dir="auto">Have you tried setting the jvm in security debug mode to see else might be occurring?  If so can you send the output?</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto"><br></div><div dir="auto">Peter.<br><br><div dir="auto" class="tizen_signature">Sent from my Samsung device.</div> </div>





<div class="tizen_quote">---- Original message ----<br>From: Wang Weijun <weijun.wang@oracle.com><br>Sent: 07/07/2016 11:08:58 am<br>To: Peter Firmstone <peter.firmstone@zeus.net.au><br>Cc: SeanMullan <sean.mullan@oracle.com>; jigsaw-dev <jigsaw-dev@openjdk.java.net>; OpenJDK <security-dev@openjdk.java.net><br>Subject: Re: Strange test failure when referencing a class in a deprivileged module<br></div><br>

<br>> On Jul 7, 2016, at 8:19 AM, Peter Firmstone <peter.firmstone@zeus.net.au> wrote:
<br>> 
<br>> Perhaps the policy provider hasn't been refreshed when the new security manager is in force?  Try doing a Policy.refresh() in the SecurityManager constructor.
<br>
<br>You mean Policy.getPolicy().refresh()? No difference.
<br>
<br>And I don't think this simple SecurityManager makes use of Policy at all.
<br>
<br>Thanks
<br>Max
<br>
<br>> 
<br>> Regards,
<br>> 
<br>> Peter.
<br>> 
<br>> Sent from my Samsung device.
<br>>  
<br>> ---- Original message ----
<br>> From: Wang Weijun <weijun.wang@oracle.com>
<br>> Sent: 07/07/2016 09:47:09 am
<br>> To: Sean Mullan <sean.mullan@oracle.com>
<br>> Cc: jigsaw-dev <jigsaw-dev@openjdk.java.net>; OpenJDK <security-dev@openjdk.java.net>
<br>> Subject: Re: Strange test failure when referencing a class in a deprivileged module
<br>> 
<br>> 
<br>> > On Jul 7, 2016, at 5:04 AM, Sean Mullan <sean.mullan@oracle.com> wrote: 
<br>> >  
<br>> > Does your SSL code match up with the stack trace? The test only has 27 lines, but the stack trace says it was called from line 42. 
<br>> 
<br>> My local SSL.java still contains the GPL comments and I didn't paste them here. Line 42 is 
<br>> 
<br>>                  if (!(perm instanceof SQLPermission)) { 
<br>> 
<br>> BTW, I also tried putting the SecurityManager impl into a different codePath with AllPermission granted, and load it on the command line with -Djava.security.manager=X, the test still failed with the same exception. 
<br>> 
<br>> --Max 
<br>> 
<br>> 
<br>
<br><br></body></html>