RFR: 8264859: Implement Context-Specific Deserialization Filters [v10]

Roger Riggs rriggs at openjdk.java.net
Thu May 27 00:52:13 UTC 2021


On Wed, 26 May 2021 22:02:36 GMT, Brent Christian <bchristi at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Editorial updates to review comments.
>>   Simplify the builtin filter factory implementation.
>>   Add atomic update to setting the filter factory.
>>   Clarify the description of OIS.setObjectInputFilter.
>>   Cleanup of the example code.
>
> test/jdk/java/io/Serializable/serialFilter/SerialFilterFactoryTest.java line 332:
> 
>> 330:         public void next(ObjectInputFilter next) {
>> 331:             this. next = next;
>> 332:         }
> 
> Is this next() used anywhere ?

Neither is used, IntellJ was happy to create getters and setters...  Can be removed.

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

PR: https://git.openjdk.java.net/jdk/pull/3996


More information about the core-libs-dev mailing list