RFR: 8277322: Document that setting an invalid property `jdk.serialFilter` disables deserialization

Roger Riggs rriggs at openjdk.java.net
Mon Nov 22 20:06:32 UTC 2021


The effects of an invalid `jdk.serialFilter` property are not completely documented. If the value of the system property jdk.serialFilter is invalid, deserialization should not be possible and it should be clear in the specification. 

Specify an implementation specific exception is thrown in the case where deserialization is invoked after reporting the invalid jdk.serialFilter.

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

Commit messages:
 - 8277322: Document that setting an invalid property `jdk.serialFilter` disables deserialization

Changes: https://git.openjdk.java.net/jdk/pull/6508/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6508&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277322
  Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6508.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6508/head:pull/6508

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


More information about the core-libs-dev mailing list