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
147,801
Bug 147801 java.lang.ClassFormatError: Repetitive method name/signature
I get a ClassFormatError trying to perform runtime-weaving on a DB2 class. The class being woven is COM.ibm.db2.jdbc.app.DB2PreparedStatement. The full message exception is: java.lang.ClassFormatError: Repetitive method name/signature in class file COM/ibm/db2/jdbc/app/DB2PreparedStatement. In examining the post-weave ...
resolved fixed
13dde4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-21T11:33:21Z
2006-06-19T20:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (canMatch(Shadow.FieldGet) || canMatch(Shadow.FieldSet)) match(BcelShadow.makeShadowForMethodCall(world, mg, ih, enclosingShadow, kind, declaredSig), shadowAccumulator); } else { AjAttribute.EffectiveSignatureAttribute effectiveSig = declaredSig.getEffectiveSignature(); if (effecti...
147,801
Bug 147801 java.lang.ClassFormatError: Repetitive method name/signature
I get a ClassFormatError trying to perform runtime-weaving on a DB2 class. The class being woven is COM.ibm.db2.jdbc.app.DB2PreparedStatement. The full message exception is: java.lang.ClassFormatError: Repetitive method name/signature in class file COM/ibm/db2/jdbc/app/DB2PreparedStatement. In examining the post-weave ...
resolved fixed
13dde4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-21T11:33:21Z
2006-06-19T20:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private static boolean captureLowLevelContext = false; private boolean match(BcelShadow shadow, List shadowAccumulator) { if (captureLowLevelContext) { ContextToken shadowMatchToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.MATCHING_SHADOW, shadow); boole...
147,801
Bug 147801 java.lang.ClassFormatError: Repetitive method name/signature
I get a ClassFormatError trying to perform runtime-weaving on a DB2 class. The class being woven is COM.ibm.db2.jdbc.app.DB2PreparedStatement. The full message exception is: java.lang.ClassFormatError: Repetitive method name/signature in class file COM/ibm/db2/jdbc/app/DB2PreparedStatement. In examining the post-weave ...
resolved fixed
13dde4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-21T11:33:21Z
2006-06-19T20:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (munger.match(shadow, world)) { shadow.addMunger(munger); isMatched = true; if (shadow.getKind() == Shadow.StaticInitialization) { clazz.warnOnAddedStaticInitializer(shadow,munger.getSourceLocation()); } } } if (isMatched) s...
147,801
Bug 147801 java.lang.ClassFormatError: Repetitive method name/signature
I get a ClassFormatError trying to perform runtime-weaving on a DB2 class. The class being woven is COM.ibm.db2.jdbc.app.DB2PreparedStatement. The full message exception is: java.lang.ClassFormatError: Repetitive method name/signature in class file COM/ibm/db2/jdbc/app/DB2PreparedStatement. In examining the post-weave ...
resolved fixed
13dde4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-21T11:33:21Z
2006-06-19T20:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
mg.matchedShadows = null; } public LazyClassGen getLazyClassGen() { return clazz; } public List getShadowMungers() { return shadowMungers; } public BcelWorld getWorld() { return world; } public static void setReweavableMode(boolean mode) { inReweavableMode = mode; } public stat...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * 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:www...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testBrokenAddSerialVersionUID_pr145950() {runTest("fails to discover Serializable");} public void testNoUnnecessaryDeclarationOfThrownExcp_pr129282_1() {runTest("no unnecessary declaration of thrown exception warning - 1");} public void testNoUnnecessaryDeclarationOfThrownExcp_pr129282_2() {runTest("no ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testCompletelyBrokenAopConcretization_pr142165_2() { runTest("broken concretization - 2");} public void testCompletelyBrokenAopConcretization_pr142165_3() { runTest("broken concretization - 3");} public void testVerifyErrorLTW_pr135068() { runTest("ltw verifyerror");} public void testVerifyErrorLTW_pr...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testNoClassCastExceptionWithPerThis_pr138286() { runTest("No ClassCastException with perThis");} public void testGenericAspectHierarchyWithBounds_pr147845() { runTest("Generic abstract aspect hierarchy with bounds"); } public void testDeclareAtMethodRelationship_pr143924() { runTest("declare @...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
assertTrue("'debit(java.lang.String,long)' should have one targets but has" + matchesTargets.size(),matchesTargets.size()==1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)matchesTargets.get(0)); assertEquals("target of relationship should be the 'declare @method' ipe but is IP...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
assertTrue("expected parameter to be 'Ljava/lang/String;' but found '" + new String(((char[])l.get(1))) + "'",eq); } public void testGetParameterTypes_pr141730() { runTest("new IProgramElement handle methods"); checkParametersForIPE("intMethod(int)",IProgramElement.Kind.METHOD,"int",false); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
} public void testAspectPathRelWhenNotFillingInModel_pr141730() { World.createInjarHierarchy = false; try { runTest("ensure aspectpath injar relationships are correct when not filling in model"); IHierarchy ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
assertEquals("expected MyBar.aj to have one relationships but found " + relationships.size(),1,relationships.size()); Relationship rel = (Relationship)relationships.get(0); assertEquals("expected relationship to be 'advises' but was " + rel.getName(), "advises", rel.getName()); List ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
} else { fail("unexpected element " + ipe.getName() + " in the relationship map"); } } } finally { World.createInjarHierarchy = true; } } public void testNoNPEWithInpathWhenNotFillingInModel_pr141730() { World.createInjarHierarchy = false; try { runTest("ensure inpath ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
IRelationshipMap relMap = AsmManager.getDefault().getRelationshipMap(); assertEquals("expected 3 entries in the relationship map but found " + relMap.getEntries().size(), 3, relMap.getEntries().size()); } finally { World.createInjarHierarchy = true; } } public void testNoAspects(){ runT...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
l = ipe.getParameterTypes(); } boolean eq = CharOperation.equals(((char[])l.get(0)),expectedParm.toCharArray()); assertTrue("expected parameter to be '" + expectedParm + "' but found '" + new String(((char[])l.get(0))) + "'",eq); } private void checkSignatureOfIPE(String ipeLabel, IProgramE...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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 ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelShadow enclosingShadow) { super(kind, signature, enclosingShadow); this.world = world; this.enclosingMethod = enclosingMethod; } public BcelShadow copyInto(LazyMethodGen recipient, BcelShadow enclosing) { BcelShadow s = new BcelShadow(world, getKind(), getSignature(), recipient, enclosing); if (mung...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (inst instanceof INVOKESPECIAL && ((INVOKESPECIAL) inst).getName(cpg).equals("<init>")) { depth++; } else if (inst instanceof NEW) { depth--; if (depth == 0) break; } ih = ih.getPrev(); } InstructionHandle newHandle = ih; InstructionHandle endHandle = newHandle.getNext(); Ins...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
retargetFrom(endHandle, nextHandle); } else { endHandle = newHandle; nextHandle = endHandle.getNext(); retargetFrom(newHandle, nextHandle); getRange().insert(InstructionConstants.POP, Range.OutsideAfter); } try { range.getBody().delete(newHandle, endHandle); } catch (TargetLostExceptio...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
private List badAdvice = null; public void addAdvicePreventingLazyTjp(BcelAdvice advice) { if (badAdvice == null) badAdvice = new ArrayList(); badAdvice.add(advice); } protected void prepareForMungers() { if (getKind() == ConstructorCall) { if (!world.isJoinpointArrayC...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList body = range.getBody(); InstructionHandle start = range.getStart(); argVars = new BcelVar[1]; UnresolvedType tx = getArgType(0); argVars[0] = genTempVar(tx, "ajc$arg0"); InstructionHandle insertedInstruction = range.insert(a...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
munger.specializeOn(this); } initializeThisJoinPoint(); if (thisJoinPointVar!=null && !isThisJoinPointLazy && badAdvice!=null && badAdvice.size()>1) { int valid = 0; for (Iterator iter = badAdvice.iterator(); iter.hasNext();) { BcelAdvice element = (BcelAdvice) iter.next(); ISourceLoc...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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); }...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (targetVar != null) { range.insert( BcelRenderer.renderExpr(fact, world, targetVar), Range.InsideBefore); } if (getKind() == ConstructorCall) { if (!world.isJoinpointArrayConstructionEnabled() || !this.getSignature().getDeclaringType().isArray()) { range.insert((Instruction) Instruct...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Kind kind = getKind(); if ( (kind == MethodExecution) || (kind == ConstructorExecution) || (kind == AdviceExecution) || (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) { if (getEnclosingMethod().hasDeclaredLineNumberInfo()) { return g...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public BcelWorld getWorld() { return world; } public static BcelShadow makeConstructorExecution( BcelWorld world, LazyMethodGen enclosingMethod, InstructionHandle justBeforeStart) { final InstructionList body = enclosingMethod.getBody(); BcelShadow s = new BcelS...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
{ InstructionList body = enclosingMethod.getBody(); InstructionHandle clinitStart = body.getStart(); if (clinitStart.getInstruction() instanceof InvokeInstruction) { InvokeInstruction ii = (InvokeInstruction)clinitStart.getInstruction(); if (ii .getName(enclosingMethod.g...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Range.genEnd(body, clinitEnd)); return s; } /** Make the shadow for an exception handler. Currently makes an empty shadow that * only allows before advice to be woven into it. */ public static BcelShadow makeExceptionHandler( BcelWorld world, ExceptionRange exceptionRange, LazyMethodGen en...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionHandle start = Range.genStart(body, startOfHandler); InstructionHandle end = Range.genEnd(body, start); r.associateWithTargets(start, end); exceptionRange.updateTarget(startOfHandler, start, body); return s; } private static String findHandlerParamName(Instruction...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
public static BcelShadow makeIfaceInitialization( BcelWorld world, LazyMethodGen constructor, Member interfaceConstructorSignature) { constructor.getBody(); BcelShadow s = new BcelShadow( world, Initialization, interfaceConstructorSigna...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Range.genEnd(body, nop)); } { } /** 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 i...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelWorld world, LazyMethodGen constructor) { BcelShadow ret = new BcelShadow( world, PreInitialization, world.makeJoinPointSignature(constructor), constructor, null); if (constructor.getEffectiveSignature() != null) { ret.setMatchingSignature(constructor.getEffectiveSignature().getEffectiveS...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return s; } 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 makeMethod...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
new BcelShadow( world, kind, sig, enclosingMethod, null); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body), Range.genEnd(body)); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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.makeJoinPoin...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return s; } public static BcelShadow makeArrayConstructorCall(BcelWorld world,LazyMethodGen enclosingMethod,InstructionHandle arrayInstruction,BcelShadow enclosingShadow) { final InstructionList body = enclosingMethod.getBody(); Member sig = world.makeJoinPointSignatureForArrayConstruction(enclos...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Range.genEnd(body, monitorInstruction)); retargetAllBranches(monitorInstruction, r.getStart()); return s; } public static BcelShadow makeMonitorExit(BcelWorld world,LazyMethodGen enclosingMethod,InstructionHandle monitorInstruction,BcelShadow enclosingShadow) { final Ins...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelShadow s = new BcelShadow( world, MethodCall, world.makeJoinPointSignatureForMethodInvocation( enclosingMethod.getEnclosingClass(), (InvokeInstruction) callHandle.getInstruction()), enclosingMethod, ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
world, kind, sig, enclosingMethod, enclosingShadow); ShadowRange r = new ShadowRange(body); r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body, callHandle), Range.genEnd(body, callHandle)); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
r.associateWithShadow(s); r.associateWithTargets( Range.genStart(body, getHandle), Range.genEnd(body, getHandle)); retargetAllBranches(getHandle, r.getStart()); return s; } public static BcelShadow makeFieldSet( BcelWorld world, LazyMe...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return s; } public static void retargetAllBranches(InstructionHandle from, InstructionHandle to) { InstructionTargeter[] sources = from.getTargeters(); if (sources != null) { for (int i = sources.length - 1; i >= 0; i--) { InstructionTargeter source = sources[i]; if (source instanceof BranchInst...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} else if (enclosingShadow == null) { return !enclosingMethod.isStatic(); } else { return ((BcelShadow)enclosingShadow).arg0HoldsThis(); } } private BcelVar thisVar = null; private BcelVar targetVar = null; private BcelVar[] argVars = null; private Map kinded...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Var v = (Var) thisAnnotationVars.get(forAnnotationType); if (v==null) v = new TypeAnnotationAccessVar(forAnnotationType.resolve(world),(BcelVar)getThisVar()); return v; } public Var getTargetVar() { if (!hasTarget()) { throw new IllegalStateException("no target"); }...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
Var v= (Var) argAnnotationVars[i].get(forAnnotationType); if (v==null) v = new TypeAnnotationAccessVar(forAnnotationType.resolve(world),(BcelVar)getArgVar(i)); return v; } public Var getKindedAnnotationVar(UnresolvedType forAnnotationType) { initializeKindedAnnotationVars(); return (Var...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return getThisEnclosingJoinPointStaticPartBcelVar(); } public void requireThisJoinPoint(boolean hasGuardTest, boolean isAround) { if (!isAround){ if (!hasGuardTest) { isThisJoinPointLazy = false; } else { lazyTjpConsumers++; } } } if (thisJoinPointVar == null) { thisJoinPointVa...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
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(f...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
getSourceLocation(), new ISourceLocation[] { munger.getSourceLocation() } ); } } return false; } } } return true; } InstructionList loadThisJoinPoint() { InstructionFactory fact = getFactory(); InstructionList il = new InstructionList(); if (is...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
thisJoinPointVar.appendLoad(il, fact); } return il; } InstructionList createThisJoinPoint() { InstructionFactory fact = getFactory(); InstructionList il = new InstructionList(); BcelVar staticPart = getThisJoinPointStaticPartBcelVar(); staticPart.appendLoad(il, fact); if (hasThis()) { ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
break; case 1: ((BcelVar)getArgVar(0)).appendLoadAndConvert(il, fact, world.getCoreType(ResolvedType.OBJECT)); il.append(fact.createInvoke("org.aspectj.runtime.reflect.Factory", "makeJP", LazyClassGen.tjpType, new Type[] { LazyClassGen.staticTjpType, Type.OBJECT, Type.OBJECT, Ty...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
/** * 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 enclosingJp...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} /** * Get the Var for the enclosingJpStaticPart * @return */ public BcelVar getThisEnclosingJoinPointStaticPartBcelVar() { if (enclosingShadow == null) { return getThisJoinPointStaticPartBcelVar(true); } else { return ((BcelShadow)enclosingShadow).getThisJoinPointSt...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
BcelVar arrayVar = genTempVar(UnresolvedType.OBJECTARRAY); final InstructionList il = new InstructionList(); int alen = getArgCount() ; il.append(Utility.createConstant(fact, alen)); il.append((Instruction)fact.createNewArray(Type.OBJECT, (short)1)); arrayVar.appendStore(il, fact...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
initializeArgVars(); UnresolvedType type = getTargetType(); type = ensureTargetTypeIsCorrect(type); targetVar = genTempVar(type, "ajc$target"); range.insert(targetVar.createStore(fact), Range.OutsideBefore); targetVar.setPositionInAroundState(hasThis() ? 1 : 0)...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionHandle searchPtr = range.getStart().getPrev(); while (Range.isRangeHandle(searchPtr) || searchPtr.getInstruction() instanceof StoreInstruction) { searchPtr = searchPtr.getPrev(); } if (searchPtr.getInstruction() in...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return BcelWorld.fromBcel(new ArrayType(Type.OBJECT,ana.getDimensions())); } throw new BCException("Can't determine real target of clone() when processing instruction "+ searchPtr.getInstruction()+". Perhaps avoid selecting clone with your pointcut?"); } return tx; }...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } else { int index = 0; if (arg0HoldsThis()) index++; for (int i = 0; i < len; i++) { UnresolvedType type = getArgType(i); BcelVar tmp = genTempVar(type, "ajc$arg" + i); range.insert(tmp.createCopyFrom(fact, inde...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (hasThis()) initializeThisAnnotationVars(); targetAnnotationVars = thisAnnotationVars; } else { targetAnnotationVars = new HashMap(); ResolvedType[] rtx = this.getTargetType().resolve(world).getAnnotationTypes(); for (int i = 0; i < rtx.length; i++) { ResolvedType ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
foundMember = relevantType.lookupMemberWithSupersAndITDs(relevantMember); } List mungers = relevantType.resolve(world).getInterTypeMungers(); for (Iterator iter = mungers.iterator(); iter.hasNext();) { BcelTypeMunger typeMunger = (BcelTypeMunger) iter.next(); if (typeMunger.getMun...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
protected ResolvedType [] getAnnotations(Member foundMember, Member relevantMember, ResolvedType relevantType){ if (foundMember == null){ List mungers = relevantType.resolve(world).getInterTypeMungers(); for (Iterator iter = mungers.iterator(); iter.hasNext();) { BcelTypeMunger typeMunger...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return foundMember.getAnnotationTypes(); } public void initializeKindedAnnotationVars() { if (kindedAnnotationVars != null) return; kindedAnnotationVars = new HashMap(); ResolvedType[] annotations = null; Member relevantMember = getSignature(); Reso...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
List mungers = relevantType.resolve(world).getInterTypeMungers(); for (Iterator iter = mungers.iterator(); iter.hasNext();) { BcelTypeMunger typeMunger = (BcelTypeMunger) iter.next(); if (typeMunger.getMunger() instanceof NewFieldTypeMunger) { ResolvedMember fakerm = typeMunger.getSignature(); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} else if (getKind() == Shadow.PreInitialization || getKind() == Shadow.Initialization) { ResolvedMember found = findMethod2(relevantType.getDeclaredMethods(),getSignature()); annotations = found.getAnnotationTypes(); } if (annotations == null) { throw new BCException("Couldn't ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
for (int i = 0; i < decMethods.length; i++) { ResolvedMember member = decMethods[i]; if (member.equals(ajcMethod)) return member; } return null; } private ResolvedMember findField(ResolvedMember[] members,Member lookingFor) { for (int i = 0; i < members.length; i++) { ResolvedMember member = memb...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public void initializeWithinCodeAnnotationVars() { if (withincodeAnnotationVars != null) return; withincodeAnnotationVars = new HashMap(); ResolvedType[] annotations = getEnclosingMethod().getMemberView().getAnnotationTypes(); for (int i = 0; i < annotations.length; i++) { Resolve...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
/** * We guarantee that the return value is on the top of the stack when * munger.getAdviceInstructions() will be run * (Unless we have a void return type in which case there's nothing) */ public void weaveAfterReturning(BcelAdvice munger) { List returns = new ArrayList(); Instructi...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
43: d2i 44: invokespecial #23; Method java/lang/Object."<init>":()V */ retList = new InstructionList(InstructionConstants.NOP); afterAdvice = retList.getStart(); } InstructionList advice = new InstructionList(); BcelVar tempVar = null; i...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
enclosingMethod); } range.append(advice); range.append(retList); } else { range.append(advice); range.append(retList); } } public void weaveAfterThrowing(BcelAdvice munger, UnresolvedType catchType) { if (...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionFactory.createBranchInstruction(Constants.IFEQ,ih.getStart()); handler.append(bi); handler.append(exceptionVar.createLoad(fact)); handler.append(fact.createCheckCast(eiieBcelType)); handler.append(InstructionConstants.ATHROW); handler.append(ih); } ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
rtExHandler.insert(InstructionFactory.createBranchInstruction(Constants.GOTO, jumpTarget)); } rtExHandler.append(handler); InstructionHandle protectedEnd = rtExHandler.getStart(); range.insert(rtExHandler, Range.InsideAfter); enclosingMethod.addExceptionHandler(range.getStart().getNex...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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(); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
final boolean isPer = munger.getKind() == AdviceKind.PerCflowBelowEntry || munger.getKind() == AdviceKind.PerCflowEntry; final Type objectArrayType = new ArrayType(Type.OBJECT, 1); final InstructionFactory fact = getFactory(); final BcelVar testResult = genTempVar(ResolvedType.BOOLEAN); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
throw new RuntimeException("Incorrectly attempting counter operation on stacked cflow"); entrySuccessInstructions.append( Utility.createGet(fact, cflowField)); entrySuccessInstructions.append(fact.createInvoke(NameMangler.CFLOW_COUNTER_TYPE,"inc",Type.VOID,new Type[] { },Constants.INVOKEVIRT...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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); } weaveAf...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
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, new Type[] { ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
/* Implementation notes: * * AroundInline still extracts the instructions of the original shadow into * an extracted method. This allows inlining of even that advice that doesn't * call proceed or calls proceed more than once. * * It extracts the instructions of the original shadow into a method....
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53: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...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
boolean canSeeProceedPassedToOther = false; InstructionHandle curr = adviceMethod.getBody().getStart(); InstructionHandle end = adviceMethod.getBody().getEnd(); ConstantPoolGen cpg = adviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
LazyMethodGen extractedMethod = extractMethod( NameMangler.aroundCallbackMethodName( getSignature(), getEnclosingClass()), Modifier.PRIVATE, munger ); String adviceMethodName = NameMangler.aroundCallbackMethodName(...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (targetVar != null && targetVar != thisVar) { argVarList.add(targetVar); proceedVarList.add(new BcelVar(targetVar.getType(), extraParamOffset)); extraParamOffset += targetVar.getType().getSize(); } for (int i = 0, len = getArgCount(); i < len; i++) { argVarList.add(argVars[i]); proceedVarList.add(...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
parameterIndex += extractedMethodParameterTypes.length; parameterTypes[parameterIndex++] = BcelWorld.makeBcelType(adviceMethod.getEnclosingClass().getType()); System.arraycopy( adviceParameterTypes, 0, parameterTypes, parameterIndex, adviceParameterTypes.length); LazyMethodGen localAdviceM...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
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,...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
advice.append( munger.getAdviceArgSetup( this, null, (munger.getConcreteAspect().isAnnotationStyleAspect() && munger.getDeclaringAspect()!=null && munger.getDeclaringAspect().resolve(world).isAnnotationStyleAspect())? this.loadThisJoinPoint(): new Instr...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} else { advice.append( InstructionFactory.createBranchInstruction( Constants.GOTO, afterThingie.getStart())); } range.append( munger.getTestInstructions( this, advice.getStart(), callback.getStart(), advice.getStart())); range.append(advice); ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if ((inst instanceof INVOKESTATIC) && proceedName.equals(((INVOKESTATIC) inst).getMethodName(cpg))) { localAdviceMethod.getBody().append( curr, getRedoneProceedCall( fact, extr...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} else { isProceedWithArgs = false; } InstructionList insteadProceedIl = getRedoneProceedCallForAnnotationStyle( fact, extractedMethod, munger, ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
IntMap proceedMap = makeProceedArgumentMap(adviceVars); ResolvedType[] proceedParamTypes = world.resolve(munger.getSignature().getParameterTypes()); if (munger.getBaseParameterCount()+1 < proceedParamTypes.length) { int len = munger.getBaseParameterCount()+1; ResolvedType[] newTypes = new ResolvedTy...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
return ret; } private static boolean bindsThisOrTarget(Pointcut pointcut) { ThisTargetFinder visitor = new ThisTargetFinder(); pointcut.accept(visitor, null); return visitor.bindsThisOrTarget; } private static class ThisTargetFinder extends IdentityPointcutVisitor { b...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} } /** * ATAJ Handle the inlining for @AJ aspects * * @param fact * @param callbackMethod * @param munger * @param localAdviceMethod * @param argVarList * @param isProceedWithArgs * @return */ private InstructionList getRedoneProceedCallForAnnotationStyle( ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
InstructionList ret = new InstructionList(); if (isProceedWithArgs) { Type objectArrayType = Type.getType("[Ljava/lang/Object;"); int localProceedArgArray = localAdviceMethod.allocateLocal(objectArrayType); ret.append(InstructionFactory.createStore(objectArrayType, l...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if ("Lorg/aspectj/lang/JoinPoint;".equals(stateType.getSignature())) { ret.append(new ALOAD(localJp)); } else { ret.append(InstructionFactory.createLoad(objectArrayType, localProceedArgArray)); ret.append(Utility.createConstant(fact, i-startInd...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
if (!UnresolvedType.OBJECT.equals(munger.getSignature().getReturnType())) { ret.append(Utility.createConversion( fact, callbackMethod.getReturnType(), Type.OBJECT )); } ret.append(Utility.createConversion( ...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
NameMangler.makeClosureClassName( getEnclosingClass().getType(), getEnclosingClass().getNewGeneratedNameTag()); Member constructorSig = new MemberImpl(Member.CONSTRUCTOR, UnresolvedType.forName(closureClassName), 0, "<init>", "([Ljava/lang/Object;)V"); Bce...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
returnConversionCode.append( Utility.createInvoke( fact, world, AjcMemberMaker.aroundClosurePreInitializationGetter())); stateTempVar.appendStore(returnConversionCode, fact); Type[] stateTypes = getSuperConstructorParameterTypes(); returnConversionCode.append(InstructionConstants.A...
148,007
Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS
null
resolved fixed
426cbdc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-22T04:49:26Z
2006-06-21T08:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
getFactory(), BcelWorld.makeBcelType(munger.getSignature().getReturnType()), callbackMethod.getReturnType(),world.isInJava5Mode()); if (!isFallsThrough()) { returnConversionCode.append( InstructionFactory.createReturn(callbackMethod.getReturnType())); } } ...