@Override
 public JspConfigDescriptor getJspConfigDescriptor() {
   if (SecurityUtil.isPackageProtectionEnabled()) {
     return (JspConfigDescriptor) doPrivileged("getJspConfigDescriptor", null);
   } else {
     return context.getJspConfigDescriptor();
   }
 }
 /**
  * Gets the <code>&lt;jsp-config&gt;</code> related configuration that was aggregated from the
  * <code>web.xml</code> and <code>web-fragment.xml</code> descriptor files of the web application
  * represented by this ServletContext.
  */
 @Override
 @SuppressWarnings("unchecked") // doPrivileged() returns the correct type
 public JspConfigDescriptor getJspConfigDescriptor() {
   if (SecurityUtil.isPackageProtectionEnabled()) {
     return (JspConfigDescriptor) doPrivileged("getJspConfigDescriptor", null);
   } else {
     return context.getJspConfigDescriptor();
   }
 }