* @return a new ClasspathEntry for the requested classpath or null if the source does not exist.
*/
public ClasspathEntry getClasspath(String cp, BaseData sourcedata, ProtectionDomain sourcedomain) {
BundleFile bundlefile = null;
File file;
BundleEntry cpEntry = sourcedata.getBundleFile().getEntry(cp);
// check for internal library directories in a bundle jar file
if (cpEntry != null && cpEntry.getName().endsWith("/")) //$NON-NLS-1$
bundlefile = createBundleFile(cp, sourcedata);
// check for internal library jars
else if ((file = sourcedata.getBundleFile().getFile(cp, false)) != null)
bundlefile = createBundleFile(file, sourcedata);
if (bundlefile != null)