comparison src/share/vm/oops/arrayKlass.cpp @ 20527:8cb56c8cb30d

Merge
author jiangli
date Mon, 15 Sep 2014 16:39:00 -0400
parents 6e0cb14ce59b 54bc75c144b0
children f0bedf980c65
comparison
equal deleted inserted replaced
20411:fe1f65b0a2d8 20527:8cb56c8cb30d
62 oop ArrayKlass::multi_allocate(int rank, jint* sizes, TRAPS) { 62 oop ArrayKlass::multi_allocate(int rank, jint* sizes, TRAPS) {
63 ShouldNotReachHere(); 63 ShouldNotReachHere();
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 // find field according to JVM spec 5.4.3.2, returns the klass in which the field is defined
68 Klass* ArrayKlass::find_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const {
69 // There are no fields in an array klass but look to the super class (Object)
70 assert(super(), "super klass must be present");
71 return super()->find_field(name, sig, fd);
72 }
73
67 Method* ArrayKlass::uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const { 74 Method* ArrayKlass::uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const {
68 // There are no methods in an array klass but the super class (Object) has some 75 // There are no methods in an array klass but the super class (Object) has some
69 assert(super(), "super klass must be present"); 76 assert(super(), "super klass must be present");
70 return super()->uncached_lookup_method(name, signature, mode); 77 return super()->uncached_lookup_method(name, signature, mode);
71 } 78 }