J2DoPrivHelper.getCanonicalPathAction(base))).endsWith(pkg))
file = base;
else
file = new File(base, pkg);
} catch (PrivilegedActionException pae) {
throw new NestableRuntimeException(
(IOException) pae.getException());
} catch (IOException ioe) {
throw new NestableRuntimeException(ioe);
}
if (mkdirs && !((Boolean) AccessController.doPrivileged(
J2DoPrivHelper.existsAction(file))).booleanValue())
AccessController.doPrivileged(J2DoPrivHelper.mkdirsAction(file));