--- a/hotspot/src/share/vm/classfile/defaultMethods.cpp Sat Sep 28 12:32:10 2013 +0400
+++ b/hotspot/src/share/vm/classfile/defaultMethods.cpp Sat Sep 28 12:42:22 2013 -0700
@@ -977,7 +977,7 @@
return target;
}
-#ifndef PRODUCT
+#ifdef ASSERT
// Return true is broad type is a covariant return of narrow type
static bool covariant_return_type(BasicType narrow, BasicType broad) {
if (narrow == broad) {
@@ -988,7 +988,7 @@
}
return false;
}
-#endif // ndef PRODUCT
+#endif
static int assemble_redirect(
BytecodeConstantPool* cp, BytecodeBuffer* buffer,
@@ -1281,4 +1281,3 @@
MetadataFactory::free_array(cld, original_ordering);
}
}
-