Bug ZK-2493: ClassUtil.newInstance() may cause stack overflow exception