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

Antonio Vieiro duke at openjdk.org
Fri Dec 13 09:47:42 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`.

Build failures are unrelated and are due to downloads of ant binaries not complying with the [archive.apache.org ban policies](https://infra.apache.org/infra-ban.html)


[build.sh][INFO] Downloading https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.zip to /home/runner/work/jdk21u-dev/jdk21u-dev/jtreg/src/make/../build/deps/apache-ant-1.10.8-bin.zip
Error: sh][ERROR] wget exited with exit code 4
Error: Process completed with exit code 1.

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

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


More information about the jdk-updates-dev mailing list