-
Bug
-
Resolution: Done
-
Major
-
10.0.0.CR5
-
None
A command containing the following code:
public class MyCommand implements Command<Void, Void> { public Void execute(Void context) throws Exception { Thread.currentThread().getClassLoader().loadClass(this.getClass().getName()); } }
currently throws a ClassNotFoundException.
A command executed with the command dispatcher should be able to load application classes using the TCCL.
In fact, the following application callbacks from the clustering API all use the wrong TCCL:
- CommandDispatcher command execution
- CommandDispatcherFactory cluster membership listener
- Cache topology membership listener
- Registry listener
- ServiceProviderRegistry listener