Skip to content

ci-test-diagnostics: document -XX:+EnableDynamicAgentLoading (all 4 repos) - #23

Merged
bernardladenthin merged 1 commit into
mainfrom
claude/jacoco-argline-sync-bfam2k
Jul 21, 2026
Merged

ci-test-diagnostics: document -XX:+EnableDynamicAgentLoading (all 4 repos)#23
bernardladenthin merged 1 commit into
mainfrom
claude/jacoco-argline-sync-bfam2k

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

…epos)

Add the surefire test-fork guard against the JDK 21 'A Java agent has
been loaded dynamically' warning to the canonical CI-test-diagnostics
policy so it is documented once and stays synchronized across all four
sibling repos (each CLAUDE.md already points here).

The warning is emitted to the fork's native stderr when a test
self-attaches byte-buddy-agent (Mockito inline mock maker in BAF;
Lincheck model-checking instrumentation in jllama/sb/plugin) and can
intermittently corrupt Surefire's encoded fork channel — surfacing as
'Corrupted channel by directly writing to native stream' followed by a
bogus 'There was a timeout in the fork'. New section 2.1 explains the
mechanism, the trigger per repo, and the warning-vs-corruption frequency
distinction; the argLine shapes and per-repo wiring table are updated to
carry the flag. crossrepostatus row refreshed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y84TKMNfhbFGi7EoCEvP99
@bernardladenthin
bernardladenthin merged commit 0258434 into main Jul 21, 2026
2 checks passed
@bernardladenthin
bernardladenthin deleted the claude/jacoco-argline-sync-bfam2k branch July 21, 2026 09:16
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