On Mon, 22 Nov 2021 17:15:50 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:

> Please review a simple fix for a javadoc NPE when using the undocumented 
> `--ignore-source-errors` option with an non-existing type.
> 
> Note that this just fixes the particular error that occurs when looking for 
> preview API use in invalid types. It is possible that other source errors 
> trigger other errors in javadoc, but I don't think it is worth the time to go 
> and actively look for them.
> 
> In particular, the NPE that is documented by the stack trace in the JBS issue 
> was different from the one fixed here and does not occur anymore, and the one 
> fixed here did not yet exist in JDK 11.

This pull request has now been integrated.

Changeset: 0dfb3a70
Author:    Hannes Wallnöfer <hann...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/0dfb3a705d2ad0ce4ac0f7dd18fb65d7ae735f16
Stats:     21 lines in 2 files changed: 16 ins; 0 del; 5 mod

8268582: javadoc throws NPE with --ignore-source-errors option

Reviewed-by: jjg

-------------

PR: https://git.openjdk.java.net/jdk/pull/6506

Reply via email to