Skip to content
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

Merged
merged 39 commits into from
Nov 30, 2019

Conversation

booogu
Copy link
Contributor

@booogu booogu commented Nov 22, 2019

Ⅰ. 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

Hao Zhibei and others added 30 commits November 9, 2019 11:11
@codecov-io
Copy link

codecov-io commented Nov 22, 2019

Codecov Report

Merging #1927 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ Complexity Δ
.../io/seata/common/loader/EnhancedServiceLoader.java 63.55% <ø> (+0.53%) 24 <0> (ø) ⬇️
...server/store/file/FileTransactionStoreManager.java 57.14% <0%> (+0.63%) 29% <0%> (ø) ⬇️

Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@xingfudeshi xingfudeshi changed the title bugfix:fix a bug that will appear when the class has default private constructor bugfix:A class with private access constructors should not be loaded by SPI. Nov 23, 2019
@booogu
Copy link
Contributor Author

booogu commented Nov 29, 2019

LGTM.

@xingfudeshi
Thanks for your approval
I want to know Is there any other conditions to pass this pr(Ask another person with authority to review?) Thank you for your help.

Copy link
Member

@jsbxyyx jsbxyyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@booogu
Copy link
Contributor Author

booogu commented Nov 30, 2019

@jsbxyyx @xingfudeshi
all the checks and reviews passed,please merge into develop.

@xingfudeshi xingfudeshi merged commit d2d700b into apache:develop Nov 30, 2019
@slievrly slievrly added this to the 1.0 milestone Dec 2, 2019
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.

None yet

6 participants