IntegerCache is no longer used in preview mode resulting in 
`ReplaceCriticalClassesForSubgraphs.java` failing, so instead this test should 
check for a different output when running in preview mode. Verified locally.

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

Commit messages:
 - Copyright
 - 8372599: [lworld] 
runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails with 
--enable-preview

Changes: https://git.openjdk.org/valhalla/pull/1984/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1984&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8372599
  Stats: 45 lines in 2 files changed: 25 ins; 1 del; 19 mod
  Patch: https://git.openjdk.org/valhalla/pull/1984.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1984/head:pull/1984

PR: https://git.openjdk.org/valhalla/pull/1984

Reply via email to