* src/vmcore/linker.c (build_display): Removed superfluous recursion; return
[cacao.git] / src / vmcore / annotation.c
index 9a1776015f030f0139dbcc181887e17a7f33b43f..4d7021d4d86e670586df7b86b25096ad7e9e8c8d 100644 (file)
@@ -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;