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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");}
public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");}
public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");}
public void testAtajInheri... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.aspectj.apache.bcel.Constants;
import org.aspectj.apache.bcel.classfile.annotation.Annotation;
import org.aspectj.apache.bcel.generic.BranchInstruction;
import org.aspectj.apache.bcel.generic.ConstantPoolGen;
import org.aspectj.apache.bc... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.weaver.MethodDelegateTypeMunger;
import org.aspectj.weaver.NameMangler;
import org.aspectj.weaver.NewConstructorTypeMunger;
import org.aspectj.weaver.NewFieldTypeMunger;
import org.aspectj.weaver.NewMethodTypeMunger;
import org.aspectj.weaver.NewParentTypeMunger;
import org.aspectj.weaver.PerObjectIn... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (munger.getKind() == ResolvedTypeMunger.Field) {
changed = mungeNewField(weaver, (NewFieldTypeMunger)munger);
} else if (munger.getKind() == ResolvedTypeMunger.Method) {
changed = mungeNewMethod(weaver, (NewMethodTypeMunger)munger);
} else if (munger.getKind() == ResolvedTypeMunger.MethodDelegate) {
... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (changed && munger.changesPublicSignature()) {
WeaverStateInfo info =
weaver.getLazyClassGen().getOrCreateWeaverStateInfo(BcelClassWeaver.getReweavableMode());
info.addConcreteMunger(this);
}
if (changed && worthReporting) {
if (munger.getKind().equals(ResolvedTypeMunger.Parent)) {
AsmRelati... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_DECLAREPARENTSEXTENDS,
new String[]{weaver.getLazyClassGen().getType().getName(),
tName,parentTM.getNewParent().getName(),fName
}));
}
... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private boolean mungeNewAnnotationOnType(BcelClassWeaver weaver,AnnotationOnTypeMunger munger) {
weaver.getLazyClassGen().addAnnotation(munger.getNewAnnotation().getBcelAnnotation());
return true;
}
/**
* For a long time, AspectJ did not allow binary weaving of declare parents. This restriction is now l... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
}
}
if (!cont) return false;
if (newParent.isClass()) {
if (!attemptToModifySuperCalls(weaver,newParentTarget,newParent)) return false;
newParentTarget.setSuperClass(newParent);
} else {
newParentTarget.add... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | gen2.getParameterSignature().equals(o.getParameterSignature()) && !gen2.isAbstract()) {
discoveredImpl = gen2;
}
}
if (discoveredImpl == null) {
boolean satisfiedByITD = fal... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
if (!satisfiedByITD) {
error(weaver,
"The type " + newParentTarget.getName() + " must implement the inherited abstract method "+o.getDeclaringType()+"."+o.getName()+o.getParameterSignature(),
newParentTar... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private boolean enforceDecpRule3_visibilityChanges(BcelClassWeaver weaver, ResolvedType newParent, ResolvedMember superMethod, LazyMethodGen subMethod) {
boolean cont = true;
if (superMethod.isPublic()) {
if (subMethod.isProtected() || subMethod.isDefault() || subMethod.isPrivate()) {
weaver.g... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private boolean enforceDecpRule4_compatibleReturnTypes(BcelClassWeaver weaver, ResolvedMember superMethod, LazyMethodGen subMethod) {
boolean cont = true;
String superReturnTypeSig = superMethod.getReturnType().getSignature();
String subReturnTypeSig = subMethod.getReturnType().getSignature(... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | subMethod.getSourceLocation(),new ISourceLocation[]{mungerLoc});
return false;
} else if (!superMethod.isStatic() && subMethod.isStatic()) {
error(weaver,"The static method "+subMethod.getName()+subMethod.getParameterSignature()+
" cannot hide the instance method from "+superM... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | */
public boolean attemptToModifySuperCalls(BcelClassWeaver weaver,LazyClassGen newParentTarget, ResolvedType newParent) {
String currentParent = newParentTarget.getSuperClassname();
if (newParent.getGenericType()!=null) newParent = newParent.getGenericType();
List mgs = newParentTarget.getMet... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (m.getSignature().getSignature().equals(invokeSpecial.getSignature(cpg))) {
satisfiedByITDC = true;
}
}
}
... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type[] ctorArgs = invokeSpecial.getArgumentTypes(cpg);
sb.append(newParent.getClassName());
sb.append("(");
for (int i = 0; i < ctorArgs.length; i++) {
String argtype = ctorArgs[i].toString();
if (argtype.lastIndexOf(".")!=-1)
sb.append(argtype.substring(argtype.lastIndexOf(".")+1));
else
... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | LazyClassGen gen = weaver.getLazyClassGen();
ResolvedMember member = munger.getMember();
ResolvedType onType = weaver.getWorld().resolve(member.getDeclaringType(),munger.getSourceLocation());
if (onType.isRawType()) onType = onType.getGenericType();
if (onType.equals(gen.getType())) {
if (member.getKin... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | } else if (member.getKind() == Member.STATIC_INITIALIZATION) {
gen.forcePublic();
return true;
} else {
throw new RuntimeException("unimplemented");
}
}
return false;
}
private void addFieldGetter(
LazyClassGen gen,
ResolvedMember field,
ResolvedMember accessMethod)
{
LazyMethodGen mg =... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.getBody().insert(il);
gen.addMethodGen(mg,getSignature().getSourceLocation());
}
private void addFieldSetter(
LazyClassGen gen,
ResolvedMember field,
ResolvedMember accessMethod)
{
LazyMethodGen mg = makeMethodGen(gen, accessMethod);
InstructionList il = new InstructionList();
InstructionFact... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.getBody().insert(il);
gen.addMethodGen(mg,getSignature().getSourceLocation());
}
private void addMethodDispatch(
LazyClassGen gen,
ResolvedMember method,
ResolvedMember accessMethod)
{
LazyMethodGen mg = makeMethodGen(gen, accessMethod);
InstructionList il = new InstructionList();
Instruction... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.getBody().insert(il);
gen.addMethodGen(mg);
}
protected LazyMethodGen makeMethodGen(LazyClassGen gen, ResolvedMember member) {
LazyMethodGen ret = new LazyMethodGen(
member.getModifiers(),
BcelWorld.makeBcelType(member.getReturnType()),
member.getName(),
BcelWorld.makeBcelTypes(member.getP... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | {
LazyClassGen gen = weaver.getLazyClassGen();
if (couldMatch(gen.getBcelObjectType(), munger.getTestPointcut())) {
FieldGen fg = makeFieldGen(gen,
AjcMemberMaker.perObjectField(gen.getType(), aspectType));
gen.addField(fg.getField(),getSourceLocation());
Type fieldType = Bce... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Modifier.PUBLIC,
Type.VOID,
NameMangler.perObjectInterfaceSet(aspectType),
new Type[]{fieldType,}, new String[0],
gen);
InstructionList il1 = new InstructionList();
il1.append(InstructionConstants.ALOAD_0);
il1.append(InstructionFactory.createLoad(fieldType, 1));
il1.append(fact.createF... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | FieldGen fg = makeFieldGen(gen, AjcMemberMaker.perTypeWithinField(gen.getType(), aspectType));
gen.addField(fg.getField(),getSourceLocation());
Type fieldType = BcelWorld.makeBcelType(aspectType);
LazyMethodGen mg = new LazyMethodGen(
Modifier.PUBLIC | Modifier.STATIC,fieldType... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
private boolean mungeNewMethod(BcelClassWeaver weaver, NewMethodTypeMunger munger) {
World w = weaver.getWorld();
ResolvedMember unMangledInterMethod = munger.getSignature().resolve(w);
ResolvedMember interMethodBody = munger.getDeclaredInterMethodBody(aspectType,w);
ResolvedMember interMethodDispatc... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | return false;
}
if (onType.equals(gen.getType())) {
ResolvedMember mangledInterMethod =
AjcMemberMaker.interMethod(unMangledInterMethod, aspectType, onInterface);
LazyMethodGen newMethod = makeMethodGen(gen, mangledInterMethod);
if (mungingInterface) {
newMethod.se... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (annotationsOnRealMember!=null) {
for (int i = 0; i < annotationsOnRealMember.length; i++) {
AnnotationX annotationX = annotationsOnRealMember[i];
Annotation a = annotationX.getBcelAnnotation();
AnnotationGen ag = new AnnotationGen(a,weaver.getLazyClassGen().getConstantPoolGen(),true);
n... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes());
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
pos+=paramType.getSize();
}
body.append(Utility.createInvok... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (!gen.getType().isTopmostImplementor(onType)) {
ResolvedType rtx = gen.getType().getTopmostImplementor(onType);
if (!rtx.isExposedToWeaver()) {
ISourceLocation sLoc = munger.getSourceLocation();
weaver.getWorld().getMessageHandler().handleMessage(MessageUtil.error(
Weave... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | memberHoldingAnyAnnotations+"' on aspect "+aspectType);
annotationsOnRealMember = realMember.getAnnotations();
if (annotationsOnRealMember!=null) {
for (int i = 0; i < annotationsOnRealMember.length; i++) {
AnnotationX annotationX = annotationsOnRealMember[i];
Annotation a = annotati... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | body.append(InstructionFactory.createLoad(paramType, pos));
pos+=paramType.getSize();
}
body.append(Utility.createInvoke(fact, weaver.getWorld(), interMethodBody));
Type t= BcelWorld.makeBcelType(interMethodBody.getReturnType());
if (!t.equals(returnType)) {
body.append(fact.createCas... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | LazyMethodGen bridgeMethod = makeMethodGen(gen,bridgingSetter);
paramTypes = BcelWorld.makeBcelTypes(bridgingSetter.getParameterTypes());
Type[] bridgingToParms = BcelWorld.makeBcelTypes(unMangledInterMethod.getParameterTypes());
returnType = BcelWorld.makeBcelType(bridgingSetter.getReturnType());
... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
} else {
return false;
}
}
/**
* Create any bridge method required because of covariant returns being used. This method is used in the case
* where an ITD is applied to some type and it may be in an override relationship with a method from the supertype - but
* due to covariance there is a mismatch ... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | for (int i = 0; i < localMethods.length; i++) {
ResolvedMember member = localMethods[i];
if (member.getName().equals(localMethodName)) {
if (member.getParameterSignature().equals(localParameterSig)) alreadyDone = true;
}
}
if (!alreadyDone) {
for (Iterator iter = onType.getSuperclass(... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | * @param paramTypes Parameter types for the bridge method, passed in as an optimization since the caller is likely to have already created them.
* @param theBridgeMethod
*/
private void createBridgeMethod(BcelWorld world, NewMethodTypeMunger munger,
ResolvedMember unMangledInterMethod, LazyClassGen clazz, Typ... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember introduced = munger.getSignature();
LazyClassGen gen = weaver.getLazyClassGen();
ResolvedType fromType = weaver.getWorld().resolve(introduced.getDeclaringType(),munger.getSourceLocation());
if (fromType.isRawType()) fromType = fromType.getGenericType();
if (gen.getType().i... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
if (annotationsOnRealMember!=null) {
for (int i = 0; i < annotationsOnRealMember.length; i++) {
AnnotationX annotationX = annotationsOnRealMember[i];
Annotation a = annotationX.getBcelAnnotation();
AnnotationGe... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | int pos = 0;
if (!introduced.isStatic()) {
pos++;
}
Type[] paramTypes = BcelWorld.makeBcelTypes(introduced.getParameterTypes());
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(Inst... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean shouldApply = munger.matches(weaver.getLazyClassGen().getType(), aspectType);
ResolvedMember host = AjcMemberMaker.itdAtDeclareParentsField(
weaver.getLazyClassGen().getType(),
munger.getSignature().getType(),
aspectType);
weaver.getLazyClassGen().... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (isCtorRelated) {
for (int j = 0; j < memberParams.length && matchOK; j++){
ResolvedType pMember = memberParams[j].resolve(world);
ResolvedType pLookingFor = lookingForParams[j].resolve(world);
if (pMember.isTypeVariableReference())
pMember = ((TypeVariableReference)pMember).... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | BcelClassWeaver weaver,
ResolvedType onType,
Set neededSuperCalls)
{
LazyClassGen gen = weaver.getLazyClassGen();
for (Iterator iter = neededSuperCalls.iterator(); iter.hasNext();) {
ResolvedMember superMethod = (ResolvedMember) iter.next();
if (weaver.addDispatchTarget(superMethod)) {
boolea... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
private void signalError(String msgid,BcelClassWeaver weaver,UnresolvedType onType) {
IMessage msg = MessageUtil.error(
WeaverMessages.format(msgid,onType.getName()),getSourceLocation());
weaver.getWorld().getMessageHandler().handleMessage(msg);
}
private boolean mungeNewConstructor(
BcelClassWeaver weav... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | LazyMethodGen mg =
makeMethodGen(currentClass, newConstructorMember);
mg.setEffectiveSignature(newConstructorTypeMunger.getSignature(),Shadow.ConstructorExecution,true);
if (weaver.getWorld().isInJava5Mode()){
ResolvedMember interMethodDispatcher =AjcMemberMaker.postIntroducedConstructor(a... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.addAnnotation(decaMC.getAnnotationX());
}
}
}
currentClass.addMethodGen(mg);
InstructionList body = mg.getBody();
UnresolvedType[] declaredParams = newConstructorTypeMunger.getSignature().getParameterTypes();
Type[] paramTypes = mg.getArgumentTypes();
int frameIndex = 1;
for (... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | UnresolvedType[] superParamTypes = explicitConstructor.getParameterTypes();
for (int i = 0, len = superParamTypes.length; i < len; i++) {
body.append(InstructionFactory.createLoad(Type.OBJECT, arraySlot));
body.append(Utility.createConstant(fact, i));
body.append(InstructionFactory.createArrayLoad(Type.OB... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | body.append(
Utility.createConversion(
fact,
Type.OBJECT,
BcelWorld.makeBcelType(postParamTypes[i])));
}
body.append(Utility.createInvoke(fact, null, postMethod));
body.append(InstructionConstants.RETURN);
return true;
}
private static LazyMethodGen makeDispatcher(
Lazy... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | modifiers,
returnType,
dispatchName,
paramTypes,
UnresolvedType.getNames(superMethod.getExceptions()),
onGen);
InstructionList body = mg.getBody();
if (onGen.isInterface()) return mg;
InstructionFactory fact = onGen.getFactory();
int pos = 0;
body.append(InstructionFactory... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private boolean mungeNewField(BcelClassWeaver weaver, NewFieldTypeMunger munger) {
munger.getInitMethod(aspectType);
LazyClassGen gen = weaver.getLazyClassGen();
ResolvedMember field = munger.getSignature();
ResolvedType onType = weaver.getWorld().resolve(field.getDeclaringType(),munger.getSourceLocation());... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (realMember==null) throw new BCException("Couldn't find ITD init member '"+
interMethodBody+"' on aspect "+aspectType);
annotationsOnRealMember = realMember.getAnnotations();
}
if (onType.equals(gen.getType())) {
if (onInterface) {
ResolvedMember itdfieldGetter = AjcMemberMaker.interFieldInte... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
return true;
} else if (onInterface && gen.getType().isTopmostImplementor(onType)) {
if (field.isStatic()) throw new RuntimeException("unimplemented");
weaver.addInitializer(this);
Type fieldType = BcelWorld.makeBcelType(field.getType());
FieldGen fg = makeFieldGen(gen,AjcMem... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (field.isStatic()) {
il.append(fact.createFieldAccess(
gen.getClassName(),
fg.getName(),
fieldType, Constants.GETSTATIC));
} else {
il.append(InstructionConstants.ALOAD_0);
il.append(fact.createFieldAccess(
gen.getClassName(),
fg.getName(),
fieldType, Constants.GETFIELD... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | InstructionList il1 = new InstructionList();
if (field.isStatic()) {
il1.append(InstructionFactory.createLoad(fieldType, 0));
il1.append(fact.createFieldAccess(
gen.getClassName(),
fg.getName(),
fieldType, Constants.PUTSTATIC));
} else {
il1.append(InstructionConstants.ALOAD_0);
il... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | return true;
} else {
return false;
}
}
private void createBridgeMethodForITDF(BcelClassWeaver weaver, LazyClassGen gen, ResolvedMember itdfieldSetter, ResolvedMember bridgingSetter) {
InstructionFactory fact;
LazyMethodGen bridgeMethod = makeMethodGen(gen,bridgingSetter);
Type[] paramTypes = BcelWorl... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | body.append(Utility.createInvoke(fact, weaver.getWorld(), itdfieldSetter));
body.append(InstructionFactory.createReturn(returnType));
gen.addMethodGen(bridgeMethod);
}
public ConcreteTypeMunger parameterizedFor(ResolvedType target) {
return new BcelTypeMunger(munger.parameterizedFor(target),aspectType);
... |
152,631 | Bug 152631 Problem with decp on an aspect using cflow | This occurs in the AspectJ build in AJDT from August 1 but not from July 31: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.enforceDecpRule1_abstractMethodsImplemented(BcelTypeMunger.java:250) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewParent(BcelTypeMunger.java:194) at org.aspectj.weav... | resolved fixed | ff2377a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T10:29:04Z | 2006-08-02T17:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (hashCode == 0) {
int result = 17;
result = 37*result + ((getMunger() == null) ? 0 : getMunger().hashCode());
result = 37*result + ((getAspectType() == null) ? 0 : getAspectType().hashCode());
hashCode = result;
}
return hashCode;
}
/**
* Some type m... |
152,835 | Bug 152835 ArrayIndexOutOfBoundsException in EclipseAdapterUtils.makeLocationContext | Got the following exception during startup of Eclipse java.lang.ArrayIndexOutOfBoundsException at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeLocationContext(EclipseAdapterUtils.java:65) at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeSourceLocation(EclipseAdapterUtils.java:121) at ... | resolved fixed | 908b405 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T11:02:38Z | 2006-08-04T11:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | /* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 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... |
152,835 | Bug 152835 ArrayIndexOutOfBoundsException in EclipseAdapterUtils.makeLocationContext | Got the following exception during startup of Eclipse java.lang.ArrayIndexOutOfBoundsException at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeLocationContext(EclipseAdapterUtils.java:65) at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeSourceLocation(EclipseAdapterUtils.java:121) at ... | resolved fixed | 908b405 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T11:02:38Z | 2006-08-04T11:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | public static String makeLocationContext(ICompilationUnit compilationUnit, IProblem problem) {
int startPosition = problem.getSourceStart();
int endPosition = problem.getSourceEnd();
if ((startPosition > endPosition)
|| ((startPos... |
152,835 | Bug 152835 ArrayIndexOutOfBoundsException in EclipseAdapterUtils.makeLocationContext | Got the following exception during startup of Eclipse java.lang.ArrayIndexOutOfBoundsException at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeLocationContext(EclipseAdapterUtils.java:65) at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeSourceLocation(EclipseAdapterUtils.java:121) at ... | resolved fixed | 908b405 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T11:02:38Z | 2006-08-04T11:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | break label;
if ((source[begin - 1] == '\n') || (source[begin - 1] == '\r'))
break label;
begin--;
}
label : for (relativeEnd = 0;; relativeEnd++) {
if ((end + 1) >= source.length)
break label;
if ((source[end + 1] == '\r') ... |
152,835 | Bug 152835 ArrayIndexOutOfBoundsException in EclipseAdapterUtils.makeLocationContext | Got the following exception during startup of Eclipse java.lang.ArrayIndexOutOfBoundsException at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeLocationContext(EclipseAdapterUtils.java:65) at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeSourceLocation(EclipseAdapterUtils.java:121) at ... | resolved fixed | 908b405 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T11:02:38Z | 2006-08-04T11:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | char[] underneath = new char[extract.length];
for (int i = 0; i <= relativeStart; i++) {
if (extract[i] == TAB) {
underneath[pos++] = TAB;
} else {
underneath[pos++] = SPACE;
}
}
for (int i = startPosition + trimLeftIn... |
152,835 | Bug 152835 ArrayIndexOutOfBoundsException in EclipseAdapterUtils.makeLocationContext | Got the following exception during startup of Eclipse java.lang.ArrayIndexOutOfBoundsException at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeLocationContext(EclipseAdapterUtils.java:65) at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeSourceLocation(EclipseAdapterUtils.java:121) at ... | resolved fixed | 908b405 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T11:02:38Z | 2006-08-04T11:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | /**
* Extract message text and source location, including context.
*/
public static IMessage makeMessage(ICompilationUnit unit, IProblem problem) {
ISourceLocation sourceLocation = makeSourceLocation(unit, problem);
IProblem[] seeAlso = problem.seeAlso();
ISourceLocation[] seeAl... |
152,835 | Bug 152835 ArrayIndexOutOfBoundsException in EclipseAdapterUtils.makeLocationContext | Got the following exception during startup of Eclipse java.lang.ArrayIndexOutOfBoundsException at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeLocationContext(EclipseAdapterUtils.java:65) at org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils.makeSourceLocation(EclipseAdapterUtils.java:121) at ... | resolved fixed | 908b405 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-04T11:02:38Z | 2006-08-04T11:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | else { kind = IMessage.WARNING; }
}
IMessage msg = new Message(problem.getMessage(),
extraDetails,
kind,
sourceLocation,
null,
seeAlsoLocations,
declared,
problem.getID(),
problem.getSourceStart()... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | testing/newsrc/org/aspectj/testing/AntSpec.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 ... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | testing/newsrc/org/aspectj/testing/AntSpec.java | * <p/>
* Such a spec is used in a "<ajc-test><ant file="myAnt.xml" [target="..."] [verbose="true"]/> XML element.
* The "target" is optional. If not set, default myAnt.xml target is used.
* The "file" file is looked up from the <ajc-test dir="..."/> attribute.
* If "verbose" is set to "true", the ant -v output is p... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | testing/newsrc/org/aspectj/testing/AntSpec.java | private OutputSpec m_stdOutSpec;
private String m_antFile;
private String m_antTarget;
public void execute(AjcTestCase inTestCase) {
final String failMessage = "test \"" + m_ajcTest.getTitle() + "\" failed: ";
File buildFile = new File(m_ajcTest.getDir() + File.separatorChar + m_antFile);
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | testing/newsrc/org/aspectj/testing/AntSpec.java | m_antTarget = p.getDefaultTarget();
}
DefaultLogger consoleLogger = new DefaultLogger() {
public void buildFinished(BuildEvent event) {
super.buildFinished(event);
if (event.getException() != null) {
Ajc... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | testing/newsrc/org/aspectj/testing/AntSpec.java | p.addBuildListener(consoleLogger);
} catch (Throwable t) {
AjcTestCase.fail(failMessage + "invalid Ant script :" + t.toString());
}
try {
p.fireBuildStarted();
p.executeTarget(m_antTarget);
p.fireBuildFinished(null);
} catch (BuildException... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | testing/newsrc/org/aspectj/testing/AntSpec.java | m_stdOutSpec = spec;
}
public void setVerbose(String verbose) {
if (verbose != null && "true".equalsIgnoreCase(verbose)) {
m_verbose = true;
}
}
public void setFile(String file) {
m_antFile = file;
}
public void setTarget(String target) {
m_antTarget =... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.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 ... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(org.aspectj.systemtest.ajc150.ataspectj.AtAjLTWTests.class);
}
protected File getSpecFile() {
return new File("../tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml");
}
public void testRunThemAllWithJavacCompiledAndLTW() {
runTest("... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | }
public void testJavaCAjcLTWPerClauseTest() {
runTest("JavaCAjcLTW PerClauseTest");
}
public void testAjcLTWAroundInlineMungerTest_XterminateAfterCompilation() {
runTest("AjcLTW AroundInlineMungerTest -XterminateAfterCompilation");
}
public void testAjcLTWAroundInlineMungerTest_Xrew... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | File f = new File("_ajdump/ataspectj/DumpTest.class");
assertFalse(f.exists());
f = new File("_ajdump/_before/ataspectj/DumpTestTheDump.class");
assertFalse(f.exists());
f = new File("_ajdump/ataspectj/DumpTestTheDump.class");
assertTrue(f.exists());
f =... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | f.delete();
}
public void testLTWDumpClosure() {
runTest("LTW DumpTest closure");
File f = new File("_ajdump/ataspectj/DumpTestTheDump$AjcClosure1.class");
assertTrue("Missing dump file " + f.getAbsolutePath(),f.exists());
f = new File("_ajdump");
FileUt... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | public void testAjcAspect1LTWAspect2_Xreweavable() {
runTest("Ajc Aspect1 LTW Aspect2 -Xreweavable");
}
public void testLTWLogSilent() {
runTest("LTW Log silent");
}
public void testLTWLogVerbose() {
runTest("LTW Log verbose");
}
public void testLTWLogVerboseAndShow() {
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | }
public void testConcreteAspect() {
runTest("ConcreteAspect");
}
public void testConcretePrecedenceAspect() {
runTest("ConcretePrecedenceAspect");
}
public void testAspectOfWhenAspectNotInInclude() {
runTest("AspectOfWhenAspectNotInInclude");
}
public void testAppCon... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* 2005 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | package org.aspectj.weaver;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.WeakHashMap... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | private IMessageHandler messageHandler = IMessageHandler.SYSTEM_ERR;
private ICrossReferenceHandler xrefHandler = null;
private TypeVariableDeclaringElement typeVariableLookupScope;
protected TypeMap typeMap = new TypeMap(this);
public static boolean createInjarHierarchy = true;
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | private boolean XlazyTjp;
private boolean XhasMember = false;
private boolean Xpinpoint = false;
private boolean behaveInJava5Way = false;
private boolean incrementalCompileCouldFollow = false;
private String targetAspectjRuntimeLevel = Constants.RUNTIME_... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | private boolean runMinimalMemory = false;
private boolean shouldPipelineCompilation = true;
public boolean forDEBUG_structuralChangesCode = false;
public boolean forDEBUG_bridgingCode = false;
private static Trace trace = TraceFactory.getTraceFactory().getTrace(World.class);
protected static boolean... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | * On the first day, God created the primitive types and put them in the type
* map.
*/
protected World() {
super();
if (trace.isTraceEnabled()) trace.enter("<init>", this);
Dump.registerNode(this.getClass(),this);
typeMap.put("B", ResolvedType.BYTE);
typeMap.put("S"... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | if (dumpState_cantFindTypeExceptions!=null) {
visitor.visitString("Cant find type problems:");
visitor.visitList(dumpState_cantFindTypeExceptions);
dumpState_cantFindTypeExceptions = null;
}
}
/**
* Resolve a type that we require to be present ... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | }
return ret;
}
/**
* Convenience method for resolving an array of unresolved types
* in one hit. Useful for e.g. resolving type parameters in signatures.
*/
public ResolvedType[] resolve(UnresolvedType[] types) {
if (types == null) return new ResolvedType[0];
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | return rty;
}
if (ty.isTypeVariableReference()) {
return ty.resolve(this);
}
String signature = ty.getSignature();
ResolvedType ret = typeMap.get(signature);
if (ret != null) {
ret.world = this;
return ret;
} else i... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | componentType);
} else {
ret = resolveToReferenceType(ty);
if (!allowMissing && ret.isMissing()) {
ret = handleRequiredMissingTypeDuringResolution(ty);
}
}
if (typeMap.get(signature)==null && !ret.isMissing()) {
typeMap.put(sig... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | * in the typeMap - this resolution process puts them there. Resolved types are
* also told their world which is needed for the special autoboxing resolved types.
*/
public ResolvedType resolve(ResolvedType ty) {
if (ty.isTypeVariableReference()) return ty;
ResolvedType resolved = typeMap.get(ty... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | */
private final ResolvedType resolveToReferenceType(UnresolvedType ty) {
if (ty.isParameterizedType()) {
ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false);
currentlyResolvingBaseType = genericType;
ReferenceType parameterizedType =
TypeFactory.createParameterizedType(ge... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | simpleOrRawType.typeKind = TypeKind.RAW;
ReferenceType genericType = makeGenericTypeFrom(delegate,simpleOrRawType);
simpleOrRawType.setDelegate(delegate);
genericType.setDelegate(delegate);
simpleOrRawType.setGenericType(genericType);
return simpleOrRawType;
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | ResolvedType genericType = rawType.getGenericType();
if (rawType.isSimpleType() && (anUnresolvedType.typeParameters==null || anUnresolvedType.typeParameters.length==0)) {
rawType.world = this;
return rawType;
}
if (genericType != null) {
gener... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | UnresolvedType.forGenericTypeSignature(rawType.getSignature(),delegate.getDeclaredGenericSignature()),this);
} else {
return new ReferenceType(
UnresolvedType.forGenericTypeVariables(rawType.getSignature(), delegate.getTypeVariables()),this);
}
}
/**
* Go from an unresolved generic ... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* Special resolution for "core" types like OBJECT. These are resolved just like
* any other type, but if they are not found it is more serious and we issue an
* error message immediately.
*/
public ResolvedType getCoreType(UnresolvedType tx) {
ResolvedType coreTy = resolve(tx,true);
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | public ReferenceType lookupBySignature(String signature) {
return (ReferenceType) typeMap.get(signature);
}
/**
* Member resolution is achieved by resolving the declaring type and then
* looking up the member in the resolved declaring type.
*/
public ResolvedMember resolve(Mem... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | * Create an advice shadow munger from the given advice attribute
*/
public abstract Advice createAdviceMunger(
AjAttribute.AdviceAttribute attribute,
Pointcut pointcut,
Member signature);
/**
* Create an advice shadow munger for the given advice kind
*/
public fina... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | public abstract ConcreteTypeMunger concreteTypeMunger(ResolvedTypeMunger munger, ResolvedType aspectType);
/**
* Same signature as org.aspectj.util.PartialOrder.PartialComparable.compareTo
*/
public int compareByPrecedence(ResolvedType aspect1, ResolvedType aspect2) {
return precedenceCalculator.compareByPreced... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | this.messageHandler = new PinpointingMessageHandler(messageHandler);
} else {
this.messageHandler = messageHandler;
}
}
/**
* convenenience method for creating and issuing messages via the message handler -
* if you supply two locations you will get two messages.
*/
public void showMessage(
Kind ... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* Get the cross-reference handler for the world, may be null.
*/
public ICrossReferenceHandler getCrossReferenceHandler() {
return this.xrefHandler;
}
public void setTypeVariableLookupScope(TypeVariableDeclaringElement scope) {
this.typeVariableLookupScope = scope;
}
pub... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | }
public CrosscuttingMembersSet getCrosscuttingMembersSet() {
return crosscuttingMembersSet;
}
public IHierarchy getModel() {
return model;
}
public void setModel(IHierarchy model) {
this.model = model;
}
public Lint getLint() {
return lint;
}
public void setLint(Lint lint) {
this.lint = lint;
}
pu... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | public boolean isHasMemberSupportEnabled() {
return XhasMember;
}
public void setXHasMemberSupportEnabled(boolean b) {
XhasMember = b;
}
public boolean isInPinpointMode() {
return Xpinpoint;
}
public void setPinpointMode(boolean b) {
this.Xpinpoint = b;
}
public void setBehaveInJava5Way(boolean b)... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* @return true if ignoring the UnusedDeclaredThrownException and false if
* this compiler option is set to error or warning
*/
public boolean isIgnoringUnusedDeclaredThrownException() {
if((this.errorThreshold & 0x800000) != 0
|| (this.warningThreshold & 0x800000) != 0)
return false;
... |
152,873 | Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch | null | resolved fixed | f239f2a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-08T07:59:54Z | 2006-08-04T19:33:20Z | weaver/src/org/aspectj/weaver/World.java | int pos2 = config.indexOf("=");
if (pos2!=-1) {
String n = config.substring(0,pos2);
String v = config.substring(pos2+1);
extraConfiguration.setProperty(n,v);
}
}
}
/**
* may return null
*/
public Properties getExtraConfiguration() {
return extraConfiguration;
}
public final static Stri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.