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

Francesco Andreuzzi fandreuzzi at openjdk.org
Thu Oct 30 09:27:03 UTC 2025


On Wed, 29 Oct 2025 23:53:37 GMT, Serguei Spitsyn <sspitsyn 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.

Thanks for the review @sspitsyn and @plummercj.

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

PR Comment: https://git.openjdk.org/jdk/pull/28017#issuecomment-3466870584


More information about the serviceability-dev mailing list