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

Fix thirdPartyAudit tasks when running with Java 20 #93394

Merged

Conversation

mark-vieira
Copy link
Contributor

Our third party audit task isn't smart enough to ignore classes that are compiled with --enable-preview. Lucene includes Java 19 specific classes that use the new Project Panama foreign memory API. This API however has changed in Java 20 with the removal of the MemorySession interface. Until apache/lucene#12042 is merged and integrated into Elasticsearch, we'll need to ignore this for now.

@mark-vieira mark-vieira added >non-issue :Delivery/Build Build or test infrastructure auto-backport-and-merge Automatically create backport pull requests and merge when ready v8.6.2 labels Jan 31, 2023
@elasticsearchmachine elasticsearchmachine added v8.7.0 Team:Delivery Meta label for Delivery team labels Jan 31, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks Mark.

@mark-vieira mark-vieira merged commit 8e44603 into elastic:main Feb 1, 2023
@mark-vieira mark-vieira deleted the java_20_third_party_audit_fix branch February 1, 2023 17:10
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport-and-merge Automatically create backport pull requests and merge when ready :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.6.2 v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants