tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36994] - httpsession.getId() throws ISE after invalidation
Date Thu, 22 Dec 2005 20:19:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36994>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36994





------- Additional Comments From ltorunski@t-online.de  2005-12-22 21:19 -------
(In reply to comment #5)
> No the spec didn't change. However, it turned out that getId should have thrown
> an ISE, while in Tomcat it did not. If you want to work around it, you can
> modify the Tomcat code easily.
> 
> http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/errata204.txt
> 

The final 2.4 spec.
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html doesn't
contain no information that HttpSession::getId() may throw the ISE.

In the current maintenance draft review
http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/index3.html the ISE
is documented.

In my opinion this change will have a deep impact to a lot of frameworks which
e.g. try to access the session's id to remove it from a HashMap.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message