8327624: Remove VM implementation that bypass verification for core reflection

Reviewed-by: liach, dholmes, jrose, alanb, mli
This commit is contained in:
Mandy Chung 2024-10-22 18:14:37 +00:00
parent 28147dab07
commit d6eddcdaf9
28 changed files with 12 additions and 2817 deletions

View file

@ -1502,14 +1502,6 @@ class java_lang_ClassLoader : AllStatic {
static bool is_trusted_loader(oop loader);
// Return true if this is one of the class loaders associated with
// the generated bytecodes for serialization constructor returned
// by sun.reflect.ReflectionFactory::newConstructorForSerialization
static bool is_reflection_class_loader(oop loader);
// Fix for 4474172
static oop non_reflection_class_loader(oop loader);
// Testers
static bool is_subclass(Klass* klass) {
return klass->is_subclass_of(vmClasses::ClassLoader_klass());