src/share/vm/c1/c1_GraphBuilder.cpp

changeset 6050
4d3575d37a07
parent 6000
0d1661d63d70
child 6100
144b23411b51
     1.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp	Wed Oct 30 13:14:09 2013 +0100
     1.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp	Wed Oct 30 22:55:11 2013 -0700
     1.3 @@ -1873,7 +1873,7 @@
     1.4          // number of implementors for decl_interface is 0 or 1. If
     1.5          // it's 0 then no class implements decl_interface and there's
     1.6          // no point in inlining.
     1.7 -        if (!holder->is_loaded() || decl_interface->nof_implementors() != 1) {
     1.8 +        if (!holder->is_loaded() || decl_interface->nof_implementors() != 1 || decl_interface->has_default_methods()) {
     1.9            singleton = NULL;
    1.10          }
    1.11        }

mercurial