hotspot/src/share/vm/classfile/defaultMethods.cpp
changeset 20295 a5dd1b071c32
parent 19966 64732b96b5f5
child 20694 2b8425bb18c2
child 20300 fe4818444117
--- 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);
   }
 }
-