blob: 81e5fe05d6ddb112b5a5517fdb5e690dbbf551d3 [file] [log] [blame]
class Test {
ThreadLocal i;
void foo() {
i.set(new Integer(((Integer) i.get()).intValue() + 1));
i.set(new Integer(((Integer) i.get()).intValue() + 1));
i.set(new Integer(((Integer) i.get()).intValue() - 1));
i.set(new Integer(((Integer) i.get()).intValue() - 1));
if (((Integer) i.get()).intValue() == 0);
}
}