-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 9
-
Component/s: core-libs
-
b162
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8177580 | 10 | Mandy Chung | P2 | Resolved | Fixed | b04 |
StackFramePermission has only a target "retainClassReference". StackWalker::getInstance method will perform this permission check when it requests Option.RETAIN_CLASS_REFERENCE to retain class reference.
Defining a new type is overkill. This proposes to replace the StackWalker permission check with RuntimePermission("getStackWalkerWithClassReference"). Remove StackFramePermission
Defining a new type is overkill. This proposes to replace the StackWalker permission check with RuntimePermission("getStackWalkerWithClassReference"). Remove StackFramePermission
- backported by
-
JDK-8177580 Remove StackFramePermission and use RuntimePermission for stack walking
-
- Resolved
-