/[classpath]/classpath/java/lang/SecurityManager.java
ViewVC logotype

Diff of /classpath/java/lang/SecurityManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20.2.5 by gnu_andrew, Sat Feb 19 10:50:37 2005 UTC revision 1.20.2.6 by gnu_andrew, Sun Mar 13 14:38:40 2005 UTC
# Line 1033  public class SecurityManager Line 1033  public class SecurityManager
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;
# Line 1057  public class SecurityManager Line 1059  public class SecurityManager
1059            }            }
1060        }        }
1061    }    }
1062  } // class SecurityManager  }

Legend:
Removed from v.1.20.2.5  
changed lines
  Added in v.1.20.2.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26