Repository navigation
Conversation
Pull request dashboard statusWaiting on the author · refreshed 2026-10-23 23:01 UTC Move out of draft to request review. Status above doesn't look right?
|
Co-authored-by: trask <218610+trask@users.noreply.github.com>
…ructions Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create minimal reproduction for OpenTelemetry Java agent issue
Reproduce agent bootstrap failure with a child-first system loader
Oct 23, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to focused reproduction tests and documentation, with no unresolved blocking findings.
No open issues 🎉
What changed in this PR
Adds an isolated reproduction of agent bootstrap failure with a child-first system loader, without changing production code. The fixture demonstrates the failure mechanism but does not establish WebLogic’s actual loader behavior.
Changes:
- Adds dependency-free fixtures for custom class loading and startup-state observation.
- Tests real
-javaagentinitialization with normal, parent-first, and child-first loaders. - Documents standalone reproduction commands, observed results, and WebLogic confirmation steps.
| File | Description |
|---|---|
javaagent/src/test/java/jvmbootstraptest/ChildFirstSystemClassLoader.java |
Provides a synthetic loader with child-first and parent-first modes. |
javaagent/src/test/java/jvmbootstraptest/AgentStartupProbe.java |
Reports loader identities and agent startup state after premain. |
javaagent/src/test/java/io/opentelemetry/javaagent/CustomSystemClassLoaderTest.java |
Verifies successful controls and the exact child-first bootstrap failure. |
javaagent/README.md |
Documents reproduction procedures, results, and investigation limits. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Investigates the WebLogic startup report with a dependency-free fixture that exercises real
-javaagentinitialization. A child-first system loader triggersIllegalStateException: agent initializer should be loaded in boot loader; normal and parent-first loaders initialize successfully.