-
Notifications
You must be signed in to change notification settings - Fork 26
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
JDK 13. Bug when testing any pojo #239
Comments
Any answers of this issue? |
I made it work with java 12/13 on a fork. I will open a PR asap. Here is the commit corresponding to the migration from java 8 to 12 : 4f68d6e The fork uses maven. We just need to upgrade the same libraries in the gradle file in the original project and it should work fine! |
@sta-szek This issue now applies to Java 14 as well, which is set to go GA later this month. Could we get an update to pojo tester to accommodate newer Java releases? |
This is the PR for Java 13 support #241 |
how to fix this error? |
@frecco75 Would you mind posting your version of the library into a package repo, since it looks like the original maintainer is not taking your pull? |
@frecco75 @kontaras @shadow1305 |
@frecco75 @kontaras @shadow1305 |
pl.pojo.tester.internal.GetOrSetValueException: Unable to get or set value for field 'modifiers' in class 'class java.lang.reflect.Field'.
Cause message: modifiers
Caused by: java.lang.NoSuchFieldException: modifiers
at java.base/java.lang.Class.getDeclaredField(Class.java:2412)
at pl.pojo.tester.internal.utils.FieldUtils.makeModifiable(FieldUtils.java:90)
... 74 more
The text was updated successfully, but these errors were encountered: