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

Fix Class.getSuperClass() not to return Object for Object #8

Open
cwende opened this issue Oct 7, 2013 · 0 comments
Open

Fix Class.getSuperClass() not to return Object for Object #8

cwende opened this issue Oct 7, 2013 · 0 comments
Labels

Comments

@cwende
Copy link
Member

cwende commented Oct 7, 2013

getSuperclass() returns Object if a Class does not declare any concrete extension. This is also done for the class Object.

This may result in an endless loop when transitively traversing getSuperclass()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant