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


Damien Bonvillain <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #4 from Damien Bonvillain <[EMAIL PROTECTED]>  2008-02-27 02:17:53 
---
> Although this exception isn't in the pdf for the 2.4 spec

It has never been in the PDF spec, neither 2.2, 2.3 nor 2.4.

> it is in source code and the javadoc.

It has never been in the publicized javadoc, neither 2.2, 2.3 nor 2.4.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html#getLastAccessedTime()
There is no source code for 2.2 or 2.3, it's binary only and non-normative.

> It was clearly intended to be there. [...]
> See http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/errata204.txt
> for more details.

I stand corrected. Maintenance Review 1 adds IllegalStateException on getId and
getLastAccessedTime. Maintenance Review 5 (for 2.5) removes it from getId, but
"leaves" it on getLastAccessedTime.
At least we've won a new definition of "clearly intended": "never present
during 5 years of maintained documentation, and render the method useless". For
the "method useless" part, see http://bugs.sun.com/view_bug.do?bug_id=6470831 ,
ain't it sweet to access internal method to circumvent a "clearly intended"
misbehaviour? All we need now is to mark getMaxInactiveInterval() as throwing
the same exception :-)


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to