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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | bitflags |= 0x000010;
if (bindsTarget(munger))
bitflags |= 0x000001;
if (munger.getConcreteAspect() != null && munger.getConcreteAspect().isAnnotationStyleAspect()
&& munger.getDeclaringAspect() != null && munger.getDeclaringAspect().resolve(world).isAnnotationStyleAspect()) {
closureInstantiation.... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13: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(postCallback);
}
}
InstructionList makeCallToCallback(LazyMethodGen callbackMethod) {
InstructionFactory fact = getFactory();
Inst... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | final InstructionList il = new InstructionList();
int alen = getArgCount() + (thisVar == null ? 0 : 1) + ((targetVar != null && targetVar != thisVar) ? 1 : 0)
+ (thisJoinPointVar == null ? 0 : 1);
il.append(Utility.createConstant(fact, alen));
il.append(fact.createNewArray(Type.OBJECT, (short) 1));
arrayVar... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | arrayVar.appendLoad(il, fact);
il.append(Utility.createInvoke(fact, world, constructor));
if (getKind() == PreInitialization) {
il.append(InstructionConstants.DUP);
holder.appendStore(il, fact);
}
return il;
}
private IntMap makeProceedArgumentMap(BcelVar[] adviceArgs) {
IntMap ret = new IntMap();
... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | private LazyMethodGen makeClosureClassAndReturnConstructor(String closureClassName, LazyMethodGen callbackMethod,
IntMap proceedMap) {
String superClassName = "org.aspectj.runtime.internal.AroundClosure";
Type objectArrayType = new ArrayType(Type.OBJECT, 1);
LazyClassGen closureClass = new LazyClassGen(closure... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | for (int i = 0, len = stateTypes.length; i < len; i++) {
Type stateType = stateTypes[i];
ResolvedType stateTypeX = BcelWorld.fromBcel(stateType).resolve(world);
if (proceedMap.hasKey(i)) {
mbody.append(proceedVar.createConvertableArrayLoad(fact, proceedMap.get(i), stateTypeX));
} else {
mbody.append... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | range.extractInstructionsInto(freshMethod, makeRemap(), (getKind() != PreInitialization) && isFallsThrough());
if (getKind() == PreInitialization) {
addPreInitializationReturnCode(freshMethod, getSuperConstructorParameterTypes());
}
getEnclosingClass().addMethodGen(freshMethod, munger.getSourceLocation());
r... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | body.append(InstructionConstants.SWAP);
body.append(InstructionFactory.createArrayStore(Type.OBJECT));
}
arrayVar.appendLoad(body, fact);
body.append(InstructionConstants.ARETURN);
}
private Type[] getSuperConstructorParameterTypes() {
InstructionHandle superCallHandle = getRange().getEnd().getNext();
... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
point.
if (!getKind().argsOnStack()) {
int oldi = 0;
int newi = 0;
if (arg0HoldsThis()) {
ret.put(0, 0);
oldi++;
newi += 1;
}
for (int i = 0; i < getArgCount(); i++) {
UnresolvedType type = getArgType(i);
ret.put(oldi, newi);
oldi += type.getSize();
ne... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | * this/target If it's argsOnFrame, it shares this and target. ??? rewrite this to do less array munging, please
*/
private LazyMethodGen createMethodGen(String newMethodName, int visibilityModifier) {
Type[] parameterTypes = BcelWorld.makeBcelTypes(getArgTypes());
int modifiers = Modifier.FINAL | visibilityModif... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
} else {
if (!targetType.resolve(world).isAssignableFrom(getThisType().resolve(world))) {
throw new BCException("bad bytecode");
}
targetType = getThisType();
}
}
parameterTypes = addType(BcelWorld.makeBcelType(targetType), parameterTypes);
}
if (thisVar != null) {
Unresolved... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | else
returnType = getSignature().getReturnType().resolve(world);
}
return new LazyMethodGen(modifiers, BcelWorld.makeBcelType(returnType), newMethodName, parameterTypes, new String[0],
getEnclosingClass());
}
private boolean samePackage(String p1, String p2) {
if (p1 == null)
return p2 ==... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | public BcelVar genTempVar(UnresolvedType typeX) {
return new BcelVar(typeX.resolve(world), genTempVarIndex(typeX.getSize()));
}
public BcelVar genTempVar(UnresolvedType typeX, String localName) {
BcelVar tv = genTempVar(typeX);
}
}
return tv;
}
private int genTempVarIndex(int size) {
r... |
246,021 | Bug 246021 FindBugs reporting another optimization | Ben Hale reported that FindBugs was producing a warning about a dead store to a local variable (a variable that is never then read within the method). This bug is to investigate and hopefully remove the dead store. | resolved fixed | 78a483d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-03T00:28:44Z | 2008-09-02T21:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | return getEnclosingClass().getType().getSourceLocation();
} else {
int offset = 0;
Kind kind = getKind();
if ((kind == MethodExecution) || (kind == ConstructorExecution) || (kind == AdviceExecution)
|| (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) {
... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | /* *******************************************************************
* Copyright (c) 2006 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http://w... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ClassScope;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.FieldBinding;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding;
import org.aspectj.w... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | paramtypes, extypes);
this.realBinding = binding;
this.eclipseFactory = eclipseFactory;
this.w = realDeclaringType.getWorld();
}
public EclipseResolvedMember(FieldBinding binding, MemberKind field,
ResolvedType realDeclaringType, int modifiers, ResolvedType type,
String string, UnresolvedType[] none) {
... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | throw new RuntimeException(
"not yet implemented - please raise an AJ bug");
}
public AnnotationAJ getAnnotationOfType(UnresolvedType ofType) {
realBinding.getAnnotationTagBits();
Annotation[] annos = getEclipseAnnotations();
if (annos == null)
return null;
for (int i = 0; i < annos.length; i++)... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | Expression e = annoMethodDecl.defaultValue;
if (e.resolvedType == null)
e.resolve(methodDecl.scope);
if (e instanceof QualifiedNameReference) {
QualifiedNameReference qnr = (QualifiedNameReference) e;
if (qnr.binding instanceof FieldBinding) {
FieldBinding fb = (FieldBinding) qnr.bindi... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | return null;
}
public ResolvedType[] getAnnotationTypes() {
if (cachedAnnotationTypes == null) {
realBinding.getAnnotationTagBits();
Annotation[] annos = getEclipseAnnotations();
if (annos == null) {
cachedAnnotationTypes = ResolvedType.EMPTY_RESOLVED_TYPE_ARRAY;
} else {
cachedAnnotationTy... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | Argument[] args = (methodDecl == null ? null : methodDecl.arguments);
if (args == null) {
argumentNames = NO_ARGS;
} else {
argumentNames = new String[args.length];
for (int i = 0; i < argumentNames.length; i++) {
argumentNames[i] = new String(methodDecl.a... |
245,734 | Bug 245734 AJDT throws a RuntimeException from EclipseResolvedMember.getAnnotations | Build ID: N/A Steps To Reproduce: This exception is happening for us in both Eclipse 3.4 and 3.3 when we run an incremental build on one of our projects. We are using an aspect to declare an annotation on a class in the project, and we only started seeing this exception after we added it. A clean build on the project n... | resolved fixed | f376a21 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-22T23:58:59Z | 2008-08-29T17:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java | return fieldDecl.annotations;
}
return null;
}
private TypeDeclaration getTypeDeclaration() {
if (realBinding instanceof MethodBinding) {
MethodBinding mb = (MethodBinding) realBinding;
if (mb != null) {
SourceTypeBinding stb = (SourceTypeBinding) mb.declaringClass;
if (stb != null) {
ClassSc... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | /********************************************************************
* Copyright (c) 2005 Contributors. All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http:ec... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.aspectj.ajde.core.ICompilerConfiguration;
import org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory;
import org.aspectj.ajdt.internal.core.builder.AjState;
import org.aspectj.ajdt.internal.core.builder.IncrementalStateManager;
impo... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | /*
* A.aj package pack; public aspect A { pointcut p() : call( C.method before() : p() { line 7 } }
*
* C.java package pack; public class C { public void method1() { method2(); line 6 } public void method2() { } public void
* method3() { method2(); line 13 }
*
* }
*/
public void testDontLoseAdviceMa... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | IProgramElement advice = findAdvice(checkForNode("pack", "A", true));
IRelationshipMap asmRelMap = AsmManager.getDefault().getRelationshipMap();
assertEquals("There should be two relationships in the relationship map", 2, asmRelMap.getEntries().size());
for (Iterator iter = asmRelMap.getEntries().iterator(); i... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | } else if (ipe.getKind().equals(IProgramElement.Kind.CODE)) {
assertEquals("expected target of relationship to be " + advice.toString() + " but found "
+ link.toString(), advice, link);
} else {
fail("found unexpected relationship source " + ipe.getName() + " with kind " + ipe.getKind());
... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
public void testBrokenHandles_pr247742() {
String p = "BrokenHandles";
initialiseProject(p);
build(p);
dumptree(AsmManager.getDefault().getHierarchy().getRoot(), 0);
IProgramElement root = AsmManager.getDefault().getHierarchy().getRoot();
IProgramElement ipe = findElementAtLine(root, 4);
asser... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | IProgramElement root = AsmManager.getDefault().getHierarchy().getRoot();
IProgramElement typeDecl = findElementAtLine(root, 4);
assertEquals("=AdviceHandles/src<spacewar*Handles.aj}Handles", typeDecl.getHandleIdentifier());
IProgramElement advice1 = findElementAtLine(root, 7);
assertEquals("=AdviceHandles/src<s... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | .getHandleIdentifier());
assertEquals("=AdviceHandles/src<spacewar*Handles.aj}Handles~c~QString;[!2", findElementAtLine(root, 67)
.getHandleIdentifier());
}
private IProgramElement findElementAtLine(IProgramElement whereToLook, int line) {
if (whereToLook == nu... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | if (whereToLook.getSourceLocation() != null && whereToLook.getSourceLocation().getLine() == line) {
return whereToLook;
}
List kids = whereToLook.getChildren();
for (Iterator iterator = kids.iterator(); iterator.hasNext();) {
IProgramElement object = (IProgramElement) iterator.next();
if (object.getSourc... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | IProgramElement srcThreePackage = AsmManager.getDefault().getHierarchy().findElementForHandle("=MultiSource/src3<pkg");
assertNotNull(srcOne);
assertNotNull(CodeOneClass);
assertNotNull(srcTwoPackage);
assertNotNull(srcThreePackage);
if (srcTwoPackage.equals(srcThreePackage)) {
throw new RuntimeException(
... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("PR173729");
build("PR173729");
checkWasFullBuild();
alter("PR173729", "inc1");
build("PR173729");
checkWasntFullBuild();
}
public void testTheBasics() {
initialiseProject("P1");
build("P1");
build("P1");
checkWasntFullBuild();
checkCompileWeaveCount("P1", 0, 0);
}
public ... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject(bug2);
configureAspectPath(bug2, getProjectRelativePath(bug, "bin"));
build(bug);
build(bug2);
}
public void testAspectPath_pr247742_c16() throws IOException {
String bug = "AspectPathOne";
String bug2 = "AspectPathTwo";
addSourceFolderForSourceFile(bug2, getProjectRelativePath(bug2, "sr... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | */
/*
* public void testProblemCopyingResources_pr138171() { initialiseProject("PR138171");
*
* File f=getProjectRelativePath("PR138171","res.txt"); Map m = new HashMap(); m.put("res.txt",f);
* AjdeInteractionTestbed.MyProjectPropertiesAdapter .getInstance().setSourcePathResources(m); build("PR138171"); File ... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("P1", "inc2");
build("P1");
long timeTakenForFullBuildAndWeave = getTimeTakenForBuild("P1");
checkWasFullBuild();
checkCompileWeaveCount("P1", 5, 3);
build("P1");
long timeTakenForSimpleIncBuild = getTimeTakenForBuild("P1");
assertTrue("Should not take longer for the trivial... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("pr240360");
checkWasFullBuild();
checkCompileWeaveCount("pr240360", 5, 4);
assertTrue("There should be an error:\n" + getErrorMessages("pr240360"), !getErrorMessages("pr240360").isEmpty());
Set s = AsmManager.getDefault().getRelationshipMap().getEntries();
int relmapLength = s.size();
String f = g... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("pr102733_1");
checkWasFullBuild();
checkCompileWeaveCount("pr102733_1", 1, 0);
assertTrue("There should be an error:\n" + getErrorMessages("pr102733_1"), !getErrorMessages("pr102733_1").isEmpty());
build("pr102733_1");
checkCompileWeaveCount("pr102733_1", 0, 0);
checkWasntFullBuild();
alter("pr102... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * public void testRefactoring_pr148285() { configureBuildStructureModel(true); initialiseProject("PR148285");
* build("PR148285"); System.err.println("xxx"); alter("PR148285","inc1"); build("PR148285"); }
*/
/**
* In order for this next test to run, I had to move the weaver/world pair we keep in the AjBuildManag... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | /**
* Setup up two simple projects and build them in turn - check the structure model is right after each build
*/
public void testBuildingTwoProjectsAndVerifyingModel() {
initialiseProject("P1");
initialiseProject("P2");
build("P1");
checkForNode("pkg", "C", true);
build("P2");
checkForNode("pkg", "C"... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * Complex. Here we are testing that a state object records structural changes since the last full build correctly. We build a
* simple project from scratch - this will be a full build and so the structural changes since last build count should be 0. We
* then alter a class, adding a new method and check structural ... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("P1");
AjState ajs = IncrementalStateManager.findStateManagingOutputLocation(binDirectoryForP1);
assertTrue("There should be state for project P1", ajs != null);
assertTrue("Should be no struc changes as its a full build: " + ajs.getNumberOfStructuralChangesSinceLastFullBuild(), ajs
.getNumberOfStructu... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("interprojectdeps1", "inc1");
build("interprojectdeps1");
checkWasntFullBuild();
ajs = IncrementalStateManager.findStateManagingOutputLocation(new File(getFile("interprojectdeps1", "bin")));
assertTrue("There should be state for project interprojectdeps1", ajs != null);
checkWasntFullBuild();
assertT... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
/**
* The C.java file modified in this test has an inner class - it has two ctors but also a reference to C.this in it - which will
* give rise to an accessor being created in C
*
*/
public void testStateManagement5() {
File binDirForInterproject3 = new File(getFile("interprojectdeps3", "bin"));
initia... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("P2");
configureNewProjectDependency("P2", "P1");
build("P1");
build("P2");
alter("P1", "inc1");
build("P1");
build("P2");
checkWasntFullBuild();
alter("P1", "inc3");
build("P1");
build("P2");
checkWasntFullBuild();
alter("P1", "inc4");
build("P1");
build("P2"); ... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR125405", "inc1");
build("PR125405");
checkForError("PR125405", "only abstract aspects can have type parameters");
alter("PR125405", "inc2");
build("PR125405");
checkCompileWeaveCount("PR125405", 1, 1);
assertTrue("Should be no errors, but got " + getErrorMessages("PR125405"), getErrorMessages("P... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
public void testPr92837() {
initialiseProject("PR92837");
build("PR92837");
alter("PR92837", "inc1");
build("PR92837");
} |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr117209() {
try {
initialiseProject("pr117209");
configureNonStandardCompileOptions("pr117209", "-proceedOnError");
build("pr117209");
checkCompileWeaveCount("pr117209", 6, 5);
} finally {
}
}
public void testPr114875() {
if (System.getProperty("os.name", "").toLowerCase... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR117882", "inc1");
build("PR117882");
checkWasFullBuild();
}
public void testPr117882_2() {
initialiseProject("PR117882_2");
build("PR117882_2");
checkWasFullBuild();
alter("PR117882_2", "inc1");
build("PR117882_2");
checkWasFullBuild();
}
public void testPr11525... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr220255_InfiniteBuildHasMember() {
AjdeInteractionTestbed.VERBOSE = true;
initialiseProject("pr220255");
configureNonStandardCompileOptions("pr220255", "-XhasMember");
build("pr220255");
checkWasFullBuild();
alter("pr220255", "inc1");
build("pr220255");
checkWasntFullBuild();
}
public... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * subsequent compiles we know about this extra one.
*/
public void testPr141956_IncrementallyCompilingAtAj() {
initialiseProject("PR141956");
build("PR141956");
assertTrue("Should be zero but reports " + EclipseFactory.debug_mungerCount, EclipseFactory.debug_mungerCount == 0);
alter("PR141956", "inc1");
bu... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("pr121384");
configureNonStandardCompileOptions("pr121384", "-showWeaveInfo");
build("pr121384");
checkWasFullBuild();
alter("pr121384", "inc1");
build("pr121384");
checkWasntFullBuild();
}
/*
* public void testPr111779() { super.VERBOSE=true; initialiseProject("PR111779"); build("PR11... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("PR93310_2");
build("PR93310_2");
checkWasFullBuild();
String fileC2 = getWorkingDir().getAbsolutePath() + File.separatorChar + "PR93310_2" + File.separatorChar + "src"
+ File.separatorChar + "pack" + File.separatorChar + "C2.java";
(new File(fileC2)).delete();
alter("PR93310_2", "inc1")... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | assertEquals("error message should be 'foo cannot be resolved' ", "foo cannot be resolved", ((IMessage) getErrorMessages(
"PR113531").get(0)).getMessage());
}
public void testPr119882() {
initialiseProject("PR119882");
build("PR119882");
assertTrue("build should have compiled ok", getErrorMess... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("PR112736");
checkWasFullBuild();
String fileC2 = getWorkingDir().getAbsolutePath() + File.separatorChar + "PR112736" + File.separatorChar + "src"
+ File.separatorChar + "pack" + File.separatorChar + "A.java";
(new File(fileC2)).delete();
alter("PR112736", "inc1");
build("PR112736");
checkWasFullB... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr152257() {
initialiseProject("PR152257");
configureNonStandardCompileOptions("PR152257", "-XnoInline");
build("PR152257");
List errors = getErrorMessages("PR152257");
assertTrue("Should be no warnings, but there are #" + errors.size(), errors.size() == 0);
checkWasFullBuild();
alter("PR1... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | System.err.println("Message during second build was: " + m1);
fail("The two messages should be the same, but are not: \n" + m1 + "!=" + m2);
}
}
}
public void testPr128655_2() {
initialiseProject("pr128655_2");
configureNonStandardCompileOptions("pr128655_2", "-showWeaveInfo");
configureShowWeaveInfo... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("PR129613");
build("PR129613");
alter("PR129613", "inc1");
build("PR129613");
assertTrue("There should be no exceptions handled:\n" + getCompilerErrorMessages("PR129613"), getCompilerErrorMessages(
"PR129613").isEmpty());
assertEquals("warning message should be 'no match for this type na... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("Project1");
initialiseProject("Project2");
configureNewProjectDependency("Project2", "Project1");
build("Project1");
build("Project2");
alter("Project1", "inc1");
build("Project1");
build("Project2");
checkWasntFullBuild();
alter("Project1", "inc2");
build("Project1");
build(... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("Project2");
checkWasntFullBuild();
checkCompileWeaveCount("Project2", 2, 2);
checkCompiled("Project2", "ClassAExtenderExtender");
}
private void checkCompiled(String projectName, String typeNameSubstring) {
List files = getCompiledFiles(projectName);
boolean found = false;
for (Iterator iterato... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * System.out.println(MyStateListener.getInstance().getDecisions()); checkWasntFullBuild();
* assertTrue("Should be one structural change but there were "+ ajs.getNumberOfStructuralChangesSinceLastFullBuild(),
* ajs.getNumberOfStructuralChangesSinceLastFullBuild()==1);
*
* }
*
* Case002: changing a class ... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr129163_3() {
initialiseProject("PR129163_4");
build("PR129163_4");
checkWasFullBuild();
initialiseProject("PR129163_3");
configureNewProjectDependency("PR129163_3", "PR129163_4");
build("PR129163_3");
checkWasFullBuild();
alter("PR129163_4", "inc1");
build("PR129163_4");
ch... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr133117() {
initialiseProject("PR133117");
configureNonStandardCompileOptions("PR133117", "-Xlint:warning");
build("PR133117");
assertTrue("There should only be one xlint warning message reported:\n" + getWarningMessages("PR133117"),
getWarningMessages("PR133117").size() == 1);
alte... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR131505", "inc1");
build("PR131505");
checkWasFullBuild();
checkXMLAspectCount("PR131505", "", 1, outputDir);
checkXMLAspectCount("PR131505", "A", 1, outputDir);
alter("PR131505", "inc2");
build("PR131505");
checkWasntFullBuild();
checkXMLAspectCount("PR131505", "", 1, outputDir);
checkX... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR131505", "inc4");
build("PR131505");
checkWasFullBuild();
checkXMLAspectCount("PR131505", "", 2, outputDir);
checkXMLAspectCount("PR131505", "A", 1, outputDir);
checkXMLAspectCount("PR131505", "pkg.A", 1, outputDir);
}
public void testPr136585() {
initialiseProject("PR136585");
build("PR136585"... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | .isEmpty());
String decisions = AjdeInteractionTestbed.MyStateListener.getDecisions();
String expect = "Need to recompile 'A.aj'";
assertTrue("Couldn't find build decision: '" + expect + "' in the list of decisions made:\n" + decisions, decisions
.indexOf(expect) != -1);
}
public void testPr133532_3() {
i... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testJDTLikeHandleProviderWithLstFile_pr141730() {
IElementHandleProvider handleProvider = AsmManager.getDefault().getHandleProvider();
AsmManager.getDefault().setHandleProvider(new JDTLikeHandleProvider());
try {
initialiseProject("JDTLikeHandleProvider");
build("JDTLikeHandleProvider");... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | checkWasntFullBuild();
IHierarchy top2 = AsmManager.getDefault().getHierarchy();
IProgramElement pe2 = top.findElementForLabel(top2.getRoot(), IProgramElement.Kind.ADVICE,
"before(): <anonymous pointcut>");
assertEquals("expected advice to be on line " + pe.getSourceLocation().getLine() + 1 + " but was on... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | IProgramElement newExec = top2.findElementForLabel(top2.getRoot(), IProgramElement.Kind.ADVICE, "after(): execPCD..");
assertEquals("after swapping places, expected 'after(): callPCD..' " + "to be on line "
+ newExec.getSourceLocation().getLine() + " but was on line " + call.getSourceLocation().getLine(), newEx... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | AsmManager.getDefault().setHandleProvider(handleProvider);
}
}
public void testPr134471_IncrementalCompilationAndModelUpdates() {
try {
initialiseProject("PR134471");
configureNonStandardCompileOptions("PR134471", "-showWeaveInfo -emacssym");
configureShowWeaveInfoMessages("PR134471", true);
... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | programElement = getFirstRelatedElement(findCode(checkForNode("pkg", "C", true)));
line = programElement.getSourceLocation().getLine();
assertTrue("advice should be at line 7 - but is at line " + line, line == 7);
} finally {
}
}
public void testPr134471_MovingAdvice() {
initialiseProject("PR13... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | programElement = getFirstRelatedElement(findCode(checkForNode("pkg", "C", true)));
line = programElement.getSourceLocation().getLine();
assertTrue("advice should be at line 11 - but is at line " + line, line == 11);
}
public void testAddingAndRemovingDecwWithStructureModel() {
initialiseProject("P3");
build("... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("PR134471");
IProgramElement programElement = getFirstRelatedElement(findCode(checkForNode("pkg", "C", true)));
int line = programElement.getSourceLocation().getLine();
assertTrue("advice should be at line 7 - but is at line " + line, line == 7);
alter("PR134471", "inc1");
build("PR134471")... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | configureShowWeaveInfoMessages("PR134471_3", true);
build("PR134471_3");
checkWasFullBuild();
IProgramElement programElement = getFirstRelatedElement(findCode(checkForNode("pkg", "C", true), 7));
int line = programElement.getSourceLocation().getLine();
assertTrue("declare warning should be at line 10 - ... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("PR134471_3");
checkWasntFullBuild();
programElement = getFirstRelatedElement(findCode(checkForNode("pkg", "C", true), 7));
line = programElement.getSourceLocation().getLine();
assertTrue("declare warning should be at line 12 - but is at line " + line, line == 12);
}
public void testPr134471_Inc... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | checkWasFullBuild();
else
checkWasntFullBuild();
programElement = getFirstRelatedElement(findCode(checkForNode("pkg", "C", true), 7));
line = programElement.getSourceLocation().getLine();
assertTrue("declare warning should be at line 12 - but is at line " + line, line == 12);
alter("PR1... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
public void testDontLoseXlintWarnings_pr141556() {
initialiseProject("PR141556");
configureNonStandardCompileOptions("PR141556", "-Xlint:warning");
build("PR141556");
checkWasFullBuild();
String warningMessage = "can not build thisJoinPoint " + "lazily for this advice since it has no suitable guard "
+... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | else
checkWasntFullBuild();
warnings = getWarningMessages("PR152589");
assertTrue("There should be no warnings after adding a whitespace:\n" + warnings, warnings.isEmpty());
}
public void testNoFullBuildOnChangeInSysOutInAdviceBody_pr154054() {
initialiseProject("PR154054");
build("PR154054");
a... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | assertTrue("There should be no warnings:\n" + warnings, warnings.isEmpty());
alter("PR158573", "inc1");
build("PR158573");
checkWasntFullBuild();
warnings = getWarningMessages("PR158573");
assertTrue("There should be no warnings after changing the value of a " + "variable:\n" + warnings, warnings.isEmpty());
... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | assertTrue("expected there to be more than the one compliance level" + " error but only found that one",
errors.size() > 1);
}
}
/**
* If the user has specified that they want Java 6 compliance and selected classfile and source file level settings to be 5.0
* then expect an error saying that we don't suppo... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
}
/**
* If the user has specified that they want Java 6 compliance and set the classfile level to be 6.0 and source file level to be
* 5.0 then expect an error saying that we don't support java 6.
*/
public void testPR164384_3() {
initialiseProject("PR164384");
Hashtable javaOptions = new Hashtable();
... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("inpathTesting");
String inpathTestingDir = getWorkingDir() + File.separator + "inpathTesting";
String inpathDir = inpathTestingDir + File.separator + "injarBin" + File.separator + "pkg";
String expectedOutputDir = inpathTestingDir + File.separator + "bin";
File f = new File(inpathDir);
S... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | *
* @param programElement Program element whose related elements are to be found
* @param expected the number of expected related elements
*/
private ListgetRelatedElements(IProgramElement programElement, int expected) {
List relatedElements = getRelatedElements(programElement);
StringBuffer debugString = n... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | Listtargets = element.getTargets();
if (output == null)
output = new ArrayList();
output.addAll(targets);
}
return output;
}
private IProgramElement findAdvice(IProgramElement ipe) {
return findAdvice(ipe, 1);
}
private IProgramElement findAdvice(IProgramElement ipe, int whichOne) {
if (ipe.getKin... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
/**
* Searches a hierarchy of program elements for a 'code' element at the specified line number, a line number of -1 means just
* return the first one you find
*/
private IProgramElement findCode(IProgramElement ipe, int linenumber) {
if (ipe.getKind() == IProgramElement.Kind.CODE) {
if (linenumber == -... |
192,877 | Bug 192877 [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build | Build ID: M20070212-1330 Steps To Reproduce: Use @DeclareParents to introduce a default interface implementation to an existing type. A full build compiles cleanly and works as expected. An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.... | resolved fixed | 9b68a31 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T20:51:53Z | 2007-06-15T15:06:40Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | } else {
if (ipe != null)
printModel();
assertTrue("Should have NOT been able to find '" + packageName + "." + typeName + "' in the asm", ipe == null);
}
return ipe;
}
private void printModel() {
try {
AsmManager.dumptree(AsmManager.getDefault().getHierarchy().getRoot(), 0);
} catch (IOException ... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | /* *******************************************************************
* 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... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | import org.aspectj.apache.bcel.generic.InstructionBranch;
import org.aspectj.apache.bcel.generic.InstructionConstants;
import org.aspectj.apache.bcel.generic.InstructionFactory;
import org.aspectj.apache.bcel.generic.InstructionHandle;
import org.aspectj.apache.bcel.generic.InstructionLV;
import org.aspectj.apache.bcel... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | import org.aspectj.weaver.ShadowMunger;
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.AbstractPatternNodeVisitor;
import org.aspectj.weaver.patterns.AndPointcut;
import org.aspect... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | * * 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... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | private 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 rooted to any particular po... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
return s;
}
public World getIWorld() {
return world;
}
private void deleteNewAndDup() {
final ConstantPool cpg = getEnclosingClass().getConstantPool();
int depth = 1;
InstructionHandle ih = range.getStart();
while (true) {
Instruction inst = ih.getInstruction();
if (inst.opcode == Constants... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | ih.setInstruction(InstructionConstants.DUP);
}
ih = ih.getPrev();
}
InstructionHandle newHandle = ih;
InstructionHandle endHandle = newHandle.getNext();
InstructionHandle nextHandle; |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (endHandle.getInstruction().opcode == Constants.DUP) {
nextHandle = endHandle.getNext();
retargetFrom(newHandle, nextHandle);
retargetFrom(endHandle, nextHandle);
} else if (endHandle.getInstruction().opcode == Constants.DUP_X1) {
InstructionHandle dupHandle = endHandle;
endHandle = endHandle.getNex... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
}
private void retargetFrom(InstructionHandle old, InstructionHandle fresh) {
InstructionTargeter[] sources = old.getTargetersArray();
if (sources != null) {
for (int i = sources.length - 1; i >= 0; i--) {
if (sources[i] instanceof ExceptionRange) {
ExceptionRange it = (ExceptionRange) sources[i];
... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (getKind() == ConstructorCall) {
if (!world.isJoinpointArrayConstructionEnabled() || !this.getSignature().getDeclaringType().isArray())
deleteNewAndDup();
initializeArgVars();
} else if (getKind() == PreInitialization) {
ShadowRange range = getRange();
range.insert(InstructionConstants.NOP, Range... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | ExceptionRange er = (ExceptionRange) t;
er.updateTarget(start, insertedInstruction, body);
}
}
}
isThisJoinPointLazy = true;
badAdvice = null;
for (Iterator iter = mungers.iterator(); iter.hasNext();) {
ShadowMunger munger = (ShadowMunger) iter.next();
munger.specializeOn(this);
}
initi... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | badLocs[i++] = sLoc;
}
world.getLint().multipleAdviceStoppingLazyTjp
.signal(new String[] { this.toString() }, getSourceLocation(), badLocs);
}
}
badAdvice = null;
InstructionFactory fact = getFactory();
if (getKind().argsOnStack() && argVars != null) {
... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | range.insert(BcelRenderer.renderExprs(fact, world, argVars), Range.InsideBefore);
if (targetVar != null) {
range.insert(BcelRenderer.renderExpr(fact, world, targetVar), Range.InsideBefore);
}
if (getKind() == ConstructorCall) {
if (!world.isJoinpointArrayConstructionEnabled() || !this.getSignature... |
186,884 | Bug 186884 Unhandled Kind of New Exception when have advice for Pointcut call(Throwable+.new(..)) | null | resolved fixed | 7a398a2 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-09-30T22:55:35Z | 2007-05-14T22:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | || (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) {
if (getEnclosingMethod().hasDeclaredLineNumberInfo()) {
sourceline = getEnclosingMethod().getDeclarationLineNumber();
return sourceline;
}
}
if (range == null) {
if (getEnclosingMethod().hasBody()) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.