ppkarwasz opened a new pull request, #2259: URL: https://github.com/apache/logging-log4j2/pull/2259
The `DefaultObjectInputFilter` is too restrictive and it does not allow the deserialization of **arrays** of whitelisted classes. Most notably `RuntimeException` can not be deserialized, since it contains an array of `StackTraceElement`s. Both classes are allowed, but deserialization of the `StackTraceElement[]` array fails. We also replace all manual serializations/deserializations in test classes to calls to `SerialUtil`. This guarantees a consistent behavior of all tests under Java 8 and Java 9+. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
