src/share/vm/code/dependencies.cpp

changeset 5848
ac9cb1d5a202
parent 5307
e0c9a1d29eb4
child 6286
709018897c81
child 6305
40353abd7984
     1.1 --- a/src/share/vm/code/dependencies.cpp	Sun Oct 06 16:13:50 2013 +0200
     1.2 +++ b/src/share/vm/code/dependencies.cpp	Mon Oct 07 12:20:28 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -812,8 +812,8 @@
    1.11      Klass* k = ctxk;
    1.12      Method* lm = k->lookup_method(m->name(), m->signature());
    1.13      if (lm == NULL && k->oop_is_instance()) {
    1.14 -      // It might be an abstract interface method, devoid of mirandas.
    1.15 -      lm = ((InstanceKlass*)k)->lookup_method_in_all_interfaces(m->name(),
    1.16 +      // It might be an interface method
    1.17 +        lm = ((InstanceKlass*)k)->lookup_method_in_ordered_interfaces(m->name(),
    1.18                                                                  m->signature());
    1.19      }
    1.20      if (lm == m)

mercurial