Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Urgent help regarding Reflection
|
Posted: Apr 12, 2002 12:59 PM
|
|
Sounds like your security policy was already loose enough, because this is what the documentation says:
If there is a security manager, this method first calls the security manager's checkMemberAccess method with this and Member.DECLARED as its arguments. If the class is in a package, then this method also calls the security manager's checkPackageAccess method with the package name as its argument. Either of these calls could result in a SecurityException.
If you are working outside the package in question and you didn't get a SecurityException, then your policy is already permissive enough. Maybe you were already using policy.all:
grant {
permission java.security.AllPermission "", "";
};
|
|