equal
deleted
inserted
replaced
451 fields = compute_nonstatic_fields_impl(super_fields); |
451 fields = compute_nonstatic_fields_impl(super_fields); |
452 }); |
452 }); |
453 |
453 |
454 if (fields == NULL) { |
454 if (fields == NULL) { |
455 // This can happen if this class (java.lang.Class) has invisible fields. |
455 // This can happen if this class (java.lang.Class) has invisible fields. |
456 _nonstatic_fields = super_fields; |
456 if (super_fields != NULL) { |
457 return super_fields->length(); |
457 _nonstatic_fields = super_fields; |
|
458 return super_fields->length(); |
|
459 } else { |
|
460 return 0; |
|
461 } |
458 } |
462 } |
459 |
463 |
460 int flen = fields->length(); |
464 int flen = fields->length(); |
461 |
465 |
462 // Now sort them by offset, ascending. |
466 // Now sort them by offset, ascending. |