JDK-8270478 : Release Note: Implement Context-Specific Deserialization Filters
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.io:serialization
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2021-07-14
  • Updated: 2021-08-02
  • Resolved: 2021-08-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17Resolved
Description
[JEP 415: Context-Specific Deserialization Filters](https://openjdk.java.net/jeps/415) allows applications to configure context-specific and dynamically-selected deserialization filters via a JVM-wide filter factory that is invoked to select a filter for each individual deserialization operation.

[The Java Core Libraries Developers Guide for Serialization Filtering](https://docs.oracle.com/en/java/javase/17/core/serialization-filtering1.html)
describes use cases and provides examples.