hotspot/src/share/vm/oops/arrayKlass.hpp
changeset 27020 a7c8010446c2
parent 26412 80741eb33ba2
child 28731 f7339cba0a6a
--- a/hotspot/src/share/vm/oops/arrayKlass.hpp	Fri Oct 10 02:24:35 2014 -0700
+++ b/hotspot/src/share/vm/oops/arrayKlass.hpp	Wed May 07 19:38:22 2014 +0400
@@ -28,6 +28,7 @@
 #include "memory/universe.hpp"
 #include "oops/klass.hpp"
 
+class fieldDescriptor;
 class klassVtable;
 
 // ArrayKlass is the abstract baseclass for all array classes
@@ -77,6 +78,9 @@
   virtual oop multi_allocate(int rank, jint* sizes, TRAPS);
   objArrayOop allocate_arrayArray(int n, int length, TRAPS);
 
+  // find field according to JVM spec 5.4.3.2, returns the klass in which the field is defined
+  Klass* find_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const;
+
   // Lookup operations
   Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const;