src/share/classes/java/security/SecureClassLoader.java

Print this page
rev 10449 : [mq]: cds
rev 10450 : mq

*** 213,222 **** --- 213,231 ---- } } return pd; } + // Used by the VM to create the ProtectionDomain for the url. Assumes + // that the url points to an unsigned code source. + private ProtectionDomain getProtectionDomain(URL url) { + CodeSigner[] signers = null; + CodeSource cs = new CodeSource(url, signers); + + return getProtectionDomain(cs); + } + /* * Check to make sure the class loader has been initialized. */ private void check() { if (!initialized) {