Skip to content

Add null guards for getBeanDefinition() in BeanTypeRegistry #13818

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

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Jul 19, 2018

This PR adds null guards for getBeanDefinition() in BeanTypeRegistry as it could cause NPEs. It looks missed in 6dc14af.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 19, 2018
@wilkinsona wilkinsona added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 19, 2018
@wilkinsona wilkinsona added this to the 1.5.15 milestone Jul 19, 2018
@wilkinsona wilkinsona self-assigned this Jul 19, 2018
@wilkinsona
Copy link
Member

Thanks very much, @izeye!

wilkinsona added a commit that referenced this pull request Jul 20, 2018
* gh-13818:
  Add null guards for getBeanDefinition() in BeanTypeRegistry
@izeye izeye deleted the get-bean-definition-null-guards branch July 20, 2018 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants