hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 2131 98f9cef66a34
parent 1388 3677f5f3d66b
child 2332 5c7b6f4ce0a1
child 2264 55d0115a54fe
equal deleted inserted replaced
2130:f935aa562118 2131:98f9cef66a34
  1915   int method_table_offset_in_words = ioe->offset()/wordSize;
  1915   int method_table_offset_in_words = ioe->offset()/wordSize;
  1916   int nof_interfaces = (method_table_offset_in_words - itable_offset_in_words())
  1916   int nof_interfaces = (method_table_offset_in_words - itable_offset_in_words())
  1917                        / itableOffsetEntry::size();
  1917                        / itableOffsetEntry::size();
  1918 
  1918 
  1919   for (int cnt = 0 ; ; cnt ++, ioe ++) {
  1919   for (int cnt = 0 ; ; cnt ++, ioe ++) {
  1920     // If the interface isn't implemented by the reciever class,
  1920     // If the interface isn't implemented by the receiver class,
  1921     // the VM should throw IncompatibleClassChangeError.
  1921     // the VM should throw IncompatibleClassChangeError.
  1922     if (cnt >= nof_interfaces) {
  1922     if (cnt >= nof_interfaces) {
  1923       THROW_OOP_0(vmSymbols::java_lang_IncompatibleClassChangeError());
  1923       THROW_OOP_0(vmSymbols::java_lang_IncompatibleClassChangeError());
  1924     }
  1924     }
  1925 
  1925