[jdk21u-dev] Integrated: 8325530: Vague error message when com.sun.tools.attach.VirtualMachine fails to load agent library

Daniel Hu duke at openjdk.org
Mon Oct 27 16:48:00 UTC 2025


On Fri, 24 Oct 2025 18:57:15 GMT, Daniel Hu <duke at openjdk.org> wrote:

> Clean backport. Fixes a regression in 21: VirtualMachine.loadAgentPath/loadAgentLibrary failing with AgentLoadException doesn't return full error details from AttachListener success case. New test passes with change, fails without. Change passes GHA and internal Amazon pipelines:  jtreg tier1-4 and tck tests on platforms linux x64, aarch64, aarch32; alpine x64, aarch64; mac aarch64; windows x64.

This pull request has now been integrated.

Changeset: 21fcec03
Author:    Daniel Hu <costmuch at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/21fcec033c6e47947b4230e339bc59f49ed53602
Stats:     150 lines in 6 files changed: 109 ins; 16 del; 25 mod

8325530: Vague error message when com.sun.tools.attach.VirtualMachine fails to load agent library

Backport-of: fc67c2b4f17216d4adcc0825d0f378ae4f150025

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

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


More information about the jdk-updates-dev mailing list