On Wed, 21 Jun 2023 15:25:15 GMT, Christoph Langer <clan...@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.
>
> test/lib/jdk/test/lib/Platform.java line 280:
> 
>> 278:         String line;
>> 279:         while ((line = is.readLine()) != null) {
>> 280:             System.out.println("STDOUT: " + line);
> 
> This output is for every line seems too much. Maybe just print the lines 
> where you find "Info.plist=not bound" or "Info.plist entries="?

I found the output useful when analyzing the issue (and it is just a few lines).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14562#discussion_r1238163572

Reply via email to