RFR 8161102: Regression test for JDK-8161101 (Recursive update error when a SecurityManager references a permission defined in a non-privileged module)

Wang Weijun weijun.wang at oracle.com
Mon Jul 11 06:31:45 UTC 2016


Ok, that's simpler.

Code and error added as a comment to JDK-8161101. I also changed the synopsis a little because error is different when run standalone.

Thanks
Max

> On Jul 11, 2016, at 2:15 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 11/07/2016 02:14, Wang Weijun wrote:
> 
>> Hi All
>> 
>> I filed a bug [1] on my recent finding [2] of a bug in SecurityManager. While I cannot find a fix, I'm able to provide a regression test, Therefore I created a sub-task [2] for the test. Please take a review at
>> 
>>    http://cr.openjdk.java.net/~weijun/8161102/webrev.00/
>> 
>> Whoever is able to fix JDK-8161101 later can liberate the test from problem list.
>> 
> Checking in a failing (albeit excluded) test is a big strange. It might be less confusing to just attach the test case to the bug.
> 
> -Alan



More information about the security-dev mailing list