parent class loader on custom class loader
Status: Alpha
Brought to you by:
lkoskela
Trying to use JspTest with in maven project I had problems with class loaders. I finally got it working by:
* explicitely setting maven surefire test plugin, and
* changing CustomClassLoader's parent class loader with Thread.currentThread().getContextClassLoader().
Attached patch change default CustomClassLoader constructor.
See test case added, which checks for parent class loader while running assertion into another thread.
patch for custom class loader parent class loader