hotspot/src/share/vm/code/dependencies.cpp
changeset 22514 7f26d1aea7a4
parent 22506 0759c126204d
child 22515 218c0c9e44b5
--- a/hotspot/src/share/vm/code/dependencies.cpp	Tue Jan 21 20:05:28 2014 -0800
+++ b/hotspot/src/share/vm/code/dependencies.cpp	Thu Jan 23 01:23:23 2014 +0400
@@ -1223,11 +1223,9 @@
 
   // We could also return false if m does not yet appear to be
   // executed, if the VM version supports this distinction also.
+  // Default methods are considered "concrete" as well.
   return !m->is_abstract() &&
-         !InstanceKlass::cast(m->method_holder())->is_interface();
-         // TODO: investigate whether default methods should be
-         // considered as "concrete" in this situation.  For now they
-         // are not.
+         !m->is_overpass(); // error functions aren't concrete
 }