@Test public void testJavaLibraryClasses() throws Exception { assertFalse(PluginUtils.shouldLoadInIsolation("java.")); assertFalse(PluginUtils.shouldLoadInIsolation("java.lang.Object")); assertFalse(PluginUtils.shouldLoadInIsolation("java.lang.String")); assertFalse(PluginUtils.shouldLoadInIsolation("java.util.HashMap$Entry")); assertFalse(PluginUtils.shouldLoadInIsolation("java.io.Serializable")); assertFalse(PluginUtils.shouldLoadInIsolation("javax.rmi.")); assertFalse(PluginUtils.shouldLoadInIsolation( "javax.management.loading.ClassLoaderRepository") ); assertFalse(PluginUtils.shouldLoadInIsolation("org.omg.CORBA.")); assertFalse(PluginUtils.shouldLoadInIsolation("org.omg.CORBA.Object")); assertFalse(PluginUtils.shouldLoadInIsolation("org.w3c.dom.")); assertFalse(PluginUtils.shouldLoadInIsolation("org.w3c.dom.traversal.TreeWalker")); assertFalse(PluginUtils.shouldLoadInIsolation("org.xml.sax.")); assertFalse(PluginUtils.shouldLoadInIsolation("org.xml.sax.EntityResolver")); }
public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); } }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }  }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }  static boolean shouldLoadInIsolation(String name); static boolean isConcrete(Class<?> klass); static boolean isArchive(Path path); static boolean isClassFile(Path path); static List<Path> pluginLocations(Path topPath); static List<Path> pluginUrls(Path topPath); static String simpleName(PluginDesc<?> plugin); static String prunedName(PluginDesc<?> plugin); static boolean isAliasUnique(
            PluginDesc<U> alias,
            Collection<PluginDesc<U>> plugins
    ); }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }  static boolean shouldLoadInIsolation(String name); static boolean isConcrete(Class<?> klass); static boolean isArchive(Path path); static boolean isClassFile(Path path); static List<Path> pluginLocations(Path topPath); static List<Path> pluginUrls(Path topPath); static String simpleName(PluginDesc<?> plugin); static String prunedName(PluginDesc<?> plugin); static boolean isAliasUnique(
            PluginDesc<U> alias,
            Collection<PluginDesc<U>> plugins
    );  }