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.bate...@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