These tests nsk/jvmti/RedefineClasses redefclass028.cpp redefclass029.cpp redefclass030.cpp try to provoke compilation of certain methds and exit if CompileMethodLoad event are not received with `exit(95 + PASS)`
Before exit they also try to resume java using `nsk_jvmti_resumeSync();` The java is not suspended so this resume is failing. Currently, the failure is silently ignored now but going to fail after https://bugs.openjdk.org/browse/JDK-8352654 is fixed. This situation might happen with -Xcomp or other similar flags the might change compilation order. The complete fix would be to understand if we should run test in all modes and have strict check or throw SkippedException. But it requires much more effort. ------------- Commit messages: - 8370663: Incorrect synchronization in nsk/jvmti/RedefineClasses when expected events are not received Changes: https://git.openjdk.org/jdk/pull/27992/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27992&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8370663 Stats: 6 lines in 3 files changed: 0 ins; 3 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/27992.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27992/head:pull/27992 PR: https://git.openjdk.org/jdk/pull/27992
