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

Accessing fields on multiple instances of same class returns value of last #77

Closed
zielmicha opened this issue Sep 16, 2013 · 1 comment

Comments

@zielmicha
Copy link
Contributor

JavaField set_resolve_info sets j_obj for each instance, but there is just one JavaField for each class.

@zielmicha
Copy link
Contributor Author

Something similar is in JavaMethod, but in __get__ there is a "workaround" which changed j_self. (So it works, but without thread safety)

@tito tito closed this as completed in 5188932 Oct 25, 2013
tito added a commit that referenced this issue Oct 25, 2013
Fix field dereference when multiple instances of a class exist. Fixes #77
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