Searched refs:getProtectionDomain (Results 1 - 25 of 47) sorted by relevance

12

/openjdk10/jdk/test/java/security/Policy/Root/
H A DRoot.java42 if (p.implies(Root.class.getProtectionDomain(), new AllPermission())) {
/openjdk10/jdk/test/java/security/Policy/PolicyProvider/
H A DCustomPolicy.java38 () -> this.getClass().getProtectionDomain());
/openjdk10/jdk/test/java/rmi/reliability/benchmark/bench/rmi/
H A DClassLoading.java49 CodeSource csrc = getClass().getProtectionDomain().getCodeSource();
/openjdk10/jdk/test/java/security/UnresolvedPermission/
H A DEquals.java42 (Equals.class.getProtectionDomain());
/openjdk10/jdk/src/java.base/share/classes/java/security/
H A DSecureClassLoader.java174 return defineClass(name, b, off, len, getProtectionDomain(cs));
206 return defineClass(name, b, getProtectionDomain(cs));
237 private ProtectionDomain getProtectionDomain(CodeSource cs) { method in class:SecureClassLoader
/openjdk10/jdk/test/java/lang/System/LoggerFinder/BaseLoggerFinderTest/
H A DCustomSystemClassLoader.java57 URL url = this.getClass().getProtectionDomain().getCodeSource().getLocation();
66 this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/jdk/test/java/lang/System/LoggerFinder/internal/LoggerFinderLoaderTest/
H A DCustomSystemClassLoader.java73 URL url = testLoggerFinderClass.getProtectionDomain().getCodeSource().getLocation();
82 this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/jdk/test/java/lang/System/LoggerFinder/internal/LoggerBridgeTest/
H A DCustomSystemClassLoader.java58 URL url = this.getClass().getProtectionDomain().getCodeSource().getLocation();
67 this.getClass().getProtectionDomain().getCodeSource(),
87 // URL url = this.getClass().getProtectionDomain().getCodeSource().getLocation();
96 // this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/jdk/test/java/lang/System/LoggerFinder/internal/PlatformLoggerBridgeTest/
H A DCustomSystemClassLoader.java57 URL url = this.getClass().getProtectionDomain().getCodeSource().getLocation();
66 this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/jdk/test/java/lang/System/LoggerFinder/internal/BaseDefaultLoggerFinderTest/
H A DCustomSystemClassLoader.java72 URL url = testLoggerFinderClass.getProtectionDomain().getCodeSource().getLocation();
81 this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/jdk/test/java/lang/System/LoggerFinder/internal/BasePlatformLoggerTest/
H A DCustomSystemClassLoader.java57 URL url = this.getClass().getProtectionDomain().getCodeSource().getLocation();
66 this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/jdk/test/java/lang/System/LoggerFinder/internal/BaseLoggerBridgeTest/
H A DCustomSystemClassLoader.java57 URL url = this.getClass().getProtectionDomain().getCodeSource().getLocation();
66 this.getClass().getProtectionDomain().getCodeSource(),
/openjdk10/hotspot/test/compiler/classUnloading/methodUnloading/
H A DTestMethodUnloading.java120 URL url = TestMethodUnloading.class.getProtectionDomain().getCodeSource().getLocation();
/openjdk10/hotspot/test/gc/class_unloading/
H A DTestClassUnloadingDisabled.java66 String classDir = TestClassUnloadingDisabled.class.getProtectionDomain().getCodeSource().getLocation().getPath();
/openjdk10/hotspot/test/runtime/Unsafe/
H A DDefineClass.java90 assertEquals(klass.getProtectionDomain(), pd);
/openjdk10/jaxp/src/java.xml/share/classes/javax/xml/validation/
H A DSecuritySupport.java85 CodeSource cs = cls.getProtectionDomain().getCodeSource();
/openjdk10/jaxp/src/java.xml/share/classes/javax/xml/xpath/
H A DSecuritySupport.java85 CodeSource cs = cls.getProtectionDomain().getCodeSource();
/openjdk10/jdk/test/java/security/ProtectionDomain/
H A DAllPerm.java55 allPermClassDomain = o.getClass().getProtectionDomain();
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/
H A DJavaAdapterFactory.java139 return getAdapterClassFor(types, classOverrides, getProtectionDomain(lookup));
156 private static ProtectionDomain getProtectionDomain(final MethodHandles.Lookup lookup) { method in class:JavaAdapterFactory
160 return getProtectionDomain(lookup.lookupClass());
163 private static ProtectionDomain getProtectionDomain(final Class<?> clazz) { method in class:JavaAdapterFactory
167 return clazz.getProtectionDomain();
/openjdk10/jdk/test/java/security/Policy/GetInstance/
H A DGetInstance.java202 if (p.implies(this.getClass().getProtectionDomain(),
210 if (p.implies(this.getClass().getProtectionDomain(),
/openjdk10/jdk/test/java/beans/Introspector/
H A DTest5102804.java91 Test5102804.class.getProtectionDomain().getCodeSource().getLocation()
/openjdk10/jdk/test/java/lang/invoke/
H A DDefineClassTest.java59 assertTrue(clazz.getProtectionDomain() == lc.getProtectionDomain());
188 assertNotEquals(target1.getProtectionDomain(), target2.getProtectionDomain());
/openjdk10/jdk/test/java/beans/XMLEncoder/6329581/
H A DTest6329581.java49 Test6329581.class.getProtectionDomain().getCodeSource().getLocation()
/openjdk10/langtools/test/tools/javac/
H A DVersionOpt.java51 URL location = javacClass.getProtectionDomain().getCodeSource().getLocation();
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jrtfs/
H A DSystemImage.java112 CodeSource cs = SystemImage.class.getProtectionDomain().getCodeSource();

Completed in 291 milliseconds

12