Skip to content

Commit b664fc7

Browse files
author
duke
committedMar 9, 2023
Automatic merge of jdk:master into master
2 parents 37d2ecc + 8b740b4 commit b664fc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/hotspot/share/prims/jvmtiRedefineClasses.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ bool VM_RedefineClasses::is_modifiable_class(oop klass_mirror) {
343343
if (InstanceKlass::cast(k)->is_hidden()) {
344344
return false;
345345
}
346+
if (InstanceKlass::cast(k) == vmClasses::Continuation_klass()) {
347+
// Don't redefine Continuation class. See 8302779.
348+
return false;
349+
}
346350
return true;
347351
}
348352

0 commit comments

Comments
 (0)
Please sign in to comment.