Integrated: 8357282: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java fails after ClassNotFoundException

Alex Menkov amenkov at openjdk.org
Tue May 27 23:25:55 UTC 2025


On Wed, 21 May 2025 20:17:09 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The change fixes failure of vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java test.
> The test was problem-listed in jdk 11 due intermittent timeouts, but in jdk15-16 changes in nsk framework made the test fail 100% (it wasn't noticed as the test was problemlisted)
> The problem is attach045 has "target" parameter which contain class name and arguments (all other tests have only class name), and value of the argument is passed in surrounding quotes, so target application fails with ClassNotFoundException.
> Now I cannot reproduce original test failure, so removing the test from problemlist

This pull request has now been integrated.

Changeset: c110623d
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c110623d38806c5170fbff640e77933dcef8981b
Stats:     8 lines in 2 files changed: 5 ins; 1 del; 2 mod

8357282: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java fails after ClassNotFoundException

Reviewed-by: lmesnik, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/25366


More information about the serviceability-dev mailing list