]> source.dussan.org Git - aspectj.git/commitdiff
refactoring
authoraclement <aclement>
Thu, 10 Sep 2009 15:35:04 +0000 (15:35 +0000)
committeraclement <aclement>
Thu, 10 Sep 2009 15:35:04 +0000 (15:35 +0000)
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java

index d2d3d459d4ae2d806ebd9f7828e1a3e55a467081..898a5f458593bc286e59a82463bc543ef19b7bd0 100644 (file)
@@ -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;