RFR: 8371162: Compiler warns about implicit cast from long to int in shift operation [v4]

Archie Cobbs acobbs at openjdk.org
Fri Jan 30 03:46:09 UTC 2026


On Thu, 29 Jan 2026 19:33:43 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Archie Cobbs has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
>> 
>>  - Update copyrights to 2026.
>>  - Merge branch 'master' into JDK-8371162
>>  - Merge branch 'master' into JDK-8371162 to fix conflict.
>>  - Use cleaner switch statement syntax.
>>  - Avoid lossy conversion warnings for 64 bit shift amounts.
>
> lgtm

Thanks for the review @vicente-romero-oracle !

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

PR Comment: https://git.openjdk.org/jdk/pull/28180#issuecomment-3821643465


More information about the compiler-dev mailing list