RFR: 8376295: "assert(BytecodeVerificationRemote) failed: Should not be here" when running class redefinition test with -XX:-BytecodeVerificationRemote [v2]

David Holmes dholmes at openjdk.org
Wed Feb 25 11:18:43 UTC 2026


On Tue, 24 Feb 2026 00:29:41 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> I think you should add a test.  I don't know why we missed this assert.  It's not new.
>
>> I think you should add a test. I don't know why we missed this assert. It's not new.
> Good idea.
> I updated test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineVerifyError.java
> to run with -XX:-BytecodeVerificationRemote
> 
> Verified, that this combination crashed with removed assertion.

@lmesnik unfortunately the test is missing `-XX:+UnlockDiagnosticVMOptions` for the new test case.

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

PR Comment: https://git.openjdk.org/jdk/pull/29476#issuecomment-3957516752


More information about the serviceability-dev mailing list