Hi,

Please review this change to fix 7051862. For ACCEPT_ORIGINAL_SERVER, shouldAccept() throws a NullPointerException for null arguments. Out of the many options to fix this, I think the best way is to return false if either of the arguments is null - based on the fact that
HttpCookie.domainMathes() returns false for null arguments.

 Bug: http://bugs.sun.com/view_bug.do?bug_id=7051862
 Webrev: http://cr.openjdk.java.net/~khazra/7051862/webrev.00/

Thanks,
Kurchi

Reply via email to