RFR: 8200145: Conditional expression mistakenly treated as standalone
Aleksey Shipilev
shade at openjdk.java.net
Fri Apr 16 08:06:35 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
I think we want to ping @lahodaj to see if this makes sense.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2324
More information about the compiler-dev
mailing list