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

Illegal reflective access operations #385

Closed
dsubelman opened this issue Feb 2, 2021 · 2 comments
Closed

Illegal reflective access operations #385

dsubelman opened this issue Feb 2, 2021 · 2 comments

Comments

@dsubelman
Copy link

dsubelman commented Feb 2, 2021

Describe the bug
When verifying a class that imports DoubleSummaryStatistics (or the class itself) it throws an illegal reflective access warning for field java.util.DoubleSummaryStatistics.count

To Reproduce
Verify class DoubleSummaryStatistics.

Code that triggers the behavior
EqualsVerifier.simple().forClass(DoubleSummaryStatistics.class).verify();

Error message

[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by nl.jqno.equalsverifier.internal.reflection.FieldModifier (file:/Users/dsubelman/.m2/repository/nl/jqno/equalsverifier/equalsverifier/3.5.2/equalsverifier-3.5.2.jar) to field java.util.DoubleSummaryStatistics.count
[ERROR] WARNING: Please consider reporting this to the maintainers of nl.jqno.equalsverifier.internal.reflection.FieldModifier
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future release

Expected behavior
No warning

Version
3.5.2

Additional context

@jqno
Copy link
Owner

jqno commented Feb 3, 2021

I've released v3.5.3 which adds Prefab values for DoubleSummaryStatistics, IntSummaryStatistics and LongSummaryStatistics

@jqno jqno closed this as completed Feb 3, 2021
@dsubelman
Copy link
Author

Wow, that was fast. Thanks!

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

2 participants