--- 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
}