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

Severin Gehwolf sgehwolf at openjdk.org
Wed Jan 29 10:53:52 UTC 2025


On Wed, 18 Dec 2024 20:09:03 GMT, Antonio Vieiro <duke at openjdk.org> wrote:

> A mostly 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 17, but it's being backported to 11 as this is the cause of https://github.com/openjdk/jdk11u-dev/pull/2967#issuecomment-2538048579.
> 
> Tests in 17 continue to pass in all platforms, including macos.
> 
> The change is not clean as there were merge conflicts in `ProblemList.txt`, as these usually differ between JDK versions.

Backport to `ps_core.c` looks good. ProblemList.txt update is OK, there is a difference between specific test names (`idX` vs. `core`, `xcomp-core` and similar). That's fine.

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

Marked as reviewed by sgehwolf (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3150#pullrequestreview-2580661803


More information about the jdk-updates-dev mailing list