Mercurial > hg > truffle
comparison src/share/vm/oops/arrayKlass.cpp @ 18104:eaf39a954227
Merge with jdk8u25-b17
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 16 Oct 2014 11:57:39 +0200 |
parents | 52b4284cb496 54bc75c144b0 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
18044:42de29c9ffbc | 18104:eaf39a954227 |
---|---|
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 } |