From: aclement Date: Thu, 10 Sep 2009 15:35:04 +0000 (+0000) Subject: refactoring X-Git-Tag: V1_6_6~59 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=357807562fa730f9ae744fff1160c60c333a62d5;p=aspectj.git refactoring --- diff --git a/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java b/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java index d2d3d459d..898a5f458 100644 --- a/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java +++ b/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java @@ -198,7 +198,7 @@ public class AtAjAttributes { for (int i = 0; i < cpool.length; i++) { Constant constant = cpool[i]; if (constant != null && constant.getTag() == Constants.CONSTANT_Utf8) { - String constantValue = ((ConstantUtf8) constant).getBytes(); + String constantValue = ((ConstantUtf8) constant).getValue(); if (constantValue.length() > 28 && constantValue.charAt(1) == 'o') { if (constantValue.startsWith("Lorg/aspectj/lang/annotation")) { containsAnnotationClassReference = true;