Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
java.lang.IllegalAccessError: Update to non-static final field #1011
After a general system (Java, Groovy, Gradle) upgrade I get this problem with otherwise unchanged code.
How to reproduce
 The issue does not occur with Oracle Java8 (1.8.0_202-b08)
Attention: Although the system has Groovy 2.5.8 installed, the build (intentionally) uses the Groovy version (2.5.4) which comes with the used Gradle version (see below) => The problem occurs with Groovy 2.5.4!
Build tool version
Build time: 2019-08-14 21:05:25 UTC
Mac OS X 10.14.2 x86_64
Build-tool dependencies used