RFR: 8286391: Address possibly lossy conversions in jdk.compiler
Adam Sotona
asotona at openjdk.java.net
Mon May 23 10:31:14 UTC 2022
On Wed, 11 May 2022 13:20:02 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> This is a part of addressing of all possibly lossy conversions in compound assignments across JDK sources.
> Two cases have been found in jdk.compiler and they are addressed by this patch.
> One case in ClassWriter is resolved by changing local variable from char to int type to avoid multiple implicit and explicit conversions.
> Second case in Code is resolved by making the implicit conversion from int to char explicit.
>
> Please review.
>
> Thanks,
> Adam
Thank you!
-------------
PR: https://git.openjdk.java.net/jdk/pull/8652
More information about the compiler-dev
mailing list