RFR: 8370730: Test serviceability/attach/EarlyDynamicLoad/EarlyDynamicLoad.java needs to be resilient about warnings

Serguei Spitsyn sspitsyn at openjdk.org
Wed Oct 29 23:56:00 UTC 2025


On Tue, 28 Oct 2025 11:25:22 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

> Before [JDK-8359472](https://bugs.openjdk.org/browse/JDK-8359472), the JVM would crash with an assertion failure during the test. So the check was supposed to check for the presence of something like:
> 
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> ....
> 
> 
> However, checking the exit code is enough in this case.

Looks good. Thank you for cleaning this up.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28017#pullrequestreview-3396912430


More information about the serviceability-dev mailing list