equal
deleted
inserted
replaced
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) { |