-Xdoclint unrecognized in JDK16 due to new module

Alan Bateman Alan.Bateman at oracle.com
Wed Dec 16 07:32:12 UTC 2020



On 15/12/2020 22:19, Jonathan Gibbons wrote:
>
> On 12/15/20 12:26 AM, Alan Bateman wrote:
>> I think the Plexus Classworlds launcher sets a funky TCCL that 
>> impacts the ServiceLoader lookup of DocLint providers. Can the 
>> ServiceLoader usage in DocLint be changed to use the system class 
>> loader rather than the TCCL to see if that "fixes it"?
>>
>> -Alan.
>
>
> Filed as https://bugs.openjdk.java.net/browse/JDK-8258443
Okay, but you already have JDK-8253996. In that bug report, the building 
of zookeeper-jute seems to run the compiler plugin with TCCL set to 
something setup by Plexus Classworlds and this is why the DocLint 
provider in jdk.javadoc is not located at run-time.

-Alan


More information about the jigsaw-dev mailing list