Re: RFR [9] 8143554: UnsupportedOperationException is not thrown for unsupported options

2015-12-04 Thread Svetlana Nikandrova
Hi Artem, thank you for your comments. You are right in both cases. I changed to "else if" and removed IAE exception from main(). Please see updated review: http://cr.openjdk.java.net/~kshefov/8143554/webrev.01/ Thank you, Svetlana

[9] RFR: 8138990: Implementation of HTTP Digest authentication may be more flexible

2015-12-04 Thread Artem Smotrakov
Hello, Please review this small fix for DigestAuthentication class. 1. Added a check in DigestAuthentication.setNonce(String) that nonce is not null. NPE may happen if a buggy HTTP server returns "WWW-Authenticate" header which doesn't contain a "nonce" field. According to RFCs 2069 [1] and 2