jdk/src/java.desktop/share/classes/sun/applet/AppletSecurity.java
changeset 30948 0a0972d3b58d
parent 28231 b608ffcaed74
child 35667 ed476aba94de
equal deleted inserted replaced
30947:8dae2913daf4 30948:0a0972d3b58d
   268      * loaders.
   268      * loaders.
   269      * <p>
   269      * <p>
   270      * The <code>checkPackageAccess</code> method for class
   270      * The <code>checkPackageAccess</code> method for class
   271      * <code>SecurityManager</code>  calls
   271      * <code>SecurityManager</code>  calls
   272      * <code>checkPermission</code> with the
   272      * <code>checkPermission</code> with the
   273      * <code>RuntimePermission("accessClassInPackage."+pkg)</code>
   273      * <code>RuntimePermission("accessClassInPackage."+ pkgname)</code>
   274      * permission.
   274      * permission.
   275      *
   275      *
   276      * @param      pkg   the package name.
   276      * @param      pkgname   the package name.
   277      * @exception  SecurityException  if the caller does not have
   277      * @exception  SecurityException  if the caller does not have
   278      *             permission to access the specified package.
   278      *             permission to access the specified package.
   279      * @see        java.lang.ClassLoader#loadClass(java.lang.String, boolean)
   279      * @see        java.lang.ClassLoader#loadClass(java.lang.String, boolean)
   280      */
   280      */
   281     public void checkPackageAccess(final String pkgname) {
   281     public void checkPackageAccess(final String pkgname) {