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

duke duke at openjdk.org
Tue Dec 17 18:02:47 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`.

@vieiro 
Your change (at version 38927c6f0174d28b4c01b48b639ca2f32dedf498) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1227#issuecomment-2549208105


More information about the jdk-updates-dev mailing list