File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
org/apache/tomcat/util/net Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -229,5 +229,7 @@ interface Accessor {
229229 *
230230 * @throws IllegalStateException if this method is called on an invalid session
231231 */
232- Accessor getAccessor ();
232+ default Accessor getAccessor () {
233+ return null ;
234+ }
233235}
Original file line number Diff line number Diff line change @@ -1240,6 +1240,7 @@ public void shutdownExecutor() {
12401240 this .executor = null ;
12411241 if (executor instanceof ThreadPoolExecutor ) {
12421242 //this is our internal one, so we need to shut it down
1243+ @ SuppressWarnings ("resource" )
12431244 ThreadPoolExecutor tpe = (ThreadPoolExecutor ) executor ;
12441245 tpe .shutdownNow ();
12451246 long timeout = getExecutorTerminationTimeoutMillis ();
Original file line number Diff line number Diff line change 124124 <code >NullPointerException</code >, if an attempt is made to use the
125125 <code >AsyncContext</code > after it has been recycled. (markt)
126126 </fix >
127+ <add >
128+ Add a default implementation for <code >HttpSession.getAccessor()</code >
129+ to align with the Servlet 6.1 API. (markt)
130+ </add >
127131 </changelog >
128132 </subsection >
129133 <subsection name =" Coyote" >
You can’t perform that action at this time.
0 commit comments