Browse Source

refactoring

tags/V1_6_6
aclement 14 years ago
parent
commit
357807562f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java

+ 1
- 1
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java View 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;

Loading…
Cancel
Save