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

Wrong base class address is used static field inheritence. #6

Open
gkorland opened this issue Aug 10, 2012 · 0 comments
Open

Wrong base class address is used static field inheritence. #6

gkorland opened this issue Aug 10, 2012 · 0 comments

Comments

@gkorland
Copy link
Member

  1. Class A has static field x
  2. Class B extends A and add static field y
  3. Try to access field x using B e.g. B.x=3.

The base class that is used is B's therefor it passes y and not x.

Migrated from http://code.google.com/p/deuce/issues/detail?id=21

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

No branches or pull requests

1 participant