Test under both Oracle and OpenJDK