Force buddy classloading programmatically [message #1754557] |
Mon, 20 February 2017 04:08  |
Eclipse User |
|
|
|
In one of my plugins I have a very special usecase where I would need to use buddy classloading. Instead of adding
Eclipse-BuddyPolicy: global
to the Manifest I would like to force this behavior manually for one call like this:
MyClass.class.getClassLoader().loadClass(name);
As the bundle contains lots of other classes I do not want to take the performance penalty on class loading for all the rest. Only other option I could think of would be to move MyClass to its own plugin.
Any chance to force buddy loading from the classloader - or any global classloader I can get my hands on?
thanks
Christian
|
|
|
|
Powered by
FUDForum. Page generated in 0.05958 seconds