RFR: 8374168: Resolve disabled warnings in JDWP agent [v5]

Alex Menkov amenkov at openjdk.org
Tue Dec 23 22:25:57 UTC 2025


On Tue, 23 Dec 2025 19:21:19 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> The fix resolves disabled warnings in debugger agent
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update for MS warning 5287 fix

Looks like this is a bug in MSVC: https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942
cast to signed 32bit integer does not silence the warning.
I think the simplest would be to cast to unsigned int

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

PR Comment: https://git.openjdk.org/jdk/pull/28937#issuecomment-3688120255


More information about the serviceability-dev mailing list