This test doesn't make sense to run with --enable-preview because the option it's testing isn't valid in preview mode. If there is synchronization on the value class, then the JVM throws IdentityException and cannot continue and log or emit a JFR event for it.
------------- Commit messages: - Fix no-newline problem. - Is it missing a blank line? - Merge branch 'lworld' into sync - 8328777: [lworld] TestSyncOnValueBasedClassEvent.java fails with Exception Changes: https://git.openjdk.org/valhalla/pull/1558/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1558&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8328777 Stats: 4 lines in 2 files changed: 1 ins; 3 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/1558.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1558/head:pull/1558 PR: https://git.openjdk.org/valhalla/pull/1558
