I think this can be fixed by setting the javadoc configuration to use Java
8 as the source.
I submitted a PR to this effect here:
https://github.com/apache/jena/pull/565
but please give that branch a real test on your local system before
merging, I'm traveling at the moment and am not in a great position to run
a full build. (Though running mvn javadoc:javadoc seems OK under JDK11)

Aaron

On Thu, Apr 25, 2019 at 9:07 AM Andy Seaborne <a...@apache.org> wrote:

> With the elephas change, I tried to build with java11 (producing java8
> byte code).
>
> We seem to be blocked by not being able to produce javadoc.
>
> The error is for each module:
> """
> The code being documented uses modules but the packages defined in
> https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
> """
>
> The block is:
>
>    https://bugs.openjdk.java.net/browse/JDK-8212233
>
> and I haven't found a workaround that works. (I am using Ubuntu dist
> java, 11.0.3 which is claimed to have a backport of the fix).
>
> Anyone know anything about this?
>
>      Andy
>

Reply via email to