Strange test failure when referencing a class in a deprivileged module

Alan Bateman Alan.Bateman at oracle.com
Tue Jul 5 15:11:11 UTC 2016


On 05/07/2016 09:22, Wang Weijun wrote:

>> On Jul 5, 2016, at 11:53 AM, Wang Weijun <weijun.wang at 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.

-Alan



More information about the security-dev mailing list