[jdk20] RFR: 8301863: ObjectInputFilter example incorrectly calls rejectUndecidedClass [v2]

Lance Andersen lancea at openjdk.org
Wed Feb 8 21:55:54 UTC 2023


On Mon, 6 Feb 2023 22:52:10 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> The example code in ObjectInputFilter for the FilterInThread filter factory does not do what is intended and is poorly described. Clarifies that the JVM-wide filter and the thread local filter are merged and will reject classes that are otherwise not accepted or rejected. If a stream specific filter is set and does not accept or reject a class, the combined filter is applied.
>> 
>> This is a doc-only change.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8301863: ObjectInputFilter example incorrectly calls rejectUndecidedClass
>   Correct typo in prose.

Marked as reviewed by lancea (Reviewer).

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

PR: https://git.openjdk.org/jdk20/pull/121


More information about the core-libs-dev mailing list