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

Stackoverflow with property enhancer #66

Closed
wants to merge 1 commit into from

Conversation

jfp
Copy link
Contributor

@jfp jfp commented Dec 24, 2010

Hi,

I'm having problem with application https://github.com/jfp/play-test-cases. There's a two class model: a base class Animal with height property, and a subclass Dog. The Dog class defines a getter (getHeight). In the implementation, the data property is accessed, but the property enhancer tries to invoke the getter again causing a stack overflow.

Maybe we're not supposed to do so with beans, but stack overflowing is not very nice. The path makes the enhancer consider the property should be directly accessed from within class hierarchy.

@guillaumebort
Copy link
Contributor

Fix applied

This pull request was closed.
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