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

Roger Riggs rriggs at openjdk.java.net
Tue Nov 16 20:57: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.

This pull request has now been integrated.

Changeset: 8ed384cf
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8ed384cfb655d97ba452033e06d18ca38e5fc9b0
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

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

Reviewed-by: dfuchs, lancea

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

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


More information about the core-libs-dev mailing list