I'm having the ClassLoaderServiceImpl throw an exception in case it is reused after it has been stopped. It already would throw exceptions (like ClassNotFoundException) so this doesn't change much, just serves to clarify the reason with a better error message.
The implementation also needs to be threadsafe; I'm not sure how far this was a problem, but some methods were not taking this into consideration so I'm reviewing that.
|