RFR: 8268592: JDK-8262891 causes an NPE in Lint.augment

Vicente Romero vromero at openjdk.java.net
Wed Jun 30 22:17:04 UTC 2021


On Tue, 15 Jun 2021 22:36:03 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> Avoid descending into lambdas in `Flow.aliveAfter`, since the lambda won't affect the result,
> and to avoid descending into lambda bodies that haven't been attributed yet when `aliveAfter`
> is used while attributing switches.

looks good to me, only a minor comment in the test

test/langtools/tools/javac/T8268592/T8268592.java line 27:

> 25:  * @bug 8268592
> 26:  * @summary JDK-8262891 causes an NPE in Lint.augment
> 27:  * @modules java.compiler

these modules are not being used and can be removed I think

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

Marked as reviewed by vromero (Reviewer).

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


More information about the compiler-dev mailing list