-
New Feature
-
Resolution: Duplicate
-
P4
-
None
-
None
-
None
Issue JDK-8164908 added support for functionality required to continue to support IIOP and custom serializers in light of additional module-based restrictions on reflection. It was expected that these libraries would use `sun.misc.Unsafe` in order to access fields of serializable classes. However, with JEP 471, the methods necessary to do this are being deprecated, and ultimately will be removed.
To allow these libraries to continue to function, it is proposed to add two methods to `sun.reflect.ReflectionFactory` which will allow for the acquisition of accessor `MethodHandle` instances for class instance fields.
It is also proposed to add a method which allows for the reading of private static final fields in order to read serialization-specific information from classes which have it.
To allow these libraries to continue to function, it is proposed to add two methods to `sun.reflect.ReflectionFactory` which will allow for the acquisition of accessor `MethodHandle` instances for class instance fields.
It is also proposed to add a method which allows for the reading of private static final fields in order to read serialization-specific information from classes which have it.
- duplicates
-
JDK-8333796 Add missing serialization functionality to sun.reflect.ReflectionFactory
- Resolved
- relates to
-
JDK-8333797 Add missing serialization functionality to sun.reflect.ReflectionFactory
- Closed
-
JDK-8333796 Add missing serialization functionality to sun.reflect.ReflectionFactory
- Resolved