From: aclement Date: Wed, 2 Feb 2011 00:40:05 +0000 (+0000) Subject: 335682 X-Git-Tag: V1_6_11RC1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a135fc78cdc2ae02688b285a4898ec4cd10bdf73;p=aspectj.git 335682 --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/AjAttribute.java b/org.aspectj.matcher/src/org/aspectj/weaver/AjAttribute.java index a727825b0..781227141 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/AjAttribute.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/AjAttribute.java @@ -565,8 +565,8 @@ public abstract class AjAttribute { public static AdviceAttribute read(VersionedDataInputStream s, ISourceContext context) throws IOException { AdviceKind kind = AdviceKind.read(s); if (kind == AdviceKind.Around) { - return new AdviceAttribute(kind, Pointcut.read(s, context), s.readByte(), s.readInt(), s.readInt(), context, s - .readBoolean(), ResolvedMemberImpl.readResolvedMemberArray(s, context), FileUtil.readBooleanArray(s), + return new AdviceAttribute(kind, Pointcut.read(s, context), s.readByte(), s.readInt(), s.readInt(), context, + s.readBoolean(), ResolvedMemberImpl.readResolvedMemberArray(s, context), FileUtil.readBooleanArray(s), UnresolvedType.readArray(s)); } else { return new AdviceAttribute(kind, Pointcut.read(s, context), s.readByte(), s.readInt(), s.readInt(), context); @@ -731,8 +731,8 @@ public abstract class AjAttribute { } public static EffectiveSignatureAttribute read(VersionedDataInputStream s, ISourceContext context) throws IOException { - return new EffectiveSignatureAttribute(ResolvedMemberImpl.readResolvedMember(s, context), Shadow.Kind.read(s), s - .readBoolean()); + ResolvedMember member = ResolvedMemberImpl.readResolvedMember(s, context); + return new EffectiveSignatureAttribute(member, Shadow.Kind.read(s), s.readBoolean()); } public ResolvedMember getEffectiveSignature() { diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/VersionedDataInputStream.java b/org.aspectj.matcher/src/org/aspectj/weaver/VersionedDataInputStream.java index 62a643919..38b2081b0 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/VersionedDataInputStream.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/VersionedDataInputStream.java @@ -80,4 +80,8 @@ public class VersionedDataInputStream extends DataInputStream { public UnresolvedType readSignatureAsUnresolvedType() throws IOException { return UnresolvedType.forSignature(readUtf8(readShort())); } + + public String toString() { + return "VersionedDataInputStream: version=" + version + " constantPoolReader?" + (constantPoolReader != null); + } } \ No newline at end of file