Tomcat10ContainerAdapter extends AbstractTomcatContainer { @Override protected JspCompilationContext createJspCompilationContext(String name, Options opt, ServletContext sctx, JspRuntimeContext jrctx, ClassLoader classLoader) { JspCompilationContext jcctx = new JspCompilationContext(name, opt, sctx, null, jrctx); jcctx.setClassLoader(classLoader); return jcctx; }  @Override boolean canBoundTo(String binding); @Override void addContextResourceLink(Context context, List<ApplicationResource> resourceList,
      boolean contextBound); @Override void addContextResource(Context context, List<ApplicationResource> resourceList,
      boolean contextBound); @Override List<FilterMapping> getApplicationFilterMaps(Context context); @Override List<FilterInfo> getApplicationFilters(Context context); @Override List<ApplicationParam> getApplicationInitParams(Context context); @Override boolean resourceExists(String name, Context context); @Override InputStream getResourceStream(String name, Context context); @Override Long[] getResourceAttributes(String name, Context context);  }
@Test public void createJspCompilationContext() { final Tomcat10ContainerAdapter adapter = new Tomcat10ContainerAdapter(); JspCompilationContext context = adapter.createJspCompilationContext("name", null, null, null, ClassLoader.getSystemClassLoader()); assertEquals("org.apache.jsp.name", context.getFQCN()); }