On Fri, 23 Oct 2026 05:17:26 GMT, Serguei Spitsyn <[email protected]> wrote:
> This fix is a preparation for JEP > [8388877](https://openjdk.org/jeps/8388877): `Disallow the Dynamic Loading of > Agents by Default`. The fix is to add the VM option > `-XX:+EnableDynamicAgentLoading` to a number of instrumentation and JVMTI > tests. > > Testing: > - TBD: Run mach5 tiers 1-5. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). I've pushed an update: - fixed typo: `test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java` - fixed 3 more tests: test/hotspot/jtreg/runtime/vthread/RedefineClass.java test/hotspot/jtreg/serviceability/dcmd/jvmti/LoadAgentDcmdTest.java test/jdk/com/sun/tools/attach/modules/Driver.java There is one more test that needs a treatement: `test/jdk/com/sun/tools/attach/warnings/DynamicLoadWarningTest.java` But it feels like it is better to fix together with the JEP. It has more sophisticated checks and option variations. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33530#issuecomment-6370214763
