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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
return true;
}
return false;
}
private boolean doesAlreadyHaveAnnotation(LazyMethodGen rm, ResolvedMember itdfieldsig, DeclareAnnotation deca,
List reportedProblems) {
if (rm != null && rm.hasAnnotation(deca.getAnnotationTypeX())) {
if (world.getLint().elementAlreadyAnnotated.isEnabled()) {
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (aMunger instanceof BcelAdvice) {
BcelAdvice bAdvice = (BcelAdvice) aMunger;
if (bAdvice.getConcreteAspect() != null) {
aspectsAffectingType.add(bAdvice.getConcreteAspect().getName());
}
} else {
}
}
}
return aspectsAffectingType;
}
private boolean inlineSelfConstruc... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | BcelShadow s = (BcelShadow) i.next();
positionInitializationShadow(s);
s.implement();
}
}
private void positionInitializationShadow(BcelShadow s) {
LazyMethodGen mg = s.getEnclosingMethod();
InstructionHandle call = findSuperOrThisCall(mg);
InstructionList body = mg.getBody();
ShadowRange r = new ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | * @param donor the method we want to inline
* @param recipient the method containing the call we want to inline
* @param call the instructionHandle in recipient's body holding the call we want to inline.
*/
public static void inlineMethod(LazyMethodGen donor, LazyMethodGen recipient, InstructionHandle call) {
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
/**
* Input method is a synchronized method, we remove the bit flag for synchronized and then insert a try..finally block
*
* Some jumping through firey hoops required - depending on the input code level (1.5 or not) we may or may not be able to use
* the LDC instruction that takes a class literal (doesnt o... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | int slotForLockObject = synchronizedMethod.allocateLocal(enclosingClassType);
prepend.append(fact.createConstant(enclosingClassType));
prepend.append(InstructionFactory.createDup(1));
prepend.append(InstructionFactory.createStore(enclosingClassType, slotForLockObject));
prepend.append(InstructionFactory... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle walker = body.getStart();
List rets = new ArrayList();
while (walker != null) {
if (walker.getInstruction().isReturnInstruction()) {
rets.add(walker);
}
walker = walker.getNext();
}
if (!rets.isEmpty()) {
for (Iterator iter = rets.iterator();... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle monitorExitBlockStart = body.insert(element, monitorExitBlock);
InstructionTargeter[] targeters = element.getTargetersArray();
if (targeters != null) {
for (int i = 0; i < targeters.length; i++) {
InstructionTargeter targeter = targeters[i];
if... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle finallyStart = finallyBlock.getStart();
InstructionHandle tryPosition = body.getStart();
InstructionHandle catchPosition = body.getEnd();
body.insert(body.getStart(), prepend);
synchronizedMethod.getBody().append(finallyBlock);
synchronizedMethod.addExceptionHandler(tryPositi... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | 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... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | String name = synchronizedMethod.getEnclosingClass().getName();
prepend.append(fact.createGetStatic(name, fieldname, Type.getType(Class.class)));
prepend.append(InstructionFactory.createDup(1));
prepend.append(InstructionFactory.createBranchInstruction(Constants.IFNONNULL, parttwo.getStart()));
prepend.... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | 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); |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle walker = body.getStart();
List rets = new ArrayList();
while (walker != null) {
if (walker.getInstruction().isReturnInstruction()) {
rets.add(walker);
}
walker = walker.getNext();
}
if (rets.size() > 0) { |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | for (Iterator iter = rets.iterator(); iter.hasNext();) {
InstructionHandle element = (InstructionHandle) iter.next();
InstructionList monitorExitBlock = new InstructionList();
monitorExitBlock.append(InstructionFactory.createLoad(classType, slotForThis));
monitorExitBlock.append(In... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | 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 tr... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | prepend.append(InstructionFactory.createLoad(classType, 0));
prepend.append(InstructionFactory.createDup(1));
int slotForThis = synchronizedMethod.allocateLocal(classType);
prepend.append(InstructionFactory.createStore(classType, slotForThis));
prepend.append(InstructionFactory.MONITORENTER);
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle walker = body.getStart();
List rets = new ArrayList();
while (walker != null) {
if (walker.getInstruction().isReturnInstruction()) {
rets.add(walker);
}
walker = walker.getNext();
}
if (!rets.isEmpty()) {
for (Iterator iter = rets.iterator(); iter.hasNe... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle monitorExitBlockStart = body.insert(element, monitorExitBlock);
InstructionTargeter[] targeters = element.getTargetersArray();
if (targeters != null) {
for (int i = 0; i < targeters.length; i++) {
InstructionTargeter targeter = targeters[i];
if (target... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle finallyStart = finallyBlock.getStart();
InstructionHandle tryPosition = body.getStart();
InstructionHandle catchPosition = body.getEnd();
body.insert(body.getStart(), prepend);
synchronizedMethod.getBody().append(finallyBlock);
synchronizedMethod.addExceptionHandler(tryPosition, ca... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionFactory fact, boolean keepReturns) {
InstructionList footer = new InstructionList();
InstructionHandle end = footer.append(InstructionConstants.NOP);
InstructionList ret = new InstructionList();
InstructionList sourceList = donor.getBody();
Map srcToDest = new HashMap();
ConstantPool donorCpg = d... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } else {
dest = ret.append(InstructionFactory.createBranchInstruction(Constants.GOTO, end));
}
} else if (fresh instanceof InstructionBranch) {
dest = ret.append((InstructionBranch) fresh);
} else if (fresh.isLocalVariableInstruction() || fresh instanceof RET) {
int oldIndex = fresh.getIndex... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | .getNext()) {
Instruction inst = dest.getInstruction();
if (inst instanceof InstructionBranch) {
InstructionBranch branch = (InstructionBranch) inst;
InstructionHandle oldTarget = branch.getTarget();
InstructionHandle newTarget = (InstructionHandle) srcToDest.get(oldTarget);
if (newTarget == n... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (old instanceof LocalVariableTag) {
LocalVariableTag lvTag = (LocalVariableTag) old;
LocalVariableTag lvTagFresh = (LocalVariableTag) fresh;
if (lvTag.getSlot() == 0) {
fresh = new LocalVariableTag(lvTag.getRealType().getSignature(), "ajc$aspectInstance", frameEnv
.get(... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | .get(oldShadow.getEnclosingShadow());
BcelShadow freshShadow = oldShadow.copyInto(recipient, freshEnclosing);
ShadowRange freshRange = new ShadowRange(recipient.getBody());
freshRange.associateWithShadow(freshShadow);
freshRange.associateWithTargets(dest, (InstructionHandle) srcToDest.get(oldRan... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
} |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | k,
}
}
}
}
} |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
} |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | 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 env... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | Type[] argTypes = donor.getArgumentTypes();
for (int i = 0, len = argTypes.length; i < len; i++) {
Type argType = argTypes[i];
int argSlot = recipient.allocateLocal(argType);
ret.insert(InstructionFactory.createStore(argType, argSlot));
frameEnv.put(donorFramePos, argSlot);
donorFramePos += argType.get... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
});
for (Iterator i = addedLazyMethodGens.iterator(); i.hasNext();) {
clazz.addMethodGen((LazyMethodGen) i.next());
}
}
}
/**
* Returns null if this is not a Java constructor, and then we won't weave into it at all
*/
private InstructionHandle findSuperOrThisCall(Lazy... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (start == null)
return null;
Instruction inst = start.getInstruction();
if (inst.opcode == Constants.INVOKESPECIAL && ((InvokeInstruction) inst).getName(cpg).equals("<init>")) {
depth--;
if (depth == 0)
return start;
} else if (inst.opcode == Constants.NEW) {
depth++;
}
start = st... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } else {
AjAttribute.EffectiveSignatureAttribute effective = mg.getEffectiveSignature();
if (effective == null) {
enclosingShadow = BcelShadow.makeMethodExecution(world, mg, !canMatchBodyShadows);
} else if (effective.isWeaveBody()) {
ResolvedMember rm = effective.getEffectiveSignature();
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
mg.matchedShadows = shadowAccumulator;
return !shadowAccumulator.isEmpty();
}
}
private boolean matchInit(LazyMethodGen mg, List shadowAccumulator) {
BcelShadow enclosingShadow;
InstructionHandle superOrThisCall = findSuperOrThisCall(mg);
if (superOrThisCall == null)
return false;
enclosing... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
if (!isThisCall(superOrThisCall)) {
InstructionHandle curr = enclosingShadow.getRange().getStart();
for (Iterator i = addedSuperInitializersAsList.iterator(); i.hasNext();) {
IfaceInitList l = (IfaceInitList) i.next();
Member ifaceInitSig = AjcMemberMaker.interfaceConstructor(l.onType);
Bcel... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
private boolean shouldWeaveBody(LazyMethodGen mg) {
if (mg.isBridgeMethod())
return false;
if (mg.isAjSynthetic())
return mg.getName().equals("<clinit>");
AjAttribute.EffectiveSignatureAttribute a = mg.getEffectiveSignature();
if (a != null)
return a.isWeaveBody();
return true;
}
/**
* first s... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private void match(LazyMethodGen mg, InstructionHandle ih, BcelShadow enclosingShadow, List shadowAccumulator) {
Instruction i = ih.getInstruction();
if (canMatch(Shadow.ExceptionHandler) && !Range.isRangeHandle(ih)) {
InstructionTargeter[] targeters = ih.getTargetersArray();
if (targeters != null) {
f... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | er.updateTarget(ih, newNOP, mg.getBody());
for (int ii = 0; ii < targeters.length; ii++) {
newNOP.addTargeter(targeters[ii]);
}
ih.removeAllTargeters();
match(BcelShadow.makeExceptionHandler(world, er, mg, newNOP, enclosingShadow), shadowAccumulator);
} else {
match(Bcel... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | ResolvedMember resolvedField = field.resolve(world);
if (resolvedField == null) {
} else if (Modifier.isFinal(resolvedField.getModifiers())) {
} else {
if (canMatch(Shadow.FieldSet))
matchSetInstruction(mg, ih, enclosingShadow, shadowAccumulator);
}
} els... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
} else {
matchInvokeInstruction(mg, ih, ii, enclosingShadow, shadowAccumulator);
}
} else if (world.isJoinpointArrayConstructionEnabled() && i.isArrayCreationInstruction()) {
if (canMatch(Shadow.ConstructorCall)) {
boolean debug = false;
if (debug)
System.err.println("Found new array instr... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | BcelShadow ctorCallShadow = BcelShadow.makeArrayConstructorCall(world, mg, ih, enclosingShadow);
match(ctorCallShadow, shadowAccumulator);
}
}
} else if (world.isJoinpointSynchronizationEnabled()
&& ((i.getOpcode() == Constants.MONITORENTER) || (i.getOpcode() == Con... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle twoInstructionsAway = ih.getNext().getNext();
if (twoInstructionsAway.getInstruction().opcode == Constants.PUTSTATIC) {
String name = ((FieldInstruction) twoInstructionsAway.getInstruction()).getFieldName(cpg);
if (name.equals(NameMangler.INITFAILURECAUSE_FIELD_NAME))
return true;
}
re... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | String cname = fi.getClassName(cpg);
if (!resolvedField.getDeclaringType().getName().equals(cname)) {
bs.setActualTargetType(cname);
}
match(bs, shadowAccumulator);
}
}
private void matchGetInstruction(LazyMethodGen mg, InstructionHandle ih, BcelShadow enclosingShadow, List shadowAccumulator) {
Field... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | * For some named resolved type, this method looks for a member with a particular name - it should only be used when you truly
* believe there is only one member with that name in the type as it returns the first one it finds.
*/
private ResolvedMember findResolvedMemberNamed(ResolvedType type, String methodName) {... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | ResolvedMember theRealMember = findResolvedMemberNamed(memberHostType.resolve(world), realthing.getName());
if (theRealMember != null) {
pnames = theRealMember.getParameterNames();
if (pnames.length > 0 && pnames[0].equals("ajc$this_")) {
String[] pnames2 = new String[pnames.length - 1];
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (rm.getKind() == Member.FIELD) {
if (methodName.startsWith("ajc$inlineAccessField")) {
ResolvedMember resolvedDooberry = world.resolve(rm);
annotations = resolvedDooberry.getAnnotationTypes();
} else {
ResolvedMember realthing = AjcMemberMaker.interFieldInitializer(rm, memberHostType);
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (resolvedDooberry == null) {
throw new UnsupportedOperationException(
"Known limitation in M4 - can't find ITD members when type variable is used as an argument and has upper bound specified");
}
annotations = resolvedDooberry.getAnnotationTypes();
}
if (annotations == null)
anno... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | Shadow.Kind kind;
if (jpSig.getReturnType().equals(ResolvedType.VOID)) {
kind = Shadow.FieldSet;
} else {
kind = Shadow.FieldGet;
}
if (canMatch(Shadow.FieldGet) || canMatch(Shadow.FieldSet))
match(BcelShadow.makeShadowForMethodCall(world, mg, ih, enclosingShadow, kind, declaredSig), shad... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private static boolean checkedXsetForLowLevelContextCapturing = false;
private static boolean captureLowLevelContext = false;
private boolean match(BcelShadow shadow, List shadowAccumulator) {
if (captureLowLevelContext) {
ContextToken shadowMatchToken = CompilationAndWeavingContext.enteringPhase... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | int max = shadowMungers.size();
for (int i = 0; i < max; i++) {
ShadowMunger munger = (ShadowMunger) shadowMungers.get(i);
if (munger.match(shadow, world)) {
shadow.addMunger(munger);
isMatched = true;
if (shadow.getKind() == Shadow.StaticInitialization) {
clazz.warnOnAddedStaticInitiali... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | shadow.implement();
CompilationAndWeavingContext.leavingPhase(tok);
}
mg.getMaxLocals();
mg.matchedShadows = null;
}
public LazyClassGen getLazyClassGen() {
return clazz;
}
public List getShadowMungers() {
return shadowMungers;
}
public BcelWorld getWorld() {
return world;
}
public stati... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.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 distri... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.apache.bcel.Constants;
import org.aspectj.apache.bcel.classfile.ConstantPool;
import org.aspectj.apache.bcel.classfile.Signature;
import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen;
import org.aspectj.apache.bcel.generic.FieldGen;
import org.aspectj.apache.bcel.generic.InstructionBranc... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.weaver.NewParentTypeMunger;
import org.aspectj.weaver.PerObjectInterfaceTypeMunger;
import org.aspectj.weaver.PrivilegedAccessMunger;
import org.aspectj.weaver.ResolvedMember;
import org.aspectj.weaver.ResolvedMemberImpl;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.ResolvedTypeM... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (munger.getKind() == ResolvedTypeMunger.Field) {
changed = mungeNewField(weaver, (NewFieldTypeMunger) munger);
} else if (munger.getKind() == ResolvedTypeMunger.Method) {
changed = mungeNewMethod(weaver, (NewMethodTypeMunger) munger);
} else if (munger.getKind() == ResolvedTypeMunger.MethodDelegate2) {
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | info.addConcreteMunger(this);
}
if (changed && worthReporting) {
AsmRelationshipProvider.getDefault().addRelationship(((BcelWorld) getWorld()).getModelAsAsmManager(),
weaver.getLazyClassGen().getType(), munger, getAspectType());
}
if (changed && worthReporting && munger != null && !weaver.getWorld().... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | fName }));
}
} else if (munger.getKind().equals(ResolvedTypeMunger.FieldHost)) {
} else {
ResolvedMember declaredSig = munger.getSignature();
weaver.getWorld().getMessageHandler().handleMessage(
WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ITD, new S... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | weaver.getLazyClassGen().addAnnotation(((BcelAnnotation) munger.getNewAnnotation()).getBcelAnnotation());
return true;
}
/**
* For a long time, AspectJ did not allow binary weaving of declare parents. This restriction is now lifted but could do with
* more testing!
*/
private boolean mungeNewParent(BcelClass... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (!(subMethod.isStatic() && subMethod.getName().startsWith("access$"))) {
cont = enforceDecpRule3_visibilityChanges(weaver, newParent, superMethod, subMethod) && cont;
cont = enforceDecpRule4_compatibleReturnTypes(weaver, superMethod, subMethod) && cont;
cont = enforceDecpRule5_cantChang... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean ruleCheckingSucceeded = true;
if (!(newParentTarget.isAbstract() || newParentTarget.isInterface())) {
List methods = newParent.getMethodsWithoutIterator(false, true);
for (Iterator i = methods.iterator(); i.hasNext();) {
ResolvedMember o = (ResolvedMember) i.next();
if (o.isAbst... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | for (Iterator ii = newParentTarget.getType().getInterTypeMungersIncludingSupers().iterator(); ii.hasNext();) {
ConcreteTypeMunger m = (ConcreteTypeMunger) ii.next();
if (m.getMunger() != null && m.getMunger().getKind() == ResolvedTypeMunger.Method) {
ResolvedMember sig = m.getSignature();
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | error(weaver, "The type " + newParentTarget.getName()
+ " must implement the inherited abstract method " + o.getDeclaringType() + "." + o.getName()
+ o.getParameterSignature(), newParentTarget.getType().getSourceLocation(),
new ISourceLocation[] { o.getSourceLocation(), mungerLoc });
r... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (superMethod.isPublic()) {
if (subMethod.isProtected() || subMethod.isDefault() || subMethod.isPrivate()) {
weaver.getWorld().getMessageHandler().handleMessage(
MessageUtil.error("Cannot reduce the visibility of the inherited method '" + superMethod + "' from "
+ newParent.getName(), superMethod... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | String superReturnTypeSig = superMethod.getGenericReturnType().getSignature();
String subReturnTypeSig = subMethod.getGenericReturnTypeSignature();
superReturnTypeSig = superReturnTypeSig.replace('.', '/');
subReturnTypeSig = subReturnTypeSig.replace('.', '/');
if (!superReturnTypeSig.equals(subReturnTypeSig))... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | error(weaver, "This instance method " + subMethod.getName() + subMethod.getParameterSignature()
+ " cannot override the static method from " + superMethod.getDeclaringType().getName(), subMethod
.getSourceLocation(), new ISourceLocation[] { mungerLoc });
return false;
} else if (!superMethod.isStatic() &... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
/**
* The main part of implementing declare parents extends. Modify super ctor calls to target the new type.
*/
public boolean attemptToModifySuperCalls(BcelClassWeaver weaver, LazyClassGen newParentTarget, ResolvedType newParent) {
String currentParent = newParentTarget.getSuperClass().getName();
if (newPa... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean satisfiedByITDC = false;
for (Iterator ii = newParentTarget.getType().getInterTypeMungersIncludingSupers().iterator(); ii
.hasNext()
&& !satisfiedByITDC;) {
ConcreteTypeMunger m = (ConcreteTypeMunger) ii.next();
if (m.getMunger() instanceof NewConstructorTypeMunger)... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | return true;
}
/**
* Creates a nice signature for the ctor, something like "(int,Integer,String)"
*/
private String createReadableCtorSig(ResolvedType newParent, ConstantPool cpg, InvokeInstruction invokeSpecial) {
StringBuffer sb = new StringBuffer();
Type[] ctorArgs = invokeSpecial.getArgumentTypes(cpg);
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
return null;
}
private boolean mungePrivilegedAccess(BcelClassWeaver weaver, PrivilegedAccessMunger munger) {
LazyClassGen gen = weaver.getLazyClassGen();
ResolvedMember member = munger.getMember();
ResolvedType onType = weaver.getWorld().resolve(member.getDeclaringType(), munger.getSourceLocation());
if ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | } else if (member.getKind() == Member.STATIC_INITIALIZATION) {
gen.forcePublic();
return true;
} else {
throw new RuntimeException("unimplemented");
}
}
return false;
}
private void addFieldGetter(LazyClassGen gen, ResolvedMember field, ResolvedMember accessMethod) {
LazyMethodGen mg = makeMet... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type fieldType = BcelWorld.makeBcelType(field.getType());
if (field.isStatic()) {
il.append(InstructionFactory.createLoad(fieldType, 0));
il.append(fact.createFieldAccess(gen.getClassName(), field.getName(), fieldType, Constants.PUTSTATIC));
} else {
il.append(InstructionConstants.ALOAD_0);
il.append(In... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(method.getReturnType())));
mg.getBody().insert(il);
gen.addMethodGen(mg);
}
protected LazyMethodGen makeMethodGen(LazyClassGen gen, ResolvedMember member) {
LazyMethodGen ret = new LazyMethodGen(member.getModifiers(), BcelWorld.makeBcelType(member... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(InstructionFactory.createReturn(fieldType));
mg.getBody().insert(il);
gen.addMethodGen(mg);
LazyMethodGen mg1 = new LazyMethodGen(Modifier.PUBLIC, Type.VOID, NameMangler.perObjectInterfaceSet(aspectType),
new Type[] { fieldType, }, new String[0], gen);
InstructionList il1 = new InstructionList(... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type fieldType = BcelWorld.makeBcelType(aspectType);
LazyMethodGen mg = new LazyMethodGen(Modifier.PUBLIC | Modifier.STATIC, fieldType, NameMangler
.perTypeWithinLocalAspectOf(aspectType), new Type[0], new String[0], gen);
InstructionList il = new InstructionList();
InstructionFactory fact = gen.getFact... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedType onType = weaver.getWorld().resolve(unMangledInterMethod.getDeclaringType(), munger.getSourceLocation());
LazyClassGen gen = weaver.getLazyClassGen();
boolean mungingInterface = gen.isInterface();
if (onType.isRawType())
onType = onType.getGenericType();
boolean onInterface = onType.isInterface()... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | newMethod.setAccessFlags(Modifier.PUBLIC | Modifier.ABSTRACT);
}
if (weaver.getWorld().isInJava5Mode()) {
AnnotationAJ annotationsOnRealMember[] = null;
ResolvedType toLookOn = aspectType;
if (aspectType.isRawType())
toLookOn = aspectType.getGenericType();
ResolvedMember realMembe... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (annosOnParam != null && annosOnParam.length > 0) {
for (int j = 0; j < annosOnParam.length; j++) {
newMethod.addParameterAnnotation(param, annosOnParam[j]);
}
}
param++;
}
}
List allDecams = weaver.getWorld().getDeclareAnnotationOnMethods();
for (Ite... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes());
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
pos += paramType.getSize();
}
body.append(Utility.createInv... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | addNeededSuperCallMethods(weaver, onType, munger.getSuperMethodsCalled());
return true;
} else if (onInterface && !Modifier.isAbstract(unMangledInterMethod.getModifiers())) {
if (!gen.getType().isTopmostImplementor(onType)) {
ResolvedType rtx = gen.getType().getTopmostImplementor(onType);
if... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (realMember == null)
throw new BCException("Couldn't find ITD holder member '" + memberHoldingAnyAnnotations + "' on aspect "
+ aspectType);
annotationsOnRealMember = realMember.getAnnotations();
if (annotationsOnRealMember != null) {
for (int i = 0; i < annotationsOnRealMember.length; ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.setAccessFlags(Modifier.PUBLIC | Modifier.ABSTRACT);
}
Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes());
Type returnType = BcelWorld.makeBcelType(mangledInterMethod.getReturnType());
InstructionList body = mg.getBody();
InstructionFactory fact = gen.getFactory()... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.addAttribute(createSignatureAttribute(gen.getConstantPool(), genericSignature));
}
}
weaver.addOrReplaceLazyMethodGen(mg);
addNeededSuperCallMethods(weaver, onType, munger.getSuperMethodsCalled());
if (munger.getDeclaredSignature() != null) {
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | LazyMethodGen bridgeMethod = makeMethodGen(gen, bridgingSetter);
paramTypes = BcelWorld.makeBcelTypes(bridgingSetter.getParameterTypes());
Type[] bridgingToParms = BcelWorld.makeBcelTypes(unMangledInterMethod.getParameterTypes());
returnType = BcelWorld.makeBcelType(bridgingSetter.getReturnType());
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
return true;
}
} else {
return false;
}
}
/**
* Helper method to create a signature attribute based on a string signature: e.g. "Ljava/lang/Object;LI<Ljava/lang/Double;>;"
*/
private Signature createSignatureAttribute(ConstantPool cp, String signature) {
int nameIndex = cp.addUtf8("Signat... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean quitRightNow = false;
String localMethodName = unMangledInterMethod.getName();
String localParameterSig = unMangledInterMethod.getParameterSignature();
String localReturnTypeESig = unMangledInterMethod.getReturnType().getErasureSignature();
boolean alreadyDone = false;
ResolvedMember[] localMethod... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | createBridgeMethod(weaver.getWorld(), munger, unMangledInterMethod, gen, paramTypes, aMethod);
quitRightNow = true;
}
}
}
}
}
/**
* Create a bridge method for a particular munger.
*
* @param world
* @param munger
* @param unMangledInterMethod the method to bridge 'to' that we have alrea... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | bridgeMethod.setAccessFlags(bridgeMethod.getAccessFlags() | 0x00000040 /*
* BRIDGE = 0x00000040
*/);
Type returnType = BcelWorld.makeBcelType(theBridgeMethod.getReturnType());
body = bridgeMethod.getBody();
fact = clazz.getFactory();
if (!unMangledInterMethod.isSt... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | pos += paramType.getSize();
}
body.append(Utility.createInvoke(fact, world, unMangledInterMethod));
body.append(InstructionFactory.createReturn(returnType));
clazz.addMethodGen(bridgeMethod);
}
private String stringifyMember(ResolvedMember member) {
StringBuffer buf = new StringBuffer();
buf.append(memb... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember introduced = munger.getSignature();
LazyClassGen gen = weaver.getLazyClassGen();
ResolvedType fromType = weaver.getWorld().resolve(introduced.getDeclaringType(), munger.getSourceLocation());
if (fromType.isRawType())
fromType = fromType.getGenericType();
if (gen.getType().isAnnotation() || gen... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | + "' does not implement the method '" + stringifyMember(introduced) + "' defined on the interface '"
+ introduced.getDeclaringType() + "'", weaver.getLazyClassGen().getType().getSourceLocation(), true,
new ISourceLocation[] { munger.getSourceLocation() });
weaver.getWorld().getMessageHandler().handle... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.addAnnotation(new BcelAnnotation(ag, weaver.getWorld()));
}
}
}
InstructionList body = new InstructionList();
InstructionFactory fact = gen.getFactory();
body.append(InstructionConstants.ALOAD_0);
body.append(Utility.createGet(fact, munger.getDelegate(weaver.getLazyClassGen().getType())))... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
pos += paramType.getSize();
}
body.append(Utility.createInvoke(fact, Constants.INVOKEINTERFACE, introduced));
body.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(introduced.getReturnType())));
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | World world = aspectType.getWorld();
boolean debug = false;
if (debug) {
System.err.println("Searching for a member on type: " + aspectType);
System.err.println("Member we are looking for: " + lookingFor);
}
ResolvedMember aspectMethods[] = aspectType.getDeclaredMethods();
UnresolvedType[] lookingForPar... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (pLookingFor.isTypeVariableReference())
pLookingFor = ((TypeVariableReference) pLookingFor).getTypeVariable().getFirstBound()
.resolve(world);
if (pLookingFor.isParameterizedType() || pLookingFor.isGenericType())
pLookingFor = pLookingFor.getRawType().resolve(world);
if (debug... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | String dispatchName;
if (isSuper)
dispatchName = NameMangler.superDispatchMethod(onType, superMethod.getName());
else
dispatchName = NameMangler.protectedDispatchMethod(onType, superMethod.getName());
superMethod = superMethod.resolve(weaver.getWorld());
LazyMethodGen dispatcher = makeDispatch... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (!onType.equals(currentClass.getType()))
return false;
ResolvedMember explicitConstructor = newConstructorTypeMunger.getExplicitConstructor();
LazyMethodGen mg = makeMethodGen(currentClass, newConstructorMember);
mg.setEffectiveSignature(newConstructorTypeMunger.getSignature(), Shadow.ConstructorExecu... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | List allDecams = weaver.getWorld().getDeclareAnnotationOnMethods();
for (Iterator i = allDecams.iterator(); i.hasNext();) {
DeclareAnnotation decaMC = (DeclareAnnotation) i.next();
if (decaMC.matches(explicitConstructor, weaver.getWorld()) && mg.getEnclosingClass().getType() == aspectType) {
mg.addAnnot... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | UnresolvedType[] superParamTypes = explicitConstructor.getParameterTypes();
for (int i = 0, len = superParamTypes.length; i < len; i++) {
body.append(InstructionFactory.createLoad(Type.OBJECT, arraySlot));
body.append(Utility.createConstant(fact, i));
body.append(InstructionFactory.createArrayLoad(Type.OBJEC... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | int modifiers = Modifier.PUBLIC;
if (onGen.isInterface())
modifiers |= Modifier.ABSTRACT;
LazyMethodGen mg = new LazyMethodGen(modifiers, returnType, dispatchName, paramTypes, UnresolvedType.getNames(superMethod
.getExceptions()), onGen);
InstructionList body = mg.getBody();
if (onGen.isInterface())
r... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedType onType = weaver.getWorld().resolve(field.getDeclaringType(), munger.getSourceLocation());
if (onType.isRawType())
onType = onType.getGenericType();
boolean onInterface = onType.isInterface();
if (onType.isAnnotation()) {
signalError(WeaverMessages.ITDF_ON_ANNOTATION_NOT_ALLOWED, weaver, onType)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.