If a class's version V is in this range:
STACKMAP_ATTRIBUTE_MAJOR_VERSION <= V < NOFAILOVER_MAJOR_VERSION
It can fail the new verifier but can succeed with the old verifier. This is called "fail over verification".
Currently these classes are excluded from the AOT cache:
https://github.com/openjdk/jdk/blob/c5cbcac828e1c7aa845cf16e68f6306ae49e050c/src/hotspot/share/classfile/verifier.cpp#L228-L243
After JDK-8317269, we are able be able to store classes verified by the old verifier. Therefore, we should modify the above code to support classes verified with "fail over" verification.
STACKMAP_ATTRIBUTE_MAJOR_VERSION <= V < NOFAILOVER_MAJOR_VERSION
It can fail the new verifier but can succeed with the old verifier. This is called "fail over verification".
Currently these classes are excluded from the AOT cache:
https://github.com/openjdk/jdk/blob/c5cbcac828e1c7aa845cf16e68f6306ae49e050c/src/hotspot/share/classfile/verifier.cpp#L228-L243
After JDK-8317269, we are able be able to store classes verified by the old verifier. Therefore, we should modify the above code to support classes verified with "fail over" verification.