Skip to content

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport e7ee950 from #15039.

…gin (#15039)

* Add ThreadContextPermission for stashAndMergeHeaders and stashWithOrigin

Signed-off-by: Craig Perkins <[email protected]>

* Add to CHANGELOG

Signed-off-by: Craig Perkins <[email protected]>

* Use ThreadContextAccess

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit e7ee950)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
*/
public StoredContext stashWithOrigin(String origin) {
SecurityManager sm = System.getSecurityManager();
if (sm != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed (#15016 (comment)), we need to make this change backward compatible

@cwperks
Copy link
Member

cwperks commented Jul 31, 2024

Opened a manual backport with deprecationLogger changes: #15049

@reta
Copy link
Contributor

reta commented Jul 31, 2024

Closing in favour of #15049

@reta reta closed this Jul 31, 2024
@github-actions
Copy link
Contributor

❌ Gradle check result for 92b84ec: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants