You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/06/02 18:27:00 UTC

[jira] [Commented] (FLINK-18069) Scaladocs not building since inner Java interfaces cannot be recognized

    [ https://issues.apache.org/jira/browse/FLINK-18069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17124181#comment-17124181 ] 

Robert Metzger commented on FLINK-18069:
----------------------------------------

As part of this ticket, I will open a small PR to check the scaladocs as part of the CI compile stage.

> Scaladocs not building since inner Java interfaces cannot be recognized
> -----------------------------------------------------------------------
>
>                 Key: FLINK-18069
>                 URL: https://issues.apache.org/jira/browse/FLINK-18069
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Scala, Documentation
>    Affects Versions: 1.11.0
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Critical
>              Labels: pull-request-available
>
> Error:
> {code}
> /home/buildslave/slave/flink-docs-master/build/flink-scala/src/main/java/org/apache/flink/api/scala/typeutils/Tuple2CaseClassSerializerSnapshot.java:98: error: not found: type OuterSchemaCompatibility
> 	protected OuterSchemaCompatibility resolveOuterSchemaCompatibility(ScalaCaseClassSerializer<Tuple2<T1, T2>> newSerializer) {
>                   ^
> /home/buildslave/slave/flink-docs-master/build/flink-scala/src/main/java/org/apache/flink/api/scala/typeutils/TraversableSerializerSnapshot.java:101: error: not found: type OuterSchemaCompatibility
> 	protected OuterSchemaCompatibility resolveOuterSchemaCompatibility(TraversableSerializer<T, E> newSerializer) {
>                   ^
> /home/buildslave/slave/flink-docs-master/build/flink-scala/src/main/java/org/apache/flink/api/scala/typeutils/ScalaCaseClassSerializerSnapshot.java:106: error: not found: type OuterSchemaCompatibility
> 	protected OuterSchemaCompatibility resolveOuterSchemaCompatibility(ScalaCaseClassSerializer<T> newSerializer) {
>                   ^
> {code}
> This is a similar issue as reported here: https://github.com/scala/bug/issues/10509.
> This seems to be a problem with Scala 2.12.x. The only workaround is to
> redundantly add the full-length qualifiers for such interfaces.



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