equal
deleted
inserted
replaced
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 |