RFR: JDK-8310380: Handle problems in core-related tests on macOS when codesign tool does not work [v2]

Matthias Baesken mbaesken at openjdk.org
Thu Jun 22 09:53:29 UTC 2023


> Currently, a number of tests fail on macOS because they miss the core file (e.g. serviceability/sa/TestJmapCore.java).
> The reason is that configure detects on some setups that codesign does not work ("checking if debug mode codesign is possible... no) .
> So adding the needed entitlement to generate cores is not done in the build. This is currently not checked later in the tests.
> But without the entitlement, a core is not generated.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  Some adjustments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14562/files
  - new: https://git.openjdk.org/jdk/pull/14562/files/0d8c68c2..1b604db9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14562&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14562&range=00-01

  Stats: 37 lines in 5 files changed: 17 ins; 10 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/14562.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14562/head:pull/14562

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


More information about the core-libs-dev mailing list