From 3246e40b89660d7de65394b132ed385043fa1878 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 19 Aug 2008 18:06:43 +0000 Subject: [PATCH] 242797: npe in TypeVariable after deserialization since interfacebounds not correctly initialized --- weaver/src/org/aspectj/weaver/TypeVariable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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