[jdk8u-dev] RFR: 8301143: [TESTBUG] jfr/event/sampling/TestNative was backported to JDK8u without proper native wrapper

Jiří Vaněk jvanek at openjdk.org
Thu Jan 26 10:05:19 UTC 2023


This test was brouht in by 8223147: JFR Backport and never passed. Despite not being wrong nor having jfr broken in jdk8. jdk8 testsuite simply lacks native support casses.

This is adding the shell wrapper which is compiling and properly setting up the native longSleep  in native shared object.

This comit was tested only on linux.
After this commit whole jdk_jfr group passes

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

Commit messages:
 - Added multilib support
 - repalce ==  by =, mkaing older ubuntu happy
 - Revert "repalce [] by test, mkaing older ubuntu happy"
 - repalce [] by test, mkaing older ubuntu happy
 - Removed -o pipefail; it is not 100% trasnferable
 - fixed jfr/event/sampling/TestNative test

Changes: https://git.openjdk.org/jdk8u-dev/pull/235/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=235&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301143
  Stats: 64 lines in 2 files changed: 63 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/235.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/235/head:pull/235

PR: https://git.openjdk.org/jdk8u-dev/pull/235


More information about the jdk8u-dev mailing list