Explorar el Código

347185

tags/V1_6_12M1
aclement hace 13 años
padre
commit
039b9ddc95

+ 2
- 1
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java Ver fichero

@@ -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;
}

Cargando…
Cancelar
Guardar