Strange test failure when referencing a class in a deprivileged module

Peter Firmstone peter.firmstone at zeus.net.au
Thu Jul 7 08:51:14 UTC 2016


Yes, that's correct. ;)

Sent from my Samsung device.
 
  Include original message
---- Original message ----
From: Alan Bateman <Alan.Bateman at oracle.com>
Sent: 07/07/2016 06:37:49 pm
To: Wang Weijun <weijun.wang at oracle.com>
Cc: jigsaw-dev <jigsaw-dev at openjdk.java.net>; OpenJDK <security-dev at openjdk.java.net>
Subject: Re: Strange test failure when referencing a class in a deprivileged module

On 07/07/2016 09:27, Wang Weijun wrote: 

> Like this? 
> 
> https://gist.github.com/wangweij/6992aaf9617b9e2f242ddf9e391ea5f6 
> 
> The horizontal line is printed on line 706 of the gist. 
> 
I assume the suggestion was to reference SQLPermission before setting  
the security manager. As regards module loading then we can re-wording  
this specific case but fundamentally then anything in the  
checkPermission implementation that triggers a permission check is going  
to lead to a recursive call to checkPermission. 

-Alan 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20160707/61613e96/attachment.html>


More information about the security-dev mailing list