Yes, that's correct. ;) Sent from my Samsung device. Include original message ---- Original message ---- From: Alan Bateman <alan.bate...@oracle.com> Sent: 07/07/2016 06:37:49 pm To: Wang Weijun <weijun.w...@oracle.com> Cc: jigsaw-dev <jigsaw-...@openjdk.java.net>; OpenJDK <security-dev@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