RFR: JDK-8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Matthias Baesken
mbaesken at openjdk.org
Tue Jun 20 13:30:59 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.
-------------
Commit messages:
- JDK-8310380
Changes: https://git.openjdk.org/jdk/pull/14562/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14562&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8310380
Stats: 36 lines in 3 files changed: 35 ins; 0 del; 1 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 serviceability-dev
mailing list