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

Lutz Schmidt lucy at openjdk.org
Wed Jun 21 15:22:05 UTC 2023


On Tue, 20 Jun 2023 13:23:16 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

LGTM.
Thanks for enhancing test analysis.

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

Marked as reviewed by lucy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14562#pullrequestreview-1491050558


More information about the core-libs-dev mailing list