Doclets do not work with JDK11
------------------------------
Key: ISPN-9824
URL:
https://issues.jboss.org/browse/ISPN-9824
Project: Infinispan
Issue Type: Bug
Components: Build
Affects Versions: 9.4.3.Final
Reporter: Vladimir Dosoudil
Assignee: Tristan Tarrant
Priority: Major
Fix For: 10.0.0.Alpha3, 9.4.6.Final
It's not able to build Infinispan with JDK 11.
Module infinispan-commons contains JDK specific classes which requires to be built in JDK
9+ (JDK 11 is LTS) but it's not able to build the whole Infinispan project with
distribution profile related to fails on missing classes for infinispan-doclets module
(referencing com.sun.javadoc*) using tools.jar which are not the part of JDK 9+ anymore.
The failure is also on generating javadoc for infinispan-commons which uses
sun.reflect.Reflection.getCallerClass which is discontinuing in JDK 11.