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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Tzu-Li (Gordon) Tai created FLINK-18069:
-------------------------------------------

             Summary: 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


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)