[jira] [Created] (OFBIZ-11257) Javadoc build fails with recent Java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-11257) Javadoc build fails with recent Java

Nicolas Malin (Jira)
Mathieu Lirzin created OFBIZ-11257:
--------------------------------------

             Summary: Javadoc build fails with recent Java
                 Key: OFBIZ-11257
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11257
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Mathieu Lirzin
            Assignee: Mathieu Lirzin


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)