diff -r bf712ea57bb0 -r 378efa95df46 test/jdk/sun/security/tools/policytool/ChangeUI.html
--- a/test/jdk/sun/security/tools/policytool/ChangeUI.html Tue Sep 26 10:46:23 2017 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-
-
-
-
-
-ATTENTION: policytool now contains no platform-specific codes anymore and
-should behaves exactly the same across all platforms. This also means:
-
- - You may only need to test it on one platform
- - You can create policy files for a platform which is different than
- the platform you are running policytool on
-
-
-This is a multi-stage test. Click on "done" when you have completed
-reading these instructions.
-
-First, policytool will be invoked.
-
-- Find (or create) a temporary directory that you have write access to.
-(Example: 'C:\foo\tmp' on Windows or '/tmp' on other systems)
-
- Add new policy entry
-
- Add permission:
-
- Type Target name Actions
- FilePermission c:\\foo\\bar read
-
-
- - Press OK
- - Confirm the file name warning dialog appears
- - Choose Retain, confirm the permission edit dialog is closed
- - Double click the newly created FilePermission entry to edit it
- - Press OK
- - Confirm the file name warning dialog appears
- - Choose Edit, confirm the permission edit dialog is still opened
- - change Target name to c:\foo\bar
- - Press OK, no warning dialog is shown
-
- - Add permission:
-
- Type Target name
- DelegationPermission "me@SOMEWHERE" "you@SOMEWHERE"
-
-
- - Press OK
- - Double click the newly craeted DelegationPermission entry to edit it
- - Confirm the target name is still "me@SOMEWHERE" "you@SOMEWHERE"
- - Press OK
-
- - Confirm there are 2 entries in the permission list
-
- Press Done
-
- Double click the new policy entry to edit it
-
- Add permission:
-
- Type
- AllPermission
-
- - Add a new Principal, say, KerberosPrincipal with Principal Name as aaa
-
- Confirm there is 1 entry in the Principals list
-
- Confirm there are 3 entries in the permission list
-
- Press cancel
-
- Double click the policy entry to edit it
-
- Confirm there are ZERO entries in the Principals list
-
- Confirm there are 2 entries in the permission list
-
- Press cancel
-
- Save as "/tmp/p"
-(Or use the temporary directory mentioned in Step 0 if it's not '/tmp'.
- For example, "C:\foo\tmp\p" on Windows)
- - Confirm that the file created in the previous step looks like
-
-/* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/
-/* DO NOT EDIT */
-
-grant {
- permission java.io.FilePermission "c:\\foo\\bar", "read";
- permission javax.security.auth.kerberos.DelegationPermission "\"me@SOMEWHERE\" \"you@SOMEWHERE\"";
-};
-
-
-
-
-Press "Pass" if ... press "Fail" otherwise.
-
-
-