RFR: 8261161: Clean up warnings in hotspot/jtreg/vmTestbase tests
Harold Seigel
hseigel at openjdk.java.net
Mon Feb 8 13:22:42 UTC 2021
On Fri, 5 Feb 2021 16:53:00 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Please review this change to clean up warnings, such as the following, in the vmTestbase tests.
>>
>> warning: [synchronization] attempt to synchronize on an instance of a value-based class
>> warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>>
>> This change cleans up the warnings by using a non-value based class to synchronize on, and replacing calls such as Integer(int) with Integer.valueOf(int).
>>
>> The change was tested by running Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and Mach5 tiers 3-8 on Linux x64.
>>
>> Thanks, Harold
>
> Wow. thank you!
Thanks Lois and Coleen for the reviews!
-------------
PR: https://git.openjdk.java.net/jdk/pull/2427
More information about the hotspot-dev
mailing list