JDK-8344922 : Redefinition verifies the new klass when verification is disabled
  • Type: Bug
  • Component: hotspot
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2024-11-25
  • Updated: 2024-11-25
Related Reports
Relates :  
Relates :  
Description
We notice after JDK-8341094 and JDK-8330606, class verification is always done for a redefined class even when verification is disabled (both BytecodeVerificationLocal and BytecodeVerificationRemote are false). Should that be an expected behavior? Or we can still elide verification for a redefined class when verification is explicitly disabled?
Comments
[~coleenp], could you help clarify the expected behavior for redefined class when verification is off? Thanks!
25-11-2024