blob: c462a10961d47581eda805a5c678b925c340f184 [file] [log] [blame]
import java.util.concurrent.atomic.AtomicInteger;
// "Convert to atomic" "true"
class Test {
final AtomicInteger o;
int j = o.get();
Test(int o) {
this.o = new AtomicInteger(o);
}
void foo() {
while ((o = j) != 0) {}
}
}