diff options
author | iveresov <none@none> | 2013-10-30 22:55:11 -0700 |
---|---|---|
committer | iveresov <none@none> | 2013-10-30 22:55:11 -0700 |
commit | ee0df83b4b2433eec3998481e8c7e48f1cdaf743 (patch) | |
tree | ac90f12527e260268d4e208f9d1b9db9223cf7be /src/share/vm/c1 | |
parent | 671a59ca3312d34661a508e026442844fda4752a (diff) |
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
Diffstat (limited to 'src/share/vm/c1')
-rw-r--r-- | src/share/vm/c1/c1_GraphBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/c1/c1_GraphBuilder.cpp b/src/share/vm/c1/c1_GraphBuilder.cpp index 75e827b3b..26bb8d022 100644 --- a/src/share/vm/c1/c1_GraphBuilder.cpp +++ b/src/share/vm/c1/c1_GraphBuilder.cpp @@ -1873,7 +1873,7 @@ void GraphBuilder::invoke(Bytecodes::Code code) { // 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; } } |