I think my question is self-explanatory. What will be the quickest and most accurate method of determining that the JVM I use is using multiple class loaders? If it does, What care must be taken to ensure that programs run correctly?
EDIT: I think I needed some clarification around the fact that two classloaders, could they load the same class ? In case of a class like singleton where only a single instance is required how can we prevent it from happening ?
What care must be taken to ensure that programs run correctly?
For classes, none that I know of. For other application resources (images, help files etc.), use the context class loader.