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

Coleen Phillimore coleenp at openjdk.java.net
Mon Feb 1 16:40:40 UTC 2021


On Thu, 28 Jan 2021 16:41:01 GMT, Harold Seigel <hseigel 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!

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

Marked as reviewed by coleenp (Reviewer).

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


More information about the hotspot-runtime-dev mailing list