RFR: 8343889: Test runtime/cds/appcds/redefineClass/RedefineBasicTest.java failed
Matias Saavedra Silva
matsaave at openjdk.org
Wed Nov 13 21:12:16 UTC 2024
On Wed, 13 Nov 2024 19:25:26 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Fixing the tests under `test/hotspot/jtreg/runtime/cds/appcds/jvmti/redefineClasses` so that the `@run driver RedefineClassHelper` comes before any `@build` command so that subsequent tests can find classes under the` test.lib.helpers` package such as the `ClassFileInstaller` class.
>
> Revert the changes, which was done via JDK-8342303, to the following tests as the changes are not needed with the current fix.
>
> test/hotspot/jtreg/runtime/cds/appcds/redefineClass/RedefineBasicTest.java
> test/hotspot/jtreg/runtime/cds/appcds/redefineClass/RedefineRunningMethods_Shared.java
> test/hotspot/jtreg/runtime/logging/RedefineClasses.java
>
>
> This change also adds `@requires vm.cds` to the tests so it also fixes JDK-8344046.
>
> Testing:
> - passed tiers 1, 4 tests
LGTM
-------------
Marked as reviewed by matsaave (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22085#pullrequestreview-2434432631
More information about the hotspot-runtime-dev
mailing list