We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to collect the type of the lock, otherwise we might end up creating locks on non-reference types leading to a type error in Java.
For:
protected void haha(int x){ // synchronized(myA2){ myA.f = x; // } }
we currently generate:
protected void haha(int x){ // synchronized(myA2){ synchronized(myA.f) {myA.f = x;} // } }
when we actually should generate: we currently generate:
protected void haha(int x){ // synchronized(myA2){ synchronized(myA) {myA.f = x;} // } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Need to collect the type of the lock, otherwise we might end up creating locks on non-reference types leading to a type error in Java.
For:
we currently generate:
when we actually should generate:
we currently generate:
The text was updated successfully, but these errors were encountered: