Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1314

javadoc creation broken with Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.6
    • General
    • None

    Description

      Java 8's javadoc seems to be stricter than the Java 7 one. With the current HEAD (commit e5ed4ff), mvn javadoc:javadoc passes with Java 7, but fails on the same machine with Java 8 (environment described above) with the following errors:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc (default-cli) on project commons-lang3: An error has occurred in JavaDocs report generation:
      [ERROR] Exit code: 1 - /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/ArrayUtils.java:8421: warning: no @param for <T>
      [ERROR] public static <T> T[] insert(final int index, final T[] array, final T... values) {
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:316: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:316: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:347: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:347: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:370: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:370: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:403: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:403: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:436: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:436: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:1946: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:1946: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7092: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7092: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7241: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by

      {@link Character#isWhitespace(char)}.</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7241: error: unexpected end tag: </p>
      [ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}

      .</p>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/concurrent/Computable.java:21: error: self-closing element not allowed
      [ERROR] * <p/>
      [ERROR] ^
      [ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/concurrent/Computable.java:21: warning: empty <p> tag
      [ERROR] * <p/>
      [ERROR] ^

      Attachments

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              mureinik Allon Mureinik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: