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

Matthias Baesken mbaesken at openjdk.org
Tue Jun 27 13:45:29 UTC 2023


On Thu, 22 Jun 2023 11:51:15 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.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   move javaPath into caller

Hi Chris,  I renamed the method and adjusted the comment.

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

PR Comment: https://git.openjdk.org/jdk/pull/14562#issuecomment-1609529567


More information about the serviceability-dev mailing list