RFR: 8276609: Invalid system property `jdk.serialFilter` set on the commd d line should cause `ExceptionInInitializerError`
Roger Riggs
rriggs at openjdk.java.net
Tue Nov 9 15:58:58 UTC 2021
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.
-------------
Commit messages:
- 8276609: Invalid system property `jdk.serialFilter` set on the command line should cause `ExceptionInInitializerError`
Changes: https://git.openjdk.java.net/jdk/pull/6317/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6317&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8276609
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/6317.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6317/head:pull/6317
PR: https://git.openjdk.java.net/jdk/pull/6317
More information about the core-libs-dev
mailing list