Problem with 2.10 - using javas AtomicInteger