Skip to content

fix: resolved resource leaks in ConfigUtils#16111

Open
yogiwaran2003 wants to merge 2 commits intoapache:3.3from
yogiwaran2003:fix/resource-leak-configutils
Open

fix: resolved resource leaks in ConfigUtils#16111
yogiwaran2003 wants to merge 2 commits intoapache:3.3from
yogiwaran2003:fix/resource-leak-configutils

Conversation

@yogiwaran2003
Copy link

…n ConfigUtils

What is the purpose of the change?

Checklist

  • Make sure there is a GitHub_issue field for the change.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • Make sure gitHub actions can pass. Why the workflow is failing and how to fix it?

@codecov-commenter
Copy link

codecov-commenter commented Feb 28, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.78%. Comparing base (06334a5) to head (bfe048f).

Files with missing lines Patch % Lines
...ava/org/apache/dubbo/common/utils/ConfigUtils.java 60.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #16111      +/-   ##
============================================
- Coverage     60.80%   60.78%   -0.02%     
  Complexity    11750    11750              
============================================
  Files          1953     1953              
  Lines         89121    89119       -2     
  Branches      13443    13444       +1     
============================================
- Hits          54192    54175      -17     
- Misses        29369    29377       +8     
- Partials       5560     5567       +7     
Flag Coverage Δ
integration-tests-java21 32.17% <0.00%> (+<0.01%) ⬆️
integration-tests-java8 32.20% <0.00%> (-0.05%) ⬇️
samples-tests-java21 32.16% <0.00%> (-0.02%) ⬇️
samples-tests-java8 29.75% <0.00%> (+<0.01%) ⬆️
unit-tests-java11 59.05% <60.00%> (-0.02%) ⬇️
unit-tests-java17 58.55% <60.00%> (-0.02%) ⬇️
unit-tests-java21 58.54% <60.00%> (-0.02%) ⬇️
unit-tests-java25 58.51% <60.00%> (-0.01%) ⬇️
unit-tests-java8 59.07% <60.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yogiwaran2003
Copy link
Author

fixed the issue except the stringbuilder issue

@yogiwaran2003 yogiwaran2003 changed the title fix: replace StringBuffer with StringBuilder and fix resource leaks i… fix: resolved resource leaks in ConfigUtils Feb 28, 2026
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