Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEDIUM: Use of AccessController.doPrivileged() in Public Method of Public Class #1135

Closed
wants to merge 1 commit into from

Conversation

DawmosTomie
Copy link

issue:#1134 (comment)

In this change, I created a new method for private exitWithPrivilege (), and the AccessController. The doPrivileged () call mobile to this method. The new method is then called in shutdownProcess. So you can avoid the common methods of directly using the AccessController. The doPrivileged (), so as to improve the security of the code.

@electronicboy
Copy link
Member

This generally changes nothing outside of appeasing overzealous automated analysis tooling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants