Enhance Java Agent to intercept System::exit#17746
Merged
reta merged 2 commits intoopensearch-project:mainfrom Apr 1, 2025
Merged
Enhance Java Agent to intercept System::exit#17746reta merged 2 commits intoopensearch-project:mainfrom
reta merged 2 commits intoopensearch-project:mainfrom
Conversation
reta
commented
Apr 1, 2025
libs/agent-sm/bootstrap/src/main/java/org/opensearch/javaagent/bootstrap/AgentPolicy.java
Show resolved
Hide resolved
Signed-off-by: Andriy Redko <drreta@gmail.com>
cwperks
reviewed
Apr 1, 2025
libs/agent-sm/agent/src/test/java/org/opensearch/javaagent/SystemInterceptorTests.java
Outdated
Show resolved
Hide resolved
libs/agent-sm/agent/src/main/java/org/opensearch/javaagent/Agent.java
Outdated
Show resolved
Hide resolved
libs/agent-sm/agent/src/main/java/org/opensearch/javaagent/SystemInterceptor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Andriy Redko <drreta@gmail.com>
Contributor
Author
cwperks
approved these changes
Apr 1, 2025
Contributor
|
❌ Gradle check result for 22cfda0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Contributor
|
❕ Gradle check result for 22cfda0: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17746 +/- ##
============================================
+ Coverage 72.29% 72.48% +0.19%
- Complexity 65900 66114 +214
============================================
Files 5350 5351 +1
Lines 306185 306220 +35
Branches 44373 44376 +3
============================================
+ Hits 221347 221970 +623
+ Misses 66670 66120 -550
+ Partials 18168 18130 -38 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Description
Enhance Java Agent to intercept
System::exitRelated Issues
Closes #17723
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.