-
Notifications
You must be signed in to change notification settings - Fork 38
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 warning when running on java 11 #32
Comments
Causing a surefire test failure (and build failure) for me, even though the message says warning:
|
@stephen-smith Could you get a workaround for this failing your tests? I see there are a couple of jvm options to disable it. |
@tbohnen Nope; I did not find a work around. Hoping this project updates to be Java 11 compatible before we are asked to do so. |
This nice little project was and currently still is valuable to me. I have not bumped into an alternative yet. So I hope it will survive the move to Java 17 shortly. Any news on this matter? |
Is this still an issue |
This currently breaks on the getClassesWithCircularReferences. If only we could turn it of... I could survive this as my objects are not that complicated ;-) |
I came up on a temporarily fix by adding "--add-opens" to surefire:
Hope this is useful to others too. But I hope a nice clean-gson-solution will be found. Maybe in project approvalcrest as that still have a maintainer? (Does this project have one?) |
When running on java 11 i get warning:
Usage is as simple as this:
assertThat(actual, Matchers.sameBeanAs(expected))
Is there any way how to remove this warning? Thanks a lot.
The text was updated successfully, but these errors were encountered: