< prev index next >

src/share/vm/classfile/javaClasses.hpp

Print this page

        

*** 151,161 **** assert(initialized, "Must be initialized"); assert(is_instance(java_string), "must be java_string"); if (count_offset > 0) { return java_string->int_field(count_offset); } else { ! return ((typeArrayOop)java_string->obj_field(value_offset))->length(); } } static int utf8_length(oop java_string); // String converters --- 151,162 ---- assert(initialized, "Must be initialized"); assert(is_instance(java_string), "must be java_string"); if (count_offset > 0) { return java_string->int_field(count_offset); } else { ! oop value = java_string->obj_field(value_offset); ! return ((typeArrayOop) value)->length(); } } static int utf8_length(oop java_string); // String converters
< prev index next >