On Thu, 14 Nov 2024 19:03:18 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

> This change adds a couple of comments, removes some ancient bootstrapping 
> code, and adds an old test that we call the verifier for redefining a class, 
> even one in the bootclass path.
> Tested with tier1-4.

test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineVerifyError.java
 line 124:

> 122:         try {
> 123:             RedefineClassHelper.redefineClass(verifyErrorMirror, dump());
> 124:             VerifyError err = new VerifyError("verify me now");

Which of these two lines are expected to throw a VerifyError?

Is the VerifyError because you can't redefine VerifyError, or is there 
something invalid about the how the class is redefined?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22116#discussion_r1842849416

Reply via email to