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
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public static BcelShadow makeConstructorExecution(BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle justBeforeStart) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = new BcelShadow(world, ConstructorExecution, world.makeJoinPointSignatureFromMethod(enclosingMethod, Mem...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Member.STATIC_INITIALIZATION), enclosingMethod, null); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets(Range.genStart(body, clinitStart), Range.genEnd(body, clinitEnd)); return s; } /** * Make the shadow for an exception handler. Currently makes an empty shadow that o...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
while (tIter.hasNext()) { InstructionTargeter targeter = (InstructionTargeter) tIter.next(); if (targeter instanceof LocalVariableTag) { LocalVariableTag t = (LocalVariableTag) targeter; if (t.getSlot() == slot) { return t.getName(); } } } } return "<missing>"; } public stati...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ShadowRange r = new ShadowRange(body); r.associateWithShadow(this); InstructionHandle nop = body.insert(end, InstructionConstants.NOP); r.associateWithTargets(Range.genStart(body, nop), Range.genEnd(body, nop)); } { world, null);
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
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 static BcelShadow makeUnfinish...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
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(BcelWorld world, ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
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.makeJoinPointSignatureForMethodInvocation(enclosingMethod.getEnclosingClass(), (I...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Member sig = world.makeJoinPointSignatureForMonitorEnter(enclosingMethod.getEnclosingClass(), monitorInstruction); BcelShadow s = new BcelShadow(world, SynchronizationLock, sig, enclosingMethod, enclosingShadow); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets(Range.genSt...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
world, sig, } public static BcelShadow makeMethodCall(BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle callHandle, BcelShadow enclosingShadow) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = new BcelShadow(world, MethodCall, world.makeJoinPointSi...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
r.associateWithTargets(Range.genStart(body, callHandle), Range.genEnd(body, callHandle)); retargetAllBranches(callHandle, r.getStart()); return s; } public static BcelShadow makeFieldGet(BcelWorld world, ResolvedMember field, LazyMethodGen enclosingMethod, InstructionHandle getHandle, BcelShadow enclosingShado...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return s; } public static void retargetAllBranches(InstructionHandle from, InstructionHandle to) { InstructionTargeter[] sources = from.getTargetersArray(); if (sources != null) { for (int i = sources.length - 1; i >= 0; i--) { InstructionTargeter source = sources[i]; if (source instanceof InstructionB...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public boolean arg0HoldsThis() { if (getKind().isEnclosingKind()) { return !getSignature().isStatic(); } else if (enclosingShadow == null) { return !enclosingMethod.isStatic(); } else { return ((BcelShadow) enclosingShadow).arg0HoldsThis(); } } private BcelVar thisVar = null; private BcelV...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!hasThis()) { throw new IllegalStateException("no this"); } initializeThisAnnotationVars(); Var v = (Var) thisAnnotationVars.get(forAnnotationType); if (v == null) v = new TypeAnnotationAccessVar(forAnnotationType.resolve(world), (BcelVar) getThisVar()); return v; } public Var getTargetVar() {...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return argVars[i]; } public Var getArgAnnotationVar(int i, UnresolvedType forAnnotationType) { initializeArgAnnotationVars(); Var v = (Var) argAnnotationVars[i].get(forAnnotationType); if (v == null) v = new TypeAnnotationAccessVar(forAnnotationType.resolve(world), (BcelVar) getArgVar(i)); return v; } pu...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public final Var getThisEnclosingJoinPointStaticPartVar() { return getThisEnclosingJoinPointStaticPartBcelVar(); } public void requireThisJoinPoint(boolean hasGuardTest, boolean isAround) { if (!isAround) { if (!hasGuardTest) { isThisJoinPointLazy = false; } else { lazyTjpConsumers++; } } ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (isThisJoinPointLazy) { appliedLazyTjpOptimization = true; createThisJoinPoint(); if (lazyTjpConsumers == 1) return; InstructionFactory fact = getFactory(); InstructionList il = new InstructionList(); il.append(InstructionConstants.ACONST_NULL); il.append(thisJoinPointVar.createStore(fact)...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return false; } } } return true; } InstructionList loadThisJoinPoint() { InstructionFactory fact = getFactory(); InstructionList il = new InstructionList(); if (isThisJoinPointLazy) { il.append(createThisJoinPoint()); if (lazyTjpConsumers > 1) { il.append(thisJoinPointVar.createStor...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (hasThis()) { ((BcelVar) getThisVar()).appendLoad(il, fact); } else { il.append(InstructionConstants.ACONST_NULL); } if (hasTarget()) { ((BcelVar) getTargetVar()).appendLoad(il, fact); } else { il.append(InstructionConstants.ACONST_NULL); } switch (getArgCount()) { case 0: il.append(fact...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
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 isEnclosingJp true to have the enc...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} return thisJoinPointStaticPartVar; } /** * Get the Var for the enclosingJpStaticPart * * @return */ public BcelVar getThisEnclosingJoinPointStaticPartBcelVar() { if (enclosingShadow == null) { return getThisJoinPointStaticPartBcelVar(true); } else { return ((BcelShadow) enclosingShadow).ge...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private InstructionList makeArgsObjectArray() { InstructionFactory fact = getFactory(); BcelVar arrayVar = genTempVar(UnresolvedType.OBJECTARRAY); final InstructionList il = new InstructionList(); int alen = getArgCount(); il.append(Utility.createConstant(fact, alen)); il.append(fact.createNewArray(Type.OBJ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (getKind().isTargetSameAsThis()) { if (hasThis()) initializeThisVar(); targetVar = thisVar; } else { initializeArgVars(); UnresolvedType type = getTargetType(); type = ensureTargetTypeIsCorrect(type); targetVar = genTempVar(type, "ajc$target"); range.insert(targetVar.createStore(fact), Ra...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
searchPtr = searchPtr.getPrev(); } if (searchPtr.getInstruction().isLoadInstruction()) { LocalVariableTag lvt = LazyMethodGen.getLocalVariableTag(searchPtr, searchPtr.getInstruction().getIndex()); if (lvt != null) return UnresolvedType.forSignature(lvt.getType()); } if (searchPtr.getIns...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
throw new BCException("Can't determine real target of clone() when processing instruction " + searchPtr.getInstruction() + ". Perhaps avoid selecting clone with your pointcut?"); } return tx; } public void ensureInitializedArgVar(int argNumber) { if (allArgVarsInitialized || (argVars != null && argVars[ar...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
int index = 0; if (arg0HoldsThis()) { index++; } boolean allInited = true; for (int i = 0; i < len; i++) { UnresolvedType type = getArgType(i); if (i == argNumber) { argVars[argNumber] = genTempVar(type, "ajc$arg" + argNumber); range.insert(argVars[argNumber].createCopyFrom(fact, index...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
int len = getArgCount(); if (argVars == null) { argVars = new BcelVar[len]; } int positionOffset = (hasTarget() ? 1 : 0) + ((hasThis() && !getKind().isTargetSameAsThis()) ? 1 : 0); if (getKind().argsOnStack()) { for (int i = len - 1; i >= 0; i--) { UnresolvedType type = getArgType(i); BcelVar ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } allArgVarsInitialized = true; } public void initializeForAroundClosure() { initializeArgVars(); if (hasTarget()) initializeTargetVar(); if (hasThis()) initializeThisVar(); } public void initializeThisAnnotationVars() { if (thisAnnotationVars != null) return; thisAnnotationVars = new Ha...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
for (int i = 0; i < rtx.length; i++) { ResolvedType typeX = rtx[i]; targetAnnotationVars.put(typeX, new TypeAnnotationAccessVar(typeX, (BcelVar) getTargetVar())); } } } public void initializeArgAnnotationVars() { if (argAnnotationVars != null) return; int numArgs = getArgCount(); argAnnotati...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (typeMunger.getMunger() instanceof NewMethodTypeMunger || typeMunger.getMunger() instanceof NewConstructorTypeMunger) { ResolvedMember fakerm = typeMunger.getSignature(); if (fakerm.getName().equals(getSignature().getName()) && fakerm.getParameterSignature().equals(getSignature().getParameterSignature(...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
.interMethodDispatcher(fakerm, typeMunger.getAspectType())); ResolvedMember rmm = findMethod(typeMunger.getAspectType(), ajcMethod); if (fakerm.getName().equals(getSignature().getName()) && fakerm.getParameterSignature().equals(getSignature().getParameterSignature())) { relevantType = typeM...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Member annotationHolder = getSignature(); ResolvedType relevantType = shadowSignature.getDeclaringType().resolve(world); if (relevantType.isRawType() || relevantType.isParameterizedType()) { relevantType = relevantType.getGenericType(); } if (getKind() == Shadow.StaticInitialization) { annotations = re...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } annotations = ((ResolvedMember) annotationHolder).getAnnotationTypes(); } else if (getKind() == Shadow.MethodExecution || getKind() == Shadow.ConstructorExecution || getKind() == Shadow.AdviceExecution) { ResolvedMember foundMember = findMethod2(relevantType.getDeclaredMethods(), getSignature());...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ResolvedMember found = null; for (int i = 0; i < rm.length && found == null; i++) { ResolvedMember member = rm[i]; if (member.getName().equals(sig.getName()) && member.getParameterSignature().equals(sig.getParameterSignature())) found = member; } return found; } private ResolvedMember findMethod(Re...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
withinAnnotationVars = new HashMap(); ResolvedType[] annotations = getEnclosingType().resolve(world).getAnnotationTypes(); for (int i = 0; i < annotations.length; i++) { ResolvedType ann = annotations[i]; Kind k = Shadow.StaticInitialization; withinAnnotationVars.put(ann, new AnnotationAccessVar(k, ann, ge...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* The basic strategy here is to add a set of instructions at the end of the shadow range that dispatch the advice, and then * return whatever the shadow was going to return anyway. * * To achieve this, we note all the return statements in the advice, and replace them with code that: 1) stores the return value ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} range.append(advice); range.append(retList); } /** * @return a list of all the return instructions in the range of this shadow */ private List findReturnInstructions() { List returns = new ArrayList(); for (InstructionHandle ih = range.getStart(); ih != range.getEnd(); ih = ih.getNext()) { if (ih.ge...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private BcelVar generateReturnInstructions(List returns, InstructionList returnInstructions) { BcelVar returnValueVar = null; if (this.hasANonVoidReturnType()) { Instruction newReturnInstruction = null; int i = returns.size() - 1; while (newReturnInstruction == null && i >= 0) { InstructionHand...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
/** * Get the list of instructions used to dispatch to the after advice * * @param munger * @param firstInstructionInReturnSequence * @return */ private InstructionList getAfterReturningAdviceDispatchInstructions(BcelAdvice munger, InstructionHandle firstInstructionInReturnSequence) { InstructionList...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} else { tempVar = genTempVar(tempVarType); advice.append(InstructionFactory.createDup(tempVarType.getSize())); tempVar.appendStore(advice, getFactory()); } return tempVar; } /** * Helper method for weaveAfterReturning * * Each return instruction in the method body is retargeted by calling this me...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} if (!isLastInstructionInRange(returnHandle, range)) { newInstructions.append(InstructionFactory.createBranchInstruction(Constants.GOTO, gotoTarget)); } if (newInstructions.isEmpty()) { newInstructions.append(InstructionConstants.NOP); } Utility.replaceInstruction(returnHandle, newInstructions, enclosi...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
handler.append(exceptionVar.createLoad(fact)); handler.append(fact.createInstanceOf(eiieBcelType)); InstructionBranch bi = InstructionFactory.createBranchInstruction(Constants.IFEQ, ih.getStart()); handler.append(bi); handler.append(exceptionVar.createLoad(fact)); handler.append(fact.createCheckCast(eiie...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (getRange().getStart().getNext() == getRange().getEnd()) return; InstructionFactory fact = getFactory(); InstructionList handler = new InstructionList(); InstructionList rtExHandler = new InstructionList(); BcelVar exceptionVar = genTempVar(catchType); handler.append(fact.createNew(NameMangler.SOFT_EXCE...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
rtExHandler.append(handler); InstructionHandle protectedEnd = rtExHandler.getStart(); range.insert(rtExHandler, Range.InsideAfter); enclosingMethod.addExceptionHandler(range.getStart().getNext(), protectedEnd.getPrev(), handlerStart, (ObjectType) BcelWorld.makeBcelType(catchType), getKind().hasHighPr...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList entrySuccessInstructions = new InstructionList(); BcelWorld.getBcelObjectType(munger.getConcreteAspect()); String aspectname = munger.getConcreteAspect().getName(); String ptwField = NameMangler.perTypeWithinFieldForTarget(munger.getConcreteAspect()); entrySuccessInstructions.append(InstructionF...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
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)); entrySuccessInstructions.append(...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public InstructionList getAdviceInstructions(BcelShadow s, BcelVar extraArgVar, InstructionHandle ifNoAdvice) { InstructionList exitInstructions = new InstructionList(); if (munger.hasDynamicTests()) { testResult.appendLoad(exitInstructions, fact); exitInstructions.append(InstructionFactory.createBran...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* * Then it searches in the instructions of the advice for any call to the proceed method. * * At such a call, there is stuff on the stack representing the arguments to proceed. Pop these into the frame. * * Now build the stack for the call to the extracted method, taking values either from the join point ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} ResolvedType rt = (declaringType.isParameterizedType() ? declaringType.getGenericType() : declaringType); BcelObjectType ot = BcelWorld.getBcelObjectType(rt); return; } LazyMethodGen adviceMethod = ot.getLazyClassGen().getLazyMethodGen(mungerSig); if (!adviceMethod.getCanInline()) { ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Instruction inst = curr.getInstruction(); if ((inst instanceof InvokeInstruction) && ((InvokeInstruction) inst).getSignature(cpg).indexOf("Lorg/aspectj/lang/ProceedingJoinPoint;") > 0) { canSeeProceedPassedToOther = true; break; } curr = next; } if (canSeeProceedPassedToOth...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
List proceedVarList = new ArrayList(); int extraParamOffset = 0; if (thisVar != null) { argVarList.add(thisVar); proceedVarList.add(new BcelVar(thisVar.getType(), extraParamOffset)); extraParamOffset += thisVar.getType().getSize(); } if (targetVar != null && targetVar != thisVar) { argVarLi...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Type[] adviceParameterTypes = BcelWorld.makeBcelTypes(munger.getSignature().getParameterTypes()); adviceMethod.getArgumentTypes(); Type[] extractedMethodParameterTypes = extractedMethod.getArgumentTypes(); Type[] parameterTypes = new Type[extractedMethodParameterTypes.length + adviceParameterTypes.le...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
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.genInlineInstructions(adviceMethod, localAdviceMethod, varMap, fact,...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!isFallsThrough()) { advice.append(InstructionFactory.createReturn(extractedMethod.getReturnType())); } } if (!hasDynamicTest) { range.append(advice); } else { InstructionList afterThingie = new InstructionList(InstructionConstants.NOP); InstructionList callback = makeCallToCallback(extr...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ConstantPool cpg = localAdviceMethod.getEnclosingClass().getConstantPool(); while (curr != end) { InstructionHandle next = curr.getNext(); Instruction inst = curr.getInstruction(); if ((inst.opcode == Constants.INVOKESTATIC) && proceedName.equals(((InvokeInstruction) inst).getMethodName(cpg))) { loc...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
localAdviceMethod, proceedVarList, isProceedWithArgs); localAdviceMethod.getBody().append(curr, insteadProceedIl); Utility.deleteInstruction(curr, localAdviceMethod); } curr = next; } } } private InstructionList getRedoneProceedCall(InstructionFactory fact, LazyMethodGen callbackMethod, BcelAdv...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Type stateType = stateTypes[i]; ResolvedType stateTypeX = BcelWorld.fromBcel(stateType).resolve(world); if (proceedMap.hasKey(i)) { proceedVars[proceedMap.get(i)].appendLoadAndConvert(ret, fact, stateTypeX); } else { ((BcelVar) argVarList.get(i)).appendLoad(ret, fact); } } ret.append(Utilit...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } } } /** * Annotation style handling for inlining. * * Note: The proceedingjoinpoint is already on the stack (since the user was calling pjp.proceed(...) * * The proceed map is ignored (in terms of argument repositioning) since we have a fixed expected format for annotation style...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (isProceedWithArgs) { Type objectArrayType = Type.OBJECT_ARRAY; int theObjectArrayLocalNumber = localAdviceMethod.allocateLocal(objectArrayType); ret.append(InstructionFactory.createStore(objectArrayType, theObjectArrayLocalNumber)); Type proceedingJpType = Type.getType("Lorg/aspectj/lang/Proceed...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} if (hasTarget()) { if (pointcutBindsTarget) { if (getKind().isTargetSameAsThis()) { ret.append(InstructionFactory.createLoad(objectArrayType, theObjectArrayLocalNumber)); ret.append(Utility.createConstant(fact, pointcutBindsThis ? 1 : 0)); ret.append(InstructionFactory.createArrayLoad(Ty...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelWorld.fromBcel(stateType).resolve(world); if ("Lorg/aspectj/lang/JoinPoint;".equals(stateType.getSignature())) { ret.append(new InstructionLV(Constants.ALOAD, pjpLocalNumber)); } else { ret.append(InstructionFactory.createLoad(objectArrayType, theObjectArrayLocalNumber)); ret.append(Utility ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ret.append(InstructionFactory.createLoad(stateType, i)); } } } ret.append(Utility.createInvoke(fact, callbackMethod)); if (!UnresolvedType.OBJECT.equals(munger.getSignature().getReturnType())) { ret.append(Utility.createConversion(fact, callbackMethod.getReturnType(), Type.OBJECT)); } ret.appe...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
}
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } } private boolean bindsThis(BcelAdvice munger) { UsesThisVisitor utv = new UsesThisVisitor(); munger.getPointcut().accept(utv, null); return utv.usesThis; } private boolean bindsTarget(BcelAdvice munger) { UsesTargetVisitor utv = new UsesTargetVisitor(); munger.getPointcut().accept(u...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return utv.usesTarget; } private static class UsesThisVisitor extends AbstractPatternNodeVisitor { boolean usesThis = false; public Object visit(ThisOrTargetPointcut node, Object data) { if (node.isThis() && node.isBinding()) usesThis = true; return node; } public Object visit(AndPointcut node, Obje...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
boolean usesTarget = false; public Object visit(ThisOrTargetPointcut node, Object data) { if (!node.isThis() && node.isBinding()) usesTarget = true; return node;
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public Object visit(AndPointcut node, Object data) { if (!usesTarget) node.getLeft().accept(this, data); if (!usesTarget) node.getRight().accept(this, data); return node; } public Object visit(NotPointcut node, Object data) { if (!usesTarget) node.getNegatedPointcut().accept(this, data);...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
.getNewGeneratedNameTag()); Member constructorSig = new MemberImpl(Member.CONSTRUCTOR, UnresolvedType.forName(closureClassName), 0, "<init>", "([Ljava/lang/Object;)V"); BcelVar closureHolder = null; if (getKind() == PreInitialization) { closureHolder = genTempVar(AjcMemberMaker.AROUND_CLOSURE_TYPE); ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} stateTempVar.appendConvertableArrayLoad(returnConversionCode, fact, i, stateRTX); } } else { Member mungerSignature = munger.getSignature(); if (munger.getSignature() instanceof ResolvedMember) { if (((ResolvedMember) mungerSignature).hasBackingGenericMember()) { mungerSignature = ((Resolv...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
bitflags |= 0x000010; if (bindsTarget(munger)) bitflags |= 0x000001; if (munger.getConcreteAspect() != null && munger.getConcreteAspect().isAnnotationStyleAspect() && munger.getDeclaringAspect() != null && munger.getDeclaringAspect().resolve(world).isAnnotationStyleAspect()) { closureInstantiation....
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} range.append(munger.getTestInstructions(this, advice.getStart(), callback.getStart(), advice.getStart())); range.append(advice); range.append(callback); range.append(postCallback); } } InstructionList makeCallToCallback(LazyMethodGen callbackMethod) { InstructionFactory fact = getFactory(); Inst...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
final InstructionList il = new InstructionList(); int alen = getArgCount() + (thisVar == null ? 0 : 1) + ((targetVar != null && targetVar != thisVar) ? 1 : 0) + (thisJoinPointVar == null ? 0 : 1); il.append(Utility.createConstant(fact, alen)); il.append(fact.createNewArray(Type.OBJECT, (short) 1)); arrayVar...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
arrayVar.appendLoad(il, fact); il.append(Utility.createInvoke(fact, world, constructor)); if (getKind() == PreInitialization) { il.append(InstructionConstants.DUP); holder.appendStore(il, fact); } return il; } private IntMap makeProceedArgumentMap(BcelVar[] adviceArgs) { IntMap ret = new IntMap(); ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private LazyMethodGen makeClosureClassAndReturnConstructor(String closureClassName, LazyMethodGen callbackMethod, IntMap proceedMap) { String superClassName = "org.aspectj.runtime.internal.AroundClosure"; Type objectArrayType = new ArrayType(Type.OBJECT, 1); LazyClassGen closureClass = new LazyClassGen(closure...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
for (int i = 0, len = stateTypes.length; i < len; i++) { Type stateType = stateTypes[i]; ResolvedType stateTypeX = BcelWorld.fromBcel(stateType).resolve(world); if (proceedMap.hasKey(i)) { mbody.append(proceedVar.createConvertableArrayLoad(fact, proceedMap.get(i), stateTypeX)); } else { mbody.append...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
range.extractInstructionsInto(freshMethod, makeRemap(), (getKind() != PreInitialization) && isFallsThrough()); if (getKind() == PreInitialization) { addPreInitializationReturnCode(freshMethod, getSuperConstructorParameterTypes()); } getEnclosingClass().addMethodGen(freshMethod, munger.getSourceLocation()); r...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
body.append(InstructionConstants.SWAP); body.append(InstructionFactory.createArrayStore(Type.OBJECT)); } arrayVar.appendLoad(body, fact); body.append(InstructionConstants.ARETURN); } private Type[] getSuperConstructorParameterTypes() { InstructionHandle superCallHandle = getRange().getEnd().getNext(); ...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} point. if (!getKind().argsOnStack()) { int oldi = 0; int newi = 0; if (arg0HoldsThis()) { ret.put(0, 0); oldi++; newi += 1; } for (int i = 0; i < getArgCount(); i++) { UnresolvedType type = getArgType(i); ret.put(oldi, newi); oldi += type.getSize(); ne...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* this/target If it's argsOnFrame, it shares this and target. ??? rewrite this to do less array munging, please */ private LazyMethodGen createMethodGen(String newMethodName, int visibilityModifier) { Type[] parameterTypes = BcelWorld.makeBcelTypes(getArgTypes()); int modifiers = Modifier.FINAL | visibilityModif...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } else { if (!targetType.resolve(world).isAssignableFrom(getThisType().resolve(world))) { throw new BCException("bad bytecode"); } targetType = getThisType(); } } parameterTypes = addType(BcelWorld.makeBcelType(targetType), parameterTypes); } if (thisVar != null) { Unresolved...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
else returnType = getSignature().getReturnType().resolve(world); } return new LazyMethodGen(modifiers, BcelWorld.makeBcelType(returnType), newMethodName, parameterTypes, new String[0], getEnclosingClass()); } private boolean samePackage(String p1, String p2) { if (p1 == null) return p2 ==...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public BcelVar genTempVar(UnresolvedType typeX) { return new BcelVar(typeX.resolve(world), genTempVarIndex(typeX.getSize())); } public BcelVar genTempVar(UnresolvedType typeX, String localName) { BcelVar tv = genTempVar(typeX); } } return tv; } private int genTempVarIndex(int size) { r...
186,884
Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..))
null
resolved fixed
7a398a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-09-30T22:55:35Z
2007-05-14T22:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return getEnclosingClass().getType().getSourceLocation(); } else { int offset = 0; Kind kind = getKind(); if ((kind == MethodExecution) || (kind == ConstructorExecution) || (kind == AdviceExecution) || (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) { ...
249,710
Bug 249710 [compiling] Problem with -XterminateAfterCompilation
null
resolved fixed
cffe291
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-10-29T19:08:05Z
2008-10-05T23:40:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
/******************************************************************************* * Copyright (c) 2008 Contributors * 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 distribution, and is available at *...
249,710
Bug 249710 [compiling] Problem with -XterminateAfterCompilation
null
resolved fixed
cffe291
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-10-29T19:08:05Z
2008-10-05T23:40:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
public void testItdCCE_pr250091() { runTest("itd cce"); } public void testBreakingRecovery_pr226163() { runTest("breaking recovery"); } public void testGenericMethodConversions_pr250632() { runTest("type conversion in generic itd"); } public void testGenericMethodBridging_pr250493() { runTest("bridg...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
/******************************************************************** * Copyright (c) 2006 Contributors. 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 distribution and is available at * http://...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
private int initializerCounter = 0; private final char[] empty = new char[] {}; private final char[] countDelim = new char[] { HandleProviderDelimiter.COUNT.getDelimiter() }; private final String backslash = "\\"; private final String emptyString = ""; public JDTLikeHandleProvider(AsmManager asm) { this.asm = as...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
sb.append(createHandleIdentifier(ipe.getParent())).append("/"); sb.append(ipe.getName()); String handle = sb.toString(); ipe.setHandleIdentifier(handle); return handle; } IProgramElement parent = ipe.getParent(); if (parent != null && parent.getKind().equals(IProgramElement.Kind.IMPORT_REFERENCE)) { ...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
} } } handle.append(getCount(ipe)); ipe.setHandleIdentifier(handle.toString()); return handle.toString(); } private String getParameters(IProgramElement ipe) { if (ipe.getParameterSignatures() == null || ipe.getParameterSignatures().isEmpty()) { return ""; } StringBuffer sb = new String...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
} return sb.toString(); } /** * Determine a count to be suffixed to the handle, this is only necessary for identical looking entries at the same level in the * model (for example two anonymous class declarations). The format is !<n> where n will be greater than 2. * * @param ipe the program element for whi...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
String sig1 = object.getBytecodeSignature(); if (sig1 == null && ipeSig == null || sig1.equals(ipeSig)) { String existingHandle = object.getHandleIdentifier(); int suffixPosition = existingHandle.indexOf('!'); if (suffixPosition != -1) { count = new Integer(existingHandle.substring(su...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
for (Iterator iterator = kids.iterator(); iterator.hasNext();) { IProgramElement object = (IProgramElement) iterator.next(); if (object.equals(ipe)) { break; } if (object.getKind() == ipe.getKind()) { if (object.getName().endsWith("{..}")) { String existingHandle = object.getHandl...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
if (suffixPosition != -1) { count = new Integer(existingHandle.substring(suffixPosition + 1)).intValue() + 1; } else { if (count == 1) { count = 2; } } } } } } if (count > 1) { return CharOperation.concat(countDelim, new Integer(count).toString().t...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
} else if (handle.charAt(0) == HandleProviderDelimiter.ASPECT_CU.getDelimiter() || handle.charAt(0) == HandleProviderDelimiter.COMPILATIONUNIT.getDelimiter()) { return backslash + handle.substring(1); } return emptyString; } public int getLineNumberForHandle(String handle) { IProgramElement n...
256,400
Bug 256400 An internal error occurred during: "Delete and update AspectJ markers for CoreSource".
this occured during a clean and build of the project i'm working on. The following was inthe details. An internal error occurred during: "Delete and update AspectJ markers for CoreSource". java.lang.NullPointerException
resolved fixed
155a888
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-11-27T17:59:09Z
2008-11-25T10:46:40Z
asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
return 0; } return -1; } public String createHandleIdentifier(ISourceLocation location) { IProgramElement node = asm.getHierarchy().findElementForSourceLine(location); if (node != null) { return createHandleIdentifier(node); } return null; } public String createHandleIdentifier(File sourceFile, int l...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * 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 distribution and is available at ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
import org.aspectj.apache.bcel.classfile.annotation.ElementNameValuePairGen; import org.aspectj.apache.bcel.classfile.annotation.RuntimeAnnotations; import org.aspectj.apache.bcel.classfile.annotation.RuntimeVisibleAnnotations; import org.aspectj.apache.bcel.generic.Type; import org.aspectj.asm.AsmManager; import org.a...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
import org.aspectj.weaver.patterns.FormalBinding; import org.aspectj.weaver.patterns.IScope; import org.aspectj.weaver.patterns.ParserException; import org.aspectj.weaver.patterns.PatternParser; import org.aspectj.weaver.patterns.PerCflow; import org.aspectj.weaver.patterns.PerClause; import org.aspectj.weaver.patterns...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * The list of AjAttribute.XXX that we are populating from the @AJ read */ List ajAttributes = new ArrayList(); /** * The resolved type (class) for which we are reading @AJ for (be it class, method, field annotations) */ final ResolvedType enclosingType; final ISourceContext context; final IMes...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private String[] m_argumentNamesLazy = null; public String unparsedArgumentNames = null; final Method method; final BcelMethod bMethod; public AjAttributeMethodStruct(Method method, BcelMethod bMethod, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) { super(type, sourceC...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
final Field field; final BcelField bField; public AjAttributeFieldStruct(Field field, BcelField bField, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) { super(type, sourceContext, messageHandler); this.field = field; this.bField = bField; } } /** * Annotations ar...