diff -r 28dd27202591 -r e8f1b9fc82cc src/hotspot/share/code/dependencies.hpp --- a/src/hotspot/share/code/dependencies.hpp Thu Apr 25 13:35:34 2019 -0700 +++ b/src/hotspot/share/code/dependencies.hpp Mon May 06 21:31:36 2019 -0700 @@ -373,7 +373,8 @@ assert(ctxk->is_abstract(), "must be abstract"); } static void check_unique_method(Klass* ctxk, Method* m) { - assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant"); + // Graal can register redundant dependencies + assert(UseJVMCICompiler || !m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant"); } void assert_common_1(DepType dept, DepValue x);