Skip to content

Conversation

@ldematte
Copy link
Contributor

When building the MethodKey for the target method to instrument, we need to consider the method declaring class in order for this to work with complex hierarchies.

This PR adds a test to showcase the issues, and fixes it.

Fixes #122121
Fixes #122120

Relates to https://elasticco.atlassian.net/browse/ES-10793

@ldematte ldematte added >non-issue :Core/Infra/Core Core issues without another label auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Feb 10, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Feb 10, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@ldematte ldematte requested a review from a team February 10, 2025 17:14
Copy link
Contributor

@prdoyle prdoyle left a comment

Choose a reason for hiding this comment

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

Subtle!

@ldematte ldematte merged commit a10f8a8 into elastic:main Feb 11, 2025
16 of 17 checks passed
@ldematte ldematte deleted the entitlements/fix-dynamic-checks-inheritance branch February 11, 2025 07:48
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 12, 2025
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 12, 2025
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 12, 2025
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 :Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

3 participants