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

Add missing java.util.logging.Logger methods to PatchLogger #4540

Merged
merged 2 commits into from
Oct 29, 2021

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Oct 28, 2021

Resolves #4539

Comment on lines -58 to -61
if (parameterTypes.contains("java.util.function.Supplier")) {
// FIXME it would be good to include Java 8 methods
continue;
}
Copy link
Member

Choose a reason for hiding this comment

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

😱

Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

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

Is it possible to add a test that reflects through the APIs somehow to check coverage?

@trask
Copy link
Member

trask commented Oct 29, 2021

Is it possible to add a test that reflects through the APIs somehow to check coverage?

we have one, see my 😱 above 😭

@anuraaga
Copy link
Contributor

🙀

@trask trask merged commit 2d0aa19 into open-telemetry:main Oct 29, 2021
anuraaga pushed a commit that referenced this pull request Nov 4, 2021
* Add missing java.util.logging.Logger methods to PatchLogger

* spotless
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
…emetry#4540)

* Add missing java.util.logging.Logger methods to PatchLogger

* spotless
@laurit laurit deleted the patch-logger-missing-methods branch July 6, 2023 17:44
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.

1.7.1 Java agent throwing exception NoSuchMethodError
3 participants