blob: 6109d4106e9b13ec465572b729ebd0aca706a314 [file] [log] [blame]
import java.util.concurrent.atomic.AtomicLong;
// "Convert to atomic" "true"
class T {
private final AtomicLong l = new AtomicLong(10L);
public synchronized void update(long m) {
l.set(m);
}
}