You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Damir Murat (Jira)" <ji...@apache.org> on 2020/10/05 17:17:00 UTC

[jira] [Created] (GROOVY-9770) Groovy 3 generated lambda classes are marked as synthetic

Damir Murat created GROOVY-9770:
-----------------------------------

             Summary: Groovy 3 generated lambda classes are marked as synthetic
                 Key: GROOVY-9770
                 URL: https://issues.apache.org/jira/browse/GROOVY-9770
             Project: Groovy
          Issue Type: Bug
          Components: Compiler
    Affects Versions: 3.0.6
            Reporter: Damir Murat


I noticed that JaCoCo does not include in the coverage report Groovy 3 lambdas (contrary to closures).

 

After asking on the JaCoCo group, the JaCoCo maintainer suggested me to ask on the Groovy side. The problem is that the generated class for lambda is marked as synthetic, which is not the case for the closure class. Here is a full discussion: 

[https://groups.google.com/g/jacoco/c/MR4mrJB-kVE]

Related discussion from Groovy mailing list: 

[https://lists.apache.org/thread.html/r64dfb7579ea613d84abf0d8f74839db9af0b5d0191b33418f1398b8c%40%3Cusers.groovy.apache.org%3E]

 



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