Closed miho closed 10 years ago
The issue has been fixed by adding the plugin classloaders to the classloader hierarchy. All project classes are loaded by a custom classloader (regardless whether they already are in the system cp) to ensure that they have access to the external plugin classloaders. Plugin classes are now only loaded once.
Exported console apps do not correctly use the plugin loading mechanism. Different classloaders are used to load the same class (plugin classloader and system classloader). Therefore, it may happen that singletons exist twice.