avoid a NPE that occures when running JLM compiled with java6 on a java7 JRE