* load_class_from_classbuffer: GCNEW renamed to GCNEW_UNCOLLECTABLE (XXX
authortwisti <none@none>
Wed, 12 Oct 2005 13:23:01 +0000 (13:23 +0000)
committertwisti <none@none>
Wed, 12 Oct 2005 13:23:01 +0000 (13:23 +0000)
  check if we really need this).

src/vm/loader.c

index 501b3f6a43ea99aa20d1f8ca9eebd4944937c8b5..1021ff9efcecb5c11852947dff70ceb4fc374d2c 100644 (file)
@@ -32,7 +32,7 @@
             Edwin Steiner
             Christian Thalinger
 
-   $Id: loader.c 3386 2005-10-07 14:02:52Z edwin $
+   $Id: loader.c 3418 2005-10-12 13:23:01Z twisti $
 
 */
 
@@ -2485,7 +2485,7 @@ classinfo *load_class_from_classbuffer(classbuffer *cb)
                goto return_exception;
 
        c->fieldscount = suck_u2(cb);
-       c->fields = GCNEW(fieldinfo, c->fieldscount);
+       c->fields = GCNEW_UNCOLLECTABLE(fieldinfo, c->fieldscount);
 /*     c->fields = MNEW(fieldinfo, c->fieldscount); */
        for (i = 0; i < c->fieldscount; i++) {
                if (!load_field(cb, &(c->fields[i]),descpool))