< prev index next >

test/jdk/javax/security/auth/Subject/doAs/NestedActions.java

Print this page
rev 51638 : [mq]: 8210112

*** 39,58 **** import java.util.jar.JarEntry; import java.util.jar.JarOutputStream; import java.util.jar.Manifest; import javax.security.auth.Subject; import javax.security.auth.x500.X500Principal; ! import jdk.testlibrary.ProcessTools; /** * @test * @bug 8048147 * @summary Check if proper AccessControlException is thrown * in case of nested Subject.doAs() invocations * when one of protection domains doesn't have permissions * ! * @library /lib/testlibrary * * @run main NestedActions jar NestedActionsACE.jar * NestedActionsACE.class Utils.class * @run main NestedActions jar NestedActionsPAE.jar * NestedActionsPAE.class Utils.class --- 39,58 ---- import java.util.jar.JarEntry; import java.util.jar.JarOutputStream; import java.util.jar.Manifest; import javax.security.auth.Subject; import javax.security.auth.x500.X500Principal; ! import jdk.test.lib.process.ProcessTools; /** * @test * @bug 8048147 * @summary Check if proper AccessControlException is thrown * in case of nested Subject.doAs() invocations * when one of protection domains doesn't have permissions * ! * @library /test/lib * * @run main NestedActions jar NestedActionsACE.jar * NestedActionsACE.class Utils.class * @run main NestedActions jar NestedActionsPAE.jar * NestedActionsPAE.class Utils.class
< prev index next >