mgroovy created GROOVY-10478:
--------------------------------
Summary: Groovy4: java.lang.VerifyError: Bad invokespecial
instruction: interface method reference is in an indirect superinterface.
Key: GROOVY-10478
URL: https://issues.apache.org/jira/browse/GROOVY-10478
Project: Groovy
Issue Type: Bug
Components: bytecode
Affects Versions: 4.0.0
Environment: os.name: Windows 10
groovy.version: 4.0.0
java.version: 11.0.13
java.runtime.version: 11.0.13+8
java.runtime.name: OpenJDK Runtime Environment
java.vendor.version: Temurin-11.0.13+8
java.vm.version: 11.0.13+8
java.vm.name: OpenJDK 64-Bit Server VM
Reporter: mgroovy
* Code worked with Groovy 4.0.0-RC1
* However Groovy 4.0.0 throws RTE:
{code:java}
java.lang.VerifyError: Bad invokespecial instruction: interface method
reference is in an indirect superinterface.{code}
* The error is the same under @CompileStatic as under @CompileDynamic
* I tried to create a standalone test case that reproduces the problem outside
of our framework, but up to now to no avail
* The error occurs when trying to access a class that represents a concrete
database table, deriving from a shared database table base class with certain
shared properties/methods added through a hierarchy of Groovy traits, with the
properties/methods also occuring in implemented interfaces
--
This message was sent by Atlassian Jira
(v8.20.1#820001)