From c494255b29d015c16ca7ab877726d1974cb7855b Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 25 Jan 2006 17:37:01 +0000 Subject: [PATCH] fix is checked in. --- weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.39.5