src/share/vm/oops/instanceKlass.cpp

changeset 1040
98cb887364d3
parent 791
1ee8caae33af
child 1087
4aaa9f5e02a8
child 1100
c89f86385056
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
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

mercurial