for (WekaPackageLibIsolatingClassLoader l : m_thirdPartyLoaders) { ClassLoader checked = SerializationHelper.checkForThirdPartyClass( arrayStripped, l); if (checked != null) {
for (WekaPackageLibIsolatingClassLoader l : m_thirdPartyLoaders) { ClassLoader checked = SerializationHelper.checkForThirdPartyClass(arrayStripped, l); if (checked != null) {
for (WekaPackageLibIsolatingClassLoader l : m_thirdPartyLoaders) { ClassLoader checked = checkForThirdPartyClass(arrayStripped, l); if (checked != null) { result = Class.forName(desc.getName(), true, checked);
for (WekaPackageLibIsolatingClassLoader l : m_thirdPartyLoaders) { ClassLoader checked = checkForThirdPartyClass(arrayStripped, l); if (checked != null) { result = Class.forName(desc.getName(), true, checked);
for (WekaPackageLibIsolatingClassLoader l : m_thirdPartyLoaders) { ClassLoader checked = SerializationHelper.checkForThirdPartyClass(arrayStripped, l); if (checked != null) {
for (WekaPackageLibIsolatingClassLoader l : m_thirdPartyLoaders) { ClassLoader checked = SerializationHelper.checkForThirdPartyClass( arrayStripped, l); if (checked != null) {
/** * Checks to see if the supplied package class loader (or any of its dependent * package class loaders) has the given third party class. * * @param className the name of the third-party class to check for * @param l the third party class loader * @return the class loader that owns the named third-party class, or null if * not found. */ public static ClassLoader checkForThirdPartyClass(String className, WekaPackageLibIsolatingClassLoader l) { ClassLoader result = null; if (l.hasThirdPartyClass(className)) { return l; } for (WekaPackageLibIsolatingClassLoader dep : l .getPackageClassLoadersForDependencies()) { result = checkForThirdPartyClass(className, dep); if (result != null) { break; } } return result; }
/** * Checks to see if the supplied package class loader (or any of its dependent * package class loaders) has the given third party class. * * @param className the name of the third-party class to check for * @param l the third party class loader * @return the class loader that owns the named third-party class, or null if * not found. */ public static ClassLoader checkForThirdPartyClass(String className, WekaPackageLibIsolatingClassLoader l) { ClassLoader result = null; if (l.hasThirdPartyClass(className)) { return l; } for (WekaPackageLibIsolatingClassLoader dep : l .getPackageClassLoadersForDependencies()) { result = checkForThirdPartyClass(className, dep); if (result != null) { break; } } return result; }