// valueUnbound must be after unbinding
if (oldValue instanceof HttpSessionBindingListener) {
HttpSessionBindingListener hsbl = (HttpSessionBindingListener) oldValue;
ClassLoader cl = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(this.webAppConfig.getLoader());
hsbl.valueUnbound(new HttpSessionBindingEvent(this, name, oldValue));
Thread.currentThread().setContextClassLoader(cl);
}
// Notify other listeners
if (oldValue != null)