Test problem with oracle JDK 7