Skip to content

Commit 28dd520

Browse files
committed
POM: require a new-enough version of OpenJDK 11
New enough to avoid a bug in javadoc, that is.
1 parent ab4d12e commit 28dd520

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,19 @@
9090
<license.licenseName>N/A</license.licenseName>
9191
<license.copyrightOwners>N/A</license.copyrightOwners>
9292

93-
<scijava.jvm.build.version>[11,)</scijava.jvm.build.version>
93+
<!--
94+
NB: Older versions of OpenJDK 11 have a bug in the javadoc tool,
95+
which causes errors like:
96+
97+
[ERROR] javadoc: error - The code being documented uses packages
98+
in the unnamed module, but the packages defined in
99+
https://github.com/scijava/scijava/apidocs/ are in named modules.
100+
101+
The most recent version of OpenJDK 11 known to have this problem
102+
is 11.0.8; the oldest version known to have fixed it is 11.0.17.
103+
Therefore, we set the minimum build JDK version to 11.0.17 here.
104+
-->
105+
<scijava.jvm.build.version>[11.0.17,)</scijava.jvm.build.version>
94106
<scijava.jvm.version>11</scijava.jvm.version>
95107
<scijava.javadoc.url.java>https://javadoc.scijava.org/Java11/</scijava.javadoc.url.java>
96108
<scijava.javadoc.url.javafx>https://javadoc.scijava.org/JavaFX11/</scijava.javadoc.url.javafx>

0 commit comments

Comments
 (0)