Searched refs:isSealed (Results 1 – 3 of 3) sorted by relevance
107 assertFalse(nonSealedPackage.isSealed()); in testIsSealed_nonSealedPackage()108 assertFalse(nonSealedPackage.isSealed(new URL("file://libcore/java/lang/nonsealed"))); in testIsSealed_nonSealedPackage()124 assertTrue(sealedPackage.isSealed()); in testIsSealed_sealedPackage()125 assertTrue(sealedPackage.isSealed(sealBase)); in testIsSealed_sealedPackage()126 assertFalse(sealedPackage.isSealed(new URL("file://libcore/java/lang"))); in testIsSealed_sealedPackage()128 sealedPackage.isSealed(null); in testIsSealed_sealedPackage()
396 if (pkg.isSealed()) { in getAndVerifyPackage()398 if (!pkg.isSealed(url)) { in getAndVerifyPackage()405 if ((man != null) && isSealed(pkgname, man)) { in getAndVerifyPackage()542 private boolean isSealed(String name, Manifest man) { in isSealed() method in URLClassLoader
192 public boolean isSealed() { in isSealed() method in Package203 public boolean isSealed(URL url) { in isSealed() method in Package