-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
beta2
-
generic
-
generic
Name: yyT116575 Date: 04/30/2001
java version "1.3.1-rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc2-b23)
Java HotSpot(TM) Client VM (build 1.3.1-rc2-b23, mixed mode)
The policytool shipped with jdk 1.3.1-rc2 doesn't have shutdownHooks
in the menu for RuntimePermission
To see the problem:
Start policytool. Select policy entry to edit or start a new one.
Then click 'add permission' . Select "RuntimePermission" from the first
drop down menu.
Now if you click on "TargetName:" a bunch of possible values appear.
'shutdownHooks' is not in that list, but it should be.
The policytool should list all valid targets as listed on
http://java.sun.com/j2se/1.3/docs/api/java/lang/RuntimePermission.html
(Review ID: 123530)
======================================================================