From: aclement Date: Tue, 19 Aug 2008 18:06:43 +0000 (+0000) Subject: 242797: npe in TypeVariable after deserialization since interfacebounds not correctly... X-Git-Tag: V162DEV_M1~130 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3246e40b89660d7de65394b132ed385043fa1878;p=aspectj.git 242797: npe in TypeVariable after deserialization since interfacebounds not correctly initialized --- diff --git a/weaver/src/org/aspectj/weaver/TypeVariable.java b/weaver/src/org/aspectj/weaver/TypeVariable.java index f9e86f49b..85a4a3303 100644 --- a/weaver/src/org/aspectj/weaver/TypeVariable.java +++ b/weaver/src/org/aspectj/weaver/TypeVariable.java @@ -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