--- old/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java 2018-12-06 17:26:49.441626005 -0500 +++ new/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java 2018-12-06 17:26:49.273625172 -0500 @@ -124,7 +124,7 @@ * name and its resource records. Returns the zone's new contents. */ NameNode populate(DnsName zone, ResourceRecords rrs) { - // assert zone.get(0).equals(""); // zone has root label + // assert zone.get(0).isEmpty(); // zone has root label // assert (zone.size() == (depth() + 1)); // +1 due to root label NameNode newContents = new NameNode(null);