From 039b9ddc950d6c841626e55dedf1efb53e7f3a3e Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 7 Jun 2011 18:34:59 +0000 Subject: [PATCH] 347185 --- .../internal/compiler/lookup/EclipseAnnotationConvertor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java index 52f3c9cfb..efd2a152a 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java @@ -131,7 +131,8 @@ public class EclipseAnnotationConvertor { } } else { if (constant != null && constant != Constant.NotAConstant) { - if (constant instanceof IntConstant || constant instanceof BooleanConstant) { + if (constant instanceof IntConstant || constant instanceof BooleanConstant + || constant instanceof StringConstant) { AnnotationValue av = generateElementValueForConstantExpression(defaultValue, defaultValueBinding); return av; } -- 2.39.5