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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 2.1.0
    • Documentation
    • 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

              gurwls223 Hyukjin Kwon
              mengxr Xiangrui Meng
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: