[jdk21u-dev] Integrated: 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x

Antonio Vieiro duke at openjdk.org
Wed Dec 18 16:57:41 UTC 2024


On Thu, 12 Dec 2024 15:54:47 GMT, Antonio Vieiro <duke at openjdk.org> wrote:

> A clean backport of [JDK-8294316](https://bugs.openjdk.org/browse/JDK-8294316) to properly parse core files in macOS 12 and later.  Load commands with length zero are now discarded. 
> 
> The fix doesn't affect directly to SA tests in `21`, but it's being backported to `11` as this is the cause of [an older version of `serviceability/sa/ClhsdbFindPC.java` failing in JDK 11 on macos-13 GHA runners](https://github.com/openjdk/jdk11u-dev/pull/2967#issuecomment-2538048579). 
> 
> Tests in 21 continue to pass in all platforms, including `macos`.

This pull request has now been integrated.

Changeset: eaa475f7
Author:    Antonio Vieiro <avieirov at redhat.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/eaa475f72ced51cf0f0d0bce9ff1265bfb81ab31
Stats:     17 lines in 2 files changed: 5 ins; 0 del; 12 mod

8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x

Backport-of: 269852b90634aa43d4d719c93563608e42792fc6

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1227


More information about the jdk-updates-dev mailing list