X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvmcore%2Fannotation.c;h=4d7021d4d86e670586df7b86b25096ad7e9e8c8d;hb=b09cdc3299b9caac1cbf3c735d7b4d927e7c23af;hp=9a1776015f030f0139dbcc181887e17a7f33b43f;hpb=ebb448e2a77afa30d719a056c58e548bf9985b7f;p=cacao.git diff --git a/src/vmcore/annotation.c b/src/vmcore/annotation.c index 9a1776015..4d7021d4d 100644 --- a/src/vmcore/annotation.c +++ b/src/vmcore/annotation.c @@ -427,7 +427,7 @@ bool annotation_load_class_attribute_runtimevisibleannotations( return false; } - LLNI_classinfo_field_set(cb->class, annotations, (java_handle_t*)annotations); + LLNI_classinfo_field_set(cb->clazz, annotations, (java_handle_t*)annotations); return true; } @@ -554,7 +554,7 @@ bool annotation_load_field_attribute_runtimevisibleannotations( assert(f != NULL); LLNI_classinfo_field_get( - f->class, field_annotations, field_annotations); + f->clazz, field_annotations, field_annotations); if (!annotation_load_attribute_body( cb, &annotations, @@ -563,7 +563,7 @@ bool annotation_load_field_attribute_runtimevisibleannotations( } if (annotations != NULL) { - slot = f - f->class->fields; + slot = f - f->clazz->fields; field_annotations = annotation_bytearrays_insert( field_annotations, slot, annotations); @@ -572,7 +572,7 @@ bool annotation_load_field_attribute_runtimevisibleannotations( } LLNI_classinfo_field_set( - f->class, field_annotations, field_annotations); + f->clazz, field_annotations, field_annotations); } return true;