]> source.dussan.org Git - aspectj.git/commitdiff
242797: npe in TypeVariable after deserialization since interfacebounds not correctly...
authoraclement <aclement>
Tue, 19 Aug 2008 18:06:43 +0000 (18:06 +0000)
committeraclement <aclement>
Tue, 19 Aug 2008 18:06:43 +0000 (18:06 +0000)
weaver/src/org/aspectj/weaver/TypeVariable.java

index f9e86f49ba77fa85b7915ae7879f42ffd769690c..85a4a3303f396994993b64f57d608a314cc50521 100644 (file)
@@ -380,7 +380,7 @@ public class TypeVariable {
                String name = s.readUTF();
                UnresolvedType ubound = UnresolvedType.read(s);
                int iboundcount = s.readInt();
-               UnresolvedType[] ibounds = null;
+               UnresolvedType[] ibounds = UnresolvedType.NONE;
                if (iboundcount>0) {
                        ibounds = new UnresolvedType[iboundcount];
                        for (int i=0; i<iboundcount; i++) {