|
Quick Lists
|
|
Bug ID:
|
6458065
|
|
Votes
|
0
|
|
Synopsis
|
Executors.privilegedThreadFactory and privilegedCallable should specify permissions
|
|
Category
|
java:classes_util_concurrent
|
|
Reported Against
|
|
|
Release Fixed
|
|
|
State
|
6-Fix Understood,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
08-AUG-2006
|
|
Description
|
The spec for the methods Executors.privilegedThreadFactory() and Executors.privilegedCallableUsingCurrentClassLoader(...) says:
"Throws: AccessControlException - if the current access control context does not have permission to both set and get context class loader"
It should be specified in obvious way which exactly permissions required to get/set context class loader.
For example:
Throws: AccessControlException - if the current access control context does not have RuntimePermission("getContextClassLoader") and RuntimePermission("setContextClassLoader")
Posted Date : 2006-08-08 14:40:23.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Too late for mustang.
Posted Date : 2006-08-08 16:26:03.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |