Skip to content

DATACMNS-1402 - Fix invocation of default Kotlin constructor #317

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

Closed
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Oct 4, 2018

We now correctly calculate the number of defaulting masks used to represent constructor arguments. Previously, we've been one off which caused that Kotlin classes with 32/33 parameters weren't able to be instantiated.

We also now reuse KotlinDefaultMask to apply defaulting calculation and removed code duplicates.


Related ticket: DATACMNS-1402.

We now correctly calculate the number of defaulting masks used to represent constructor arguments. Previously, we've been one off which caused that Kotlin classes with 32/33 parameters weren't able to be instantiated.

We also now reuse KotlinDefaultMask to apply defaulting calculation and removed code duplicates.
@odrotbohm odrotbohm closed this Oct 4, 2018
@odrotbohm odrotbohm deleted the issue/DATACMNS-1402 branch October 4, 2018 15:29
mp911de added a commit that referenced this pull request Oct 5, 2018
We now correctly calculate the number of defaulting masks used to represent constructor arguments. Previously, we've been one off which caused that Kotlin classes with 32/33 parameters weren't able to be instantiated.

We also now reuse KotlinDefaultMask to apply defaulting calculation and removed code duplicates.

Original pull request: #317.
Aloren pushed a commit to Aloren/spring-data-commons that referenced this pull request Jun 20, 2019
* Polish + Fixed service-registry endpoint + Added features endpoint docs

Fixes spring-projects#53 
Fixes spring-projects#310
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