Skip to content

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Oct 8, 2025

Part of #14803

@zeitlinger zeitlinger requested a review from a team as a code owner October 8, 2025 10:12
@zeitlinger zeitlinger self-assigned this Oct 8, 2025
assertThat(key1).hasSameHashCodeAs(key2);
assertThat(key1).isEqualTo(key2);
// ensures that loader isn't collected
assertThat(loader).isNotNull();
Copy link
Contributor

Choose a reason for hiding this comment

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

loader can not be null at this point so, as it is, this assertion doesn't really make sense

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I get it now. The intention is to use the loader at the end of the method to ensure that it isn't collected before.

@zeitlinger
Copy link
Member Author

@laurit please check again

@trask trask merged commit ce54afb into open-telemetry:main Oct 10, 2025
81 checks passed
@zeitlinger zeitlinger deleted the convert-groovy-cache-provider branch October 10, 2025 16:10
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