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

Matthias Baesken mbaesken at openjdk.org
Thu Jun 22 11:51:15 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:

  move javaPath into caller

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

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

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

  Stats: 32 lines in 2 files changed: 6 ins; 23 del; 3 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