RFR: 8276609: Document setting property `jdk.serialFilter` to an invalid value throws `ExceptionInInitializerError`

Lance Andersen lancea at openjdk.java.net
Fri Nov 12 19:12:38 UTC 2021


On Tue, 9 Nov 2021 15:48:22 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> When set on the command line `jdk.serialFilter` to an invalid value, the invalid value is logged but the application is allowed to start without setting the filter.
> This leaves the application without the protections of the serial filter.
> The specification should be clarify that an `ExceptionInInitializerError` is thrown when the `jdk.serialFilter` system property is set on the command line to an invalid value.

Marked as reviewed by lancea (Reviewer).

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

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


More information about the core-libs-dev mailing list