src/hotspot/share/oops/arrayKlass.cpp
changeset 50735 2f2af62dfac7
parent 50304 d5331b94f821
child 50752 9d62da00bf15
equal deleted inserted replaced
50734:0828a0f6676b 50735:2f2af62dfac7
    69   return super()->find_field(name, sig, fd);
    69   return super()->find_field(name, sig, fd);
    70 }
    70 }
    71 
    71 
    72 Method* ArrayKlass::uncached_lookup_method(const Symbol* name,
    72 Method* ArrayKlass::uncached_lookup_method(const Symbol* name,
    73                                            const Symbol* signature,
    73                                            const Symbol* signature,
    74                                            OverpassLookupMode overpass_mode) const {
    74                                            OverpassLookupMode overpass_mode,
       
    75                                            PrivateLookupMode private_mode) const {
    75   // There are no methods in an array klass but the super class (Object) has some
    76   // There are no methods in an array klass but the super class (Object) has some
    76   assert(super(), "super klass must be present");
    77   assert(super(), "super klass must be present");
    77   // Always ignore overpass methods in superclasses, although technically the
    78   // Always ignore overpass methods in superclasses, although technically the
    78   // super klass of an array, (j.l.Object) should not have
    79   // super klass of an array, (j.l.Object) should not have
    79   // any overpass methods present.
    80   // any overpass methods present.
    80   return super()->uncached_lookup_method(name, signature, Klass::skip_overpass);
    81   return super()->uncached_lookup_method(name, signature, Klass::skip_overpass, private_mode);
    81 }
    82 }
    82 
    83 
    83 ArrayKlass::ArrayKlass(Symbol* name) :
    84 ArrayKlass::ArrayKlass(Symbol* name) :
    84   _dimension(1),
    85   _dimension(1),
    85   _higher_dimension(NULL),
    86   _higher_dimension(NULL),