--- old/src/java.desktop/share/classes/sun/applet/AppletSecurity.java 2015-05-09 01:25:58.000000000 +0300
+++ new/src/java.desktop/share/classes/sun/applet/AppletSecurity.java 2015-05-09 01:25:58.000000000 +0300
@@ -270,10 +270,10 @@
* The checkPackageAccess
method for class
* SecurityManager
calls
* checkPermission
with the
- * RuntimePermission("accessClassInPackage."+pkg)
+ * RuntimePermission("accessClassInPackage."+ pkgname)
* 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)