Skip to content

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Oct 1, 2025

We don't really need to use reflection to load bootstrap prefixes. Since the instrumentation also uses CallDepth if the boot classes weren't accessible it would already have failed loading CallDepth. Reflection was sometimes needed because using CallDepth messed with loading of BootstrapPackagePrefixesHolder.

@otelbot-java-instrumentation
Copy link
Contributor

🔧 The result from spotlessApply was committed to the PR branch.

@laurit laurit marked this pull request as ready for review October 1, 2025 13:05
@laurit laurit requested a review from a team as a code owner October 1, 2025 13:05
@laurit laurit merged commit 0e62949 into open-telemetry:main Oct 2, 2025
89 checks passed
@laurit laurit deleted the simplify-boot-prefix branch October 2, 2025 06:21
mznet pushed a commit to mznet/opentelemetry-java-instrumentation that referenced this pull request Oct 3, 2025
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.

2 participants