Home
last modified time | relevance | path

Searched refs:isSealed (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java107 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()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java396 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
/libcore/ojluni/src/main/java/java/lang/
DPackage.java192 public boolean isSealed() { in isSealed() method in Package
203 public boolean isSealed(URL url) { in isSealed() method in Package