RFR: 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 11:24:48 UTC 2021
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
-------------
Commit messages:
- 8260566:Pattern type X is a subtype of expression type Y message is incorrect
Changes: https://git.openjdk.java.net/jdk/pull/2311/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2311&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8260566
Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/2311.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2311/head:pull/2311
PR: https://git.openjdk.java.net/jdk/pull/2311
More information about the compiler-dev
mailing list