< prev index next >

src/java.desktop/share/classes/sun/applet/AppletSecurity.java

Print this page

        

@@ -271,11 +271,11 @@
      * <code>SecurityManager</code>  calls
      * <code>checkPermission</code> with the
      * <code>RuntimePermission("accessClassInPackage."+pkg)</code>
      * permission.
      *
-     * @param      pkg   the package name.
+     * @param      pkgname   the package name.
      * @exception  SecurityException  if the caller does not have
      *             permission to access the specified package.
      * @see        java.lang.ClassLoader#loadClass(java.lang.String, boolean)
      */
     public void checkPackageAccess(final String pkgname) {
< prev index next >