On Mon, 6 Dec 2021 16:01:43 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> The specification of ObjectInputStream constructors that invoke 
>> `ObjectInputFilter.Config.getSerialFilterFactory()` do not mention 
>> exceptions that may be thrown by the apply() method.
>> 
>> In both constructors, add the following to the paragraph the describes 
>> invoking the factory:
>> 
>>      * When the filter factory {@code apply} method is invoked it may throw 
>> a runtime exception
>>      * preventing the {@code ObjectInputStream} from being constructed.
>
> Roger Riggs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Clarified that a runtime exception may be thrown by the filter factory 
> returned from `ObjectInputFilter.Config.getSerialFilterFactory()`
>   not by the `getSerialFilterFactory` method.

Marked as reviewed by bpb (Reviewer).

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

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

Reply via email to