Remove StackFramePermission and use RuntimePermission for stack walking

XMLWordPrintable

    • b162
    • Verified

        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

              Assignee:
              Mandy Chung (Inactive)
              Reporter:
              Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: