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 Update to non-static final field - Gradle 7.6 #386

Open
MaazF94 opened this issue Mar 1, 2023 · 1 comment
Open

Illegal Update to non-static final field - Gradle 7.6 #386

MaazF94 opened this issue Mar 1, 2023 · 1 comment
Labels

Comments

@MaazF94
Copy link

MaazF94 commented Mar 1, 2023

Hello,

I'm seeing the following error when utilizing Strict-Logging:

java.lang.IllegalAccessError: Update to non-static final field com.xyz.logger attempted from a different method (com$typesafe$scalalogging$StrictLogging$_setter_$logger_$eq) than the initializer method <init>

It works on Gradle 6.9.2, but not when I upgrade to 7.6 (which I need to). Any ideas?

Additional Info:
Gradle: com.typesafe.scala-logging:scala-logging_2.12:3.9.2 (scala-logging_2.12-3.9.2.jar)
JDK11

@SethTisue
Copy link
Collaborator

seems pretty weird/inexplicable that Gradle version could possibly make any difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants