Mark Vieira created GROOVY-8142: ----------------------------------- Summary: Static compiler produces different bytecode for same sources Key: GROOVY-8142 URL: https://issues.apache.org/jira/browse/GROOVY-8142 Project: Groovy Issue Type: Bug Components: Compiler Affects Versions: 2.4.10 Reporter: Mark Vieira
When using {{@CompileStatic}} the Groovy compiler produces different bytecode output for the same set of sources. This seems to be the issue when calling a method on a type with multiple super-interfaces which declare the same method. In this case, the bytecode produced by the compiler will reference one of these interfaces randomly. I have provided a test project which reproduces this issue: https://github.com/mark-vieira/groovy-compiler-bug -- This message was sent by Atlassian JIRA (v6.3.15#6346)