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

Roger Riggs rriggs at openjdk.org
Mon Feb 6 22:52:10 UTC 2023


> 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.

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

Changes:
  - all: https://git.openjdk.org/jdk20/pull/121/files
  - new: https://git.openjdk.org/jdk20/pull/121/files/a71e9cfa..aaf5d38c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk20&pr=121&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk20&pr=121&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk20/pull/121.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/121/head:pull/121

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


More information about the core-libs-dev mailing list