Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11257

Javadoc build fails with recent Java

    XMLWordPrintableJSON

    Details

      Description

      With a recent OpenJDK release we had the following error

      ```
      > Task :javadoc
      javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
      javadoc: error - The code being documented uses modules but the
      packages defined in https://docs.oracle.com/javaee/7/api/ are in the
      unnamed module.
      [...]
      2 errors
      100 warnings

      > Task :javadoc FAILED
      ```

      With ‘javadoc --source 8’ this error disappear as described in
      JDK-8212233 [1].

      [1] https://bugs.openjdk.java.net/browse/JDK-8212233

        Attachments

          Activity

            People

            • Assignee:
              mthl Mathieu Lirzin
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: