[9] RFR: 8076486: javax/security/auth/Subject/doAs/NestedActions.java fails if extra VM options are given

Artem Smotrakov artem.smotrakov at oracle.com
Wed Apr 29 07:23:12 UTC 2015


Please review this fix for 
javax/security/auth/Subject/doAs/NestedActions.java test.

The test runs java in a separate process. It fails if multiple java 
options are passed because ProcessBuilder expects each parameter to be 
put in to a separate array element, but the test didn't do that. I 
updated the test to split java option string, and put each option in a 
separate array element.

Bug: https://bugs.openjdk.java.net/browse/JDK-8076486
Webrev: http://cr.openjdk.java.net/~asmotrak/8076486/webrev.00/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20150429/e17f5879/attachment.html>

More information about the security-dev mailing list