Integrated: 8260566: Pattern type X is a subtype of expression type Y message is incorrect

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Fri Jan 29 18:29:42 UTC 2021


On Fri, 29 Jan 2021 11:20:06 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

> Hi all,
> 
> The order of the arguments is wrong when using method `Errors.InstanceofPatternNoSubtype`.
> 
> This patch fixes it and revises the corresponding tests.
> Thank you for taking the time to review.
> And it may be good to fix JDK16 as well.
> 
> Best Regards.
> -- xiong

This pull request has now been integrated.

Changeset: 739bbd03
Author:    Guoxiong Li <lgxbslgx at gmail.com>
Committer: Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/739bbd03
Stats:     5 lines in 4 files changed: 0 ins; 0 del; 5 mod

8260566: Pattern type X is a subtype of expression type Y message is incorrect

Reviewed-by: jlahoda, tvaleev

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

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


More information about the compiler-dev mailing list