mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8327624: Remove VM implementation that bypass verification for core reflection
Reviewed-by: liach, dholmes, jrose, alanb, mli
This commit is contained in:
parent
28147dab07
commit
d6eddcdaf9
28 changed files with 12 additions and 2817 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue