Maybe better to throw an exception so that the caller know that the reply is not valid. Tolerate problems may become a problem in the future.
If you want to tolerate the duplicate cert in the chain, please add a comment about the use of hash set. The purpose of the use of hash set is not instinctive to the code reader. Xuelei On 6/16/2016 4:53 PM, Wang Weijun wrote: > Please review the code change at > > http://cr.openjdk.java.net/~weijun/6968542/webrev.01/ > > Thanks > Max >
