Skip to content

Failed to generate Scaladoc when Java sources involve a raw type (worked in 2.12.10, regressed in 2.12.11) #11917

@wangyum

Description

@wangyum

reproduction steps

git clone https://github.com/apache/spark.git
cd spark
build/mvn clean  install -DskipTests=true -Phive-thriftserver -pl sql/hive-thriftserver  -Dscala.version=2.12.11

problem

[INFO] --- scala-maven-plugin:4.3.1:doc-jar (attach-scaladocs) @ spark-hive-thriftserver_2.12 ---
/Users/yumwang/spark/sql/hive-thriftserver/v2.3/src/gen/java/org/apache/hive/service/rpc/thrift/TCLIService.java:660: error: class type required but org.apache.thrift.async.TAsyncMethodCall[_] found
    public static class OpenSession_call extends org.apache.thrift.async.TAsyncMethodCall {
                                                                         ^
/Users/yumwang/spark/sql/hive-thriftserver/v2.3/src/gen/java/org/apache/hive/service/rpc/thrift/TCLIService.java:692: error: class type required but org.apache.thrift.async.TAsyncMethodCall[_] found
    public static class CloseSession_call extends org.apache.thrift.async.TAsyncMethodCall {
                                                                          ^
/Users/yumwang/spark/sql/hive-thriftserver/v2.3/src/gen/java/org/apache/hive/service/rpc/thrift/TCLIService.java:724: error: class type required but org.apache.thrift.async.TAsyncMethodCall[_] found
 
...

More details:
https://github.com/apache/spark/pull/27929/checks?check_run_id=521333701

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions