mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8210470: Remove unused Verifier::verify() Verifier::Mode argument
Remove the unused argument. Reviewed-by: coleenp, jiangli
This commit is contained in:
parent
edef78fbe1
commit
18bbeb53e6
5 changed files with 17 additions and 25 deletions
|
@ -1231,8 +1231,7 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
|
|||
// verifier. Please, refer to jvmtiThreadState.hpp for the detailed
|
||||
// description.
|
||||
RedefineVerifyMark rvm(the_class, scratch_class, state);
|
||||
Verifier::verify(
|
||||
scratch_class, Verifier::ThrowException, true, THREAD);
|
||||
Verifier::verify(scratch_class, true, THREAD);
|
||||
}
|
||||
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
|
@ -1263,7 +1262,7 @@ jvmtiError VM_RedefineClasses::load_new_class_versions(TRAPS) {
|
|||
// verify what we have done during constant pool merging
|
||||
{
|
||||
RedefineVerifyMark rvm(the_class, scratch_class, state);
|
||||
Verifier::verify(scratch_class, Verifier::ThrowException, true, THREAD);
|
||||
Verifier::verify(scratch_class, true, THREAD);
|
||||
}
|
||||
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue