From 41323af6deb26dfdadae287cfc79121837175627 Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 2 Jul 2005 21:56:18 +0000 Subject: [PATCH 1/1] fix the field type descriptor bug (again :) ) darcs-hash:20050702215618-24bed-73449f508f9d18692bfc1abb45f36197c49f355a.gz --- src/org/ibex/classgen/Type.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/ibex/classgen/Type.java b/src/org/ibex/classgen/Type.java index 492986d..ee9ebc9 100644 --- a/src/org/ibex/classgen/Type.java +++ b/src/org/ibex/classgen/Type.java @@ -148,7 +148,7 @@ public class Type implements CGConst { public class Field extends Member { public final Type type; private Field(String name, Type t) { super(name); this.type = t; } - public String getDescriptor() { return name; } + public String getDescriptor() { return type.getDescriptor(); } public Type getType() { return type; } public String debugToString() { return getDeclaringClass()+"."+name+"["+type+"]"; } } -- 1.7.10.4