<Swing Dev> RFR(M) : 8210039 : move OSInfo to top level testlibrary
Alan Bateman
Alan.Bateman at oracle.com
Tue Sep 4 12:34:45 UTC 2018
On 31/08/2018 19:42, Igor Ignatyev wrote:
> Alan, Chris,
>
> thanks for looking at it, I went w/ the alternative suggested by
> Chris. that required a sprinkle of doPrivileged in the testlibrary,
> but now Sockets/policy.* files grant the minimal required permissions
> to the test code.
> the incremental webrev can found here[1], please let me know if you
> need the whole webrev.
>
> [1]
> http://cr.openjdk.java.net/~iignatyev//8210039/webrev.0-1/index.html
> <http://cr.openjdk.java.net/%7Eiignatyev//8210039/webrev.0-1/index.html>
>
I can't quickly verify that the code source
"file:${test.classes}/../../../../test/lib/-" results in granting the
permission to the right library but I assume it will fail if it's not
correct. So I think this approach looks good to me.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180904/263dd51c/attachment.html>
More information about the swing-dev
mailing list