--- a/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java Fri Dec 07 17:11:17 2018 +0100
+++ b/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java Fri Dec 07 11:51:17 2018 -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);