Closed ignasi35 closed 4 years ago
A workaround to execute javadoc
over that java code is to use the (undocummented) --ignore-source-errors
flag of javadoc
. When using that flag, the error messages are still produced but the process completes successfully and produces the expected HTML.
I think it's outside the scope of genjavadoc to produce valid Java code. We didn't produce valid Java code for JDK9, just 'valid enough to produce useful javadoc'. The difference on JDK11 is that the javadoc tool has become more loud about it.
I think we should 'fix' this issue by explicitly stating this as a non-goal of the project. WDYT?
I think we should 'fix' this issue by explicitly stating this as a non-goal of the project. WDYT?
Sounds good to me. :-)
When running in JDK 11, given:
the output is:
This produces multiple errors in
apply()
:T1
,T2
andR
are undefinedstatic abstract
is an invalid combination of modifiers.