src/share/vm/opto/callnode.cpp

Print this page

        

@@ -776,11 +776,11 @@
         return false;
       }
     }
     if (is_CallJava() && as_CallJava()->method() != NULL) {
       ciMethod* meth = as_CallJava()->method();
-      if (meth->is_accessor()) {
+      if (meth->is_getter()) {
         return false;
       }
       // May modify (by reflection) if an boxing object is passed
       // as argument or returned.
       if (returns_pointer() && (proj_out(TypeFunc::Parms) != NULL)) {