[jdk17u-dev] RFR: 8268582: javadoc throws NPE with --ignore-source-errors option

Aleksey Shipilev shade at openjdk.org
Fri May 19 10:24:58 UTC 2023


On Wed, 9 Feb 2022 13:37:14 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> I'd like to backport JDK-8268582 to jdk17u-dev
> 
> The patch fixes javadoc NPE when using the --ignore-source-errors option with an non-existing type.
> 
> Original patch applied cleanly
> 
> Verification: `javadoc --ignore-source-errors ./Test.java` where Test.java has the following content
> 
> 
> import invalid.example.OtherClass;
> 
> public class Test<T> extends OtherClass<T> {
> 
> }
> 
> 
> Regression: langtools_javadoc (20.04/amd64)

@apavlyutkin: You also need to reopen this PR, and probably remerge it from master to get clean testing.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/152#issuecomment-1554357994


More information about the jdk-updates-dev mailing list