I know was well over a month ago, but do you remember why:
WebBeansUtil.getCurrentClassLoader().loadClass(factoryClassname)
is problematic, but a direct call to:
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
is not? They appear basically the same. Unless I'm missi
Hi,
Yeah it does exactly the same but the code is in a static block so it is
executed when the class is loaded and the imports between both classes make
it fail (circular dep). I didnt like to copy paste the code but it is a
sure way to avoid linkageerror.
About java 2 sec you are right it is ign
That makes perfect sense, thanks!
On Mon, Sep 10, 2012 at 1:07 AM, Romain Manni-Bucau
wrote:
> Hi,
>
> Yeah it does exactly the same but the code is in a static block so it is
> executed when the class is loaded and the imports between both classes make
> it fail (circular dep). I didnt like to c