-
Notifications
You must be signed in to change notification settings - Fork 234
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
Regression in Exception field generation in java 9 #280
Comments
Hi, Thank you for reporting this. Random Beans is Java 9 compatible since v3.7.0 (see #243). Which version are you using? Have you tried to use the Kr |
@benas as pointed in the original post by the pom definition, the problem presented in the last 3.7.0 version |
Adding
This code:
doesn't work in both Java 8 and Java 9. So, looks like |
Hi,
Yes! This is the issue (nothing to do with reflective access). Current version (3.x line) is not meant to be used with Java 9 (even if there is a lot of effort already done to make it Java 9 compatible). So let me plan this issue for v4 which wil require Java 9 (new entry will be added here). Anyway, thank you for pointing out this issue and keep tuned for v4. Kr |
Hi @Spikhalskiy, I fixed this issue by excluding fields of type I'm closing this issue as it will be part of v3.8, but if you still have any problem, please leave a comment here. Thank you for reporting this out! Best regards, |
Found a regression with java 9 and the last release version of random-beans:
This test works fine on java 8, but fails on java 9 with:
It could be related to a new field
transient Class<?> StackTraceElement#declaringClassObject
added in jdk9.The text was updated successfully, but these errors were encountered: