This is a trivial matter of register corruption. It turns out that this has always been wrong, but it doesn't do anything significant unless you use -Xbatch -XX:-TieredCompilation. I also added a using statement to silence a compiler warning. http://cr.openjdk.java.net/~aph/8144582/ Andrew.