Integrated: 8260522: Clean up warnings in hotspot JTReg runtime tests
Harold Seigel
hseigel at openjdk.java.net
Mon Feb 1 16:48:52 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
This pull request has now been integrated.
Changeset: 181d63ff
Author: Harold Seigel <hseigel at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/181d63ff
Stats: 72 lines in 15 files changed: 23 ins; 12 del; 37 mod
8260522: Clean up warnings in hotspot JTReg runtime tests
Reviewed-by: lfoltan, coleenp
-------------
PR: https://git.openjdk.java.net/jdk/pull/2293
More information about the hotspot-runtime-dev
mailing list