-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b27
This class is mostly an anachronism left over from it being a Security Manager related privileged action. Even after removal of SM related code, further simplification is possible, such as turning it into a couple simple static methods.
There are two public constructors for this action, which simply store their values in fields for later use by the run() method. The constructors are:
NewThreadAction(runnable, name, daemon, user)
NewThreadAction(runnable, name, daemon)
The daemon and user parameters are booleans that indicate whether the thread is a daemon thread and whether it is to be created in the user (as opposed to the system, or root) thread group. The second is the same as if the first had been called with a user value of false.
There are two public constructors for this action, which simply store their values in fields for later use by the run() method. The constructors are:
NewThreadAction(runnable, name, daemon, user)
NewThreadAction(runnable, name, daemon)
The daemon and user parameters are booleans that indicate whether the thread is a daemon thread and whether it is to be created in the user (as opposed to the system, or root) thread group. The second is the same as if the first had been called with a user value of false.
- links to
-
Commit(master) openjdk/jdk/8a3c100c
-
Review(master) openjdk/jdk/22557