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
151,182
Bug 151182 NPE in BcelWeaver using LTW
Hi, I created a logging aspect for our application some time ago using 1.5.0 of AspectJ. I enabled this from time to time using Load Time Weaving. I have recently recompiled the aspect using 1.5.2 and tried to run it also using the 1.5.2 weaver jar, but it fails with a NullPointerException. This is part of one of the m...
resolved fixed
397a19d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:25:50Z
2006-07-20T07:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
private final ClassLoaderWeavingAdaptor weavingAdaptor; private boolean isInitialized; public ExplicitlyInitializedClassLoaderWeavingAdaptor(ClassLoaderWeavingAdaptor weavingAdaptor) { this.weavingAdaptor = weavingAdaptor; this.isInitialized = false; } private voi...
151,182
Bug 151182 NPE in BcelWeaver using LTW
Hi, I created a logging aspect for our application some time ago using 1.5.0 of AspectJ. I enabled this from time to time using Load Time Weaving. I have recently recompiled the aspect using 1.5.2 and tried to run it also using the 1.5.2 weaver jar, but it fails with a NullPointerException. This is part of one of the m...
resolved fixed
397a19d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:25:50Z
2006-07-20T07:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
weavingAdaptor.initialize(loader, weavingContext); } } public ClassLoaderWeavingAdaptor getWeavingAdaptor(ClassLoader loader, IWeavingContext weavingContext) { initialize(loader, weavingContext); return weavingAdaptor; } } /** * Returns a namespac...
151,845
Bug 151845 NPE while building
Building of a large project fails while weaving. NPE in EclipseSourceContext.removeUnnecessaryProblems(..) The project was just migrated to Eclipse 3.2 Eclipse newly installed with Eclipse SDK and via Update manager with AJDT, CDT, Web/J2EE tools, SubClipse, SpringIDE. Same Project workes in Eclipse 3.1. Simple Test As...
resolved fixed
54f7bb4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:27:55Z
2006-07-26T13:20:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseSourceContext.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
151,845
Bug 151845 NPE while building
Building of a large project fails while weaving. NPE in EclipseSourceContext.removeUnnecessaryProblems(..) The project was just migrated to Eclipse 3.2 Eclipse newly installed with Eclipse SDK and via Update manager with AJDT, CDT, Web/J2EE tools, SubClipse, SpringIDE. Same Project workes in Eclipse 3.1. Simple Test As...
resolved fixed
54f7bb4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:27:55Z
2006-07-26T13:20:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseSourceContext.java
CompilationResult result; int offset = 0; public EclipseSourceContext(CompilationResult result) { this.result = result; } public EclipseSourceContext(CompilationResult result, int offset) { this.result = result; this.offset = offset; } public int getOffset() { return offset; } private File getSour...
151,845
Bug 151845 NPE while building
Building of a large project fails while weaving. NPE in EclipseSourceContext.removeUnnecessaryProblems(..) The project was just migrated to Eclipse 3.2 Eclipse newly installed with Eclipse SDK and via Update manager with AJDT, CDT, Web/J2EE tools, SubClipse, SpringIDE. Same Project workes in Eclipse 3.1. Simple Test As...
resolved fixed
54f7bb4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:27:55Z
2006-07-26T13:20:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseSourceContext.java
int likelyOffset = 0; if (line > 0 && line < offsets.length) { likelyOffset = offsets[line-1]; } sl.setOffset(likelyOffset); } return sl; } public void tidy() { result=null; } public void removeUnnecessaryProblems...
151,845
Bug 151845 NPE while building
Building of a large project fails while weaving. NPE in EclipseSourceContext.removeUnnecessaryProblems(..) The project was just migrated to Eclipse 3.2 Eclipse newly installed with Eclipse SDK and via Update manager with AJDT, CDT, Web/J2EE tools, SubClipse, SpringIDE. Same Project workes in Eclipse 3.1. Simple Test As...
resolved fixed
54f7bb4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:27:55Z
2006-07-26T13:20:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseSourceContext.java
private IProblem problemToRemove; public UnusedDeclaredThrownExceptionFilter(IProblem p) { problemToRemove = p; } public boolean accept(IProblem p) { if (p.equals(problemToRemove)) { return true; } return false; } } }
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09: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 Eclipse Public License v1.0 * which accompanies this distribut...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* PARC initial implementation * Alexandre Vasseur support for @AJ aspects * ******************************************************************/ package org.aspectj.weaver.bcel; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
import org.aspectj.apache.bcel.generic.InstructionTargeter; import org.aspectj.apache.bcel.generic.InvokeInstruction; import org.aspectj.apache.bcel.generic.LoadInstruction; import org.aspectj.apache.bcel.generic.LocalVariableTag; import org.aspectj.apache.bcel.generic.MULTIANEWARRAY; import org.aspectj.apache.bcel.gen...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.WeaverMessages; import org.aspectj.weaver.World; import org.aspectj.weaver.ast.Var; import org.aspectj.weaver.patterns.AndPointcut; import org.aspectj.weaver.patterns.IdentityPointcutVisitor; import org.aspectj.weaver.patterns.NotPointcut; import org.a...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* * because of these two facts, the setup of the actual arguments (including * possible target) callback method is the same for both kinds of advice: * push the targetVar, if it exists (it will not exist for advice on static * things), then push all the argVars. * * Protected things: * * * th...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private ShadowRange range; private final BcelWorld world; private final LazyMethodGen enclosingMethod; public static boolean appliedLazyTjpOptimization; private String actualInstructionTargetType; /** * This generates an unassociated shadow, rooted in a particular method but not r...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public BcelShadow copyInto(LazyMethodGen recipient, BcelShadow enclosing) { BcelShadow s = new BcelShadow(world, getKind(), getSignature(), recipient, enclosing); if (mungers.size()>0) { List src = mungers; if (s.mungers==Collections.EMPTY_LIST) s.mungers = new ArrayList(); List dest = s.mungers; ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (depth == 0) break; } ih = ih.getPrev(); } InstructionHandle newHandle = ih; InstructionHandle endHandle = newHandle.getNext(); InstructionHandle nextHandle; if (endHandle.getInstruction() instanceof DUP) { nextHandle = endHandle.getNext(); retargetFrom(newHandle, nextHandle); ret...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
getRange().insert(InstructionConstants.POP, Range.OutsideAfter); } try { range.getBody().delete(newHandle, endHandle); } catch (TargetLostException e) { throw new BCException("shouldn't happen"); } } private void retargetFrom(InstructionHandle old, InstructionHandle fresh) { InstructionTargeter[] s...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (badAdvice == null) badAdvice = new ArrayList(); badAdvice.add(advice); } protected void prepareForMungers() { if (getKind() == ConstructorCall) { if (!world.isJoinpointArrayConstructionEnabled() || !this.getSignature().getDeclaringType().isArray()) deleteNewAndDup(...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
argVars = new BcelVar[1]; UnresolvedType tx = getArgType(0); argVars[0] = genTempVar(tx, "ajc$arg0"); InstructionHandle insertedInstruction = range.insert(argVars[0].createStore(getFactory()), Range.OutsideBefore); InstructionTargete...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (thisJoinPointVar!=null && !isThisJoinPointLazy && badAdvice!=null && badAdvice.size()>1) { int valid = 0; for (Iterator iter = badAdvice.iterator(); iter.hasNext();) { BcelAdvice element = (BcelAdvice) iter.next(); ISourceLocation sLoc = element.getSourceLocation(); if (sLoc!=null && sLoc...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09: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); }...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (getKind() == ConstructorCall) { if (!world.isJoinpointArrayConstructionEnabled() || !this.getSignature().getDeclaringType().isArray()) { range.insert((Instruction) InstructionFactory.createDup(1), Range.InsideBefore); range.insert( fact.createNew( (ObjectType) BcelWorld.makeBcelType( ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
(kind == PreInitialization) || (kind == Initialization)) { if (getEnclosingMethod().hasDeclaredLineNumberInfo()) { return getEnclosingMethod().getDeclarationLineNumber(); } } if (range == null) { if (getEnclosingMethod().hasBody()) { return Utility.getSourceLine(getEn...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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.makeJoinPointSignature(enc...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InvokeInstruction ii = (InvokeInstruction)clinitStart.getInstruction(); if (ii .getName(enclosingMethod.getEnclosingClass().getConstantPoolGen()) .equals(NameMangler.AJC_PRE_CLINIT_NAME)) { clinitStart = clinitStart.getNext(); } } InstructionHandle clinitEnd = body.getEnd(); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* only allows before advice to be woven into it. */ public static BcelShadow makeExceptionHandler( BcelWorld world, ExceptionRange exceptionRange, LazyMethodGen enclosingMethod, InstructionHandle startOfHandler, BcelShadow enclosingShadow) { InstructionList body = enclosingMethod.getBody(); Unresolve...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return s; } private static String findHandlerParamName(InstructionHandle startOfHandler) { if (startOfHandler.getInstruction() instanceof StoreInstruction && startOfHandler.getNext() != null) { int slot = ((StoreInstruction)startOfHandler.getInstruction()).getIndex(); InstructionTargeter[] target...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
LazyMethodGen constructor, Member interfaceConstructorSignature) { constructor.getBody(); BcelShadow s = new BcelShadow( world, Initialization, interfaceConstructorSignature, constructor, null); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09: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 static BcelShadow ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
PreInitialization, world.makeJoinPointSignature(constructor), constructor, null); if (constructor.getEffectiveSignature() != null) { ret.setMatchingSignature(constructor.getEffectiveSignature().getEffectiveSignature()); } return ret; } public static BcelShadow makeMethodExecution( BcelWorld w...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09: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( ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
null); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body), Range.genEnd(body)); return s; } public static BcelShadow makeAdviceExecution( BcelWorld world, Laz...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09: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...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Member sig = world.makeJoinPointSignatureForArrayConstruction(enclosingMethod.getEnclosingClass(),arrayInstruction); BcelShadow s = new BcelShadow( world, ConstructorCall, sig, enclosingMethod, enclosingShadow); ShadowRange r = new ShadowRange(body); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public static BcelShadow makeMonitorExit(BcelWorld world,LazyMethodGen enclosingMethod,InstructionHandle monitorInstruction,BcelShadow enclosingShadow) { final InstructionList body = enclosingMethod.getBody(); Member sig = world.makeJoinPointSignatureForMonitorExit(enclosingMethod.getEnclosingClass(),mo...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
enclosingMethod.getEnclosingClass(), (InvokeInstruction) callHandle.getInstruction()), enclosingMethod, enclosingShadow); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body, cal...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body, callHandle), Range.genEnd(body, callHandle)); retargetAllBranches(callHandle, r.getStart()); return s; } public static BcelShadow m...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return s; } public static BcelShadow makeFieldSet( BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle setHandle, BcelShadow enclosingShadow) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
for (int i = sources.length - 1; i >= 0; i--) { InstructionTargeter source = sources[i]; if (source instanceof BranchInstruction) { source.updateTarget(from, to); } } } } } } /** * If the end of my range has no real instructions following then * my context needs a return at the ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return ((BcelShadow)enclosingShadow).arg0HoldsThis(); } } private BcelVar thisVar = null; private BcelVar targetVar = null; private BcelVar[] argVars = null; private Map kindedAnnotationVars = null; private Map thisAnnotationVars = null; private Map targetAnnotationVars = null; ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public Var getTargetVar() { if (!hasTarget()) { throw new IllegalStateException("no target"); } initializeTargetVar(); return targetVar; } public Var getTargetAnnotationVar(UnresolvedType forAnnotationType) { if (!hasTarget()) { throw new IllegalSt...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public Var getKindedAnnotationVar(UnresolvedType forAnnotationType) { initializeKindedAnnotationVars(); return (Var) kindedAnnotationVars.get(forAnnotationType); } public Var getWithinAnnotationVar(UnresolvedType forAnnotationType) { initializeWithinAnnotationVars(); return (Var) withinAnnotat...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!hasGuardTest) { isThisJoinPointLazy = false; } else { lazyTjpConsumers++; } } } if (thisJoinPointVar == null) { thisJoinPointVar = genTempVar(UnresolvedType.forName("org.aspectj.lang.JoinPoint")); } } public Var getThisJoinPointVar() { requireThisJoinPoint(f...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionFactory fact = getFactory(); InstructionList il = new InstructionList(); il.append(InstructionConstants.ACONST_NULL); il.append(thisJoinPointVar.createStore(fact)); range.insert(il, Range.OutsideBefore); } else { appliedLazyTjpOptimization = false; InstructionFactory fact = getFactory(); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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) {...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} InstructionList createThisJoinPoint() { InstructionFactory fact = getFactory(); InstructionList il = new InstructionList(); BcelVar staticPart = getThisJoinPointStaticPartBcelVar(); staticPart.appendLoad(il, fact); if (hasThis()) { ((BcelVar)getThisVar()).appendLoad(il, fact); } else { il.append...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
new Type[] { LazyClassGen.staticTjpType, Type.OBJECT, Type.OBJECT, Type.OBJECT}, Constants.INVOKESTATIC)); break; case 2: ((BcelVar)getArgVar(0)).appendLoadAndConvert(il, fact, world.getCoreType(ResolvedType.OBJECT)); ((BcelVar)getArgVar(1)).appendLoadAndConvert(il, fact, world.getCor...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return getThisJoinPointStaticPartBcelVar(false); } /** * Get the Var for the xxxxJpStaticPart, xxx = this or enclosing * @param isEnclosingJp true to have the enclosingJpStaticPart * @return */ public BcelVar getThisJoinPointStaticPartBcelVar(final boolean isEnclosingJp) { if (thisJ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public BcelVar getThisEnclosingJoinPointStaticPartBcelVar() { if (enclosingShadow == null) { return getThisJoinPointStaticPartBcelVar(true); } else { return ((BcelShadow)enclosingShadow).getThisJoinPointStaticPartBcelVar(true); } } public Member getEnclosingCodeSignat...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
arrayVar.appendStore(il, fact); int stateIndex = 0; for (int i = 0, len = getArgCount(); i<len; i++) { arrayVar.appendConvertableArrayStore(il, fact, stateIndex, (BcelVar)getArgVar(i)); stateIndex++; } arrayVar.appendLoad(il, fact); return il; } ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
targetVar.setPositionInAroundState(hasThis() ? 1 : 0); } } /* PR 72528 * This method double checks the target type under certain conditions. The Java 1.4 * compilers seem to take calls to clone methods on array types and create bytecode that * looks like clone is being c...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} if (searchPtr.getInstruction() instanceof LoadInstruction) { LoadInstruction li = (LoadInstruction)searchPtr.getInstruction(); li.getIndex(); LocalVariableTag lvt = LazyMethodGen.getLocalVariableTag(searchPtr,li.getIndex()); if ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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 initializeArgVars() { if (argVars != null) return; Instructio...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
for (int i = 0; i < len; i++) { UnresolvedType type = getArgType(i); BcelVar tmp = genTempVar(type, "ajc$arg" + i); range.insert(tmp.createCopyFrom(fact, index), Range.OutsideBefore); argVars[i] = tmp; int position = i; pos...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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 = getArgCoun...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
for (Iterator iter = mungers.iterator(); iter.hasNext();) { BcelTypeMunger typeMunger = (BcelTypeMunger) iter.next(); if (typeMunger.getMunger() instanceof NewMethodTypeMunger || typeMunger.getMunger() instanceof NewConstructorTypeMunger) { ResolvedMember fakerm = typeMunger.getSignature(); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelTypeMunger typeMunger = (BcelTypeMunger) iter.next(); if (typeMunger.getMunger() instanceof NewMethodTypeMunger || typeMunger.getMunger() instanceof NewConstructorTypeMunger) { ResolvedMember fakerm = typeMunger.getSignature(); ResolvedMember ajcMethod = (getSignat...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
kindedAnnotationVars = new HashMap(); ResolvedType[] annotations = null; Member relevantMember = getSignature(); ResolvedType relevantType = relevantMember.getDeclaringType().resolve(world); if (relevantType.isRawType() || relevantType.isParameterizedType()) releva...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ResolvedMember ajcMethod = AjcMemberMaker.interFieldInitializer(fakerm,typeMunger.getAspectType()); ResolvedMember rmm = findMethod(typeMunger.getAspectType(),ajcMethod); if (fakerm.equals(getSignature())) { relevantType = typeMunger.getAspectType(); relevantMember = rmm; } ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (annotations == null) { throw new BCException("Couldn't discover annotations for shadow: "+getKind()); } for (int i = 0; i < annotations.length; i++) { ResolvedType aTX = annotations[i]; KindedAnnotationAccessVar kaav = new KindedAnnotationAccessVar(getKind(),aTX.resolve(world),relev...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} private ResolvedMember findField(ResolvedMember[] members,Member lookingFor) { for (int i = 0; i < members.length; i++) { ResolvedMember member = members[i]; if ( member.getName().equals(getSignature().getName()) && member.getType().equals(getSignature().getType())) { return member; } ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ResolvedType[] annotations = getEnclosingMethod().getMemberView().getAnnotationTypes(); for (int i = 0; i < annotations.length; i++) { ResolvedType ann = annotations[i]; Kind k = (getEnclosingMethod().getMemberView().getKind()==Member.CONSTRUCTOR? Shadow.ConstructorExecution:Shadow.MethodExecution); w...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* To achieve this, we note all the return statements in the advice, and * replace them with code that: * 1) stores the return value on top of the stack in a temp var * 2) jumps to the start of our advice block * 3) restores the return value at the end of the advice block before * ultimately returning * ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (hasReturnInstructions) { InstructionHandle gotoTarget = advice.getStart(); for (Iterator i = returns.iterator(); i.hasNext();) { InstructionHandle ih = (InstructionHandle) i.next(); retargetReturnInstruction(munger.hasExtraParameter(), returnValueVar, gotoTarget, ih); } ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* @param returns list of all the return instructions in the shadow * @param returnInstructions instruction list into which the return instructions should * be generated * @return the variable holding the return value, if needed */ private BcelVar generateReturnInstructions(List returns, InstructionList returnI...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
*/ private InstructionList getAfterReturningAdviceDispatchInstructions(BcelAdvice munger, InstructionHandle firstInstructionInReturnSequence) { InstructionList advice = new InstructionList(); BcelVar tempVar = null; if (munger.hasExtraParameter()) { tempVar = insertAdviceInstruct...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} /** * Helper method for weaveAfterReturning * * Each return instruction in the method body is retargeted by calling this method. * The return instruction is replaced by up to three instructions: * 1) if the shadow returns a value, and that value is bound to an after returning * parameter, then we DUP th...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
gotoTarget)); } if (newInstructions.isEmpty()) { newInstructions.append(InstructionConstants.NOP); } Utility.replaceInstruction(returnHandle,newInstructions,enclosingMethod); } private boolean isLastInstructionInRange(InstructionHandle ih, ShadowRange aRange) { return ih.getNext() == aRange.getEnd(...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BranchInstruction bi = InstructionFactory.createBranchInstruction(Constants.IFEQ,ih.getStart()); handler.append(bi); handler.append(exceptionVar.createLoad(fact)); handler.append(fact.createCheckCast(eiieBcelType)); handler.append(InstructionConstants.ATHROW); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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.appe...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionHandle jumpTarget = range.getEnd(); rtExHandler.insert(InstructionFactory.createBranchInstruction(Constants.GOTO, jumpTarget)); } rtExHandler.append(handler); InstructionHandle protectedEnd = rtExHandler.getStart(); range.insert(rtExHandler, Range.InsideAfter); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} /** * Causes the aspect instance to be *set* for later retrievable through localAspectof()/aspectOf() */ public void weavePerTypeWithinAspectInitialization(final BcelAdvice munger,UnresolvedType t) { if (t.resolve(world).isInterface()) return; final InstructionFactory fact = getFactory(); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09: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 fact = get...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!cflowField.getType().getName().endsWith("CFlowCounter")) throw new RuntimeException("Incorrectly attempting counter operation on stacked cflow"); entrySuccessInstructions.append( Utility.createGet(fact, cflowField)); entrySuccessInstructions.append(fact.createInvoke(NameMangler.C...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } InstructionList testInstructions = munger.getTestInstructions(this, entrySuccessInstructions.getStart(), range.getRealStart(), entrySuccessInstructions.getStart()); entryInstructions.append(testInstructions); entryInstructions.append(entrySuccessInstructions); } we...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
.append( fact .createInvoke( NameMangler.CFLOW_COUNTER_TYPE, "dec", Type.VOID, new Type[] { }, Constants.INVOKEVIRTUAL)); } else { exitInstructions .append( fact .createInvoke( NameMangler.CFLOW_STACK_TYPE, "pop", Type.VOID, ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* an extracted method. This allows inlining of even that advice that doesn't * call proceed or calls proceed more than once. * * It extracts the instructions of the original shadow into a method. * * Then it extracts the instructions of the advice into a new method defined on * this enclosing clas...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Member mungerSig = munger.getSignature(); if (mungerSig instanceof ResolvedMember) { ResolvedMember rm = (ResolvedMember)mungerSig; if (rm.hasBackingGenericMember()) mungerSig = rm.getBackingGenericMember(); } ResolvedType declaringType = world.resolve(mungerSig.getDec...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ConstantPoolGen cpg = adviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { InstructionHandle next = curr.getNext(); Instruction inst = curr.getInstruction(); if ((inst instanceof InvokeInstruction) && ((InvokeInstruc...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
LazyMethodGen extractedMethod = extractMethod( NameMangler.aroundCallbackMethodName(getSignature(),getEnclosingClass()), Modifier.PRIVATE, munger); String adviceMethodName = NameMangler.aroundCallbackMethodName(getSignature(),getEnclosingClass()) + "$advice"; ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
argVarList.add(argVars[i]); proceedVarList.add(new BcelVar(argVars[i].getType(), extraParamOffset)); extraParamOffset += argVars[i].getType().getSize(); } if (thisJoinPointVar != null) { argVarList.add(thisJoinPointVar); proceedVarList.add(new BcelVar(thisJoinPointVar.getType(), extraParamOffset)); e...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
parameterIndex, adviceParameterTypes.length); LazyMethodGen localAdviceMethod = new LazyMethodGen( Modifier.PRIVATE | Modifier.FINAL | Modifier.STATIC, BcelWorld.makeBcelType(mungerSig.getReturnType()), adviceMethodName, parameterTypes, new String[0], getEnclosingCl...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
localAdviceMethod.getBody().insert( BcelClassWeaver.genInlineInstructions(adviceMethod, localAdviceMethod, varMap, fact, true)); localAdviceMethod.setMaxLocals(nVars); InstructionList advice = new InstructionList(); { fo...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
advice.append( Utility.createInvoke(fact, localAdviceMethod)); advice.append( Utility.createConversion( getFactory(), BcelWorld.makeBcelType(mungerSig.getReturnType()), extractedMethod.getReturnType(),world.isInJava5Mode())); if (! isFallsThroug...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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(afterThingie); } if...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
munger, localAdviceMethod, proceedVarList)); Utility.deleteInstruction(curr, localAdviceMethod); } curr = next; } } else { InstructionHandle ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
localAdviceMethod, proceedVarList, isProceedWithArgs ); localAdviceMethod.getBody().append(curr, insteadProceedIl); Utility.deleteInstruction(curr, localAdviceMethod); } cu...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ResolvedType[] newTypes = new ResolvedType[len]; System.arraycopy(proceedParamTypes, 0, newTypes, 0, len); proceedParamTypes = newTypes; } BcelVar[] proceedVars = Utility.pushAndReturnArrayOfVars(proceedParamTypes, ret, fact, localAdviceMethod); Type[] stateTypes = callbackMethod.getArgumentTypes(); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} private static class ThisTargetFinder extends IdentityPointcutVisitor { boolean bindsThisOrTarget = false; public Object visit(ThisOrTargetPointcut node, Object data) { if (node.isBinding()) { bindsThisOrTarget = true; } return node; } ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionFactory fact, LazyMethodGen callbackMethod, BcelAdvice munger, LazyMethodGen localAdviceMethod, List argVarList, boolean isProceedWithArgs) { Notes: ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Type proceedingJpType = Type.getType("Lorg/aspectj/lang/ProceedingJoinPoint;"); int localJp = localAdviceMethod.allocateLocal(proceedingJpType); ret.append(InstructionFactory.createStore(proceedingJpType, localJp)); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
indexIntoObjectArrayForArguments=1; } else { ret.append(new ALOAD(0)); indexIntoCallbackMethodForArguments++; } } if (hasTarget()) { if (relatedPointcutBindsTarget) { if (getKind().isT...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
ret.append(InstructionFactory.createLoad(localAdviceMethod.getArgumentTypes()[0],hasThis()?1:0)); indexIntoCallbackMethodForArguments++; } } } for (int i = indexIntoCallbackMethodForArguments, len=callbackMethod.getArgumen...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelWorld.fromBcel(stateType).resolve(world); if ("Lorg/aspectj/lang/JoinPoint;".equals(stateType.getSignature())) { ret.append(new ALOAD(localJp)); } else { ret.append(InstructionFactory.createLoad(stateType, i)); } } ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private boolean bindsTarget(BcelAdvice munger) { UsesTargetVisitor utv = new UsesTargetVisitor(); munger.getPointcut().accept(utv, null); return utv.usesTarget; } private static class UsesThisVisitor extends IdentityPointcutVisitor { boolean usesThis = false; public Object...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
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; } public Object visit(AndPointcut node, Object data) { if (!usesTarget) node.getLeft().accept(thi...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!usesTarget) node.getLeft().accept(this, data); if (!usesTarget) node.getRight().accept(this, data); return node; } } public void weaveAroundClosure(BcelAdvice munger, boolean hasDynamicTest) { InstructionFactory fact = getFactory(); enclosingMethod.setCanInline(false); ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (getKind() == PreInitialization) { closureHolder = genTempVar(AjcMemberMaker.AROUND_CLOSURE_TYPE); } InstructionList closureInstantiation = makeClosureInstantiation(constructorSig, closureHolder); makeClosureClassAndReturnConstructor( closureCla...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
returnConversionCode.append(InstructionConstants.ALOAD_0); for (int i = 0, len = stateTypes.length; i < len; i++) { UnresolvedType bcelTX = BcelWorld.fromBcel(stateTypes[i]); ResolvedType stateRTX = world.resolve(bcelTX,true); if (stateRTX.isMissing()) { ...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (getKind().isTargetSameAsThis()) bitflags|=0x010000; if (hasThis()) bitflags|=0x001000; if (bindsThis(munger)) bitflags|=0x000100; if (hasTarget()) bitflags|=0x000010; if (bindsTarget(munger)) bitflags|=0x000001; if (munger.g...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
range.append(advice); } else { InstructionList callback = makeCallToCallback(callbackMethod); InstructionList postCallback = new InstructionList(); if (terminatesWithReturn()) { callback.append( InstructionFactory.createReturn(callbackMethod.getReturnType())); } else { advice.append( Ins...
151,673
Bug 151673 Incorrect weaving of after returning when 'input' bytecode is of a strange form
We have had a user report a problem where after advice being woven into a particular method is producing code that does not verify. The problem occurs if the bytecode being input to the weaving process includes a subroutine that contains the return from the method. Here is the problematic snippet produced by some unkno...
resolved fixed
e4ab0ae
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-27T09:57:26Z
2006-07-25T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
callback.append(InstructionConstants.ALOAD_0); } if (targetVar != null && targetVar != thisVar) { callback.append(BcelRenderer.renderExpr(fact, world, targetVar)); } callback.append(BcelRenderer.renderExprs(fact, world, argVars)); if (thisJoinPointVar != nul...