8233495: Some fieldDescriptor methods can pass existing constantPoolHandle
authorredestad
Tue, 05 Nov 2019 09:58:05 +0100
changeset 58928 707825662286
parent 58927 d8aced36e872
child 58929 03f182a0f62c
8233495: Some fieldDescriptor methods can pass existing constantPoolHandle Reviewed-by: lfoltan, coleenp
src/hotspot/share/runtime/fieldDescriptor.inline.hpp
--- a/src/hotspot/share/runtime/fieldDescriptor.inline.hpp	Tue Nov 05 09:57:10 2019 +0100
+++ b/src/hotspot/share/runtime/fieldDescriptor.inline.hpp	Tue Nov 05 09:58:05 2019 +0100
@@ -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 {