[jdk17u-dev] RFR: 8268582: javadoc throws NPE with --ignore-source-errors option
Alexey Pavlyutkin
duke at openjdk.java.net
Wed Feb 9 13:45:58 UTC 2022
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)
-------------
Commit messages:
- Backport 0dfb3a705d2ad0ce4ac0f7dd18fb65d7ae735f16
Changes: https://git.openjdk.java.net/jdk17u-dev/pull/152/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=152&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8268582
Stats: 21 lines in 2 files changed: 16 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk17u-dev/pull/152.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17u-dev pull/152/head:pull/152
PR: https://git.openjdk.java.net/jdk17u-dev/pull/152
More information about the jdk-updates-dev
mailing list