This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git
The following commit(s) were added to refs/heads/master by this push:
new b17c378 FELIX-6498 : Support servlet api 4.0
b17c378 is described below
commit b17c3784d9b0d74c18b3c9ae0623da54f0611202
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Tue Jan 4 16:42:55 2022 +0100
FELIX-6498 : Support servlet api 4.0
---
.../org/apache/felix/http/base/internal/service/ServletContextImpl.java | 2 +-
.../felix/http/base/internal/whiteboard/SharedServletContextImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/http/base/src/main/java/org/apache/felix/http/base/internal/service/ServletContextImpl.java
b/http/base/src/main/java/org/apache/felix/http/base/internal/service/ServletContextImpl.java
index 536ee9d..b62da50 100644
---
a/http/base/src/main/java/org/apache/felix/http/base/internal/service/ServletContextImpl.java
+++
b/http/base/src/main/java/org/apache/felix/http/base/internal/service/ServletContextImpl.java
@@ -565,7 +565,7 @@ public class ServletContextImpl implements ExtServletContext
@Override
public Dynamic addJspFile(final String servletName, final String jspFile) {
- throw new IllegalStateException();
+ throw new UnsupportedOperationException();
}
@Override
diff --git
a/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/SharedServletContextImpl.java
b/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/SharedServletContextImpl.java
index 13132af..3ec5ce4 100644
---
a/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/SharedServletContextImpl.java
+++
b/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/SharedServletContextImpl.java
@@ -493,7 +493,7 @@ public class SharedServletContextImpl implements
ServletContext
@Override
public Dynamic addJspFile(final String servletName, final String jspFile) {
- throw new IllegalStateException();
+ throw new UnsupportedOperationException();
}
@Override