This method of the StandardSecurityManager Class determines whether the current execution context, based on the calling classes on the call stack, allows the loading of the specified native code library (DLL).
public void checkLink(String lib);
lib | The DLL for which permission to load is checked. |
The check succeeds only if the caller is fully trusted system code. This method overrides the java.lang.SecurityManager.checkLink method.
SecurityException if the security check fails.