68 |
|
|
69 |
public class Class { |
public class Class { |
70 |
private Object[] signers = null; |
private Object[] signers = null; |
71 |
private ProtectionDomain protectionDomain = null; |
private ProtectionDomain pd = null; |
72 |
|
|
73 |
// The unknown protection domain. |
// The unknown protection domain. |
74 |
private final static ProtectionDomain unknownProtectionDomain; |
private final static ProtectionDomain unknownProtectionDomain; |
546 |
if (sm != null) |
if (sm != null) |
547 |
sm.checkPermission(protectionDomainPermission); |
sm.checkPermission(protectionDomainPermission); |
548 |
|
|
549 |
if (protectionDomain == null) |
if (pd == null) |
550 |
return unknownProtectionDomain; |
return unknownProtectionDomain; |
551 |
else |
else |
552 |
return protectionDomain; |
return pd; |
553 |
} |
} |
554 |
|
|
555 |
} |
} |