On Wed, 13 Nov 2024 14:44:56 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> After [JDK-8338411](https://bugs.openjdk.org/browse/JDK-8338411), 
>> Serialization implementation dependencies on SecurityManager, doPrivildged, 
>> and AccessController are removed.
>> Some refactoring to cleanup the remaining code is expected.
>
> Roger Riggs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Remove overlooked SecurityManager use in ObjectInputFilter and 
> ObjectStreamClass

src/java.base/share/classes/java/io/ObjectStreamField.java line 166:

> 164:     @SuppressWarnings("removal")
> 165:     @CallerSensitive
> 166:     public Class<?> getType() {

This method is no longer caller sensitive, also no need to import ReflectUtil 
now.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22041#discussion_r1840484140

Reply via email to