1033 |
String permission) |
String permission) |
1034 |
{ |
{ |
1035 |
if (packageName == null) |
if (packageName == null) |
1036 |
throw new NullPointerException(); |
throw new NullPointerException(); |
1037 |
|
|
1038 |
String list = (String)AccessController.doPrivileged(new PrivilegedAction() { |
String list = (String)AccessController.doPrivileged(new PrivilegedAction() |
1039 |
public Object run() { |
{ |
1040 |
return Security.getProperty(restriction); |
public Object run() |
1041 |
|
{ |
1042 |
|
return Security.getProperty(restriction); |
1043 |
} |
} |
1044 |
}); |
}); |
1045 |
|
|
1046 |
if (list == null || list.equals("")) |
if (list == null || list.equals("")) |
1047 |
return; |
return; |
1059 |
} |
} |
1060 |
} |
} |
1061 |
} |
} |
1062 |
} // class SecurityManager |
} |