You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2019/12/09 21:37:02 UTC

[jira] [Closed] (GROOVY-9126) Unreachable line numbers after ARETURN in bytecode

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

Paul King closed GROOVY-9126.
-----------------------------

> Unreachable line numbers after ARETURN in bytecode
> --------------------------------------------------
>
>                 Key: GROOVY-9126
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9126
>             Project: Groovy
>          Issue Type: Bug
>          Components: bytecode
>    Affects Versions: 2.5.5, 2.5.6, 2.5.7
>            Reporter: Adam Estabrook
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 2.5.9, 3.0.0-rc-2
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Starting with Groovy 2.5.5, unreachable line numbers were added to the byte code. This causes tools like JaCoCo to report uncovered lines. Removing these line numbers after the ARETURN would be helpful.
> [https://github.com/jacoco/jacoco/issues/884]
> ARETURN
>  L1
>  LINENUMBER 16 L1 <-- new line number that cant be hit after ARETURN
>  FRAME FULL [] [java/lang/Throwable]
>  NOP
>  ATHROW
>  LOCALVARIABLE this Lcom/company/Form; L0 L1 0
>  MAXSTACK = 2
>  MAXLOCALS = 1
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)