Name: boT120536 Date: 01/03/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The permissions documentation at
http://java.sun.com/j2se/1.3/docs/guide/security/permissions.html contains two
sections that each document the list of permissions, and what they're for:
(1) "Permission Descriptions and Risks" and (2) "Methods and the Permissions
They Require".
Regarding the RuntimePermission "modifyThreadGroup": The first section says
that this affects only the modification of thread groups (as the name implies).
The second section indicates that this also affects creating threads (since it
lists all the Thread constructors). It may be logical that creating a thread
must modify a thread group, but it's certainly not obvious. (At first blush,
you'd expect that the "modifyThread" permission would control thread creation.)
The first section (Permission Descriptions and Risks) should explicitly state
that modifyThreadGroup controls the creation of threads.
(Review ID: 109664)
======================================================================