RFR: 8200145: Conditional expression mistakenly treated as standalone
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Fri Apr 16 17:29:43 UTC 2021
On Sat, 30 Jan 2021 08:50:53 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:
> Hi all,
>
> If the argument `Type t` of the method `Types.unboxedType` is an `ErrorType`, the `Types.unboxedType` may return the wrong result. And in this case, `Attr.isBooleanOrNumeric` and `Attr.isBooleanOrNumeric` return the wrong result, too.
>
> This patch fixes it and adds a test case.
> Thank you for taking the time to review.
>
> Best Regards.
> -- xiong
Marked as reviewed by mcimadamore (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2324
More information about the compiler-dev
mailing list