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

Alexey Pavlyutkin duke at openjdk.org
Mon May 22 07:53:38 UTC 2023


> 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)

Alexey Pavlyutkin has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'backport-0dfb3a7' of https://github.com/apavlyutkin/jdk17u-dev into backport-0dfb3a7
 - Backport 0dfb3a705d2ad0ce4ac0f7dd18fb65d7ae735f16
 - Backport 0dfb3a705d2ad0ce4ac0f7dd18fb65d7ae735f16

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/152/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/152/files/55345442..5cb220b8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=152&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=152&range=00-01

  Stats: 308314 lines in 3459 files changed: 213421 ins; 70160 del; 24733 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/152.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/152/head:pull/152

PR: https://git.openjdk.org/jdk17u-dev/pull/152


More information about the jdk-updates-dev mailing list