Withdrawn: 8258662: JDK 17ea: Crash compiling instanceof check involving sealed interface

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Wed Dec 23 05:14:57 UTC 2020


On Sat, 19 Dec 2020 13:49:43 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

> Hi all,
> 
> The method `Types.isCastable` uses method `Types.areDisjoint` to do some check. But `Types.isCastable` doesn't check the type of the parameter before invoking method `Types.areDisjoint`. This patch adds the corresponding check and add a test case.
> 
> Thank you for taking the time to review.
> 
> Best Regards.

This pull request has been closed without being integrated.

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

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


More information about the compiler-dev mailing list