diff src/share/vm/code/dependencies.cpp @ 17524:89152779163c

Merge with jdk8-b132
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 11:59:32 +0200
parents 4ca6dc0799b6 709018897c81
children 52b4284cb496
line wrap: on
line diff
--- a/src/share/vm/code/dependencies.cpp	Wed Oct 15 15:35:33 2014 +0200
+++ b/src/share/vm/code/dependencies.cpp	Wed Oct 15 11:59:32 2014 +0200
@@ -1373,11 +1373,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
 }