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

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Tue Oct 20 15:48:17 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.

This pull request has now been integrated.

Changeset: cb6167b2
Author:    Guoxiong Li <lgxbslgx at gmail.com>
Committer: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cb6167b2
Stats:     145 lines in 2 files changed: 145 ins; 0 del; 0 mod

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

Reviewed-by: mcimadamore

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

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


More information about the compiler-dev mailing list