mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
This commit is contained in:
parent
76e228d3db
commit
00f6a09302
23 changed files with 77 additions and 71 deletions
|
@ -799,8 +799,8 @@ class java_lang_reflect_Module {
|
|||
friend class JavaClasses;
|
||||
};
|
||||
|
||||
// Interface to sun.reflect.ConstantPool objects
|
||||
class sun_reflect_ConstantPool {
|
||||
// Interface to jdk.internal.reflect.ConstantPool objects
|
||||
class reflect_ConstantPool {
|
||||
private:
|
||||
// Note that to reduce dependencies on the JDK we compute these
|
||||
// offsets at run-time.
|
||||
|
@ -824,8 +824,8 @@ class sun_reflect_ConstantPool {
|
|||
friend class JavaClasses;
|
||||
};
|
||||
|
||||
// Interface to sun.reflect.UnsafeStaticFieldAccessorImpl objects
|
||||
class sun_reflect_UnsafeStaticFieldAccessorImpl {
|
||||
// Interface to jdk.internal.reflect.UnsafeStaticFieldAccessorImpl objects
|
||||
class reflect_UnsafeStaticFieldAccessorImpl {
|
||||
private:
|
||||
static int _base_offset;
|
||||
static void compute_offsets();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue