mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
This commit is contained in:
parent
bfef3c3e80
commit
9bfe415f66
79 changed files with 99 additions and 6336 deletions
|
@ -884,20 +884,6 @@ class reflect_ConstantPool {
|
|||
friend class JavaClasses;
|
||||
};
|
||||
|
||||
// Interface to jdk.internal.reflect.UnsafeStaticFieldAccessorImpl objects
|
||||
class reflect_UnsafeStaticFieldAccessorImpl {
|
||||
private:
|
||||
static int _base_offset;
|
||||
static void compute_offsets();
|
||||
|
||||
public:
|
||||
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
|
||||
|
||||
static int base_offset() { CHECK_INIT(_base_offset); }
|
||||
|
||||
// Debugging
|
||||
friend class JavaClasses;
|
||||
};
|
||||
|
||||
// Interface to java.lang primitive type boxing objects:
|
||||
// - java.lang.Boolean
|
||||
|
@ -1494,7 +1480,8 @@ 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 reflection.
|
||||
// the generated bytecodes for serialization constructor returned
|
||||
// by sun.reflect.ReflectionFactory::newConstructorForSerialization
|
||||
static bool is_reflection_class_loader(oop loader);
|
||||
|
||||
// Fix for 4474172
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue