You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/10 12:20:00 UTC

[jira] [Updated] (CALCITE-5008) Ignore synthetic and static methods in MetadataDef

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

ASF GitHub Bot updated CALCITE-5008:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.30.0
>
>          Time Spent: 10m
>  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)