Skip to content

DATACMNS-899 - Fix recursion in ParameterizedTypeInformation.getMapValueType #176

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 Aug 30, 2016

Previously, calls to ParameterizedTypeInformation#getMapValueType caused an infinite recursion when invoked on a type information that was not a map type. This lead to a StackOverflowError.

We now call the super method doGetMapValueType() instead of calling the entry super method getMapValueType() and return by that null in case the map value type is not resolvable.


Related ticket: DATACMNS-899

…ap types causes StackOverflowError.

Prepare issue branch.
…lueType.

Previously, calls to ParameterizedTypeInformation.getMapValueType caused an infinite recursion when invoked on a type information that was not a map type. This lead to a StackOverflowError.

We now call the super method doGetMapValueType() instead of calling the entry super method getMapValueType() and return by that null in case the map value type is not resolvable.
odrotbohm pushed a commit that referenced this pull request Sep 1, 2016
…lueType().

Previously, calls to ParameterizedTypeInformation.getMapValueType() caused an infinite recursion when invoked on a type information that was not a map type. This lead to a StackOverflowError.

We now call the super method doGetMapValueType() instead of calling the entry super method getMapValueType() and return by that null in case the map value type is not resolvable.

Original pull request: #176.
odrotbohm pushed a commit that referenced this pull request Sep 1, 2016
…lueType().

Previously, calls to ParameterizedTypeInformation.getMapValueType() caused an infinite recursion when invoked on a type information that was not a map type. This lead to a StackOverflowError.

We now call the super method doGetMapValueType() instead of calling the entry super method getMapValueType() and return by that null in case the map value type is not resolvable.

Original pull request: #176.
odrotbohm pushed a commit that referenced this pull request Sep 1, 2016
…lueType().

Previously, calls to ParameterizedTypeInformation.getMapValueType() caused an infinite recursion when invoked on a type information that was not a map type. This lead to a StackOverflowError.

We now call the super method doGetMapValueType() instead of calling the entry super method getMapValueType() and return by that null in case the map value type is not resolvable.

Original pull request: #176.
@odrotbohm odrotbohm closed this Sep 1, 2016
@odrotbohm odrotbohm deleted the issue/DATACMNS-899 branch September 1, 2016 15:38
Aloren pushed a commit to Aloren/spring-data-commons that referenced this pull request Jun 20, 2019
Make call to sort() before setting on builder.sources().

fixes spring-projectsgh-176
Aloren pushed a commit to Aloren/spring-data-commons that referenced this pull request Jun 20, 2019
Make call to sort() before setting on builder.sources().

fixes spring-projectsgh-176

(cherry picked from commit 6dc35d1)
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