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

8298596: vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java fails with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"

Open amosshi opened this issue 1 year ago • 4 comments
trafficstars

Backport of JDK-8298596

  • The change on file test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java is clean
  • The change on file test/hotspot/jtreg/ProblemList-zgc.txt has been ignored, because the line does not exist in jdk17u-dev

Testing

  • Local: Test passed on MacOS 14.5 on Apple M1 Max
    • OneeFinalizerTest.java: Test results: passed: 1
    • PhantomReferenceEvilTest.java: Test results: passed: 1
    • PhantomReferenceTest.java: Test results: passed: 1
    • ReferencesGC.java: Test results: passed: 1
    • soft001.java: Test results: passed: 1
    • weak001.java: Test results: passed: 1
    • WeakReferenceGC.java: Test results: passed: 1
  • Pipeline:
  • Testing Machine:

Progress

  • [ ] 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-8298596 needs maintainer approval

Issue

  • JDK-8298596: vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java fails with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom" (Bug - P4)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2778

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

Using diff file

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

Webrev

Link to Webrev Comment

amosshi avatar Aug 02 '24 23:08 amosshi