[DROOLS-385] avoid using java7 method in ProjectClassLoader