Noted when reviewing r1784768 while investigating a different bug: in org.apache.catalina.core.ApplicationContextFacade: @Override public void setSessionTimeout(int sessionTimeout) { if (SecurityUtil.isPackageProtectionEnabled()) { doPrivileged("getSessionTimeout", new Object[] { Integer.valueOf(sessionTimeout) }); } else { context.setSessionTimeout(sessionTimeout); } } calls a wrong method when running with SecurityManager: s/"getSessionTimeout"/"setSessionTimeout"/
Hi, This is fixed with r1784911. Regards, Violeta
Looking into src.zip of 8.5.13, this was fixed in trunk only, but not in 8.5.
(In reply to Konstantin Kolinko from comment #2) > Looking into src.zip of 8.5.13, this was fixed in trunk only, but not in 8.5. You are right. I backported this change to Tomcat 8.5 - r1789090. The fix will be available in 8.5.14 onwards. Thanks, Violeta