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

Remove the 'protected' modifier to make fields package protected. #44

Closed
wants to merge 1 commit into from
Closed

Conversation

Kui-Liu
Copy link
Contributor

@Kui-Liu Kui-Liu commented Oct 14, 2017

The three mutable static fields could be changed by malicious code or by accident. These fields could be made package protected to avoid this vulnerability.
http://findbugs.sourceforge.net/bugDescriptions.html#MS_PKGPROTECT

The three mutable static fields could be changed by malicious code or by accident. These fields could be made package protected to avoid this vulnerability.
http://findbugs.sourceforge.net/bugDescriptions.html#MS_PKGPROTECT
@bodewig
Copy link
Member

bodewig commented Oct 14, 2017

We've got pretty strict API backwards compatibilty rules, so we cannot change the visibility of any elements that have been part of a release already

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