this.domain = domain;
try {  PermissionCollection permissions; if (domain != null) permissions = domain.getPermissions(); else {   AllPermission allPerm = new AllPermission(); permissions = allPerm.newPermissionCollection(); permissions.add(allPerm); } this.domain = new ClasspathDomain(bundlefile.getBaseFile().toURL(), permissions); } catch (MalformedURLException e) { this.domain = domain; }
		protected ClasspathEntry(BundleFile bundlefile, ProtectionDomain domain) {			this.bundlefile = bundlefile;			this.domain = domain;		}