RFR: 8260522: Clean up warnings in hotspot JTReg runtime tests

Harold Seigel hseigel at openjdk.java.net
Mon Feb 1 16:48:51 UTC 2021


On Mon, 1 Feb 2021 16:38:16 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Please review this fix to clean up some of the warnings generated when running hotspot/jtreg/runtime tests.  This fix cleans up warnings such as:
>>     warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>>     warning: Main is internal proprietary API and may be removed in a future release
>>     warning: Option FlightRecorder was deprecated in version 13.0 ...
>> 
>> The fix does not clean up warnings such as the following. They should probably best be cleaned up when the deprecated items are actually removed:
>>     warning: [removal] suspend() in Thread has been deprecated and marked for removal
>>     warning: [removal] resume() in Thread has been deprecated and marked for removal
>>     warning: [removal] defineAnonymousClass(Class<?>,byte[],Object[]) in Unsafe has been deprecated ...
>>     warning: the use of signal() and sigset() for signal chaining was deprecated in version 16.0
>> 
>> The fix was tested by running Mach5 hs-tiers 1-3 and by running tests locally and then looking for warnings in the resulting .jtr files.
>> 
>> Thanks, Harold
>
> Looks good!

Thanks Lois and Coleen, for the reviews!

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

PR: https://git.openjdk.java.net/jdk/pull/2293


More information about the hotspot-runtime-dev mailing list