JCR-2164 : IllegalArgumentException when starting platform with jdk 7