Sahoo wrote:
Stuart McCulloch wrote:
2008/6/12 Toni Menzel <[EMAIL PROTECTED]>:

Just a shot in: speaking of legacy code (non osgi) using TCCL:
The makewave guys explain bytecode weaving to fix those "broken" code:
google for "makewave everything can be a bundle" to get some slides about
that.
Sure, this just shifts the problem arround but could help anyway.


there's also the "ContextFinder" classloader implementation from the
Equinox project, which you can set as your TCCL and it will try to find
the right classloader based on the current call stack - although like the
bytecode weaving solution, it's not 100% foolproof...

note the OSGi specification does not mandate a specific TCCL setting

So what do Felix users do? Is there any plan to provide any such facilities?

In general, we'd recommend setting the context class loader yourself. This is an area that might get addressed in the future by the spec, but right now it is completely implementation dependent unless you do it yourself.

-> richard


Thanks,
Sahoo

Reply via email to