8260522: Clean up warnings in hotspot JTReg runtime tests#2293
8260522: Clean up warnings in hotspot JTReg runtime tests#2293hseigel wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back hseigel! A progress list of the required criteria for merging this PR into |
|
@hseigel This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 35 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
Thanks Lois and Coleen, for the reviews! /integrate |
|
@hseigel Since your change was applied there have been 35 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 181d63f. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
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
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2293/head:pull/2293$ git checkout pull/2293