--- a/src/java.base/share/classes/com/sun/java/util/jar/pack/ConstantPool.java Fri Dec 07 17:11:17 2018 +0100
+++ b/src/java.base/share/classes/com/sun/java/util/jar/pack/ConstantPool.java Fri Dec 07 11:51:17 2018 -0500
@@ -1366,7 +1366,7 @@
}
if (tag == CONSTANT_Utf8) {
// Special case: First Utf8 must always be empty string.
- assert(cpMap.length == 0 || cpMap[0].stringValue().equals(""));
+ assert(cpMap.length == 0 || cpMap[0].stringValue().isEmpty());
}
indexByTag[tag] = ix;
// decache indexes derived from this one: