-
Notifications
You must be signed in to change notification settings - Fork 216
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
java.lang.NoSuchFieldException: modifiers #565
Comments
what version are you using? I think this should be fixed on master with #530, but it's unreleased, so I'd like to confirm whether there's work to be done here, or if this can be closed out. |
I am using version 1.0.0 I believe this problem is occurring with a specific Java distribution. |
Mind confirming the issue? |
We are seeing a similar regression in Paparazzi as of this weekend. Reverting to a previous snapshot of Paparazzi did not resolve the issue for us but reverting to v1.0.0 did resolve it. |
@DavidBrunow 1.0.0 is the newest version of Paparazzi no? Did you mean something else? I am also getting this error, and I tried with Temurin-18.0.2.1+1 and 19. |
Seeing this as well |
Based on this answer there's workaround yet for Java 18+. However, following the future of the commit mentioned in #205's comment, they migrated to using As a workaround, you can try to set your Test task's toolchain to something lower: tasks.withType(Test).configureEach {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
} |
Thanks, this has fixed the
Seems to be just locally (macOS). On our CI with the same java it works. |
Note, there might be a better workaround than toolchains: https://github.com/cashapp/paparazzi/pull/1030/files Re |
So I was able to build locally on versions 18 - 22 of java. I have this branch running to test this in CI with all platforms. https://github.com/cashapp/paparazzi/actions/runs/11959970311 If it passes then I think this issue is no longer occuring. |
Description
#171 Related
OpenJDK Runtime Environment Zulu18.32+11-CA (build 18.0.2+9)
Steps to Reproduce
./gradlew recordPaparazziDebug
The text was updated successfully, but these errors were encountered: