[
https://issues.apache.org/jira/browse/FLINK-26186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498017#comment-17498017
]
Fabian Paul commented on FLINK-26186:
-------------------------------------
Merged in master: 771e08d8931c610eaaa4f93be48110e44d5c119b
> update the API_ANNOTATIONS rule
> -------------------------------
>
> Key: FLINK-26186
> URL: https://issues.apache.org/jira/browse/FLINK-26186
> Project: Flink
> Issue Type: Improvement
> Reporter: Jing Ge
> Assignee: Jing Ge
> Priority: Major
> Labels: pull-request-available
>
> Issue 1:
> It seems that the excluding shaded classes filter does not work in this case
> since the check is against a valid class whose return type is a shaded
> external class which somehow was not handled by the filter. For example,
> please refer to FLINK-26174.
> Since there is no way to add Flink API annotation to the 3rd party classes,
> the rule should be updated.
> the main ideas is to extend the rule allow external shaded classes without
> Flink API annotation.
>
> Issue 2:
> It should be fine to let caller method annotated with @VisibleForTesting call
> target method annotated @VisibleForTesting.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)