package Ġcom . tester um . common _ kotlin Ċ Ċ fun Ġ< R > Ġrun With Thread Context ClassLoader ( class Loader : ĠClassLoader , Ġblock : Ġ() Ġ-> ĠR ): ĠR Ġ{ ĊĠĠĠ Ġval Ġoriginal Thread Context ClassLoader Ġ= ĠThread . currentThread (). context ClassLoader ĊĊĠĠĠ ĠThread . currentThread (). context ClassLoader Ġ= Ġclass Loader ĊĠĠĠ Ġtry Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġblock () ĊĠĠĠ Ġ} Ġfinally Ġ{ ĊĠĠĠĠĠĠĠ ĠThread . currentThread (). context ClassLoader Ġ= Ġoriginal Thread Context ClassLoader ĊĠĠĠ Ġ} Ċ }