issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
public void addInitializer(ConcreteTypeMunger cm) { NewFieldTypeMunger m = (NewFieldTypeMunger) cm.getMunger(); ResolvedType onType = m.getSignature().getDeclaringType().resolve(world); if (onType.isRawType()) { onType = onType.getGenericType(); } if (Modifier.isStatic(m.getSignature().getModifiers())) { ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return 0; } } public int fallbackCompareTo(Object other) { return 0; } } public boolean addDispatchTarget(ResolvedMember m) { return addedDispatchTargets.add(m); } public void addLazyMethodGen(LazyMethodGen gen) { addedLazyMethodGens.add(gen); } public void addOrReplaceLazyMethodGen(LazyMethodGe...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
addedLazyMethodGens.add(mg); return; } else { throw new BCException("conflict between: " + mg + " and " + existing); } } } addedLazyMethodGens.add(mg); } private boolean alreadyDefined(LazyClassGen clazz, LazyMethodGen mg) { for (Iterator<LazyMethodGen> i = clazz.getMethodGens().iterator();...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} LazyMethodGen ret = new LazyMethodGen(mods, BcelWorld.makeBcelType(member.getReturnType()), member.getName(), BcelWorld.makeBcelTypes(member.getParameterTypes()), UnresolvedType.getNames(member.getExceptions()), gen); return ret; } /** * Create a single bridge method called 'theBridgeMethod' that br...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
body = bridgeMethod.getBody(); fact = clazz.getFactory(); if (!whatToBridgeToMethodGen.isStatic()) { body.append(InstructionFactory.createThis()); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, po...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return false; } Set<String> aspectsAffectingType = null; if (inReweavableMode || clazz.getType().isAspect()) { aspectsAffectingType = new HashSet<String>(); } boolean isChanged = false; if (clazz.getType().isAspect()) { isChanged = true; } WeaverStateInfo typeWeaver...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (typeMungerAffectedType) { isChanged = true; if (inReweavableMode || clazz.getType().isAspect()) { aspectsAffectingType.add(munger.getAspectType().getSignature()); } } } isChanged = weaveDeclareAtMethodCtor(clazz) || isChanged; isChanged = weaveDeclareAtField(clazz) || isChanged; ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} if (world.isJoinpointSynchronizationEnabled() && world.areSynchronizationPointcutsInUse() && member.getMethod().isSynchronized()) { transformSynchronizedMethod(member); } boolean shadowMungerMatched = match(member); if (shadowMungerMatched) { if (inReweavableMode || clazz.getType()....
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
positionAndImplement(initializationShadows); } if (lateTypeMungers != null) { for (Iterator<ConcreteTypeMunger> i = lateTypeMungers.iterator(); i.hasNext();) { BcelTypeMunger munger = (BcelTypeMunger) i.next(); if (munger.matches(clazz.getType())) { boolean typeMungerAffectedType = munger.munge(t...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
wsi.addAspectsAffectingType(aspectsAffectingType); wsi.setUnwovenClassFileData(ty.getJavaClass().getBytes()); wsi.setReweavable(true); } else { clazz.getOrCreateWeaverStateInfo(false).setReweavable(false); } for (LazyMethodGen mg : methodGens) { BcelMethod method = mg.getMemberView(); if (method...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (Modifier.isPrivate(methodThatMightBeGettingOverridden.getModifiers())) { return null; } if (!methodThatMightBeGettingOverridden.getName().equals(mname)) { return null; } if (methodThatMightBeGettingOverridden.getParameterTypes().length != methodParamsArray.length) { return null; } i...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else { boolean b = !methodThatMightBeGettingOverridden.getParameterTypes()[p].getErasureSignature().equals( methodParamsArray[p].getErasureSignature()); UnresolvedType parameterType = methodThatMightBeGettingOverridden.getParameterTypes()[p]; if (parameterType instanceof UnresolvedTypeVari...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else if (!methodThatMightBeGettingOverridden.getReturnType().getErasureSignature().equals(mrettype)) { ResolvedType superReturn = typeToCheck.getWorld().resolve( UnresolvedType.forSignature(methodThatMightBeGettingOverridden.getReturnType().getErasureSignature())); ResolvedType subReturn ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return true; } if (Modifier.isPrivate(inheritedModifiers)) { return false; } boolean isPackageVisible = !Modifier.isPrivate(inheritedModifiers) && !Modifier.isProtected(inheritedModifiers) && !Modifier.isPublic(inheritedModifiers); if (isPackageVisible && !inSamePackage) { return false; } return...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (packageName == null) { packageName = ""; } boolean inSamePackage = packageName.equals(mpkg); ResolvedMember[] methods = typeToCheck.getDeclaredMethods(); for (int ii = 0; ii < methods.length; ii++) { ResolvedMember methodThatMightBeGettingOverridden = methods[ii]; ResolvedMember isOverridi...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
methodParamsArray); if (isOverriding != null) { overriddenMethodsCollector.add(isOverriding); } } } } if (typeToCheck.equals(UnresolvedType.OBJECT)) { return; } ResolvedType superclass = typeToCheck.getSuperclass(); checkForOverride(superclass, mname, mparams, mrettype, mmods, mpkg, ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return false; } if (clazz.isInterface()) { return false; } boolean didSomething = false; List<LazyMethodGen> methods = clazz.getMethodGens(); Set<String> methodsSet = new HashSet<String>(); for (int i = 0; i < methods.size(); i++) { LazyMethodGen aMethod = methods.get(i); StringBui...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
continue; } if (name.endsWith("init>")) { continue; } if (world.forDEBUG_bridgingCode) { System.err.println("Bridging: Determining if we have to bridge to " + clazz.getName() + "." + name + "" + bridgeToCandidate.getSignature()); } ResolvedType theSuperclass = clazz.getSuperClass(); i...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} String[] interfaces = clazz.getInterfaceNames(); for (int j = 0; j < interfaces.length; j++) { if (world.forDEBUG_bridgingCode) { System.err.println("Bridging:checking superinterface " + interfaces[j]); } ResolvedType interfaceType = world.resolve(interfaces[j]); overriddenMethodsCollec...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
*/ private boolean weaveDeclareAtMethodCtor(LazyClassGen clazz) { List<Integer> reportedProblems = new ArrayList<Integer>(); List<DeclareAnnotation> allDecams = world.getDeclareAnnotationOnMethods(); if (allDecams.isEmpty()) { return false; } boolean isChanged = false; List<ConcreteTypeMunger> itdMet...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
boolean modificationOccured = false; List<AnnotationGen> annotationsToAdd = null; for (DeclareAnnotation decaM : decaMs) { if (decaM.matches(mg.getMemberView(), world)) { if (doesAlreadyHaveAnnotation(mg.getMemberView(), decaM, reportedProblems)) { unusedDecams.remove(de...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } } while (!worthRetrying.isEmpty() && modificationOccured) { modificationOccured = false; List<DeclareAnnotation> forRemoval = new ArrayList<DeclareAnnotation>(); for (DeclareAnnotation decaM : worthRetrying) { if (decaM.matches(mg.getMemberView(), world)) { ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
modificationOccured = true; forRemoval.add(decaM); unusedDecams.remove(decaM); } } worthRetrying.removeAll(forRemoval); } if (annotationsToAdd != null) { Method oldMethod = mg.getMethod(); MethodGen myGen = new MethodGen(oldMethod, clazz.getClas...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (int i = 0; i < paramTypes.length; i++) { UnresolvedType type = paramTypes[i]; String s = org.aspectj.apache.bcel.classfile.Utility.signatureToString(type.getSignature()); if (s.lastIndexOf('.') != -1) { s = s.substring(s.lastIndexOf('.') + 1); } parmString.append(s); if ((i + 1) < para...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} getWorld().getMessageHandler().handleMessage( WeaveMessage.constructWeavingMessage( WeaveMessage.WEAVEMESSAGE_ANNOTATES, new String[] { sig.toString(), loc.toString(), decaM.getAnnotationString(), methodName.startsWith("<init>") ? "constructor" : "method", decaM.getAspect().toString(), ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } return subset; } public LazyMethodGen locateAnnotationHolderForFieldMunger(LazyClassGen clazz, ConcreteTypeMunger fieldMunger) { NewFieldTypeMunger newFieldMunger = (NewFieldTypeMunger) fieldMunger.getMunger(); ResolvedMember lookingFor = AjcMemberMaker.interFieldInitializer(newFieldMunger.getSignature(),...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (LazyMethodGen member : clazz.getMethodGens()) { if (member.getName().equals(name) && member.getParameterSignature().equals(paramSignature)) { return member; } } return null; } /** * Applies some set of declare @field constructs (List<DeclareAnnotation>) to some bunch of ITDfields (List<BcelTypeMu...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
decaF.getSourceLocation(), itdIsActually.getSourceLocation(), true); } else { worthRetrying.add(decaF); } } else { LazyMethodGen annotationHolder = locateAnnotationHolderForFieldMunger(clazz, fieldMunger); if (doesAlreadyHaveAnnotation(annotationHolder, itdIsActually, decaF, reported...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
LazyMethodGen annotationHolder = locateAnnotationHolderForFieldMunger(clazz, fieldMunger); if (annotationHolder.hasAnnotation(decaF.getAnnotationType())) { isChanged = true; annotationHolder.removeAnnotation(decaF.getAnnotationType()); AsmRelationshipProvider.addDeclareAnnotation...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* (List<BcelTypeMunger>. It will iterate over the fields repeatedly until everything has been applied. */ private boolean weaveAtMethodOnITDSRepeatedly(List<DeclareAnnotation> decaMCs, List<ConcreteTypeMunger> itdsForMethodAndConstructor, List<Integer> reportedErrors) { boolean isChanged = false; AsmManager a...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } } while (!worthRetrying.isEmpty() && modificationOccured) { modificationOccured = false; List<DeclareAnnotation> forRemoval = new ArrayList<DeclareAnnotation>(); for (Iterator<DeclareAnnotation> iter2 = worthRetrying.iterator(); iter2.hasNext();) { DeclareAnnotation decaMC = iter2.next();...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return true; } } return false; } /** * Remove an annotation from the supplied array, if it is in there. */ private AnnotationAJ[] removeFromAnnotationsArray(AnnotationAJ[] annotations,AnnotationAJ annotation) { for (int i=0;i<annotations.length;i++) { if (annotations[i] != null && annotation.getTypeN...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* Weave any declare @field statements into the fields of the supplied class. This will attempt to apply them to the ITDs too. * * Interesting case relating to public ITDd fields. The annotations are really stored against the interfieldinit method in the * aspect, but the public field is placed in the target type...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
boolean modificationOccured = false; AnnotationAJ[] dontAddMeTwice = field.getAnnotations(); for (DeclareAnnotation decaf : decafs) { if (decaf.getAnnotation() == null) { return false; } if (decaf.matches(field, world)) { if (decaf.isRemover()) { AnnotationAJ anno...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} AsmRelationshipProvider.addDeclareAnnotationFieldRelationship(world.getModelAsAsmManager(), decaf.getSourceLocation(), clazz.getName(), field, false); reportFieldAnnotationWeavingMessage(clazz, field, decaf, false); typeIsChanged = true; modificationOccured = true; un...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } else { unusedDecafs.remove(decaF); if (doesAlreadyHaveAnnotation(field, decaF, reportedProblems)) { continue; } field.addAnnotation(decaF.getAnnotation()); AsmRelationshipProvider.addDeclareAnnotationFieldRelationship(world.getModelAsAsmManage...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (DeclareAnnotation declA : unusedDecaTs) { boolean shouldCheck = declA.isExactPattern() || declA.getSignaturePattern().getExactDeclaringTypes().size() != 0; if (shouldCheck && declA.getKind() != DeclareAnnotation.AT_CONSTRUCTOR) { if (declA.getSignaturePattern().isMatchOnAnyName()) { shouldCheck ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
NewMethodTypeMunger nmtm = (NewMethodTypeMunger) element.getMunger(); itdMatch = declA.matches(nmtm.getSignature(), world); } else if (element.getMunger() instanceof NewConstructorTypeMunger) { NewConstructorTypeMunger nctm = (NewConstructorTypeMunger) element.getMunger(); itdMatch = declA.matche...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Utility.beautifyLocation(decaf.getSourceLocation()) })); } } /** * Check if a resolved member (field/method/ctor) already has an annotation, if it does then put out a warning and return true */ private boolean doesAlreadyHaveAnnotation(ResolvedMember rm, DeclareAnnotation deca, List<Integer> reportedProblems) ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
deca.getAnnotationType().toString() }, rm.getSourceLocation(), new ISourceLocation[] { deca.getSourceLocation() }); } } return true; } return false; } private Set<String> findAspectsForMungers(LazyMethodGen mg) { Set<String> aspectsAffectingType = new HashSet<String>(); for (BcelShadow shadow...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
continue; } InstructionHandle ih = findSuperOrThisCall(methodGen); if (ih != null && isThisCall(ih)) { LazyMethodGen donor = getCalledMethod(ih); if (donor.equals(methodGen)) { newRecursiveCtors.add(donor); } else { if (!recursiveCtors.contains(donor)) { inlineMethod(donor, methodGe...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
r.associateWithShadow(s); if (s.getKind() == Shadow.PreInitialization) { r.associateWithTargets(Range.genStart(body, body.getStart().getNext()), Range.genEnd(body, call.getPrev())); } else { r.associateWithTargets(Range.genStart(body, call.getNext()), Range.genEnd(body)); } } private b...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* bother to pack. * * Allocate a new var for each formal param of the inlined. Fill with stack contents. Then copy the inlined instructions in * with the appropriate remap table. Any framelocs used by locals in inlined are reallocated to top of frame, */ final InstructionFactory fact = recipient.getEnclo...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
*/ public static void transformSynchronizedMethod(LazyMethodGen synchronizedMethod) { if (trace.isTraceEnabled()) { trace.enter("transformSynchronizedMethod", synchronizedMethod); } final InstructionFactory fact = synchronizedMethod.getEnclosingClass().getFactory(); InstructionList body = synchronized...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionList finallyBlock = new InstructionList(); finallyBlock.append(InstructionFactory.createLoad(Type.getType(java.lang.Class.class), slotForLockObject)); finallyBlock.append(InstructionConstants.MONITOREXIT); finallyBlock.append(InstructionConstants.ATHROW);
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionHandle walker = body.getStart(); List<InstructionHandle> rets = new ArrayList<InstructionHandle>(); while (walker != null) { if (walker.getInstruction().isReturnInstruction()) { rets.add(walker); } walker = walker.getNext(); } if (!rets.isEmpty()) { ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else if (targeter instanceof InstructionBranch) { targeter.updateTarget(element, monitorExitBlockStart); } else { throw new BCException("Unexpected targeter encountered during transform: " + targeter); } } } } InstructionHandle finallyStart = finallyBlock...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Type classType = BcelWorld.makeBcelType(synchronizedMethod.getEnclosingClass().getType()); Type clazzType = Type.getType(Class.class); InstructionList parttwo = new InstructionList(); parttwo.append(InstructionFactory.createDup(1)); int slotForThis = synchronizedMethod.allocateLocal(classType); part...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
parttwo.append(InstructionFactory.MONITORENTER); String fieldname = synchronizedMethod.getEnclosingClass().allocateField("class$"); FieldGen f = new FieldGen(Modifier.STATIC | Modifier.PRIVATE, Type.getType(Class.class), fieldname, synchronizedMethod.getEnclosingClass().getConstantPool()); synchronize...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
prepend.append(fact.createPutStatic(synchronizedMethod.getEnclosingClass().getType().getName(), fieldname, Type.getType(Class.class))); prepend.append(InstructionFactory.createBranchInstruction(Constants.GOTO, parttwo.getStart())); InstructionList catchBlockForLiteralLoadingFail = new InstructionList...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionList finallyBlock = new InstructionList(); finallyBlock.append(InstructionFactory.createLoad(Type.getType(java.lang.Class.class), slotForThis)); finallyBlock.append(InstructionConstants.MONITOREXIT); finallyBlock.append(InstructionConstants.ATHROW);
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionHandle walker = body.getStart(); List<InstructionHandle> rets = new ArrayList<InstructionHandle>(); while (walker != null) { if (walker.getInstruction().isReturnInstruction()) { rets.add(walker); } walker = walker.getNext(); } if (rets.size() > 0) { ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (targeter instanceof LocalVariableTag) { } else if (targeter instanceof LineNumberTag) { } else if (targeter instanceof InstructionBranch) { targeter.updateTarget(ret, monitorExitBlockStart); } else { throw n...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
synchronizedMethod.addExceptionHandler(tryPosition, catchPosition, finallyStart, null, false); synchronizedMethod.addExceptionHandler(tryInstruction, catchInstruction, catchBlockStart, (ObjectType) Type.getType(ClassNotFoundException.class), true); synchronizedMethod.addExceptionHandler(finallyStart, fina...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionList finallyBlock = new InstructionList(); finallyBlock.append(InstructionFactory.createLoad(classType, slotForThis)); finallyBlock.append(InstructionConstants.MONITOREXIT); finallyBlock.append(InstructionConstants.ATHROW); Instructi...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (Iterator<InstructionHandle> iter = rets.iterator(); iter.hasNext();) { InstructionHandle element = iter.next(); InstructionList monitorExitBlock = new InstructionList(); monitorExitBlock.append(InstructionFactory.createLoad(classType, slotForThis)); monitorExitBlock.append(Instructi...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
targeter.updateTarget(element, monitorExitBlockStart); } else { throw new BCException("Unexpected targeter encountered during transform: " + targeter); } } } } InstructionHandle finallyStart = finallyBlock.getStart(); InstructionHandle tryPosition = body.getStart(); Instructi...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* * @param donor the method from which we will copy (and adjust frame and jumps) instructions. * @param recipient the method the instructions will go into. Used to get the frame size so we can allocate new frame locations * for locals in donor. * @param frameEnv an environment to map from donor frame to...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
cpi.setIndex(recipientCpg.addConstant(donorCpg.getConstant(cpi.getIndex()), donorCpg)); } } if (src.getInstruction() == Range.RANGEINSTRUCTION) { dest = ret.append(Range.RANGEINSTRUCTION); } else if (fresh.isReturnInstruction()) { if (keepReturns) { dest = ret.append(fresh); } else { ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
dest = ret.append(fresh); } srcToDest.put(src, dest); } Map<Tag, Tag> tagMap = new HashMap<Tag, Tag>(); Map<BcelShadow, BcelShadow> shadowMap = new HashMap<BcelShadow, BcelShadow>(); for (InstructionHandle dest = ret.getStart(), src = sourceList.getStart(); dest != null; dest = dest.getNext(), src = sr...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Iterator<InstructionTargeter> tIter = src.getTargeters().iterator(); while (tIter.hasNext()) { InstructionTargeter old = tIter.next(); if (old instanceof Tag) { Tag oldTag = (Tag) old; Tag fresh = tagMap.get(oldTag); if (fresh == null) { fresh = oldTag.copy(); if (old instanceof Lo...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
freshEr.associateWithTargets(dest, srcToDest.get(er.getEnd()), srcToDest.get(er.getHandler())); } } else if (old instanceof ShadowRange) { ShadowRange oldRange = (ShadowRange) old; if (oldRange.getStart() == src) { BcelShadow oldShadow = oldRange.getShadow(); BcelShadow freshEnclosing = o...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/** * generate the argument stores in preparation for inlining. * * @param donor the method we will inline from. Used to get the signature. * @param recipient the method we will inline into. Used to get the frame size so we can allocate fresh locations. * @param frameEnv an empty environment we populate with...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
int donorFramePos = 0; if (!donor.isStatic()) { int targetSlot = recipient.allocateLocal(Type.OBJECT); ret.insert(InstructionFactory.createStore(Type.OBJECT, targetSlot)); frameEnv.put(donorFramePos, targetSlot); donorFramePos += 1; } Type[] argTypes = donor.getArgumentTypes(); for (int i = 0, le...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Collections.sort(addedLazyMethodGens, new Comparator<LazyMethodGen>() { public int compare(LazyMethodGen aa, LazyMethodGen bb) { int i = aa.getName().compareTo(bb.getName()); if (i != 0) { return i; } return aa.getSignature().compareTo(bb.getSignature()); } }); for (LazyMethodGen addedMem...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/** * Returns null if this is not a Java constructor, and then we won't weave into it at all */ private InstructionHandle findSuperOrThisCall(LazyMethodGen mg) { int depth = 1; InstructionHandle start = mg.getBody().getStart(); while (true) { if (start == null) { return null; } Instruction inst ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return matchInit(mg, shadowAccumulator); } else if (!shouldWeaveBody(mg)) { return false; } else { if (startsAngly && mg.getName().equals("<clinit>")) { enclosingShadow = BcelShadow.makeStaticInitialization(world, mg); } else if (mg.isAdviceMethod()) { enclosingShadow = BcelShadow.makeAdv...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } if (canMatchBodyShadows) { for (InstructionHandle h = mg.getBody().getStart(); h != null; h = h.getNext()) { match(mg, h, enclosingShadow, shadowAccumulator); } } if (canMatch(enclosingShadow.getKind()) && !(mg.getName().charAt(0) == 'a' && mg.getName().startsWith("ajc$interFie...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} boolean beforeSuperOrThisCall = true; if (shouldWeaveBody(mg)) { if (canMatchBodyShadows) { for (InstructionHandle h = mg.getBody().getStart(); h != null; h = h.getNext()) { if (h == superOrThisCall) { beforeSuperOrThisCall = false; continue; } match(mg, h, beforeSuperOrThisCa...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } InstructionList inits = genInitInstructions(addedThisInitializers, false); enclosingShadow.getRange().insert(inits, Range.OutsideBefore); } boolean addedInitialization = match(BcelShadow.makeUnfinishedInitialization(world, mg), initializationShadows); addedInitialization |= matc...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/** * first sorts the mungers, then gens the initializers in the right order */ private InstructionList genInitInstructions(List<ConcreteTypeMunger> list, boolean isStatic) { list = PartialOrder.sort(list); if (list == null) { throw new BCException("circularity in inter-types"); } InstructionList ret = ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
continue; } if (isInitFailureHandler(ih)) { return; } if (!ih.getInstruction().isStoreInstruction() && ih.getInstruction().getOpcode() != Constants.NOP) { mg.getBody().insert(ih, InstructionConstants.NOP); InstructionHandle ne...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} if ((i instanceof FieldInstruction) && (canMatch(Shadow.FieldGet) || canMatch(Shadow.FieldSet))) { FieldInstruction fi = (FieldInstruction) i; if (fi.opcode == Constants.PUTFIELD || fi.opcode == Constants.PUTSTATIC) { InstructionHandle prevHandle = ih.getPrev(); ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
matchSetInstruction(mg, ih, enclosingShadow, shadowAccumulator); } } } else { if (canMatch(Shadow.FieldGet)) { matchGetInstruction(mg, ih, enclosingShadow, shadowAccumulator); } } } else if (i instanceof InvokeInstruction) { InvokeInstruction ii = (InvokeInstruction) i; if (ii.getMet...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (i.opcode == Constants.ANEWARRAY) { BcelShadow ctorCallShadow = BcelShadow.makeArrayConstructorCall(world, mg, ih, enclosingShadow); match(ctorCallShadow, shadowAccumulator); } else if (i.opcode == Constants.NEWARRAY) { BcelShadow ctorCallShadow = BcelShadow.makeArrayConstr...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
BcelShadow monitorEntryShadow = BcelShadow.makeMonitorEnter(world, mg, ih, enclosingShadow); match(monitorEntryShadow, shadowAccumulator); } else { BcelShadow monitorExitShadow = BcelShadow.makeMonitorExit(world, mg, ih, enclosingShadow); match(monitorExitShadow, shadowAccumulator); } } } priv...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} ResolvedMember resolvedField = field.resolve(world); if (resolvedField == null) { return; } else if (Modifier.isFinal(resolvedField.getModifiers()) && Utility.isConstantPushInstruction(ih.getPrev().getInstruction())) { return; } else if (resolvedField.isSynthetic()) { return; } ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} ResolvedMember resolvedField = field.resolve(world); if (resolvedField == null) { return; } else if (resolvedField.isSynthetic()) { return; } else { BcelShadow bs = BcelShadow.makeFieldGet(world, resolvedField, mg, ih, enclosingShadow); String cname = fi.getClassName(cpg); if (!resolved...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} /** * Find the specified member in the specified type. * * @param type the type to search for the member * @param methodName the name of the method to find * @param params the method parameters that the discovered method should have */ private ResolvedMember findResolvedMemberNamed(ResolvedType type, S...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (int p = 0; p < candidateParams.length; p++) { if (!candidateParams[p].getErasureSignature().equals(params[p].getErasureSignature())) { allOK = false; break; } } if (allOK) { return candidate; } } } return null; } /** * For a given resolvedmember, this will discover...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ResolvedMember realthing = AjcMemberMaker.interMethodDispatcher(rm.resolve(world), memberHostType).resolve(world); ResolvedMember theRealMember = findResolvedMemberNamed(memberHostType.resolve(world), realthing.getName()); if (theRealMember != null) { pnames = theRealMember.getParameterNames(); ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (!containsKey) { if (rm.getKind() == Member.FIELD) { if (methodName.startsWith("ajc$inlineAccessField")) { realAnnotationHolder = world.resolve(rm); } else { ResolvedMember realthing = AjcMemberMaker.interFieldInitializer(rm, memberHostType); realAnnotationHolder = world.resolve(realt...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ResolvedType[] annotationTypes; AnnotationAJ[] annotations; if (realAnnotationHolder!=null) { annotationTypes = realAnnotationHolder.getAnnotationTypes(); annotations = realAnnotationHolder.getAnnotations(); if (annotationTypes==null) { annotationTypes = ResolvedType.EMPTY_ARRAY; } if (an...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ResolvedMember declaredSig = jpSig.resolve(world); if (declaredSig == null) { return; } if (declaredSig.getKind() == Member.FIELD) { Shadow.Kind kind; if (jpSig.getReturnType().equals(UnresolvedType.VOID)) { kind = Shadow.FieldSet; } else { kind = Shadow.FieldGet; } if (ca...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
shadowAccumulator); } } } else { if (canMatch(Shadow.MethodCall)) { boolean proceed = true; if (world.isOverWeaving()) { String s = invoke.getClassName(mg.getConstantPool()); if (s.length() > 4 && s.charAt(4) == 'a' && (s.equals("org.aspectj.runtime.internal.CFlowC...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private static boolean checkedXsetForLowLevelContextCapturing = false; private static boolean captureLowLevelContext = false; private boolean match(BcelShadow shadow, List<BcelShadow> shadowAccumulator) { if (captureLowLevelContext) { ContextToken shadowMatchToken = CompilationAndWeavingContext.enteringPhase(...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else { boolean isMatched = false; Shadow.Kind shadowKind = shadow.getKind(); List<ShadowMunger> candidateMungers = indexedShadowMungers[shadowKind.getKey()]; if (candidateMungers != null) { for (ShadowMunger munger : candidateMungers) { if (munger.match(shadow, world)) { shadow.addMunge...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (BcelShadow shadow : shadows) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.IMPLEMENTING_ON_SHADOW, shadow); shadow.implement(); CompilationAndWeavingContext.leavingPhase(tok); } mg.getMaxLocals(); mg.matchedShadows = null; } public LazyClass...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribut...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
import java.util.StringTokenizer; import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.ClassParser; import org.aspectj.apache.bcel.classfile.ConstantPool; import org.aspectj.apache.bcel.classfile.JavaClass; import org.aspectj.apache.bcel.generic.FieldInstruction; import org.aspectj.apache....
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
import org.aspectj.weaver.AnnotationOnTypeMunger; import org.aspectj.weaver.BCException; import org.aspectj.weaver.Checker; import org.aspectj.weaver.ICrossReferenceHandler; import org.aspectj.weaver.IWeavingSupport; import org.aspectj.weaver.Member; import org.aspectj.weaver.MemberImpl; import org.aspectj.weaver.Membe...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
private final ClassPathManager classPath; protected Repository delegate; private BcelWeakClassLoaderReference loaderRef; private final BcelWeavingSupport bcelWeavingSupport = new BcelWeavingSupport(); private boolean isXmlConfiguredWorld = false; private WeavingXmlConfig xmlConfiguration; private List<TypeDelegat...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
return IRelationship.Kind.ADVICE_AFTER; } else if (ak.getKey() == AdviceKind.AfterThrowing.getKey()) { return IRelationship.Kind.ADVICE_AFTERTHROWING; } else if (ak.getKey() == AdviceKind.AfterReturning.getKey()) { return IRelationship.Kind.ADVICE_AFTERRETURNING; } else if (ak.getKey() == AdviceKind.Around....
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
AsmRelationshipProvider.addAdvisedRelationship(getModelAsAsmManager(), shadow, munger); } } /* * Report a message about the advice weave that has occurred. Some messing about to make it pretty ! This code is just asking * for an NPE to occur ... */ private void reportWeavingMessage(ShadowMunger munger, Shado...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
advice.lastReportedMonitorExitJoinpointLocation = null; return; } advice.lastReportedMonitorExitJoinpointLocation = shadow.getSourceLocation(); } } String description = advice.getKind().toString(); String advisedType = shadow.getEnclosingType().getName(); String advisingType = advice.getCon...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
return locB == null; } if (locB == null) { return false; } if (locA.getLine() != locB.getLine()) { return false; } File fA = locA.getSourceFile(); File fB = locA.getSourceFile(); if (fA == null) { return fB == null; } if (fB == null) { return false; } return fA.getName().equals(fB.ge...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
} int binary = isl.getSourceFile().getPath().lastIndexOf('!'); if (binary != -1 && binary < takeFrom) { String pathToBinaryLoc = isl.getSourceFile().getPath().substring(0, binary + 1); if (pathToBinaryLoc.indexOf(".jar") != -1) { int lastSlash = pathToBinaryLoc.lastIndexOf('/'); if (l...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
} private static List<String> getPathEntries(String s) { List<String> ret = new ArrayList<String>(); StringTokenizer tok = new StringTokenizer(s, File.pathSeparator); while (tok.hasMoreTokens()) { ret.add(tok.nextToken()); } return ret; } public BcelWorld(List classPath, IMessageHandler handler, ICrossR...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
*/ public BcelWorld(ClassLoader loader, IMessageHandler handler, ICrossReferenceHandler xrefHandler) { classPath = null; loaderRef = new BcelWeakClassLoaderReference(loader); setMessageHandler(handler); setCrossReferenceHandler(xrefHandler); } public void ensureRepositorySetup() { if (delegate == nul...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
for (int i = 0, len = types.length; i < len; i++) { ret[i] = makeBcelType(types[i]); } return ret; } static String[] makeBcelTypesAsClassNames(UnresolvedType[] types) { String[] ret = new String[types.length]; for (int i = 0, len = types.length; i < len; i++) { ret[i] = types[i].getName(); } return ...