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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | handler.append(exceptionVar.createLoad(fact));
handler.append(fact.createInstanceOf(eiieBcelType));
BranchInstruction bi =
InstructionFactory.createBranchInstruction(Constants.IFEQ,ih.getStart());
handler.append(bi);
handler.append(exceptionVar.createLoad(fact));
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | public void weaveSoftener(BcelAdvice munger, UnresolvedType catchType) {
if (getRange().getStart().getNext() == getRange().getEnd()) return;
InstructionFactory fact = getFactory();
InstructionList handler = new InstructionList();
InstructionList rtExHandler = new In... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | InstructionHandle handlerStart = rtExHandler.getStart();
if (isFallsThrough()) {
InstructionHandle jumpTarget = range.getEnd();
rtExHandler.insert(InstructionFactory.createBranchInstruction(Constants.GOTO, jumpTarget));
}
rtExHandler.append(handler);
InstructionHandle protectedEnd ... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | range.insert(entryInstructions, Range.InsideBefore);
}
/**
* Causes the aspect instance to be *set* for later retrievable through localAspectof()/aspectOf()
*/
public void weavePerTypeWithinAspectInitialization(final BcelAdvice munger,UnresolvedType t) {
if (t.resolve(world).isInterface()) return;
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | public void weaveCflowEntry(final BcelAdvice munger, final Member cflowField) {
final boolean isPer = munger.getKind() == AdviceKind.PerCflowBelowEntry ||
munger.getKind() == AdviceKind.PerCflowEntry;
final Type objectArrayType = new ArrayType(Type.OBJECT, 1);
final InstructionFactory fact = get... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (cflowStateVars.length == 0) {
if (!cflowField.getType().getName().endsWith("CFlowCounter"))
throw new RuntimeException("Incorrectly attempting counter operation on stacked cflow");
entrySuccessInstructions.append(
Utility.createGet(fact, cflowField));
entrySuccessInstru... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | new Type[] { objectArrayType },
Constants.INVOKEVIRTUAL));
}
}
InstructionList testInstructions =
munger.getTestInstructions(this, entrySuccessInstructions.getStart(),
range.getRealStart(),
entrySuccessInstructions.getStart());
entryInstructions.append(testInstruct... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | munger.getExposedStateAsBcelVars(false).length==0) {
exitInstructions
.append(
fact
.createInvoke(
NameMangler.CFLOW_COUNTER_TYPE,
"dec",
Type.VOID,
new Type[] {
}, Constants.INVOKEVIRTUAL));
} else {
exitInstructions
.append(
fact
.createIn... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | BcelAdvice munger,
boolean hasDynamicTest)
{
/* Implementation notes:
*
* AroundInline still extracts the instructions of the original shadow into
* an extracted method. This allows inlining of even that advice that doesn't
* call proceed or calls proceed more than once.
*
* It extracts t... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | * new method for the advice can also be re-lined. We are not doing that
* presently.
*/
Member mungerSig = munger.getSignature();
if (mungerSig instanceof ResolvedMember) {
ResolvedMember rm = (ResolvedMember)mungerSig;
if (rm.hasBackingGenericMember()) mungerSig... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | boolean canSeeProceedPassedToOther = false;
InstructionHandle curr = adviceMethod.getBody().getStart();
InstructionHandle end = adviceMethod.getBody().getEnd();
ConstantPoolGen cpg = adviceMethod.getEnclosingClass().getConstantPoolGen();
while (curr != end) {
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | final InstructionFactory fact = getFactory();
LazyMethodGen extractedMethod =
extractMethod(
NameMangler.aroundCallbackMethodName(
getSignature(),
getEnclosingClass()),
Modifier.PRIVATE,
munger
);
String... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | proceedVarList.add(new BcelVar(thisVar.getType(), extraParamOffset));
extraParamOffset += thisVar.getType().getSize();
}
if (targetVar != null && targetVar != thisVar) {
argVarList.add(targetVar);
proceedVarList.add(new BcelVar(targetVar.getType(), extraParamOffset));
extraParamOffset += targetVar.ge... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | parameterTypes,
parameterIndex,
extractedMethodParameterTypes.length);
parameterIndex += extractedMethodParameterTypes.length;
parameterTypes[parameterIndex++] =
BcelWorld.makeBcelType(adviceMethod.getEnclosingClass().getType());
System.arraycopy(
adviceParameterTypes,
0,
parameterTypes,
para... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | getEnclosingClass().addMethodGen(localAdviceMethod);
int nVars = adviceMethod.getMaxLocals() + extraParamOffset;
IntMap varMap = IntMap.idMap(nVars);
for (int i=extraParamOffset; i < nVars; i++) {
varMap.put(i-extraParamOffset, i);
}
localAdviceMethod.getBody().insert(
BcelClassWeaver.genInl... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | var.appendLoad(advice, fact);
}
advice.append(
munger.getAdviceArgSetup(
this,
null,
(munger.getConcreteAspect().isAnnotationStyleAspect() && munger.getDeclaringAspect()!=null && munger.getDeclaringAspect().resolve(world).isAnnotationStyleAspect())?
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (terminatesWithReturn()) {
callback.append(
InstructionFactory.createReturn(extractedMethod.getReturnType()));
} else {
advice.append(
InstructionFactory.createBranchInstruction(
Constants.GOTO,
afterThingie.getStart()));
}
range.append(
munger.getTestInstructions(
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | while (curr != end) {
InstructionHandle next = curr.getNext();
Instruction inst = curr.getInstruction();
if ((inst instanceof INVOKESTATIC)
&& proceedName.equals(((INVOKESTATIC) inst).getMethodName(cpg))) {
localAdviceMethod.getBody... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (((INVOKEINTERFACE) inst).getArgumentTypes(cpg).length == 1) {
isProceedWithArgs = true;
} else {
isProceedWithArgs = false;
}
InstructionList insteadProceedIl = getRedoneProceedCallFo... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | BcelVar[] adviceVars = munger.getExposedStateAsBcelVars(true);
IntMap proceedMap = makeProceedArgumentMap(adviceVars);
ResolvedType[] proceedParamTypes =
world.resolve(munger.getSignature().getParameterTypes());
if (munger.getBaseParameterCount()+1 < proceedParamTypes.length) {
int len = munger.getBa... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | ret.append(Utility.createInvoke(fact, callbackMethod));
ret.append(Utility.createConversion(fact, callbackMethod.getReturnType(),
BcelWorld.makeBcelType(munger.getSignature().getReturnType())));
return ret;
}
/**
* ATAJ Handle the inlining for @AJ aspects
*
* @param fact
* @param callb... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | InstructionList ret = new InstructionList();
if (isProceedWithArgs) {
Type objectArrayType = Type.getType("[Ljava/lang/Object;");
int localProceedArgArray = localAdviceMethod.allocateLocal(objectArrayType);
ret.append(InstructionFactory.createStore(objectArrayType, l... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | BcelWorld.fromBcel(stateType).resolve(world);
if ("Lorg/aspectj/lang/JoinPoint;".equals(stateType.getSignature())) {
ret.append(new ALOAD(localJp));
} else {
ret.append(InstructionFactory.createLoad(objectArrayType, localProceedArgArray));
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | ret.append(Utility.createInvoke(fact, callbackMethod));
if (!UnresolvedType.OBJECT.equals(munger.getSignature().getReturnType())) {
ret.append(Utility.createConversion(
fact,
callbackMethod.getReturnType(),
Type.OBJECT
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | String closureClassName =
NameMangler.makeClosureClassName(
getEnclosingClass().getType(),
getEnclosingClass().getNewGeneratedNameTag());
Member constructorSig = new MemberImpl(Member.CONSTRUCTOR,
UnresolvedType.forName(closureClassName), 0, "<init>",
"([Ljava... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | closureHolder.appendLoad(returnConversionCode, fact);
returnConversionCode.append(
Utility.createInvoke(
fact,
world,
AjcMemberMaker.aroundClosurePreInitializationGetter()));
stateTempVar.appendStore(returnConversionCode, fact);
Type[] stateTypes = getSuperConstructorParameterTypes... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | Utility.createConversion(
getFactory(),
BcelWorld.makeBcelType(munger.getSignature().getReturnType()),
callbackMethod.getReturnType(),world.isInJava5Mode());
if (!isFallsThrough()) {
returnConversionCode.append(
InstructionFactory.createReturn(callbackMet... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (!hasDynamicTest) {
range.append(advice);
} else {
InstructionList callback = makeCallToCallback(callbackMethod);
InstructionList postCallback = new InstructionList();
if (terminatesWithReturn()) {
callback.append(
InstructionFactory.createReturn(callbackMethod.getReturnType()));
} else {
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (thisVar != null) {
callback.append(InstructionConstants.ALOAD_0);
}
if (targetVar != null && targetVar != thisVar) {
callback.append(BcelRenderer.renderExpr(fact, world, targetVar));
}
callback.append(BcelRenderer.renderExprs(fact, world, argVars));
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | thisVar.setPositionInAroundState(stateIndex);
stateIndex++;
}
if (targetVar != null && targetVar != thisVar) {
arrayVar.appendConvertableArrayStore(il, fact, stateIndex, targetVar);
targetVar.setPositionInAroundState(stateIndex);
stateIndex++;
} ... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | IntMap ret = new IntMap();
for(int i = 0, len = adviceArgs.length; i < len; i++) {
BcelVar v = (BcelVar) adviceArgs[i];
if (v == null) continue;
int pos = v.getPositionInAroundState();
if (pos >= 0) {
ret.put(pos, i);
}
}
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | LazyClassGen closureClass = new LazyClassGen(closureClassName,
superClassName,
getEnclosingClass().getFileName(),
Modifier.PUBLIC,
new String[] {},
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | InstructionList mbody = runMethod.getBody();
BcelVar proceedVar = new BcelVar(UnresolvedType.OBJECTARRAY.resolve(world), 1);
BcelVar stateVar =
new BcelVar(UnresolvedType.OBJECTARRAY.resolve(world), runMethod.allocateLocal(1));
mbody.append(InstructionFactory.createThis());
mbody.append(fact.... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (getKind() == PreInitialization) {
mbody.append(Utility.createSet(
fact,
AjcMemberMaker.aroundClosurePreInitializationField()));
mbody.append(InstructionConstants.ACONST_NULL);
} else {
mbody.append(
Utility.createConversion(
fact,
callbackMethod.ge... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | isFallsThrough());
if (getKind() == PreInitialization) {
addPreInitializationReturnCode(
freshMethod,
getSuperConstructorParameterTypes());
}
getEnclosingClass().addMethodGen(freshMethod,munger.getSourceLocation());
return freshMethod;
}
private void addPreInitializationR... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | arrayVar.appendLoad(body, fact);
swap
body.append(InstructionConstants.SWAP);
body.append(Utility.createConstant(fact, i));
body.append(InstructionConstants.SWAP);
body.append(InstructionFactory.createArrayStore(Type.OBJECT));
}
arrayVar.appendLoad(body, fact);
body.app... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
for (int i = 0, len = argVars.length; i < len; i++) {
ret.put(argVars[i].getSlot(), reti);
reti += argVars[i].getType().getSize();
}
if (thisJoinPointVar != null) {
ret.put(thisJoinPointVar.getSlot(), reti++);
}
... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | * The new method always static.
* It may take some extra arguments: this, target.
* If it's argsOnStack, then it must take both this/target
* If it's argsOnFrame, it shares this and target.
* ??? rewrite this to do less array munging, please
*/
private LazyMethodGen createMethodGen(String ... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | throw new BCException("bad bytecode");
}
targetType = getThisType();
}
parameterTypes = addType(BcelWorld.makeBcelType(targetType), parameterTypes);
}
if (thisVar != null) {
UnresolvedType thisType = getThisType();
parameterTypes = addT... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | newMethodName,
parameterTypes,
new String[0],
getEnclosingClass());
}
private boolean samePackage(String p1, String p2) {
if (p1 == null) return p2 == null;
if (p2 == null) return false;
return p1.equals(p2);
}
private Type[] addType(Type type, Ty... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
public BcelVar genTempVar(UnresolvedType typeX, String localName) {
BcelVar tv = genTempVar(typeX);
}
}
return tv;
}
private int genTempVarIndex(int size) {
return enclosingMethod.allocateLocal(size);
}
public InstructionFactory getFactory() {
return getEnclo... |
125,657 | Bug 125657 NullPointerException from BcelShadow.java:1313 | From within Eclipse 3.0 (RAD 6.0.1) I get an error with the (partial) details listed below. My aspect looks like this: public aspect AAwtEventDispatcherThreadProtection { pointcut awtComponentMethod(java.awt.Component component): target(component) && call(* *.*(..)); before(java.awt.Component component): awtComponentMe... | resolved wontfix | 4934132 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-30T10:24:49Z | 2006-01-30T00:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | (kind == AdviceExecution) ||
(kind == StaticInitialization) ||
(kind == PreInitialization) ||
(kind == Initialization)) {
if (getEnclosingMethod().hasDeclaredLineNumberInfo()) {
offset = getEnclosingMethod().getDeclarationOffset();
}
}
return getEnclosingClass()... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjTypeDeclaration.java | /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* 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, an... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjTypeDeclaration.java | /**
* The "aspect" structural property of this node type.
* @since 3.0
*/
public static final SimplePropertyDescriptor ASPECT_PROPERTY =
new SimplePropertyDescriptor(TypeDeclaration.class, "aspect", boolean.class, MANDATORY);
static {
List temporary = new ArrayList();
createPropertyList(TypeDecla... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjTypeDeclaration.java | private boolean isAspect = false;
/**
* Creates a new AST node for a type declaration owned by the given
* AST. By default, the type declaration is for a class of an
* unspecified, but legal, name; no modifiers; no javadoc;
* no type parameters; no superclass or superinterfaces; and an empty list
* of bo... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjTypeDeclaration.java | }
return super.internalGetSetBooleanProperty(property, get, value);
}
/**
* Returns whether this type declaration declares a class or an
* aspect.
*
* @return <code>true</code> if this is an aspect declaration,
* and <code>false</code> if this is a class or interface declaration
*/
public ... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjTypeDeclaration.java | public PointcutDeclaration[] getPointcuts() {
List bd = bodyDeclarations();
int pointcutCount = 0;
for (Iterator it = bd.listIterator(); it.hasNext(); ) {
if (it.next() instanceof PointcutDeclaration) {
pointcutCount++;
}
}
PointcutDeclaration[] pointcuts = new PointcutDeclaration[pointcutCoun... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* 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, an... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | public static final ChildPropertyDescriptor PERCLAUSE_PROPERTY =
new ChildPropertyDescriptor(AspectDeclaration.class, "perClause", ASTNode.class, OPTIONAL, NO_CYCLE_RISK);
public static final SimplePropertyDescriptor PRIVILEGED_PROPERTY =
new SimplePropertyDescriptor(AspectDeclaration.class, "privileged", boole... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | static {
List temporary = new ArrayList();
createPropertyList(AspectDeclaration.class, temporary);
temporary.addAll(PROPERTY_DESCRIPTORS_2_0);
addProperty(PERCLAUSE_PROPERTY, temporary);
addProperty(PRIVILEGED_PROPERTY, temporary);
PROPERTY_DESCRIPTORS_2_0 = reapPropertyList(temporary);
temporary.clear... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | }
AspectDeclaration(AST ast, ASTNode perClause, boolean isPrivileged) {
this(ast, perClause);
this.isPrivileged = isPrivileged;
}
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
AspectDeclaration result = new AspectDeclaration(target, perClause);
resul... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | result.setSuperclassType(
(Type) ASTNode.copySubtree(target, getSuperclassType()));
result.superInterfaceTypes().addAll(
ASTNode.copySubtrees(target, superInterfaceTypes()));
}
result.bodyDeclarations().addAll(
ASTNode.copySubtrees(target, bodyDeclarations()));
result.setPerClause((ASTNode)getPerC... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | acceptChildren(visitor, this.typeParameters);
acceptChild(visitor, getSuperclassType());
acceptChildren(visitor, this.superInterfaceTypes);
acceptChild(visitor, this.perClause);
acceptChildren(visitor, this.bodyDeclarations);
}
}
visitor.endVisit(this);
}
/* (omit javadoc for this method)
*... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | final ASTNode internalGetSetChildProperty(ChildPropertyDescriptor property,boolean get, ASTNode child) {
if (property == PERCLAUSE_PROPERTY) {
if (get) {
return getPerClause();
} else {
setPerClause((ASTNode) child);
return null;
}
}
return super.internalGetSetChildProperty(property,get,child... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AspectDeclaration.java | */
public boolean isPrivileged() {
return this.isPrivileged;
}
/**
* Sets whether this aspect is a privileged one
*
* @param isPrivileged <code>true</code> if this is a privileged aspect
* declaration, and <code>false</code> otherwise.
*/
public void setPrivileged(boolean isPrivileged) {
preValu... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.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://... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | import org.aspectj.org.eclipse.jdt.core.dom.AfterReturningAdviceDeclaration;
import org.aspectj.org.eclipse.jdt.core.dom.AfterThrowingAdviceDeclaration;
import org.aspectj.org.eclipse.jdt.core.dom.AjAST;
import org.aspectj.org.eclipse.jdt.core.dom.AjASTVisitor;
import org.aspectj.org.eclipse.jdt.core.dom.AjTypeDeclarat... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | import org.aspectj.org.eclipse.jdt.core.dom.PerObject;
import org.aspectj.org.eclipse.jdt.core.dom.PerTypeWithin;
import org.aspectj.org.eclipse.jdt.core.dom.PointcutDeclaration;
import org.aspectj.org.eclipse.jdt.core.dom.PrimitiveType;
import org.aspectj.org.eclipse.jdt.core.dom.ReferencePointcut;
import org.aspectj.... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testNewDefaultPointcut() {
AjAST ajast = createAjAST();
DefaultPointcut p = ajast.newDefaultPointcut();
assertNotNull("a new DefaultPointcut should have been created",p);
}
public void testGetAndSetDetail() {
AjAST ajast = createAjAST();
DefaultPointcut p = ajast.newDefaultPointcut();
assertEq... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | AjAST ajast = createAjAST();
ReferencePointcut p = ajast.newReferencePointcut();
assertNotNull("a new ReferencePointcut should have been created",p);
}
/**
* ReferencePointcut's have a name property - tests
* the getting and setting of this property
*/
public void testGetAndSetRefPointcutName() {
AjAST... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testGetAndSetLeftOfAndPointcut() {
AjAST ajast = createAjAST();
AndPointcut ap = ajast.newAndPointcut();
assertNull("by default the left side of an AndPointcut should be null",
ap.getLeft());
ReferencePointcut p = ajast.newReferencePointcut();
ap.setLeft(p);
assertEquals("the left side of th... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | assertNotNull("a new CflowPointcut should have been created",p);
}
/**
* CflowPointcut's have a body property - test the getting
* and setting of this property
*/
public void testGetAndSetBodyOfCflowPointcut() {
AjAST ajast = createAjAST();
CflowPointcut p = ajast.newCflowPointcut();
assertNull("by ... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | NotPointcut p = ajast.newNotPointcut();
assertNull("by default a NotPointcut should have a null body",p.getBody());
ReferencePointcut rp = ajast.newReferencePointcut();
p.setBody(rp);
assertEquals("the body of the NotPointcut should now be a " +
"ReferencePointcut", rp, p.getBody());
}
public void tes... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | /**
* OrPointcut's have a right property - test the getting
* and setting of this property
*/
public void testGetAndSetRightOfOrPointcut() {
AjAST ajast = createAjAST();
OrPointcut op = ajast.newOrPointcut();
assertNull("by default the right side of an OrPointcut should be null",
op.getRight());
Refe... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | ReferencePointcut rp = ajast.newReferencePointcut();
p.setBody(rp);
assertEquals("the body of the PerCflow should now be a " +
"ReferencePointcut", rp, p.getBody());
}
public void testNewPerObject() {
AjAST ajast = createAjAST();
PerObject p = ajast.newPerObject();
assertNotNull("a new PerObject sho... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | PerTypeWithin p = ajast.newPerTypeWithin();
assertNotNull("a new PerTypeWithin should have been created",p);
}
public void testNewDefaultTypePattern() {
AjAST ajast = createAjAST();
DefaultTypePattern p = ajast.newDefaultTypePattern();
assertNotNull("a new DefaultTypePattern should have been created"... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | d.setDetail("new detail");
DefaultTypePattern copy = (DefaultTypePattern)ASTNode.copySubtree(ajast,d);
assertEquals("the copy should have detail 'new detail'","new detail",copy.getDetail());
}
public void testNewSignaturePattern() {
AjAST ajast = createAjAST();
SignaturePattern p = ajast.newSignaturePat... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | SignaturePattern p = ajast.newSignaturePattern();
p.setDetail("new detail");
SignaturePattern copy = (SignaturePattern)ASTNode.copySubtree(ajast,p);
assertEquals("the copy should have detail 'new detail'","new detail",copy.getDetail());
}
public void testNewPointcutDeclaration() {
AjAST ajast = createAjAS... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | */
public void testGetAndSetPointcutDesignator() {
AjAST ajast = createAjAST();
PointcutDeclaration pd = ajast.newPointcutDeclaration();
assertNull("by default the pointcut designator is null",pd.getDesignator());
ReferencePointcut rp = ajast.newReferencePointcut();
pd.setDesignator(rp);
assertEquals("shou... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | if (id.equals("javadoc")) {
foundJavadoc = true;
} else if (id.equals("perClause")) {
foundPerClause = true;
}
} else if ((o instanceof SimplePropertyDescriptor)
&& ((SimplePropertyDescriptor)o).getId().equals("privileged")) {
foundIsPrivileged = true;
}
}
assertTrue("AspectDeclarat... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | List props = AspectDeclaration.propertyDescriptors(AST.JLS3);
for (Iterator iter = props.iterator(); iter.hasNext();) {
Object o = iter.next();
if (o instanceof ChildPropertyDescriptor) {
ChildPropertyDescriptor element = (ChildPropertyDescriptor)o;
if (element.getId().equals("perClause")) {
assert... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | SimplePropertyDescriptor element = (SimplePropertyDescriptor)o;
if (element.getId().equals("privileged")) {
Boolean b = new Boolean(true);
d.setStructuralProperty(element,b);
assertEquals("AspectDeclaration's isPrivileged property should" +
" now be a boolean",b,d.getStructuralProperty(elem... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | AjAST ajast = createAjAST();
AspectDeclaration ad = ajast.newAspectDeclaration();
assertFalse("by default the aspect should not be privileged",ad.isPrivileged());
ad.setPrivileged(true);
assertTrue("the aspect should now privileged",ad.isPrivileged());
}
public void testNewAfterAdviceDeclaration() {
AjA... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | AndPointcut p = ajast.newAndPointcut();
bd.setPointcut(p);
assertEquals("there should now be an AndPointcut associated with" +
" the advice",p,bd.getPointcut());
}
/**
* AdviceDeclarations's have a body property - test the getting
* and setting of this property
*/
public void testGetAndSetBodyInAdvic... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | * test the getting and setting of this property
*/
public void testGetAndSetReturning() {
AjAST ajast = createAjAST();
AfterReturningAdviceDeclaration d = ajast.newAfterReturningAdviceDeclaration();
assertNull("by default there should be no returning property associated with" +
" the AfterReturningAdviceDe... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | d.setThrowing(s);
assertEquals("there should now be a throwing property associated with" +
" the AfterThrowingAdviceDeclaration",s,d.getThrowing());
}
public void testNewAroundAdviceDeclaration() {
AjAST ajast = createAjAST();
AroundAdviceDeclaration d = ajast.newAroundAdviceDeclaration();
assertNotN... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | " the AroundAdviceDeclaration",s,d.getReturnType());
}
/**
* AroundAdviceDeclaration's have a return type property -
* test the getting and setting of this property (different
* implementation for JLS2 and JLS3)
*/
public void testGetAndSetReturnTypeJLS3() {
AjAST ajast = createAjAST();
AroundAdviceDec... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testNewITDMethodDeclaration() {
AjAST ajast = createAjAST();
InterTypeMethodDeclaration d = ajast.newInterTypeMethodDeclaration();
assertNotNull("should have created an InterTypeMethodDeclaration",d);
}
public void testNewAjTypeDeclaration() {
AjAST ajast = createAjAST();
AjTypeDeclaratio... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | AjAST ajast = createAjAST();
DeclareAtFieldDeclaration d = ajast.newDeclareAtFieldDeclaration();
assertNotNull("should have created a DeclareAtFieldDeclaration",d);
}
public void testPropertyDescriptorsForDeclareAtField() {
AjAST ajast = createAjAST();
DeclareAtFieldDeclaration d = ajast.newDeclareAtFieldDe... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testGetAndSetPatternNodeInDeclareAtField() {
AjAST ajast = createAjAST();
DeclareAtFieldDeclaration d = ajast.newDeclareAtFieldDeclaration();
assertNull("by default there should be no typePattern associated with" +
" the declare @field annotation",d.getPatternNode());
SignaturePattern p = ajast.... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | copy.getAnnotationName());
}
public void testInternalDeclareAtField() {
AjAST ajast = createAjAST();
DeclareAtFieldDeclaration d = ajast.newDeclareAtFieldDeclaration();
List props = DeclareAtFieldDeclaration.propertyDescriptors(AST.JLS3);
for (Iterator iter = props.iterator(); iter.hasNext();) {
ChildPro... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | " now be a SimpleName",s,d.getStructuralProperty(element));
} else if (element.getId().equals("javadoc")) {
} else {
fail("unknown property for DeclareAtFieldDeclaration");
}
}
}
public void testNewDeclareAtMethodDeclaration() {
AjAST ajast = createAjAST();
DeclareAtMethodDeclaration d = aja... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | foundAnnotationName = true;
} else {
fail("unknown PropertyDescriptor associated with DeclareAtMethodDeclaration: " + element.getId());
}
}
assertTrue("DeclareAtMethodDeclaration should have a javadoc PropertyDescriptor",foundJavadoc);
assertTrue("DeclareAtMethodDeclaration should have a attern Pr... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testCloneDeclareAtMethod() {
AjAST ajast = createAjAST();
DeclareAtMethodDeclaration d = ajast.newDeclareAtMethodDeclaration();
d.setPatternNode(ajast.newSignaturePattern());
d.setAnnotationName(ajast.newSimpleName("MyAnnotation"));
DeclareAtMethodDeclaration copy = (DeclareAtMethodDeclaration)AST... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | ChildPropertyDescriptor element = (ChildPropertyDescriptor) iter.next();
if (element.getId().equals("pattern")) {
SignaturePattern p = ajast.newSignaturePattern();
d.setStructuralProperty(element,p);
assertEquals("DeclareAtMethodDeclaration's pattern property should" +
" now be a SignaturePattern",... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | boolean foundJavadoc = false;
boolean foundPattern = false;
boolean foundAnnotationName = false;
for (Iterator iter = props.iterator(); iter.hasNext();) {
ChildPropertyDescriptor element = (ChildPropertyDescriptor)iter.next();
String id = element.getId();
if (id.equals("javadoc")) {
foundJavadoc = tr... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | }
public void testGetAndSetAnnNameInDeclareAtConstructor() {
AjAST ajast = createAjAST();
DeclareAtConstructorDeclaration d = ajast.newDeclareAtConstructorDeclaration();
assertEquals("the default annotation name should be MISSING",
"MISSING",d.getAnnotationName().getFullyQualifiedName());
d.setAnnotation... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | if (element.getId().equals("annotationName")) {
assertNotNull("DeclareAtConstructorDeclaration's " + element.getId() + " property" +
" should not be null since it is lazily created",
d.getStructuralProperty(element));
} else {
assertNull("DeclareAtConstructorDeclaration's " + element.getId() ... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testNewDeclareAtTypeDeclaration() {
AjAST ajast = createAjAST();
DeclareAtTypeDeclaration d = ajast.newDeclareAtTypeDeclaration();
assertNotNull("should have created a DeclareAtTypeDeclaration",d);
}
public void testPropertyDescriptorsForDeclareAtType() {
AjAST ajast = createAjAST();
DeclareAt... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | }
public void testGetAndSetPatternNodeInDeclareAtType() {
AjAST ajast = createAjAST();
DeclareAtTypeDeclaration d = ajast.newDeclareAtTypeDeclaration();
assertNull("by default there should be no typePattern associated with" +
" the declare @type annotation",d.getPatternNode());
DefaultTypePattern dtp = a... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | copy.getPatternNode());
assertNotNull("the DeclareAtTypeDeclaration clone should have a Annotation name set",
copy.getAnnotationName());
}
public void testInternalDeclareAtType() {
AjAST ajast = createAjAST();
DeclareAtTypeDeclaration d = ajast.newDeclareAtTypeDeclaration();
List props = DeclareAtTypeDe... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | d.setStructuralProperty(element,s);
assertEquals("DeclareAtTypeDeclaration's annotationName property should" +
" now be a SimpleName",s,d.getStructuralProperty(element));
} else if (element.getId().equals("javadoc")) {
} else {
fail("unknown property for DeclareAtTypeDeclaration");
}
}
}
... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | foundJavadoc = true;
} else if (id.equals("pointcut")) {
foundPointcut = true;
} else if (id.equals("message")) {
foundMessage = true;
} else {
fail("unknown PropertyDescriptor associated with DeclareErrorDeclaration");
}
}
assertTrue("DeclareErrorDeclaration should have a javadoc PropertyDe... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | StringLiteral s = ajast.newStringLiteral();
d.setMessage(s);
assertEquals("there should now be a StringLiteral message associated with" +
" the declare error",s,d.getMessage());
}
public void testCloneDeclareErrorDeclaration() {
AjAST ajast = createAjAST();
DeclareErrorDeclaration d = ajast.newDeclareEr... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | if (element.getId().equals("pointcut")) {
AndPointcut p = ajast.newAndPointcut();
d.setStructuralProperty(element,p);
assertEquals("DeclareErrorDeclaration's pointcut property should" +
" now be an AndPointcut",p,d.getStructuralProperty(element));
} else if (element.getId().equals("message")) {
... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | boolean foundTypePattern = false;
boolean foundIsExtends = false;
boolean foundTypePatternList = false;
for (Iterator iter = props.iterator(); iter.hasNext();) {
Object o = iter.next();
if ((o instanceof ChildPropertyDescriptor)) {
ChildPropertyDescriptor element = (ChildPropertyDescriptor)o;
String... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | public void testGetAndSetTypePatternInDeclareParentsDeclaration() {
AjAST ajast = createAjAST();
DeclareParentsDeclaration d = ajast.newDeclareParentsDeclaration();
assertNull("by default there should be no TypePattern associated with" +
" the declare parents",d.getChildTypePattern());
DefaultTypePattern dt... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | assertEquals("there should be a DefaultTypePattern associated with" +
"the declare parents",dtp,l.get(0));
}
public void testCloneDeclareParentsDeclaration() {
AjAST ajast = createAjAST();
DeclareParentsDeclaration d = ajast.newDeclareParentsDeclaration();
d.setChildTypePattern(ajast.newDefaultTypePatte... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | d.getStructuralProperty(element));
} else if (o instanceof ChildListPropertyDescriptor) {
ChildListPropertyDescriptor element = (ChildListPropertyDescriptor)o;
assertNotNull("DeclareParentsDeclaration's " + element.getId() + " property" +
"should not be null since it is a list",
d.getStructu... |
125,809 | Bug 125809 AjTypeDeclaration in the dom shouldn't have the properties of it's subtype AspectDeclaration | The AjTypeDeclaration should not have the properties 'privileged' and 'perClause' which it's subtype AspectDeclaration has. This was shown up whilst building an aspectj for ajdt and a failure in one of the visitor tests. | resolved fixed | eec4990 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-31T12:53:10Z | 2006-01-31T12:20:00Z | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjASTTest.java | }
} else if (o instanceof SimplePropertyDescriptor) {
SimplePropertyDescriptor element = (SimplePropertyDescriptor)o;
if (element.getId().equals("isExtends")) {
Boolean b = new Boolean(true);
d.setStructuralProperty(element,b);
assertEquals("DeclareParentsDeclaration's isExtends propert... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.