spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <>
Subject [jira] [Commented] (SPARK-3359) `sbt/sbt unidoc` doesn't work with Java 8
Date Sat, 27 Sep 2014 21:18:33 GMT


Sean Owen commented on SPARK-3359:

Yeah I noticed this. The problem is that {{sbt-unidoc}} uses {{genjavadoc}}, and it looks
like it generates invalid Java like the snippet you quote (top-level classes can't be private).
That's almost all of the extra warnings.

It seems to have been fixed in {{genjavadoc}} 0.8:

I can see how to update the plugin in the Maven build, but not yet in the SBT build. If someone
who gets SBT can explain how to set {{unidocGenjavadocVersion}} to "0.8" in the {{genjavadocSettings}}
that is inherited in {{project/SparkBuild.scala}}, I bet that would fix it.

> `sbt/sbt unidoc` doesn't work with Java 8
> -----------------------------------------
>                 Key: SPARK-3359
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.1.0
>            Reporter: Xiangrui Meng
>            Priority: Minor
> It seems that Java 8 is stricter on JavaDoc. I got many error messages like
> {code}
> [error] /Users/meng/src/spark-mengxr/core/target/java/org/apache/hadoop/mapred/
error: modifier private not allowed here
> [error] private abstract interface SparkHadoopMapRedUtil {
> [error]                  ^
> {code}
> This is minor because we can always use Java 6/7 to generate the doc.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message