Skip to content

Add default implementation of OM#getDeclaringBean()#579

Merged
Ladicek merged 1 commit intojakartaee:masterfrom
manovotn:issue563_addDefault
Dec 8, 2021
Merged

Add default implementation of OM#getDeclaringBean()#579
Ladicek merged 1 commit intojakartaee:masterfrom
manovotn:issue563_addDefault

Conversation

@manovotn
Copy link
Copy Markdown
Contributor

@manovotn manovotn commented Dec 8, 2021

A follow up of PR - #578
Related to issue - #563

Going over existing code, I realized that this would be a breaking change for any existing custom impl of ObserverMethod.
Making the method default and returning null will help avoid that, plus null is a valid return value for synthetic OMs anyway.

@manovotn manovotn requested a review from Ladicek December 8, 2021 10:44
@Ladicek Ladicek merged commit b22d391 into jakartaee:master Dec 8, 2021
@manovotn manovotn deleted the issue563_addDefault branch December 8, 2021 10:51
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