property CheckPackages {
check RJavaClass.accessPackage (p: String) {
SecurityManager security = getSecurityManager ();
if (security != null) {
security.checkPackageAccess (p);
}
}
check RJavaClass.defineClassInPackage (p: String) {
SecurityManager security = getSecurityManager ();
if (security != null) {
security.checkPackageDefinition (p);
}
}
}
Naccio Home Page
University of Virginia, Computer Science