8233495: Some fieldDescriptor methods can pass existing constantPoolHandle

Reviewed-by: lfoltan, coleenp
This commit is contained in:
Claes Redestad 2019-11-05 09:58:05 +01:00
parent af729c390c
commit dd8e82f46e

View File

@ -31,11 +31,11 @@
// must be put in this file, as they require runtime/handles.inline.hpp.
inline Symbol* fieldDescriptor::name() const {
return field()->name(_cp());
return field()->name(_cp);
}
inline Symbol* fieldDescriptor::signature() const {
return field()->signature(_cp());
return field()->signature(_cp);
}
inline InstanceKlass* fieldDescriptor::field_holder() const {