Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Dec 15, 2022

Backports the following commits to 8.6:

* Force init of Unbox in log4j

Some libaries have static initializers that require security manager
permissions. When this initialization occurs during normal operation, it
can cause security manager exceptions depending on where a logging call
is made.

This commit adds a place for static initialization of log4j utility
classes to be run, and specifically adds the Unbox class which wants to
read env vars.

closes elastic#91964
@rjernst rjernst added :Core/Infra/Core Core issues without another label >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Dec 15, 2022
@rjernst
Copy link
Member Author

rjernst commented Dec 15, 2022

@elasticsearchmachine run elasticsearch-ci/packaging-tests-unix-sample

@elasticsearchmachine elasticsearchmachine merged commit 7e52736 into elastic:8.6 Dec 15, 2022
@rjernst rjernst deleted the backport/8.6/pr-92377 branch December 15, 2022 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v8.6.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants