Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3359

`sbt/sbt unidoc` doesn't work with Java 8

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      It seems that Java 8 is stricter on JavaDoc. I got many error messages like

      [error] /Users/meng/src/spark-mengxr/core/target/java/org/apache/hadoop/mapred/SparkHadoopMapRedUtil.java:2: error: modifier private not allowed here
      [error] private abstract interface SparkHadoopMapRedUtil {
      [error]                  ^
      

      This is minor because we can always use Java 6/7 to generate the doc.

        Attachments

        1. errors.txt
          39 kB
          Michal Šenkýř

          Issue Links

            Activity

              People

              • Assignee:
                hyukjin.kwon Hyukjin Kwon
                Reporter:
                mengxr Xiangrui Meng
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: