RFR: 8210311: IllegalArgumentException in CookieManager - Comparison method violates its general contract

Chris Hegarty chris.hegarty at oracle.com
Thu Sep 13 08:15:26 UTC 2018


> On 12 Sep 2018, at 17:28, Michael McMahon <michael.x.mcmahon at oracle.com> wrote:
> 
> Could I get the following reviewed please?
> It fixes a problem in j.n.CookieManager where an internal Comparator was not obeying its contract
> and crashing occasionally in Collections.sort(). It also updates the behavior (sorting of cookie headers)
> to RFC6265.
> 
> http://cr.openjdk.java.net/~michaelm/8210311/webrev.1/ <http://cr.openjdk.java.net/~michaelm/8210311/webrev.1/>

This looks good Michael.

-Chris.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180913/39f536e2/attachment.html>


More information about the net-dev mailing list