src/share/vm/code/dependencies.cpp

changeset 4245
4735d2c84362
parent 4155
9a9b6e05ffb4
child 4251
18fb7da42534
     1.1 --- a/src/share/vm/code/dependencies.cpp	Thu Nov 01 13:05:47 2012 +0100
     1.2 +++ b/src/share/vm/code/dependencies.cpp	Thu Oct 11 12:25:42 2012 -0400
     1.3 @@ -1160,7 +1160,11 @@
     1.4  
     1.5    // We could also return false if m does not yet appear to be
     1.6    // executed, if the VM version supports this distinction also.
     1.7 -  return !m->is_abstract();
     1.8 +  return !m->is_abstract() &&
     1.9 +         !InstanceKlass::cast(m->method_holder())->is_interface();
    1.10 +         // TODO: investigate whether default methods should be
    1.11 +         // considered as "concrete" in this situation.  For now they
    1.12 +         // are not.
    1.13  }
    1.14  
    1.15  

mercurial