Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tolerate creation of InnocuousThreads - to facilitate use of java.lang.ref.Cleaner backport(#77788) #91852

Merged
merged 2 commits into from
Nov 23, 2022

Conversation

pgomulka
Copy link
Contributor

@pgomulka pgomulka commented Nov 23, 2022

Update the ES security manager to tolerate the creation of the JDK's InnocuousThreads, to facilitate the use of java.lang.ref.Cleaner in ES and dependent code by default. Further details in issue ( #77788 )

resolves #77788
backport note - in 7.17 branch jdk8 is still supported. Therefore in order to recognize jdk.base domain it has to check for classloader == null (meaning it is a bootstrap classloader) instead of comparing modules
backport(#77788)

@pgomulka pgomulka self-assigned this Nov 23, 2022
@pgomulka pgomulka merged commit d16fd6f into elastic:7.17 Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants