Github user kkolinko commented on the issue:
https://github.com/apache/tomcat/pull/122
The javadoc that you linked
https://docs.oracle.com/javaee/7/api/javax/servlet/SessionCookieConfig.html
says "Returns: [...] or null if setName(java.lang.String) was never called"
Thus it documents null as the default value.
BTW, the cookie name can be overwritten by sessionCookieName attribute on
Context,
http://tomcat.apache.org/tomcat-9.0-doc/config/context.html#Common_Attributes
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]