test/jdk/sun/security/tools/policytool/UsePolicy.html
author sherman
Wed, 20 Sep 2017 16:41:54 -0700
changeset 47223 723486922bfe
parent 47216 71c04702a3d5
permissions -rw-r--r--
8186464: ZipFile cannot read some InfoZip ZIP64 zip files Reviewed-by: martin

<html>
<body>

<applet width=100 height=100 code=UsePolicy.class>
</applet>

This is a multi-stage test.  Click on "done" when you have completed
reading these instructions.<br><br>

First, policytool will be invoked.<br><br>

Then, click on the "Add Policy Entry" button.<br>
Next, click on the "Add Permission" button.<br>
Pull down the "Permission" menu and select "RuntimePermission".<br>
Pull down the "Target Name" menu.<br>
If you see "usePolicy" as a choice, then the bug fix succeeded.<br>
otherwise, the bug fix failed.<br>
<br>
Click on the "Cancel" button on the "Add Permission" window.<br>
Click on the "Cancel" button on the "Add Policy Entry" window.<br>
Exit policytool.<br><br>

Press "Pass" if ... press "Fail" otherwise.<br><br>

</body>
</html>