ReflectUtil: do not count in classes with special char when load from JAR

when load from file, it only load classname with letter and digits, but
load from jar does not do this check, class with dollar will be loaded
and lead to register error

this lead to load error in my socko-rest server, and this patch could 
fix it for me