On 24/08/16 13:18, Svetlana Nikandrova wrote:
...
Hello,
please review this fix. Javadoc for HttpCookie setMaxAge states that
" A negative value means that cookie is not stored persistently" and
"max age is unspecified", but hasExpired only checks for "-1" as
possible negative value. Also changed max age for parsed cookies with
"expires" date in the past from negative delta seconds to 0 as
negative value should be treated as "non specified" (but not expired).
JBS:
https://bugs.openjdk.java.net/browse/JDK-8005068
Webrev:
http://cr.openjdk.java.net/~snikandrova/8005068/webrev.00/
<http://cr.openjdk.java.net/%7Esnikandrova/8005068/webrev.00/>
I think this looks fine. Thanks Svetlana.
-Chris.