Community

Wildcard support in Dynamic-imports

reply from Ales Justin in JBoss Microcontainer Development - View the full discussion
And I have no idea how to hack around this dynamic loader to policy's delegates addition.

This would actually have to be done on CLInfo.

 

e.g. 
ClassLoaderPolicy policy = getPolicy();
ClassLoaderInformation info = policy.getInformation(); // exposing this as protected in super, public in CLP
if (info != null)
   info.addDelegate(loader); // new public method

 

Adding this hacks makes all previous wildcard tests pass. :-)

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community