From b519eda44120933736f9fa62d75bba0c1ed47b3d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 1 Dec 2014 14:13:44 -0800 Subject: [PATCH] Make ErrorPageFilter public Change the visibility of ErrorPageFilter to public to fix IllegalAccessException errors on certain servlet containers. Fixes gh-2026 --- .../org/springframework/boot/context/web/ErrorPageFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java index cb29b3a333..55d6b66a75 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java @@ -56,8 +56,8 @@ import org.springframework.web.filter.OncePerRequestFilter; */ @Component @Order(Ordered.HIGHEST_PRECEDENCE) -class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer implements - Filter, NonEmbeddedServletContainerFactory { +public class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer + implements Filter, NonEmbeddedServletContainerFactory { private static Log logger = LogFactory.getLog(ErrorPageFilter.class);