RFR: 8254557: Compiler crashes with java.lang.AssertionError: isSubtype UNKNOWN

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Oct 20 13:27:26 UTC 2020


On Sat, 17 Oct 2020 13:21:21 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

> Hi all,
> 
> [JDK-8254557](https://bugs.openjdk.java.net/browse/JDK-8254557) is similar to
> [JDK-8203277](https://bugs.openjdk.java.net/browse/JDK-8203277). The method `Attr.preFlow` shouldn't visit  class
> definitions and lambda expressions that have not yet been entered and attributed.
> The  [JDK-8181287](https://bugs.openjdk.java.net/browse/JDK-8231826) submitted some code that uses `Attr.preFlow`
> which  causes this bug.
> Thank you for taking the time to review.
> 
> Best Regards.

Looks good!

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

Marked as reviewed by mcimadamore (Reviewer).

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


More information about the compiler-dev mailing list