Skip to content

Conversation

prdoyle
Copy link
Contributor

@prdoyle prdoyle commented Sep 11, 2025

This comprises the changes from main excluding the tests. The tests don't backport because we have not backported the entitlements support for unit tests at all. Some parts of this backport seem nonsensical in isolation, without the tests, but I'm backporting them anyway to make future backports smoother.

* Grant manage_threads to java.desktop for Tika

* Produce a PolicyScope for excluded system modules.

Fortunately, the JDK is still modular even if the tests are run sans modules,
so we can use the module API to identify the packages in every system module.

* TODO with Jira link
@prdoyle prdoyle self-assigned this Sep 11, 2025
@prdoyle prdoyle added >non-issue backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged :Core/Infra/Entitlements Entitlements infrastructure v8.18.8 v9.0.8 labels Sep 11, 2025
@elasticsearchmachine elasticsearchmachine merged commit 55c0a28 into elastic:9.0 Sep 11, 2025
19 checks passed
@prdoyle prdoyle deleted the backport-9.0 branch September 11, 2025 15:33
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.18 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 134559

prdoyle added a commit to prdoyle/elasticsearch that referenced this pull request Sep 11, 2025
…ic#134559)

* Grant manage_threads to java.desktop for Tika

* Produce a PolicyScope for excluded system modules.

Fortunately, the JDK is still modular even if the tests are run sans modules,
so we can use the module API to identify the packages in every system module.

* TODO with Jira link
@prdoyle
Copy link
Contributor Author

prdoyle commented Sep 11, 2025

Metabackport is #134580.

@prdoyle prdoyle changed the title Grant manage_threads to java.desktop for Tika (#134454) [9.0] Grant manage_threads to java.desktop for Tika (#134454) Sep 11, 2025
elasticsearchmachine pushed a commit that referenced this pull request Sep 11, 2025
…34580)

* Grant manage_threads to java.desktop for Tika

* Produce a PolicyScope for excluded system modules.

Fortunately, the JDK is still modular even if the tests are run sans modules,
so we can use the module API to identify the packages in every system module.

* TODO with Jira link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Entitlements Entitlements infrastructure >non-issue v8.18.8 v9.0.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants