getrailo/railo — pull request #291 by igal-getrailo (2013-11-10 04:48:50+00:00)
Title: throw as soon as we find out a class is not found

currently if a class is not found and it has a package definition the exception is not thrown and instead you get an NPE when you try to use the invalid class (clazz is still null at line CreateObject.java:167).

added at line 164:

else throw ce;

to throw as soon as we find out that the class is not found