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

Add java.lang.Math to JdkConfiguration whitelist #193

Open
paplorinc opened this issue Oct 3, 2022 · 0 comments
Open

Add java.lang.Math to JdkConfiguration whitelist #193

paplorinc opened this issue Oct 3, 2022 · 0 comments

Comments

@paplorinc
Copy link

paplorinc commented Oct 3, 2022

https://github.com/MutabilityDetector/MutabilityDetector/blob/master/src/main/java/org/mutabilitydetector/config/JdkConfiguration.java#L73 should contain java.lang.Math as well.

Field is visible outwith this class, and is not declared final

referring to https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Math.java#L3295-L3296, which are probably opened for testability anyway.

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

No branches or pull requests

1 participant