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
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
* * @param s The shadow around which these instructions will eventually live. * @param extraArgVar The var that will hold the return value or thrown exception * for afterX advice * @param ifNoAdvice The instructionHandle to jump to if the dynamic * tests for this munger fails. */ InstructionList g...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
ifNoAdvice, null)); } } il.append(getAdviceArgSetup(shadow, extraArgVar, null)); il.append(getNonTestAdviceInstructions(shadow)); InstructionHandle ifYesAdvice = il.getStart(); il.insert(getTestInstructions(shadow, ifYesAdvice, ifNoAdvice, i...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
if (!isAnnotationStyleAspect) { ; } else { if ("Lorg/aspectj/lang/ProceedingJoinPoint;".equals(getSignature().getParameterTypes()[i].getSignature())) { ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} else if ("Lorg/aspectj/lang/JoinPoint$StaticPart;".equals(getSignature().getParameterTypes()[i].getSignature())) { previousIsClosure = false; if ((getExtraParameterFlags() & ThisJoinPointStaticPart) != 0) { shadow.getThisJoinPointStaticPartBcelVar(...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
); il.append(InstructionConstants.ACONST_NULL); } } } else { UnresolvedType desiredTy = getBindingParameterTypes()[i]; v.appendLoadAndConvert(il, fact, desiredTy.resolve(world)); } ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
if ((getExtraParameterFlags() & ThisEnclosingJoinPointStaticPart) != 0) { shadow.getThisEnclosingJoinPointStaticPartBcelVar().appendLoad(il, fact); } } return il; } public InstructionList getNonTestAdviceInstructions(BcelShadow shadow) { return new Instru...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
pointcutTest, sk, fk, next); } public int compareTo(Object other) { if (!(other instanceof BcelAdvice)) return 0; BcelAdvice o = (BcelAdvice)other; if (kind.getPrecedence() != o.kind.getPrecedence()) { if (kind.getPrecedence() > o.kind.getPrecedence()) return +1; else return -1; } if...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
int ret = concreteAspect.getWorld().compareByPrecedence( concreteAspect, o.concreteAspect); if (ret != 0) return ret; ResolvedType declaringAspect = getDeclaringAspect().resolve(world); ResolvedType o_declaringAspect = o.getDeclaringAspect().resolve(world); if (declaringAspect == o_declar...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} if (exposedState == null) return BcelVar.NONE; int len = exposedState.vars.length; BcelVar[] ret = new BcelVar[len]; for (int i=0; i < len; i++) { ret[i] = (BcelVar)exposedState.vars[i]; } return ret; } public boolean hasMatchedSomething() { return hasMatchedAtLeastOnce; } protected void su...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.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 Common Public License v1.0 * which accompanies this distributi...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
import org.aspectj.apache.bcel.classfile.Field; import org.aspectj.apache.bcel.generic.ACONST_NULL; import org.aspectj.apache.bcel.generic.ALOAD; import org.aspectj.apache.bcel.generic.ANEWARRAY; import org.aspectj.apache.bcel.generic.ArrayType; import org.aspectj.apache.bcel.generic.BranchInstruction; import org.aspec...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
import org.aspectj.bridge.ISourceLocation; import org.aspectj.weaver.Advice; import org.aspectj.weaver.AdviceKind; import org.aspectj.weaver.AjcMemberMaker; import org.aspectj.weaver.BCException; import org.aspectj.weaver.IntMap; import org.aspectj.weaver.Member; import org.aspectj.weaver.MemberImpl; import org.aspectj...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* consideration, not ours. This object will NOT be cached in another * local, but will always come from frame zero. * * * non-expressionKind advice is execution advice * * may have a this. * * target is same as this, and is exposed that way to advice * (i.e., target will not be cache...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* * * ConstructorCalls will be weirder than all of these, since they * supposedly don't have a target (according to AspectJ), but they clearly * do have a target of sorts, just one that needs to be pushed on the stack, * dupped, and not touched otherwise until the constructor runs. * * @author...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelWorld world, Kind kind, Member signature, LazyMethodGen enclosingMethod, BcelShadow enclosingShadow) { super(kind, signature, enclosingShadow); this.world = world; this.enclosingMethod = enclosingMethod; } public BcelShadow copyInto(LazyMethodGen recipient, BcelShadow enclosing) { BcelShadow s...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Instruction inst = ih.getInstruction(); if (inst instanceof INVOKESPECIAL && ((INVOKESPECIAL) inst).getName(cpg).equals("<init>")) { depth++; } else if (inst instanceof NEW) { depth--; if (depth == 0) break; } ih = ih.getPrev(); } InstructionHandle newHandle = ih; InstructionHa...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
retargetFrom(dupHandle, nextHandle); retargetFrom(endHandle, nextHandle); } else { endHandle = newHandle; nextHandle = endHandle.getNext(); retargetFrom(newHandle, nextHandle); getRange().insert(InstructionConstants.POP, Range.OutsideAfter); } try { range.getBody().delete(newHandle, e...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} private List badAdvice = null; public void addAdvicePreventingLazyTjp(BcelAdvice advice) { if (badAdvice == null) badAdvice = new ArrayList(); badAdvice.add(advice); } protected void prepareForMungers() { if (getKind() == ConstructorCall) { deleteNewAndDup(); ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList body = range.getBody(); InstructionHandle start = range.getStart(); argVars = new BcelVar[1]; UnresolvedType tx = getArgType(0); argVars[0] = genTempVar(tx, "ajc$arg0"); InstructionHandle insertedInstruction = range.insert(a...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
munger.specializeOn(this); } initializeThisJoinPoint(); if (thisJoinPointVar!=null && !isThisJoinPointLazy && badAdvice!=null && badAdvice.size()>1) { int valid = 0; for (Iterator iter = badAdvice.iterator(); iter.hasNext();) { BcelAdvice element = (BcelAdvice) iter.next(); ISourceLoc...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionFactory fact = getFactory(); if (getKind().argsOnStack() && argVars != null) { if (getKind() == ExceptionHandler && range.getEnd().getNext().getInstruction().equals(InstructionConstants.POP)) { range.getEnd().getNext().setInstruction(InstructionConstants.NOP); }...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (targetVar != null) { range.insert( BcelRenderer.renderExpr(fact, world, targetVar), Range.InsideBefore); } if (getKind() == ConstructorCall) { range.insert((Instruction) InstructionFactory.createDup(1), Range.InsideBefore); range.insert( fact.createNew( (ObjectType) BcelWo...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
(kind == ConstructorExecution) || (kind == AdviceExecution) || (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) { if (getEnclosingMethod().hasDeclaredLineNumberInfo()) { return getEnclosingMethod().getDeclarationLineNumber(); } } ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return world; } public static BcelShadow makeConstructorExecution( BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle justBeforeStart) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = new BcelShadow( world, ConstructorExecution, ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionHandle clinitStart = body.getStart(); if (clinitStart.getInstruction() instanceof InvokeInstruction) { InvokeInstruction ii = (InvokeInstruction)clinitStart.getInstruction(); if (ii .getName(enclosingMethod.getEnclosingClass().getConstantPoolGen()) .equals(NameMangler.AJC_PRE_CLIN...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} /** Make the shadow for an exception handler. Currently makes an empty shadow that * only allows before advice to be woven into it. */ public static BcelShadow makeExceptionHandler( BcelWorld world, ExceptionRange exceptionRange, LazyMethodGen enclosingMethod, InstructionHandle startOfHandler, B...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
r.associateWithTargets(start, end); exceptionRange.updateTarget(startOfHandler, start, body); return s; } private static String findHandlerParamName(InstructionHandle startOfHandler) { if (startOfHandler.getInstruction() instanceof StoreInstruction && startOfHandler.getNext() != null) { ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public static BcelShadow makeIfaceInitialization( BcelWorld world, LazyMethodGen constructor, Member interfaceConstructorSignature) { constructor.getBody(); BcelShadow s = new BcelShadow( world, Initialization, interfaceConstructorSigna...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
{ } /** Create an initialization join point associated with a constructor, but not * with any body of code yet. If this is actually matched, it's range will be set * when we inline self constructors. * * @param constructor The constructor starting this initialization. */ public st...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
{ BcelShadow ret = new BcelShadow( world, PreInitialization, world.makeJoinPointSignature(constructor), constructor, null); if (constructor.getEffectiveSignature() != null) { ret.setMatchingSignature(constructor.getEffectiveSignature().getEffectiveSignature()); } return ret; } public st...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public void init() { if (range != null) return; final InstructionList body = enclosingMethod.getBody(); ShadowRange r = new ShadowRange(body); r.associateWithShadow(this); r.associateWithTargets( Range.genStart(body), Range.genEnd(body)); } public static BcelShadow makeMethodExecution( ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
kind, sig, enclosingMethod, null); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body), Range.genEnd(body)); return s; } public...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public static BcelShadow makeConstructorCall( BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle callHandle, BcelShadow enclosingShadow) { final InstructionList body = enclosingMethod.getBody(); Member sig = world.makeJoinPointSignatureForMet...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public static BcelShadow makeMethodCall( BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle callHandle, BcelShadow enclosingShadow) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = new BcelShadow( ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelShadow enclosingShadow, Kind kind, ResolvedMember sig) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = new BcelShadow( world, kind, sig, enclosingMethod, enclosingShadow); ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
new BcelShadow( world, FieldGet, field, enclosingMethod, enclosingShadow); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body, getHandle), ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
enclosingShadow); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body, setHandle), Range.genEnd(body, setHandle)); retargetAllBranches(setHandle, r.getStart()); return s; } p...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
/** * Is arg0 occupied with the value of this */ public boolean arg0HoldsThis() { if (getKind().isEnclosingKind()) { return !getSignature().isStatic(); } else if (enclosingShadow == null) { return !enclosingMethod.isStatic(); } else { return ((BcelShadow)enclosingS...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return thisVar; } public Var getThisAnnotationVar(UnresolvedType forAnnotationType) { if (!hasThis()) { throw new IllegalStateException("no this"); } initializeThisAnnotationVars(); Var v = (Var) thisAnnotationVars.get(forAnnotationType); if (v==null) ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public Var getArgVar(int i) { initializeArgVars(); return argVars[i]; } public Var getArgAnnotationVar(int i,UnresolvedType forAnnotationType) { initializeArgAnnotationVars(); Var v= (Var) argAnnotationVars[i].get(forAnnotationType); if (v==null) v = new TypeAnnotationAccess...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private BcelVar thisJoinPointStaticPartVar = null; public final Var getThisJoinPointStaticPartVar() { return getThisJoinPointStaticPartBcelVar(); } public final Var getThisEnclosingJoinPointStaticPartVar() { return getThisEnclosingJoinPointStaticPartBcelVar(); } public void requireThisJoinPo...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
void initializeThisJoinPoint() { if (thisJoinPointVar == null) return; if (isThisJoinPointLazy) { isThisJoinPointLazy = checkLazyTjp(); } if (isThisJoinPointLazy) { appliedLazyTjpOptimization = true; createThisJoinPoint(); if (lazyTjpConsumers == 1) return; Inst...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ShadowMunger munger = (ShadowMunger) i.next(); if (munger instanceof Advice) { if ( ((Advice)munger).getKind() == AdviceKind.Around) { if (munger.getSourceLocation()!=null) { world.getLint().canNotImplementLazyTjp.signal( new String[] {toString()}, getSourceLocation(), n...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
il.insert(InstructionFactory.createBranchInstruction(Constants.IFNONNULL, end)); il.insert(thisJoinPointVar.createLoad(fact)); } } else { thisJoinPointVar.appendLoad(il, fact); } return il; } InstructionList createThisJoinPoint() { InstructionFactory fact = getFactory(); ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
il.append(fact.createInvoke("org.aspectj.runtime.reflect.Factory", "makeJP", LazyClassGen.tjpType, new Type[] { LazyClassGen.staticTjpType, Type.OBJECT, Type.OBJECT}, Constants.INVOKESTATIC)); break; case 1: ((BcelVar)getArgVar(0)).appendLoadAndConvert(il, fact, world.g...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
break; } return il; } /** * Get the Var for the jpStaticPart * @return */ public BcelVar getThisJoinPointStaticPartBcelVar() { return getThisJoinPointStaticPartBcelVar(false); } /** * Get the Var for the xxxxJpStaticPart, xxx = this or enclosing * @param isEnclos...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
sjpType, getEnclosingClass().getClassName(), field.getName()); } return thisJoinPointStaticPartVar; } /** * Get the Var for the enclosingJpStaticPart * @return */ public BcelVar getThisEnclosingJoinPointStaticPartBcelVar() { if (enclosingShadow == null) { ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return enclosingShadow.getSignature(); } } private InstructionList makeArgsObjectArray() { InstructionFactory fact = getFactory(); BcelVar arrayVar = genTempVar(UnresolvedType.OBJECTARRAY); final InstructionList il = new InstructionList(); int alen = getArgCount() ; il....
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (targetVar != null) return; if (getKind().isTargetSameAsThis()) { if (hasThis()) initializeThisVar(); targetVar = thisVar; } else { initializeArgVars(); UnresolvedType type = getTargetType(); type = ensureTargetTypeIsCorrect(type); ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
getSignature().getArity()==0 && getSignature().getName().charAt(0) == 'c' && getSignature().getName().equals("clone")) { InstructionHandle searchPtr = range.getStart().getPrev(); while (Range.isRangeHandle(searchPtr) || searchPtr.getInstruction() instanceof ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} if (searchPtr.getInstruction() instanceof MULTIANEWARRAY) { MULTIANEWARRAY ana = (MULTIANEWARRAY)searchPtr.getInstruction(); return BcelWorld.fromBcel(new ArrayType(Type.OBJECT,ana.getDimensions())); } ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
int position = i; position += positionOffset; tmp.setPositionInAroundState(position); argVars[i] = tmp; } } else { int index = 0; if (arg0HoldsThis()) index++; for (int i = 0; i < len; i++) { ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public void initializeTargetAnnotationVars() { if (targetAnnotationVars != null) return; if (getKind().isTargetSameAsThis()) { if (hasThis()) initializeThisAnnotationVars(); targetAnnotationVars = thisAnnotationVars; } else { targetAnnotationVars = new HashMap...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} foundMember = getSignature().resolve(world); if (foundMember == null && relevantMember != null) { foundMember = relevantType.lookupMemberWithSupersAndITDs(relevantMember); } List mungers = relevantType.resolve(world).getInterTypeMungers(); for (Iterator iter = mungers....
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} return foundMember; } protected ResolvedType [] getAnnotations(Member foundMember, Member relevantMember, ResolvedType relevantType){ if (foundMember == null){ List mungers = relevantType.resolve(world).getInterTypeMungers(); for (Iterator iter = mungers.iterator(); iter.hasN...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (foundMember == null) { throw new IllegalStateException("Couldn't find member " + relevantMember + " for type " + relevantType); } } return foundMember.getAnnotationTypes(); } public void initializeKindedAnnotationVars() { if (kindedAnnotationVars != null) return; kindedAnn...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
relevantMember = findField(relevantType.getDeclaredFields(),getSignature()); if (relevantMember==null) { List mungers = relevantType.resolve(world).getInterTypeMungers(); for (Iterator iter = mungers.iterator(); iter.hasNext();) { BcelTypeMunger typeMunger = (BcelTypeMunger) iter.n...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} else if (getKind() == Shadow.ExceptionHandler) { relevantType = getSignature().getParameterTypes()[0].resolve(world); annotations = relevantType.getAnnotationTypes(); } else if (getKind() == Shadow.PreInitialization || getKind() == Shadow.Initialization) { ResolvedMember found = findMe...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} private ResolvedMember findMethod(ResolvedType aspectType, ResolvedMember ajcMethod) { ResolvedMember decMethods[] = aspectType.getDeclaredMethods(); for (int i = 0; i < decMethods.length; i++) { ResolvedMember member = decMethods[i]; if (member.equals(ajcMethod)) return member; } ret...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ResolvedType ann = annotations[i]; Kind k = Shadow.StaticInitialization; withinAnnotationVars.put(ann,new KindedAnnotationAccessVar(k,ann,getEnclosingType(),null)); } } public void initializeWithinCodeAnnotationVars() { if (withincodeAnnotationVars != null) return; withincodeAnnotationVar...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
weaveAfterThrowing(munger, UnresolvedType.THROWABLE); weaveAfterReturning(munger); } /** * We guarantee that the return value is on the top of the stack when * munger.getAdviceInstructions() will be run * (Unless we have a void return type in which case there's nothing) */ public void weaveAf...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
35: athrow 36: nop 37: getstatic #72; Field ajc$cflowCounter$0:Lorg/aspectj/runtime/internal/CFlowCounter; 40: invokevirtual #87; Method org/aspectj/runtime/internal/CFlowCounter.dec:()V 43: d2i 44: invokespecial #23; Method java/lang/Object."<init>":()V */ retList = new Instr...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ih, InstructionFactory.createBranchInstruction( Constants.GOTO, gotoTarget), enclosingMethod); } range.append(advice); range.append(retList); } else { range.append(advice); range.append(retList); } } public...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList ih = new InstructionList(InstructionConstants.NOP); handler.append(exceptionVar.createLoad(fact)); handler.append(fact.createInstanceOf(eiieBcelType)); BranchInstruction bi = InstructionFactory.createBranchInstruction(Constants.IFEQ,ih.getStart()); ha...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public void weaveSoftener(BcelAdvice munger, UnresolvedType catchType) { if (getRange().getStart().getNext() == getRange().getEnd()) return; InstructionFactory fact = getFactory(); InstructionList handler = new InstructionList(); InstructionList rtExHandler = new In...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
rtExHandler.append(InstructionFactory.ATHROW); InstructionHandle handlerStart = rtExHandler.getStart(); if (isFallsThrough()) { InstructionHandle jumpTarget = range.getEnd(); rtExHandler.insert(InstructionFactory.createBranchInstruction(Constants.GOTO, jumpTarget)); } rtExHandler.a...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
entryInstructions.append(entrySuccessInstructions); range.insert(entryInstructions, Range.InsideBefore); } /** * Causes the aspect instance to be *set* for later retrievable through localAspectof()/aspectOf() */ public void weavePerTypeWithinAspectInitialization(final BcelAdvice munger,UnresolvedType t...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public void weaveCflowEntry(final BcelAdvice munger, final Member cflowField) { final boolean isPer = munger.getKind() == AdviceKind.PerCflowBelowEntry || munger.getKind() == AdviceKind.PerCflowEntry; final Type objectArrayType = new ArrayType(Type.OBJECT, 1); final InstructionFactory ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (cflowStateVars.length == 0) { if (!cflowField.getType().getName().endsWith("CFlowCounter")) throw new RuntimeException("Incorrectly attempting counter operation on stacked cflow"); entrySuccessInstructions.append( Utility.createGet(fact, cflowField)); entrySuccessInstru...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
fact.createInvoke(NameMangler.CFLOW_STACK_TYPE, "push", Type.VOID, new Type[] { objectArrayType }, Constants.INVOKEVIRTUAL)); } } InstructionList testInstructions = munger.getTestInstructions(this, entrySuccessInstructions.getStart(), range.getRealStart(), ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
munger.getKind() != AdviceKind.PerCflowBelowEntry && munger.getExposedStateAsBcelVars().length==0) { exitInstructions .append( fact .createInvoke( NameMangler.CFLOW_COUNTER_TYPE, "dec", Type.VOID, new Type[] { }, Constants.INVOKEVIRTUAL)); } else { exit...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public void weaveAroundInline( BcelAdvice munger, boolean hasDynamicTest) { /* Implementation notes: * * AroundInline still extracts the instructions of the original shadow into * an extracted method. This allows inlining of even that advice that doesn't * call proceed or calls proceed more ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* this shadow doesn't care about the stack, i.e. method-execution, then the * new method for the advice can also be re-lined. We are not doing that * presently. */ Member mungerSig = munger.getSignature(); if (mungerSig instanceof ResolvedMember) { ResolvedMember rm = ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
boolean canSeeProceedPassedToOther = false; InstructionHandle curr = adviceMethod.getBody().getStart(); InstructionHandle end = adviceMethod.getBody().getEnd(); ConstantPoolGen cpg = adviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
enclosingMethod.setCanInline(false); final InstructionFactory fact = getFactory(); LazyMethodGen extractedMethod = extractMethod( NameMangler.aroundCallbackMethodName( getSignature(), getEnclosingClass()), Modifier.PRIVATE, munger ); ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
argVarList.add(thisVar); proceedVarList.add(new BcelVar(thisVar.getType(), extraParamOffset)); extraParamOffset += thisVar.getType().getSize(); } if (targetVar != null && targetVar != thisVar) { argVarList.add(targetVar); proceedVarList.add(new BcelVar(targetVar.getType(), extraParamOffset)); extr...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
0, parameterTypes, parameterIndex, extractedMethodParameterTypes.length); parameterIndex += extractedMethodParameterTypes.length; parameterTypes[parameterIndex++] = BcelWorld.makeBcelType(adviceMethod.getEnclosingClass().getType()); System.arraycopy( adviceParameterTypes, 0, parameterTypes, ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
getEnclosingClass().addMethodGen(localAdviceMethod); int nVars = adviceMethod.getMaxLocals() + extraParamOffset; IntMap varMap = IntMap.idMap(nVars); for (int i=extraParamOffset; i < nVars; i++) { varMap.put(i-extraParamOffset, i); } localAdviceMethod.getBody().insert( BcelClassWeaver.genInl...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelVar var = (BcelVar)i.next(); var.appendLoad(advice, fact); } advice.append( munger.getAdviceArgSetup( this, null, (munger.getConcreteAspect().isAnnotationStyleAspect())? this.loadThisJoinPoint(): new InstructionList(Instr...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList callback = makeCallToCallback(extractedMethod); if (terminatesWithReturn()) { callback.append( InstructionFactory.createReturn(extractedMethod.getReturnType())); } else { advice.append( InstructionFactory.createBranchInstruction( Constants.GOTO, afterThingie.getS...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ConstantPoolGen cpg = localAdviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { InstructionHandle next = curr.getNext(); Instruction inst = curr.getInstruction(); if ((inst instanceof INVOKESTATIC) && proceedName.equ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
final boolean isProceedWithArgs; if (((INVOKEINTERFACE) inst).getArgumentTypes(cpg).length == 1) { isProceedWithArgs = true; } else { isProceedWithArgs = false; } Inst...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelVar[] adviceVars = munger.getExposedStateAsBcelVars(); IntMap proceedMap = makeProceedArgumentMap(adviceVars); ResolvedType[] proceedParamTypes = world.resolve(munger.getSignature().getParameterTypes()); if (munger.getBaseParameterCount()+1 < proceedParamTypes.length) { int len = munger.getBase...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ret.append(Utility.createInvoke(fact, callbackMethod)); ret.append(Utility.createConversion(fact, callbackMethod.getReturnType(), BcelWorld.makeBcelType(munger.getSignature().getReturnType()))); return ret; } /** * ATAJ Handle the inlining for @AJ aspects * * @param fact * @param callb...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList ret = new InstructionList(); if (isProceedWithArgs) { Type objectArrayType = Type.getType("[Ljava/lang/Object;"); int localProceedArgArray = localAdviceMethod.allocateLocal(objectArrayType); ret.append(InstructionFactory.createStore(objectArrayType, l...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Type stateType = callbackMethod.getArgumentTypes()[i]; BcelWorld.fromBcel(stateType).resolve(world); if ("Lorg/aspectj/lang/JoinPoint;".equals(stateType.getSignature())) { ret.append(new ALOAD(localJp)); } else { ret.append(Instruct...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ret.append(Utility.createInvoke(fact, callbackMethod)); if (!UnresolvedType.OBJECT.equals(munger.getSignature().getReturnType())) { ret.append(Utility.createConversion( fact, callbackMethod.getReturnType(), Type.OBJECT ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
String closureClassName = NameMangler.makeClosureClassName( getEnclosingClass().getType(), getEnclosingClass().getNewGeneratedNameTag()); Member constructorSig = new MemberImpl(Member.CONSTRUCTOR, UnresolvedType.forName(closureClassName), 0, "<init>", "([Ljava...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelVar stateTempVar = genTempVar(UnresolvedType.OBJECTARRAY); closureHolder.appendLoad(returnConversionCode, fact); returnConversionCode.append( Utility.createInvoke( fact, world, AjcMemberMaker.aroundClosurePreInitializationGetter())); stateTempVar.appendStore(returnConversionCode, f...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
returnConversionCode = Utility.createConversion( getFactory(), BcelWorld.makeBcelType(munger.getSignature().getReturnType()), callbackMethod.getReturnType(),world.isInJava5Mode()); if (!isFallsThrough()) { returnConversionCode.append( Instru...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!hasDynamicTest) { range.append(advice); } else { InstructionList callback = makeCallToCallback(callbackMethod); InstructionList postCallback = new InstructionList(); if (terminatesWithReturn()) { callback.append( InstructionFactory.createReturn(callbackMethod.getReturnType())); } else { ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (thisVar != null) { callback.append(InstructionConstants.ALOAD_0); } if (targetVar != null && targetVar != thisVar) { callback.append(BcelRenderer.renderExpr(fact, world, targetVar)); } callback.append(BcelRenderer.renderExprs(fact, world, argVars)); ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
thisVar.setPositionInAroundState(stateIndex); stateIndex++; } if (targetVar != null && targetVar != thisVar) { arrayVar.appendConvertableArrayStore(il, fact, stateIndex, targetVar); targetVar.setPositionInAroundState(stateIndex); stateIndex++; } ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
IntMap ret = new IntMap(); for(int i = 0, len = adviceArgs.length; i < len; i++) { BcelVar v = (BcelVar) adviceArgs[i]; if (v == null) continue; int pos = v.getPositionInAroundState(); if (pos >= 0) { ret.put(pos, i); } } ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
LazyClassGen closureClass = new LazyClassGen(closureClassName, superClassName, getEnclosingClass().getFileName(), Modifier.PUBLIC, new String[] {}, ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList mbody = runMethod.getBody(); BcelVar proceedVar = new BcelVar(UnresolvedType.OBJECTARRAY.resolve(world), 1); BcelVar stateVar = new BcelVar(UnresolvedType.OBJECTARRAY.resolve(world), runMethod.allocateLocal(1)); mbody.append(InstructionFactory.createThis()); mbody.append(fact....
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (getKind() == PreInitialization) { mbody.append(Utility.createSet( fact, AjcMemberMaker.aroundClosurePreInitializationField())); mbody.append(InstructionConstants.ACONST_NULL); } else { mbody.append( Utility.createConversion( fact, callbackMethod.ge...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
isFallsThrough()); if (getKind() == PreInitialization) { addPreInitializationReturnCode( freshMethod, getSuperConstructorParameterTypes()); } getEnclosingClass().addMethodGen(freshMethod,munger.getSourceLocation()); return freshMethod; } private void addPreInitializationR...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
arrayVar.appendLoad(body, fact); swap body.append(InstructionConstants.SWAP); body.append(Utility.createConstant(fact, i)); body.append(InstructionConstants.SWAP); body.append(InstructionFactory.createArrayStore(Type.OBJECT)); } arrayVar.appendLoad(body, fact); body.app...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} for (int i = 0, len = argVars.length; i < len; i++) { ret.put(argVars[i].getSlot(), reti); reti += argVars[i].getType().getSize(); } if (thisJoinPointVar != null) { ret.put(thisJoinPointVar.getSlot(), reti++); } ...