[
https://issues.apache.org/jira/browse/CALCITE-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liya Fan closed CALCITE-5008.
-----------------------------
Resolved in release 1.30.0 (2022-03-20)
> 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 20m
> 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)