groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-8142) Static compiler produces different bytecode for same sources
Date Tue, 02 May 2017 02:04:18 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King closed GROOVY-8142.
-----------------------------

> 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
>            Assignee: C├ędric Champeau
>             Fix For: 2.4.11
>
>
> 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)

Mime
View raw message