From: aclement Date: Wed, 25 Jan 2006 17:37:01 +0000 (+0000) Subject: fix is checked in. X-Git-Tag: POST_MEMORY_CHANGES~152 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c494255b29d015c16ca7ab877726d1974cb7855b;p=aspectj.git fix is checked in. --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java index 634895fa8..6f5f0719e 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java @@ -306,7 +306,7 @@ public class BcelWorld extends World implements Repository { ReferenceType nameTypeX = (ReferenceType)fromTheMap; if (nameTypeX == null) { - if (jc.isGeneric()) { + if (jc.isGeneric() && isInJava5Mode()) { nameTypeX = ReferenceType.fromTypeX(UnresolvedType.forRawTypeName(jc.getClassName()),this); ret = makeBcelObjectType(nameTypeX, jc, true); ReferenceType genericRefType = new ReferenceType(