You could also add (a..b, false) and (.a, false), (a., false) to the testcases.
I noticed that there are different types of Exception messages (DNS name, DNSName, DNS Name or name constrained, DNS name and SAN), would be good if all of them have the same keyword? Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: security-dev <security-dev-boun...@openjdk.java.net> im Auftrag von Seán Coffey <sean.cof...@oracle.com> Gesendet: Freitag, November 16, 2018 12:25 PM An: OpenJDK Dev list Betreff: RFR: 8213952: Relax DNSName restriction as per RFC 1123 Looking to make an adjustment to DNSName constructor to help comply with RFC 1123 https://bugs.openjdk.java.net/browse/JDK-8213952 http://cr.openjdk.java.net/~coffeys/webrev.8213952/webrev/ regards, Sean.