-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix:A class with private access constructors should not be loaded by SPI. #1927
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1927 +/- ##
============================================
+ Coverage 55.29% 55.3% +0.01%
Complexity 2408 2408
============================================
Files 429 429
Lines 14279 14278 -1
Branches 1676 1676
============================================
+ Hits 7895 7897 +2
+ Misses 5676 5673 -3
Partials 708 708
|
common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@xingfudeshi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jsbxyyx @xingfudeshi |
Ⅰ. Describe what this PR did
Fix a bug that will appear when the class has default private constructor
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews