[ https://issues.apache.org/jira/browse/FELIX-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-6777. ------------------------------------- Assignee: Carsten Ziegeler Resolution: Fixed Fixed with https://github.com/apache/felix-dev/commit/54fd91efa7b59404e04f494a5bf9b3a3030c7198 > Wrong type of jakarta.servlet.error.exception_type attribute > ------------------------------------------------------------ > > Key: FELIX-6777 > URL: https://issues.apache.org/jira/browse/FELIX-6777 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: http.base-5.1.12 > Reporter: Grzegorz Grzybek > Assignee: Carsten Ziegeler > Priority: Major > Fix For: http.bridge-6.0.0, http.jetty-5.1.34, http.base-5.1.14, > http.jetty12-1.0.30 > > > According to > https://jakarta.ee/specifications/servlet/5.0/jakarta-servlet-spec-5.0#Request_Attributes_and_their_types, > {{jakarta.servlet.error.exception_type}} attribute should be of type > {{java.lang.Class}}, but Felix uses String. > See > https://github.com/apache/felix-dev/blob/6858ded9250434153971e1122202f40c73a4bcf1/http/base/src/main/java/org/apache/felix/http/base/internal/dispatch/Dispatcher.java#L177 > Based on this wrong assumption, official TCK test casts this attribute to > String: > https://github.com/osgi/osgi/blob/ee9444d0e0357ad5858c97ad776ad91ee7103b9f/org.osgi.test.cases.servlet/src/org/osgi/test/cases/servlet/junit/ServletTestCase.java#L891 > I found this while TCK testing Pax Web 10. -- This message was sent by Atlassian Jira (v8.20.10#820010)