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

Jacques Nadeau resolved CALCITE-5008.
-------------------------------------
    Resolution: Fixed

Fixed in 
[cbbe5701b7f61d7f8df12d314ba5aabf898c1cae|https://github.com/apache/calcite/commit/cbbe5701b7f61d7f8df12d314ba5aabf898c1cae]

> Ignore synthetic and static methods in MetadataDef
> --------------------------------------------------
>
>                 Key: CALCITE-5008
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5008
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.29.0
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.30.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> According to [https://www.jacoco.org/jacoco/trunk/doc/faq.html] , Jacoco adds 
> a synthetic static method called $jacocoInit() during instrumentation.
> MetadataDef constructor breaks if it encounters such method on the class 
> given to it because it does not expect it. But it looks like it simply should 
> not consider synthetic methods (as well as static methods) at all.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to