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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (onInterface) {
ResolvedMember itdfieldGetter = AjcMemberMaker.interFieldInterfaceGetter(field, onType, aspectType);
LazyMethodGen mg = makeMethodGen(gen, itdfieldGetter);
gen.addMethodGen(mg);
LazyMethodGen mg1 = makeMethodGen(gen, AjcMemberMaker.interFieldInterfaceSetter(field, onType, aspectType))... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | } 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, AjcMemberMaker.interFieldInter... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(fact.createFieldAccess(gen.getClassName(), fg.getName(), fieldType, Constants.GETFIELD));
}
il.append(InstructionFactory.createReturn(fieldType));
mg.getBody().insert(il);
gen.addMethodGen(mg);
if (munger.getDeclaredSignature() != null) {
ResolvedMember toBridgeTo = mung... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il1.append(fact.createFieldAccess(gen.getClassName(), fg.getName(), fieldType, Constants.PUTFIELD));
}
il1.append(InstructionFactory.createReturn(Type.VOID));
mg1.getBody().insert(il1);
gen.addMethodGen(mg1);
if (munger.getDeclaredSignature() != null) {
ResolvedMember toBridgeTo = munger.getDeclaredS... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Type[] paramTypes = BcelWorld.makeBcelTypes(bridgingSetter.getParameterTypes());
Type[] bridgingToParms = BcelWorld.makeBcelTypes(itdfieldSetter.getParameterTypes());
Type returnType = BcelWorld.makeBcelType(bridgingSetter.getReturnType());
InstructionList body = bridgeMethod.getBody();
fact = gen.getFactory();... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | * Returns a list of type variable aliases used in this munger. For example, if the ITD is 'int I<A,B>.m(List<A> las,List<B>
* lbs) {}' then this returns a list containing the strings "A" and "B".
*/
public List getTypeVariableAliases() {
return munger.getTypeVariableAliases();
}
public boolean equals(Object ot... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved. |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | * This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http:www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* PARC initial implementation
* Alexandre Vasseur support for ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
import java.util.jar.Attributes.Name;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream;
import org.aspectj.apache.bcel.classfile.ClassParser;
import org.aspectj.apache.bcel... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import org.aspectj.weaver.NewParentTypeMunger;
import org.aspectj.weaver.ReferenceType;
import org.aspectj.weaver.ReferenceTypeDelegate;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.ResolvedTypeMunger;
import org.aspectj.weaver.Shadow;
import org.aspectj.weaver.ShadowMunger;
import org.aspectj.weav... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public static final String CLOSURE_CLASS_PREFIX = "$Ajc";
public static final String SYNTHETIC_CLASS_POSTFIX = "$ajc";
private final BcelWorld world;
private final CrosscuttingMembersSet xcutSet;
private boolean inReweavableMode = false;
private static Trace trace = TraceFactory.getTraceFactory().getTrace(BcelWeav... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ----
public void setShadowMungers(List l) {
shadowMungerList = l;
}
/**
* Add the given aspect to the weaver. The type is resolved to support DOT for static inner classes as well as DOLLAR
*
* @param aspectName
* @return aspect
*/
public ResolvedType addLibraryAspect(String aspectName) {
if (trace.... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ut.setNeedsModifiableDelegate(true);
type = world.resolve(ut, true);
if (!type.isMissing()) {
break;
}
}
}
if (type.isAspect()) {
WeaverStateInfo wsi = type.getWeaverState();
if (wsi != null && wsi.isReweavable()) {
BcelObjectType classType = getClassType(type.getName());
Ja... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (type.getSuperclass().isAspect()) {
223094
addLibraryAspect(type.getSuperclass().getName());
}
return type;
} else {
RuntimeException ex = new RuntimeException("Cannot register non aspect: " + type.getName() + " , " + aspectName);
if (trace.isTraceEn... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | } else {
addedAspects = addAspectsFromJarFile(inFile);
}
for (Iterator i = addedAspects.iterator(); i.hasNext();) {
ResolvedType aspectX = (ResolvedType) i.next();
xcutSet.addOrReplaceAspect(aspectX);
}
}
private List addAspectsFromJarFile(File inFile) throws FileNotFoundException, IOException {
ZipI... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | inStream.close();
}
return addedAspects;
}
private List addAspectsFromDirectory(File dir) throws FileNotFoundException, IOException {
List addedAspects = new ArrayList();
File[] classFiles = FileUtil.listFiles(dir, new FileFilter() {
public boolean accept(File pathname) {
return pathname.getName().ends... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | binaryPath = dir.getAbsolutePath();
} else {
binaryPath = name.substring(0, end - 1);
}
type.setBinaryPath(binaryPath);
if (type.isAspect()) {
toList.add(type);
}
}
/**
* Add any .class files in the directory to the outdir. Anything other than .class files in the directory (or its
* subdirec... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return addedClassFiles;
}
/**
* Adds all class files in the jar
*/
public List addJarFile(File inFile, File outDir, boolean canBeDirectory) {
List addedClassFiles = new ArrayList();
needToReweaveWorld = true;
JarFile inJar = null;
try {
if (inFile.isDirectory() && canBeDirectory) {
addedCla... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
inStream.close();
}
} finally {
inJar.close();
}
inJar.close();
}
} catch (FileNotFoundException ex) {
IMessage message = new Message("Could not find input jar file " + inFile.getPath() + ", ignoring", new SourceLocation(
inFile, 0), false)... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
return addedClassFiles;
}
}
}
public boolean needToReweaveWorld() {
return needToReweaveWorld;
}
/**
* Should be addOrReplace
*/
public void addClassFile(UnwovenClassFile classFile) {
addedClasses.add(classFile); |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
world.addSourceObjectType(classFile.getJavaClass());
}
public UnwovenClassFile addClassFile(File classFile, File inPathDir, File outDir) throws IOException {
FileInputStream fis = new FileInputStream(classFile);
byte[] bytes = FileUtil.readAsByteArray(fis);
String filename = classFile.getAbsolut... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
else {
}
}
public void setIsBatchWeave(boolean b) {
isBatchWeave = b;
}
public void prepareForWeave() {
if (trace.isTraceEnabled())
trace.enter("prepareForWeave", this);
needToReweaveWorld = xcutSet.hasChangedSinceLastReset();
for (Iterator i = addedClasses.iterator(); i.hasNext();) {
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | needToReweaveWorld = true;
}
shadowMungerList = xcutSet.getShadowMungers();
rewritePointcuts(shadowMungerList);
typeMungerList = xcutSet.getTypeMungers();
lateTypeMungerList = xcutSet.getLateTypeMungers();
declareParentsList = xcutSet.getDeclareParents();
addCustomMungers();
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ShadowMunger sm2 = (ShadowMunger) o2;
if (sm1.getSourceLocation() == null)
return (sm2.getSourceLocation() == null ? 0 : 1);
if (sm2.getSourceLocation() == null)
return -1;
return (sm2.getSourceLocation().getOffset() - sm1.getSourceLocation().getOffset());
}
});
if (inReweavableMode)
wor... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
public void setCustomMungerFactory(CustomMungerFactory factory) {
customMungerFactory = factory;
}
/*
* Rewrite all of the pointcuts in the world into their most efficient form for subsequent matching. Also ensure that if
* pc1.equals(pc2) then pc1 == pc2 (for non-binding pcds) by making references all point... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | && advice.getDeclaringAspect().resolve(world).isAnnotationStyleAspect()) {
numFormals = advice.getBaseParameterCount();
int numArgs = advice.getSignature().getParameterTypes().length;
if (numFormals > 0) {
names = advice.getSignature().getParameterNames(world);
validateBindings(newP, p, ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (p instanceof NameBindingPointcut)
return p;
if (p instanceof IfPointcut)
return p;
if (p instanceof ConcreteCflowPointcut)
return p;
if (p instanceof AndPointcut) {
AndPointcut apc = (AndPointcut) p;
Pointcut left = shareEntriesFromMap(apc.getLeft(), pcMap);
Pointcut right = shareEntriesFrom... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
private void validateBindings(Pointcut dnfPointcut, Pointcut userPointcut, int numFormals, String[] names) {
if (numFormals == 0)
return;
if (dnfPointcut.couldMatchKinds() == Shadow.NO_SHADOW_KINDS_BITS)
return;
if (dnfPointcut instanceof OrPointcut) {
OrPointcut orBasedDNFPointcut =... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | validateOrBranch((OrPointcut) left, userPointcut, numFormals, names, leftBindings, newRightBindings);
} else {
if (left.couldMatchKinds() != Shadow.NO_SHADOW_KINDS_BITS)
validateSingleBranch(left, userPointcut, numFormals, names, leftBindings);
}
if (right instanceof OrPointcut) {
Pointcut[] newLeftBind... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
private void validateSingleBranch(Pointcut pc, Pointcut userPointcut, int numFormals, String[] names, Pointcut[] bindings) {
boolean[] foundFormals = new boolean[numFormals];
for (int i = 0; i < foundFormals.length; i++) {
foundFormals[i] = false;
}
validateSingleBranchRecursion(pc, userPointcut, fo... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (pc instanceof NotPointcut) {
NotPointcut not = (NotPointcut) pc;
if (not.getNegatedPointcut() instanceof NameBindingPointcut) {
NameBindingPointcut nnbp = (NameBindingPointcut) not.getNegatedPointcut();
if (!nnbp.getBindingAnnotationTypePatterns().isEmpty() && !nnbp.getBindingTypePatterns().isEmpt... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | raiseAmbiguousBindingError(names[index], userPointcut);
} else {
foundFormals[index] = true;
}
}
} else if (pc instanceof ConcreteCflowPointcut) {
ConcreteCflowPointcut cfp = (ConcreteCflowPointcut) pc;
int[] slots = cfp.getUsedFormalSlots();
for (int i = 0; i < slots.length; i++) {
bindi... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return false;
}
if (right instanceof OrPointcut) {
OrPointcut rightOrPointcut = (OrPointcut) right;
if (couldEverMatchSameJoinPoints(left, rightOrPointcut.getLeft()))
return true;
if (couldEverMatchSameJoinPoints(left, rightOrPointcut.getRight()))
return true;
return false;
}
WithinPointc... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return toSearch;
if (toSearch instanceof AndPointcut) {
AndPointcut apc = (AndPointcut) toSearch;
Pointcut left = findFirstPointcutIn(apc.getLeft(), toLookFor);
if (left != null)
return left;
return findFirstPointcutIn(apc.getRight(), toLookFor);
}
return null;
}
/**
* @param userPointcut
*/... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | for (int i = 1; i < names.size(); i++) {
formalNames.append(", ");
formalNames.append(names.get(i));
}
world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.AMBIGUOUS_BINDING_IN_OR, formalNames), userPointcut
.getSourceContext().makeSourceLocation(userPointcut), null);
}
/**
* @param ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
}
}
}
} |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | {
}
public void addManifest(Manifest newManifest) {
if (manifest == null) {
manifest = newManifest;
}
}
private static final String WEAVER_MANIFEST_VERSION = "1.0";
private static final Attributes.Name CREATED_BY = new Name("Created-By");
private static final String WEAVER_CREATED_BY = "AspectJ Com... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return false;
}
public Iterator getClassFileIterator() {
return addedClasses.iterator();
}
public IWeaveRequestor getRequestor() {
return new IWeaveRequestor() {
public void acceptResult(IUnwovenClassFile result) {
try {
writeZipEntry(result.getFilename(), result.getBytes());
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
} |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
}
}
} |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
}
public Collection weave(IClassFileProvider input) throws IOException {
if (trace.isTraceEnabled())
trace.enter("weave", this, input);
ContextToken weaveToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WEAVING, "");
Collection wovenClassNames = new... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | for (Iterator i = input.getClassFileIterator(); i.hasNext();) {
UnwovenClassFile classFile = (UnwovenClassFile) i.next();
String className = classFile.getClassName();
ResolvedType theType = world.resolve(className);
if (theType != null) {
theType.ensureConsistent();
}
}
if (input.isApplyAtAspe... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | for (int news = 0; news < newClasses.length; news++) {
requestor.acceptResult(newClasses[news]);
}
wovenClassNames.add(classFile.getClassName());
}
}
requestor.weaveCompleted();
CompilationAndWeavingContext.leavingPhase(atAspectJMungersOnly);
return wovenClassNames;
}
requestor.proce... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ContextToken typeMungingToken = CompilationAndWeavingContext.enteringPhase(
CompilationAndWeavingContext.PROCESSING_TYPE_MUNGERS, "");
requestor.addingTypeMungers();
type
List typesToProcess = new ArrayList();
for (Iterator iter = input.getClassFileIterator(); iter.hasNext();) {
Unwove... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ResolvedType theType = world.resolve(className);
if (theType.isAspect()) {
BcelObjectType classType = BcelWorld.getBcelObjectType(theType);
if (classType == null) {
ReferenceTypeDelegate theDelegate = ((ReferenceType) theType).getDelegate();
if (theDelegate... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (classType == null) {
ReferenceTypeDelegate theDelegate = ((ReferenceType) theType).getDelegate();
if (theDelegate.getClass().getName().endsWith("EclipseSourceType"))
continue;
throw new BCException("Can't find bcel delegate for " + className + " type=" + theType.getClass());
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private final int lineNo;
private final UnresolvedType inAspect;
public AdviceLocation(BcelAdvice advice) {
this.lineNo = advice.getSourceLocation().getLine();
this.inAspect = advice.getDeclaringAspect();
}
public boolean equals(Object obj) {
if (!(obj instanceof AdviceLocation)) |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return false;
AdviceLocation other = (AdviceLocation) obj;
if (this.lineNo != other.lineNo)
return false;
if (!this.inAspect.equals(other.inAspect))
return false;
return true;
}
public int hashCode() {
return 37 + 17 * lineNo + 17 * inAspect.hashCode();
}
}
if (wor... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (ba.getSignature() != null) {
AdviceLocation loc = new AdviceLocation(ba);
if (alreadyWarnedLocations.contains(loc)) {
continue;
} else {
alreadyWarnedLocations.add(loc);
}
if (!(ba.getSignature() instanceof BcelMethod)
|| !Utility.isSuppres... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | */
private void weaveParentsFor(List typesForWeaving, String typeToWeave) {
ResolvedType rtx = world.resolve(typeToWeave);
ResolvedType superType = rtx.getSuperclass();
if (superType != null && typesForWeaving.contains(superType.getName())) {
weaveParentsFor(typesForWeaving, superType.getName());
}
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | world.showMessage(IMessage.INFO, WeaverMessages.format(WeaverMessages.PROCESSING_REWEAVABLE, className, classType
.getSourceLocation().getSourceFile()), null, null);
Set aspectsPreviouslyInWorld = wsi.getAspectsAffectingType();
if (aspectsPreviouslyInWorld != null) {
Set alreadyConfirmedReweava... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | alreadyConfirmedReweavableState.add(requiredTypeName);
}
}
}
}
old:
classType.setJavaClass(Utility.makeJavaClass(classType.getJavaClass().getFileName(), wsi
.getUnwovenClassFileData(classType.getJavaClass().getBytes())));
}
}
private void weaveAndNotify(UnwovenClass... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
for (int i = 0; i < newClasses.length; i++) {
requestor.acceptResult(newClasses[i]);
}
} else {
requestor.acceptResult(classFile);
}
classType.weavingCompleted();
CompilationAndWeavingContext.leavingPhase(tok);
trace.exit("weaveAndNotify");
}
/**
* helper method - will return NULL if the un... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | UnwovenClassFile childClass = new UnwovenClassFile(clazz.getFileName() + "$" + element.name, element.bytes);
ret[index++] = childClass;
}
return ret;
}
/**
* Weaves new parents and annotations onto a type ("declare parents" and "declare @type")
*
* Algorithm: 1. First pass, do parents then do annotation... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | for (Iterator i = xcutSet.getDeclareAnnotationOnTypes().iterator(); i.hasNext();) {
DeclareAnnotation decA = (DeclareAnnotation) i.next();
boolean typeChanged = applyDeclareAtType(decA, onType, true);
if (typeChanged) {
anAnnotationChangeOccurred = true;
}
}
while ((aParentChangeOccurred || anAnnota... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | /**
* Apply a declare @type - return true if we change the type
*/
private boolean applyDeclareAtType(DeclareAnnotation decA, ResolvedType onType, boolean reportProblems) {
boolean didSomething = false;
if (decA.matches(onType)) {
AnnotationAJ theAnnotation = decA.getAnnotationX();
if (theAnnotation ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)) {
getWorld().getMessageHandler().handleMessage(
WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ANNOTATES, new String[] {
onType.toString(), Utility.beautifyLocation(onType.getSourceLocation()),
decA.getAnno... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (world.getLint().invalidTargetForAnnotation.isEnabled()) {
world.getLint().invalidTargetForAnnotation.signal(new String[] { onType.getName(), annoX.getTypeName(),
annoX.getValidTargets() }, decA.getSourceLocation(), new ISourceLocation[] { onType
.getSourceLocation() });
}
}
}... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | onType.addParent(newParent);
ResolvedTypeMunger newParentMunger = new NewParentTypeMunger(newParent);
newParentMunger.setSourceLocation(p.getSourceLocation());
onType.addInterTypeMunger(new BcelTypeMunger(newParentMunger, xcutSet.findAspectDeclaringParents(p)));
}
}
return didSomething;
}
public vo... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
private LazyClassGen weave(UnwovenClassFile classFile, BcelObjectType classType, boolean dump) throws IOException {
if (classType.isSynthetic()) {
if (dump)
dumpUnchanged(classFile);
return null;
}
List shadowMungers = fastMatch(shadowMungerList, classType.getResolvedTypeX());
List typeMungers = c... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | dump(classFile, clazz);
return clazz;
}
} catch (RuntimeException re) {
String classDebugInfo = null;
try {
classDebugInfo = clazz.toLongString();
} catch (Exception e) {
classDebugInfo = clazz.getClassName();
}
String messageText = "trouble in: \n" + classDebugInfo;
... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (clazz != null && !clazz.getChildClasses(world).isEmpty()) {
return clazz;
}
return null;
}
}
private void dumpUnchanged(UnwovenClassFile classFile) throws IOException {
if (zipOutputStream != null) {
writeZipEntry(getEntryName(classFile.getJavaClass().getClassName()), classFile.getBytes());
}... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | UnwovenClassFile.ChildClass c = (UnwovenClassFile.ChildClass) i.next();
writeZipEntry(getEntryName(mainClassName + "$" + c.name), c.bytes);
}
}
} else {
classFile.writeWovenBytes(clazz.getJavaClass(world).getBytes(), clazz.getChildClasses(world));
}
}
private void writeZipEntry(String name, byte[] ... |
263,837 | Bug 263837 Error during Delete AJ Markers | Error sent through the AJDT mailing list. I believe this is an LTW weaving error, so not raising it against AJDT. | resolved fixed | 1b54b4b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-06T00:15:57Z | 2009-02-05T18:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
return result;
}
public void setReweavableMode(boolean xNotReweavable) {
if (trace.isTraceEnabled())
trace.enter("setReweavableMode", this, xNotReweavable);
inReweavableMode = !xNotReweavable;
WeaverStateInfo.setReweavableModeDefaults(!xNotReweavable, false, true);
BcelClassWeaver.setReweavableMode(!xN... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.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://... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | private final AsmManager asm;
private int initializerCounter = 0;
private final char[] empty = new char[] {};
private final char[] countDelim = new char[] { HandleProviderDelimiter.COUNT.getDelimiter() };
private final String backslash = "\\";
private final String emptyString = "";
public JDTLikeHandleProvide... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | if (ipe == null || (ipe.getKind().equals(IProgramElement.Kind.FILE_JAVA) && ipe.getName().equals("<root>"))) {
return "";
} else if (ipe.getHandleIdentifier(false) != null) {
return ipe.getHandleIdentifier();
} else if (ipe.getKind().equals(IProgramElement.Kind.FILE_LST)) {
String configFile = asm.... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | }
IProgramElement parent = ipe.getParent();
if (parent != null && parent.getKind().equals(IProgramElement.Kind.IMPORT_REFERENCE)) {
parent = ipe.getParent().getParent();
}
StringBuffer handle = new StringBuffer();
handle.append(createHandleIdentifier(parent));
handle.append(HandleProviderDelimi... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | }
}
}
handle.append(getCount(ipe));
ipe.setHandleIdentifier(handle.toString());
return handle.toString();
}
private String getParameters(IProgramElement ipe) {
if (ipe.getParameterSignatures() == null || ipe.getParameterSignatures().isEmpty()) {
return "";
}
StringBuffer sb = new String... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | private char[] getCount(IProgramElement ipe) {
char[] byteCodeName = ipe.getBytecodeName().toCharArray();
if (ipe.getKind().isDeclare()) {
int index = CharOperation.lastIndexOf('_', byteCodeName);
if (index != -1) {
return convertCount(CharOperation.subarray(byteCodeName, index + 1, byteCodeName.length... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | String existingHandle = object.getHandleIdentifier();
int suffixPosition = existingHandle.indexOf('!');
if (suffixPosition != -1) {
count = new Integer(existingHandle.substring(suffixPosition + 1)).intValue() + 1;
} else {
if (count == 1) {
count = 2;
}
}
... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | IProgramElement object = (IProgramElement) iterator.next();
if (object.equals(ipe)) {
break;
}
if (object.getKind() == ipe.getKind()) {
if (object.getName().endsWith("{..}")) {
String existingHandle = object.getHandleIdentifier();
int suffixPosition = existingHandle.lastIndexOf(... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | if (suffixPosition != -1 && lastSquareBracket < suffixPosition) {
count = new Integer(existingHandle.substring(suffixPosition + 1)).intValue() + 1;
} else {
if (count == 1) {
count = 2;
}
}
}
}
}
}
if (count > 1) {
return CharOperation.concat(coun... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | } else if (handle.charAt(0) == HandleProviderDelimiter.ASPECT_CU.getDelimiter()
|| handle.charAt(0) == HandleProviderDelimiter.COMPILATIONUNIT.getDelimiter()) {
return backslash + handle.substring(1);
}
return emptyString;
}
public int getLineNumberForHandle(String handle) {
IProgramElement n... |
264,563 | Bug 264563 [handles] Remove trailing '/' from source path handles | null | resolved fixed | 0af658e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-12T17:50:17Z | 2009-02-11T19:20:00Z | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | return 0;
}
return -1;
}
public String createHandleIdentifier(ISourceLocation location) {
IProgramElement node = asm.getHierarchy().findElementForSourceLine(location);
if (node != null) {
return createHandleIdentifier(node);
}
return null;
}
public String createHandleIdentifier(File sourceFile, int l... |
264,869 | Bug 264869 AspectJ depends on Class files having a dot in their source file name attribute | The following code in ShadowMunger$getBinaryFile() (line 169 ff) fails if a class file does not contain a proper source file name: if (binaryFile == null) { String s = getDeclaringType().getBinaryPath(); File f = getDeclaringType().getSourceLocation().getSourceFile(); int i = f.getPath().lastIndexOf('.'); String path =... | resolved fixed | 9f80317 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-17T16:20:49Z | 2009-02-13T15:46:40Z | org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.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... |
264,869 | Bug 264869 AspectJ depends on Class files having a dot in their source file name attribute | The following code in ShadowMunger$getBinaryFile() (line 169 ff) fails if a class file does not contain a proper source file name: if (binaryFile == null) { String s = getDeclaringType().getBinaryPath(); File f = getDeclaringType().getSourceLocation().getSourceFile(); int i = f.getPath().lastIndexOf('.'); String path =... | resolved fixed | 9f80317 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-17T16:20:49Z | 2009-02-13T15:46:40Z | org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.java | protected Pointcut pointcut;
protected int start, end;
protected ISourceContext sourceContext;
private ISourceLocation sourceLocation;
private ISourceLocation binarySourceLocation;
private File binaryFile;
public String handle = null;
private ResolvedType declaringType;
public ShadowMunger(Pointcut pointcut,... |
264,869 | Bug 264869 AspectJ depends on Class files having a dot in their source file name attribute | The following code in ShadowMunger$getBinaryFile() (line 169 ff) fails if a class file does not contain a proper source file name: if (binaryFile == null) { String s = getDeclaringType().getBinaryPath(); File f = getDeclaringType().getSourceLocation().getSourceFile(); int i = f.getPath().lastIndexOf('.'); String path =... | resolved fixed | 9f80317 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-17T16:20:49Z | 2009-02-13T15:46:40Z | org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.java | TypePattern scoped = world.getAspectScope(declaringType);
if (scoped != null) {
boolean b = scoped.matches(shadow.getEnclosingType().resolve(world), TypePattern.STATIC).alwaysTrue();
if (!b) {
return false;
}
}
}
return pointcut.match(shadow).maybeTrue();
}
public abstract ShadowMunger para... |
264,869 | Bug 264869 AspectJ depends on Class files having a dot in their source file name attribute | The following code in ShadowMunger$getBinaryFile() (line 169 ff) fails if a class file does not contain a proper source file name: if (binaryFile == null) { String s = getDeclaringType().getBinaryPath(); File f = getDeclaringType().getSourceLocation().getSourceFile(); int i = f.getPath().lastIndexOf('.'); String path =... | resolved fixed | 9f80317 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-17T16:20:49Z | 2009-02-13T15:46:40Z | org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.java | return binarySourceLocation;
}
return sourceLocation;
}
public static final ShadowMunger[] NONE = new ShadowMunger[0];
public Pointcut getPointcut() {
return pointcut;
}
public void setPointcut(Pointcut pointcut) {
this.pointcut = pointcut;
}
/**
* Invoked when the shadow munger of a resolved type ... |
264,869 | Bug 264869 AspectJ depends on Class files having a dot in their source file name attribute | The following code in ShadowMunger$getBinaryFile() (line 169 ff) fails if a class file does not contain a proper source file name: if (binaryFile == null) { String s = getDeclaringType().getBinaryPath(); File f = getDeclaringType().getSourceLocation().getSourceFile(); int i = f.getPath().lastIndexOf('.'); String path =... | resolved fixed | 9f80317 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-17T16:20:49Z | 2009-02-13T15:46:40Z | org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.java | * f.e. that can throw Throwable, even if the advised method does not throw any exceptions.
*
* @return true if munger has to check that its exceptions can be throwned based on the shadow
*/
public abstract boolean mustCheckExceptions();
/**
* Returns the binarySourceLocation for the given sourcelocation. Thi... |
264,869 | Bug 264869 AspectJ depends on Class files having a dot in their source file name attribute | The following code in ShadowMunger$getBinaryFile() (line 169 ff) fails if a class file does not contain a proper source file name: if (binaryFile == null) { String s = getDeclaringType().getBinaryPath(); File f = getDeclaringType().getSourceLocation().getSourceFile(); int i = f.getPath().lastIndexOf('.'); String path =... | resolved fixed | 9f80317 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-02-17T16:20:49Z | 2009-02-13T15:46:40Z | org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.java | * C:\temp\ajcSandbox\workspace\ajcTest16957.tmp!pkg\BinaryAspect.class if the class file is in a directory
*/
private File getBinaryFile() {
if (binaryFile == null) {
String s = getDeclaringType().getBinaryPath();
File f = getDeclaringType().getSourceLocation().getSourceFile();
int i = f.getPath().lastInd... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | 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... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.apache.bcel.Constants;
import org.aspectj.apache.bcel.classfile.ConstantPool;
import org.aspectj.apache.bcel.classfile.Signature;
import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen;
import org.aspectj.apache.bcel.generic.FieldGen;
import org.aspectj.apache.bcel.generic.InstructionBranc... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.weaver.NewParentTypeMunger;
import org.aspectj.weaver.PerObjectInterfaceTypeMunger;
import org.aspectj.weaver.PrivilegedAccessMunger;
import org.aspectj.weaver.ResolvedMember;
import org.aspectj.weaver.ResolvedMemberImpl;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.ResolvedTypeM... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | 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.MethodDelegate2) {
... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | info.addConcreteMunger(this);
}
if (changed && worthReporting) {
AsmRelationshipProvider.addRelationship(((BcelWorld) getWorld()).getModelAsAsmManager(), weaver.getLazyClassGen()
.getType(), munger, getAspectType());
}
if (changed && worthReporting && munger != null && !weaver.getWorld().getMessageHa... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | fName }));
}
} else if (munger.getKind().equals(ResolvedTypeMunger.FieldHost)) {
} else {
ResolvedMember declaredSig = munger.getSignature();
weaver.getWorld().getMessageHandler().handleMessage(
WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ITD, new S... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | weaver.getLazyClassGen().addAnnotation(((BcelAnnotation) munger.getNewAnnotation()).getBcelAnnotation());
return true;
}
/**
* For a long time, AspectJ did not allow binary weaving of declare parents. This restriction is now lifted but could do with
* more testing!
*/
private boolean mungeNewParent(BcelClass... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (!(subMethod.isStatic() && subMethod.getName().startsWith("access$"))) {
cont = enforceDecpRule3_visibilityChanges(weaver, newParent, superMethod, subMethod) && cont;
cont = enforceDecpRule4_compatibleReturnTypes(weaver, superMethod, subMethod) && cont;
cont = enforceDecpRule5_cantChang... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean ruleCheckingSucceeded = true;
if (!(newParentTarget.isAbstract() || newParentTarget.isInterface())) {
List methods = newParent.getMethodsWithoutIterator(false, true);
for (Iterator i = methods.iterator(); i.hasNext();) {
ResolvedMember o = (ResolvedMember) i.next();
if (o.isAbst... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | for (Iterator ii = newParentTarget.getType().getInterTypeMungersIncludingSupers().iterator(); ii.hasNext();) {
ConcreteTypeMunger m = (ConcreteTypeMunger) ii.next();
if (m.getMunger() != null && m.getMunger().getKind() == ResolvedTypeMunger.Method) {
ResolvedMember sig = m.getSignature();
... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | error(weaver, "The type " + newParentTarget.getName()
+ " must implement the inherited abstract method " + o.getDeclaringType() + "." + o.getName()
+ o.getParameterSignature(), newParentTarget.getType().getSourceLocation(),
new ISourceLocation[] { o.getSourceLocation(), mungerLoc });
r... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (superMethod.isPublic()) {
if (subMethod.isProtected() || subMethod.isDefault() || subMethod.isPrivate()) {
weaver.getWorld().getMessageHandler().handleMessage(
MessageUtil.error("Cannot reduce the visibility of the inherited method '" + superMethod + "' from "
+ newParent.getName(), superMethod... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | String superReturnTypeSig = superMethod.getGenericReturnType().getSignature();
String subReturnTypeSig = subMethod.getGenericReturnTypeSignature();
superReturnTypeSig = superReturnTypeSig.replace('.', '/');
subReturnTypeSig = subReturnTypeSig.replace('.', '/');
if (!superReturnTypeSig.equals(subReturnTypeSig))... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | error(weaver, "This instance method " + subMethod.getName() + subMethod.getParameterSignature()
+ " cannot override the static method from " + superMethod.getDeclaringType().getName(), subMethod
.getSourceLocation(), new ISourceLocation[] { mungerLoc });
return false;
} else if (!superMethod.isStatic() &... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
/**
* The main part of implementing declare parents extends. Modify super ctor calls to target the new type.
*/
public boolean attemptToModifySuperCalls(BcelClassWeaver weaver, LazyClassGen newParentTarget, ResolvedType newParent) {
String currentParent = newParentTarget.getSuperClass().getName();
if (newPa... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean satisfiedByITDC = false;
for (Iterator ii = newParentTarget.getType().getInterTypeMungersIncludingSupers().iterator(); ii
.hasNext()
&& !satisfiedByITDC;) {
ConcreteTypeMunger m = (ConcreteTypeMunger) ii.next();
if (m.getMunger() instanceof NewConstructorTypeMunger)... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | return true;
}
/**
* Creates a nice signature for the ctor, something like "(int,Integer,String)"
*/
private String createReadableCtorSig(ResolvedType newParent, ConstantPool cpg, InvokeInstruction invokeSpecial) {
StringBuffer sb = new StringBuffer();
Type[] ctorArgs = invokeSpecial.getArgumentTypes(cpg);
... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
return null;
}
private boolean mungePrivilegedAccess(BcelClassWeaver weaver, PrivilegedAccessMunger munger) {
LazyClassGen gen = weaver.getLazyClassGen();
ResolvedMember member = munger.getMember();
ResolvedType onType = weaver.getWorld().resolve(member.getDeclaringType(), munger.getSourceLocation());
if ... |
266,602 | Bug 266602 Problem with incremental itd compilation | Reproduceable from Roo code - commenting out a field after a successful build results in this exception. The underlying cause may also apply to ITD methods (and maybe constructors). org.aspectj.weaver.BCException: Couldn't find ITD init member 'void com.springsource.petclinic.domain.Visit_Roo_Entity_Itd.ajc$interFieldI... | resolved fixed | 2f36e7f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2009-03-02T04:00:31Z | 2009-02-28T22:26:40Z | 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 = makeMet... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.