Skip to content

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

Open
@MaazF94

Description

@MaazF94

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions