ci-test-diagnostics: document -XX:+EnableDynamicAgentLoading (all 4 repos) - #23
Merged
Merged
Conversation
…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
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.
https://claude.ai/code/session_01Y84TKMNfhbFGi7EoCEvP99