Skip to content

Commit b519eda

Browse files
committed
Make ErrorPageFilter public
Change the visibility of ErrorPageFilter to public to fix IllegalAccessException errors on certain servlet containers. Fixes gh-2026
1 parent 49858a0 commit b519eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
*/
5757
@Component
5858
@Order(Ordered.HIGHEST_PRECEDENCE)
59-
class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer implements
60-
Filter, NonEmbeddedServletContainerFactory {
59+
public class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer
60+
implements Filter, NonEmbeddedServletContainerFactory {
6161

6262
private static Log logger = LogFactory.getLog(ErrorPageFilter.class);
6363

0 commit comments

Comments
 (0)