On Thu, 10 Nov 2022 02:14:02 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add test >> >> only in patch2: >> unchanged: > > src/java.base/share/classes/sun/security/x509/EDIPartyName.java line 66: > >> 64: public EDIPartyName(String assignerName, String partyName) { >> 65: this.assigner = assignerName; >> 66: this.party = Objects.requireNonNull(partyName); > > It looks like this constructor is not used. Is if safe to remove it? It's not used inside JDK. But for completeness it sounds there should be a way to create one with an assigner. ------------- PR: https://git.openjdk.org/jdk/pull/11071