RFR: 8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build

SendaoYan syan at openjdk.org
Fri Aug 9 13:39:58 UTC 2024


Hi all,
 The testcase `testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java` fails with release build, the test log snippet says `IR verification disabled due to not running a debug build`. So I think it's need `@requires vm.debug == true`.

The change has been verified with linux x64 release build and linux x64 fastdebug build, no risk,

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

Commit messages:
 - 8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build

Changes: https://git.openjdk.org/jdk/pull/20524/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20524&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338112
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20524/head:pull/20524

PR: https://git.openjdk.org/jdk/pull/20524


More information about the hotspot-compiler-dev mailing list