[jdk17u] RFR: 8262095: NPE in Flow$FlowAnalyzer.visitApply: Cannot invoke getThrownTypes because tree.meth.type is null

Ekaterina Vergizova evergizova at openjdk.java.net
Tue Oct 5 10:09:21 UTC 2021


I'd like to backport JDK-8262095 to 17u. It prevents NPE in javac.
The patch applies cleanly.
Tested with langtools tests, new test fails without the patch, passes with it.

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

Commit messages:
 - Backport 75d987a0dd6f8cc41808f7ba566e914817e465dc

Changes: https://git.openjdk.java.net/jdk17u/pull/152/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=152&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262095
  Stats: 26 lines in 3 files changed: 25 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/152.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/152/head:pull/152

PR: https://git.openjdk.java.net/jdk17u/pull/152


More information about the jdk-updates-dev mailing list