jdk11u-dev icon indicating copy to clipboard operation
jdk11u-dev copied to clipboard

8312049: runtime/logging/ClassLoadUnloadTest can be improved

Open cost0much opened this issue 6 months ago • 9 comments

Backport that improves ClassLoadUnloadTest; already backported to JDK21 and JDK17. Original commit does not apply cleanly due to the options "-Xlog:class+load+cause" "-Xlog:class+load+cause+native" were not added until a later version, thus these cases are excluded. Some args in exec() also were not added until a later version, thus they are excluded. Additionally, these flags were deprecated in a later version and thus removed from this test; simple modifications are added so that these later removed cases follow the backport logic. Affected test passes.

MacOS GHA not passing due to unrelated deprecated sprintf


Progress

  • [x] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8312049 needs maintainer approval

Issue

  • JDK-8312049: runtime/logging/ClassLoadUnloadTest can be improved (Enhancement - P4 - Requested)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2920/head:pull/2920
$ git checkout pull/2920

Update a local copy of the PR:
$ git checkout pull/2920
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2920/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2920

View PR using the GUI difftool:
$ git pr show -t 2920

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2920.diff

Webrev

Link to Webrev Comment

cost0much avatar Aug 23 '24 19:08 cost0much