Mercurial > hg > truffle
diff src/share/vm/c1/c1_GraphBuilder.cpp @ 13021:4d3575d37a07
8026735: Stream tests throw java.lang.IncompatibleClassChangeError
Summary: Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1
Reviewed-by: kvn, twisti
author | iveresov |
---|---|
date | Wed, 30 Oct 2013 22:55:11 -0700 |
parents | 0d1661d63d70 |
children | 144b23411b51 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_GraphBuilder.cpp Wed Oct 30 13:14:09 2013 +0100 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Wed Oct 30 22:55:11 2013 -0700 @@ -1873,7 +1873,7 @@ // number of implementors for decl_interface is 0 or 1. If // it's 0 then no class implements decl_interface and there's // no point in inlining. - if (!holder->is_loaded() || decl_interface->nof_implementors() != 1) { + if (!holder->is_loaded() || decl_interface->nof_implementors() != 1 || decl_interface->has_default_methods()) { singleton = NULL; } }