Make ErrorPageFilter public

Change the visibility of ErrorPageFilter to public to fix
IllegalAccessException errors on certain servlet containers.

Fixes gh-2026
This commit is contained in:
Phillip Webb 2014-12-01 14:13:44 -08:00
parent 49858a0ff1
commit b519eda441
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ import org.springframework.web.filter.OncePerRequestFilter;
*/ */
@Component @Component
@Order(Ordered.HIGHEST_PRECEDENCE) @Order(Ordered.HIGHEST_PRECEDENCE)
class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer implements public class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer
Filter, NonEmbeddedServletContainerFactory { implements Filter, NonEmbeddedServletContainerFactory {
private static Log logger = LogFactory.getLog(ErrorPageFilter.class); private static Log logger = LogFactory.getLog(ErrorPageFilter.class);