1.0.6 release.
Bugfix: #8
Fix ClassCastException in multi-classLoader environment by:
- Using toBean.getClass().getClassLoader() as classLoader to call CtClass.toClass
- User can specify a user classLoader in BeanCopyConfig to call CtClass.toClass
Both 2 ways can fix this issue.