On 13.12.2017 11:13, Emmanuel Bourg wrote:
Hi Dalibor,

Le 01/12/2017 à 11:12, dalibor topic a écrit :

That won't work with 10 either, unfortunately, since the old doclet has
(finally) been removed. Please see
https://bugs.openjdk.java.net/browse/JDK-8177511 for details.

There is an undocumented --ignore-source-errors flag in javadoc since
Java 9 that could compensate for the loss of the old doclet. Do you know
if this flag will be kept in future releases?

If it's undocumented, then it could be removed at any point. If you find the functionality useful, I'd suggest bringing it up on http://mail.openjdk.java.net/mailman/listinfo/javadoc-dev in order to discuss if there is a better way to make use of it than a hidden option.

It seems that this option came into javadoc as part of http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/95d65add96a9 . The corresponding JBS issue is https://bugs.openjdk.java.net/browse/JDK-8175219 , and the motivation behind it were errors in source code, rather than making javadoc a bit less strict, fwiw.

On a mildly related side note, in 10, javadoc treats failure to access a '-link-ed' URL as an error, not a warning. https://bugs.openjdk.java.net/browse/JDK-8180019 .

cheers,
dalibor topic

That would help us greatly.

Emmanuel Bourg


--
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment

Reply via email to