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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | return true;
}
/**
* This method recurses up a specified type looking for a method that overrides the one passed in.
*
* @return the method being overridden or null if none is found
*/
public static ResolvedMember checkForOverride(ResolvedType typeToCheck,String mname,String mparam... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (element.getMunger() instanceof NewMethodTypeMunger) {
if (typeToCheck.getWorld().forDEBUG_bridgingCode) System.err.println("Possible ITD candidate "+element);
ResolvedMember aMethod = element.getSignature();
ResolvedMember isOverriding = isOverriding(typeToCheck,aMethod,mname,mrettype,mmods,inSamePac... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | */
public static boolean calculateAnyRequiredBridgeMethods(BcelWorld world,LazyClassGen clazz) {
world.ensureAdvancedConfigurationProcessed();
if (!world.isInJava5Mode()) return false;
if (clazz.isInterface()) return false;
boolean didSomething=false;
List methods = clazz.getMethodGens();
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (world.forDEBUG_bridgingCode) System.err.println("Bridging: Determining if we have to bridge to "+clazz.getName()+"."+name+""+bridgeToCandidate.getSignature());
ResolvedType theSuperclass= clazz.getSuperClass();
if (world.forDEBUG_bridgingCode) System.err.println("Bridging: Checking supertype "+theSupe... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
}
}
return didSomething;
}
/**
* Weave any declare @method/@ctor statements into the members of the supplied class
*/
private boolean weaveDeclareAtMethodCtor(LazyClassGen clazz) {
List reportedProblems = new ArrayList();
List allDecams = world.getDeclareAnnotationOnMeth... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (!members.isEmpty()) {
Set unusedDecams = new HashSet();
unusedDecams.addAll(decaMs);
for (int memberCounter = 0;memberCounter<members.size();memberCounter++) {
LazyMethodGen mg = (LazyMethodGen)members.get(memberCounter);
if (!mg.getName().startsWith(NameMangler.PREFIX)) {
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | modificationOccured = true;
unusedDecams.remove(decaM);
} else {
if (!decaM.isStarredAnnotationPattern())
worthRetrying.add(decaM);
}
}
while (!worthRetrying.isEmpty() &... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decaM.getSourceLocation(),clazz.getName(),mg.getMethod());
isChanged = true;
modificationOccured = true;
forRemoval.add(decaM);
unusedDecams.remove(decaM);
}
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)){
StringBuffer parmString = new StringBuffer("(");
UnresolvedType[] paramTypes = member.getParameterTypes();
for (int i = 0; i < paramTypes.length; i++) {
UnresolvedType type = paramTypes[i];
String s = org.aspectj.apache.bcel.classfile... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
getWorld().getMessageHandler().handleMessage(
WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ANNOTATES,
new String[]{
sig.toString(),
loc.toString(),
decaM.getAnnotationString(),
methodName.startsWith("<init>")?"constructor":"method",
decaM.getAspect()... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | * Get a subset of all the type mungers defined on this aspect
*/
private List getITDSubset(LazyClassGen clazz,ResolvedTypeMunger.Kind wantedKind) {
List subset = new ArrayList();
Collection c = clazz.getBcelObjectType().getTypeMungers();
for (Iterator iter = c.iterator();iter.hasNext();) {
BcelTypeMunger... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | List meths = clazz.getMethodGens();
for (Iterator iter = meths.iterator(); iter.hasNext();) {
LazyMethodGen element = (LazyMethodGen) iter.next();
if (element.getName().equals(lookingFor.getName()) && element.getParameterSignature().equals(lookingFor.getParameterSignature())) return element;
}
return n... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | BcelTypeMunger fieldMunger = (BcelTypeMunger) iter.next();
ResolvedMember itdIsActually = fieldMunger.getSignature();
List worthRetrying = new ArrayList();
boolean modificationOccured = false;
for (Iterator iter2 = decaFs.iterator(); iter2.hasNext();) {
DeclareAnnotation decaF = (DeclareAnnotation) ... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | annotationHolder.addAnnotation(decaF.getAnnotationX());
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decaF.getSourceLocation(),itdIsActually.getSourceLocation());
isChanged = true;
modificationOccured = true;
forRemoval.add(decaF);
}
worthRetrying.removeAll(forRe... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | LazyMethodGen annotationHolder = locateAnnotationHolderForMethodCtorMunger(clazz,methodctorMunger);
if (annotationHolder == null || doesAlreadyHaveAnnotation(annotationHolder,unMangledInterMethod,decaMC,reportedErrors)){
continue;
}
annotationHolder.addAnnotation(decaMC.getAnnotationX());
isC... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | worthRetrying.removeAll(forRemoval);
}
}
}
return isChanged;
}
private boolean dontAddTwice(DeclareAnnotation decaF, Annotation [] dontAddMeTwice){
for (int i = 0; i < dontAddMeTwice.length; i++){
Annotation ann = dontAddMeTwice[i];
if (ann != null && decaF.getAnnotationX... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | List reportedProblems = new ArrayList();
List allDecafs = world.getDeclareAnnotationOnFields();
if (allDecafs.isEmpty()) return false;
boolean isChanged = false;
List itdFields = getITDSubset(clazz,ResolvedTypeMunger.Field);
if (itdFields!=null) {
isChanged = weaveAtFieldRepeatedly(allDecafs,itdFiel... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | Annotation [] dontAddMeTwice = fields[fieldCounter].getAnnotations();
for (Iterator iter = decaFs.iterator(); iter.hasNext();) {
DeclareAnnotation decaF = (DeclareAnnotation) iter.next();
if (decaF.matches(aBcelField,world)) {
if (!dontAddTwice(decaF,dontAddMeTwi... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decaF.getSourceLocation(),clazz.getName(),fields[fieldCounter]);
reportFieldAnnotationWeavingMessage(clazz, fields, fieldCounter, decaF);
isChanged = true;
modificationOccured = true;
unusedDecafs... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | aBcelField.addAnnotation(decaF.getAnnotationX());
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decaF.getSourceLocation(),clazz.getName(),fields[fieldCounter]);
isChanged = true;
modificationOccured = true;
forRemoval.add(decaF);
unusedDecafs.remove(decaF);
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | (declA.getSignaturePattern().getDeclaringType() instanceof ExactTypePattern))
&& (!declA.getSignaturePattern().getName().isAny()
|| (declA.getKind() == DeclareAnnotation.AT_CONSTRUCTOR))) {
boolean itdMatch = false;
List lst = clazz.getType().getInterTypeMungers();
for (Itera... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
world.getMessageHandler().handleMessage(message);
}
}
}
}
private void reportFieldAnnotationWeavingMessage(LazyClassGen clazz, Field[] fields, int fieldCounter, DeclareAnnotation decaF) {
if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)){
Field theField = fields[fi... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | Integer uniqueID = new Integer(rm.hashCode()*deca.hashCode());
if (!reportedProblems.contains(uniqueID)) {
reportedProblems.add(uniqueID);
world.getLint().elementAlreadyAnnotated.signal(
new String[]{rm.toString(),deca.getAnnotationTypeX().toString()},
rm.getSourceLocation(),n... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private Set findAspectsForMungers(LazyMethodGen mg) {
Set aspectsAffectingType = new HashSet();
for (Iterator iter = mg.matchedShadows.iterator(); iter.hasNext();) {
BcelShadow aShadow = (BcelShadow) iter.next();
for (Iterator iter2 = aShadow.getMungers().iterator();iter2.hasNext();) {
ShadowMunger a... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
return inlinedSomething;
}
private void positionAndImplement(List initializationShadows) {
for (Iterator i = initializationShadows.iterator(); i.hasNext(); ) {
BcelShadow s = (BcelShadow) i.next();
positionInitializationShadow(s);
s.implement();
}
}
private void positionInitializationShado... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
private boolean isThisCall(InstructionHandle ih) {
INVOKESPECIAL inst = (INVOKESPECIAL) ih.getInstruction();
return inst.getClassName(cpg).equals(clazz.getName());
}
/** inline a particular call in bytecode.
*
* @param donor the method we want to inline
* @param recipient the method containing the call... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | */
final InstructionFactory fact = recipient.getEnclosingClass().getFactory();
IntMap frameEnv = new IntMap();
InstructionList argumentStores =
genArgumentStores(donor, recipient, frameEnv, fact);
InstructionList inlineInstructions =
genInlineInstructions(donor, recipient, frameEnv, fact, false);
i... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | public static void transformSynchronizedMethod(LazyMethodGen synchronizedMethod) {
if (trace.isTraceEnabled()) trace.enter("transformSynchronizedMethod",synchronizedMethod);
final InstructionFactory fact = synchronizedMethod.getEnclosingClass().getFactory();
InstructionList body = synchronizedMethod.getB... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionList finallyBlock = new InstructionList();
finallyBlock.append(InstructionFactory.createLoad(Type.getType(java.lang.Class.class),slotForLockObject));
finallyBlock.append(InstructionConstants.MONITOREXIT);
finallyBlock.append(InstructionConstants.ATHROW);
InstructionHandle walke... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | monitorExitBlock.append(InstructionConstants.MONITOREXIT);
InstructionHandle monitorExitBlockStart = body.insert(element,monitorExitBlock);
InstructionTargeter[] targeters = element.getTargeters();
if (targeters!=null) {
for (int i = 0; i < targeters.length; i++) {
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle finallyStart = finallyBlock.getStart();
InstructionHandle tryPosition = body.getStart();
InstructionHandle catchPosition = body.getEnd();
body.insert(body.getStart(),prepend);
synchronizedMethod.getBody().append(finallyBlock);
synchronizedMethod.addExceptionHandler(tryPositio... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | prepend.append(fact.createGetStatic(name, fieldname, Type.getType(Class.class)));
prepend.append(InstructionFactory.createDup(1));
prepend.append(InstructionFactory.createBranchInstruction(Constants.IFNONNULL, parttwo.getStart()));
prepend.append(InstructionFactory.POP);
prepend.append(fact.createConsta... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionList finallyBlock = new InstructionList();
finallyBlock.append(InstructionFactory.createLoad(Type.getType(java.lang.Class.class),slotForThis));
finallyBlock.append(InstructionConstants.MONITOREXIT);
finallyBlock.append(InstructionConstants.ATHROW);
InstructionHandle walker = body.... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | for (Iterator iter = rets.iterator(); iter.hasNext();) {
InstructionHandle element = (InstructionHandle) iter.next();
InstructionList monitorExitBlock = new InstructionList();
monitorExitBlock.append(InstructionFactory.createLoad(classType,slotForThis));
monitorExitBlock.append(InstructionConstants.... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
}
}
InstructionHandle finallyStart = finallyBlock.getStart();
InstructionHandle tryPosition = body.getStart();
InstructionHandle catchPosition = body.getEnd();
body.insert(body.getStart(),prepend);
synchronizedMethod.getBody().append(finallyBlock);
synchronizedMeth... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionList finallyBlock = new InstructionList();
finallyBlock.append(InstructionFactory.createLoad(classType,slotForThis));
finallyBlock.append(InstructionConstants.MONITOREXIT);
finallyBlock.append(InstructionConstants.ATHROW);
InstructionHandle walker = body.getStart();
List rets =... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle element = (InstructionHandle) iter.next();
InstructionList monitorExitBlock = new InstructionList();
monitorExitBlock.append(InstructionFactory.createLoad(classType,slotForThis));
monitorExitBlock.append(InstructionConstants.MONITOREXIT);
InstructionHandle monitorExitBl... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
InstructionHandle finallyStart = finallyBlock.getStart();
InstructionHandle tryPosition = body.getStart();
InstructionHandle catchPosition = body.getEnd();
body.insert(body.getStart(),prepend);
synchronizedMethod.getBody().append(finallyBlock);
synchronizedMethod.addException... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | * initially populated with argument locations.
* @param fact an instruction factory for recipient
*/
static InstructionList genInlineInstructions(
LazyMethodGen donor,
LazyMethodGen recipient,
IntMap frameEnv,
InstructionFactory fact,
boolean keepReturns)
{
InstructionList footer = new Instruction... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (isAcrossClass) {
CPInstruction cpi = (CPInstruction) fresh;
cpi.setIndex(
recipientCpg.addConstant(
donorCpg.getConstant(cpi.getIndex()),
donorCpg));
}
}
if (src.getInstruction() == Range.RANGEINSTRUCTION) {
dest = ret.append(Range.RANGEINSTRUCTION);
} else if (fresh i... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
indexed.setIndex(freshIndex);
dest = ret.append(fresh);
} else {
dest = ret.append(fresh);
}
srcToDest.put(src, dest);
}
Map tagMap = new HashMap();
Map shadowMap = new HashMap();
for (InstructionHandle dest = ret.getStart(), src = sourceList.getStart();
dest != null;
de... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionHandle[] oldTargets = select.getTargets();
for (int k = oldTargets.length - 1; k >= 0; k--) {
select.setTarget(
k,
(InstructionHandle) srcToDest.get(oldTargets[k]));
}
}
}
}
InstructionTargeter[] srcTargeters = src.getTargeters();
if... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | er.getPriority());
freshEr.associateWithTargets(
dest,
(InstructionHandle)srcToDest.get(er.getEnd()),
(InstructionHandle)srcToDest.get(er.getHandler()));
}
} else if (old instanceof ShadowRange) {
ShadowRange oldRange = (ShadowRange) old;
if ... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}
if (!keepReturns) ret.append(footer);
return ret;
}
static InstructionList rewriteWithMonitorExitCalls(InstructionList sourceList,InstructionFactory fact,boolean keepReturns,int monitorVarSlot,Type monitorVarType)
{
InstructionList footer = new InstructionList();
InstructionHandle end = footer.ap... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } else if (
fresh instanceof LocalVariableInstruction || fresh instanceof RET) {
IndexedInstruction indexed = (IndexedInstruction) fresh;
int oldIndex = indexed.getIndex();
int freshIndex;
freshIndex = oldIndex;
indexed.setIndex(freshIndex);
dest = newList.append(fresh);
} else {... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } else {
branch.setTarget(newTarget);
if (branch instanceof Select) {
Select select = (Select) branch;
InstructionHandle[] oldTargets = select.getTargets();
for (int k = oldTargets.length - 1; k >= 0; k--) {
select.setTarget(
k,
(InstructionHandle) srcToDest.ge... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (er.getStart() == src) {
ExceptionRange freshEr =
new ExceptionRange(newList,er.getCatchType(),er.getPriority());
freshEr.associateWithTargets(
dest,
(InstructionHandle)srcToDest.get(er.getEnd()),
(InstructionHandle)srcToDest.get... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
}*/
}
}
}
if (!keepReturns) newList.append(footer);
return newList;
}
/** generate the argument stores in preparation for inlining.
*
* @param donor the method we will inline from. Used to get the signature.
* @param recipient the method we will inline into. Used ... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | donorFramePos += 1;
}
Type[] argTypes = donor.getArgumentTypes();
for (int i = 0, len = argTypes.length; i < len; i++) {
Type argType = argTypes[i];
int argSlot = recipient.allocateLocal(argType);
ret.insert(InstructionFactory.createStore(argType, argSlot));
frameEnv.put(donorFramePos, argSlot);
do... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | LazyMethodGen bb = (LazyMethodGen) b;
int i = aa.getName().compareTo(bb.getName());
if (i != 0) return i;
return aa.getSignature().compareTo(bb.getSignature());
}
}
);
for (Iterator i = addedLazyMethodGens.iterator(); i.hasNext(); ) {
clazz.addMethodGen((LazyMethodGen)i.next());
}
}
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | aspectType,
Constants.PUTSTATIC));
clinit.getBody().insert(setup);
}
/**
* Returns null if this is not a Java constructor, and then we won't
* weave into it at all
*/
private InstructionHandle findSuperOrThisCall(LazyMethodGen mg) {
int depth = 1;
InstructionHandle start = mg.getBody().getStart()... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | boolean startsAngly = mg.getName().charAt(0)=='<';
if (startsAngly && mg.getName().equals("<init>")) {
return matchInit(mg, shadowAccumulator);
} else if (!shouldWeaveBody(mg)) {
return false;
} else {
if (startsAngly && mg.getName().equals("<clinit>")) {
clinitShadow = enclosingShadow = BcelS... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
if (canMatchBodyShadows) {
for (InstructionHandle h = mg.getBody().getStart();
h != null;
h = h.getNext()) {
match(mg, h, enclosingShadow, shadowAccumulator);
}
}
if (canMatch(enclosingShadow.getKind()) && !(mg.getName().charAt(0)=='a' && mg.getName().startsWith("ajc$interFieldInit... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | boolean beforeSuperOrThisCall = true;
if (shouldWeaveBody(mg)) {
if (canMatchBodyShadows) {
for (InstructionHandle h = mg.getBody().getStart();
h != null;
h = h.getNext()) {
if (h == superOrThisCall) {
beforeSuperOrThisCall = false;
continue;
}
match(mg, h, beforeSuperOrThi... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | InstructionList inits = genInitInstructions(l.list, false);
if (match(initShadow, shadowAccumulator) || !inits.isEmpty()) {
initShadow.initIfaceInitializer(curr);
initShadow.getRange().insert(inits, Range.OutsideBefore);
}
}
InstructionList inits = genInitInstructions(addedThisInitialize... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | AjAttribute.EffectiveSignatureAttribute a = mg.getEffectiveSignature();
if (a != null) return a.isWeaveBody();
return true;
}
/**
* first sorts the mungers, then gens the initializers in the right order
*/
private InstructionList genInitInstructions(List list, boolean isStatic) {
list = PartialOrder.sort(l... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | {
Instruction i = ih.getInstruction();
if (canMatch(Shadow.ExceptionHandler) && !Range.isRangeHandle(ih)) {
InstructionTargeter[] targeters = ih.getTargeters();
if (targeters != null) {
for (int j = 0; j < targeters.length; j++) {
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | BcelShadow.makeExceptionHandler(
world,
er,
mg, newNOP, enclosingShadow),
shadowAccumulator);
} else {
matc... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (Utility.isConstantPushInstruction(prevI)) {
Member field = BcelWorld.makeFieldJoinPointSignature(clazz, (FieldInstruction) i);
ResolvedMember resolvedField = field.resolve(world);
if (resolvedField == null) {
} else if (Modifier.isFinal(resolvedField.getModifiers())) {
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | matchInvokeInstruction(mg, ih, ii, enclosingShadow, shadowAccumulator);
} else {
}
} else {
matchInvokeInstruction(mg, ih, ii, enclosingShadow, shadowAccumulator);
}
} else if (world.isJoinpointArrayConstructionEnabled() &&
(i instanceof NEWARRAY || i instanceof ANEWARRAY || i instanc... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | match(ctorCallShadow,shadowAccumulator);
}
}
} else if ( world.isJoinpointSynchronizationEnabled() &&
((i instanceof MONITORENTER) || (i instanceof MONITOREXIT))) {
if (i instanceof MONITORENTER) {
BcelShadow monitorEntryShadow = BcelShadow.makeMonitorEnter(world,mg,ih,enclosingShadow);
... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | LazyMethodGen mg,
InstructionHandle ih,
BcelShadow enclosingShadow,
List shadowAccumulator) {
FieldInstruction fi = (FieldInstruction) ih.getInstruction();
Member field = BcelWorld.makeFieldJoinPointSignature(clazz, fi);
if (field.getName().startsWith(NameMangler.PREFIX)) return;
ResolvedMember r... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | }
match(bs, shadowAccumulator);
}
}
private void matchGetInstruction(LazyMethodGen mg, InstructionHandle ih, BcelShadow enclosingShadow, List shadowAccumulator) {
FieldInstruction fi = (FieldInstruction) ih.getInstruction();
Member field = BcelWorld.makeFieldJoinPointSignature(clazz, fi);
if (field.getN... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | * name in the type as it returns the first one it finds.
*/
private ResolvedMember findResolvedMemberNamed(ResolvedType type,String methodName) {
ResolvedMember[] allMethods = type.getDeclaredMethods();
for (int i = 0; i < allMethods.length; i++) {
ResolvedMember member = allMethods[i];
if (member.getNa... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | } else {
ResolvedMember realthing = AjcMemberMaker.interFieldInitializer(rm,memberHostType);
ResolvedMember resolvedDooberry = world.resolve(realthing);
annotations = resolvedDooberry.getAnnotationTypes();
}
} else if (rm.getKind()==Member.METHOD && !rm.isAbstract()) {
if (methodName.startsWit... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | mapToAnnotations.put(rm,annotations);
}
rm.setAnnotationTypes(annotations);
}
catch (UnsupportedOperationException ex) {
throw ex;
} catch (Throwable t) {
throw new BCException("Unexpectedly went bang when searching for annotations on "+rm,t);
}
}
private void matchInvokeInstruction(L... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | kind = Shadow.FieldGet;
}
if (canMatch(Shadow.FieldGet) || canMatch(Shadow.FieldSet))
match(BcelShadow.makeShadowForMethodCall(world, mg, ih, enclosingShadow,
kind, declaredSig),
shadowAccumulator);
} else {
AjAttribute.EffectiveSignatureAttribute effectiveSig =
declaredSig.g... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | private static boolean checkedXsetForLowLevelContextCapturing = false;
private static boolean captureLowLevelContext = false;
private boolean match(BcelShadow shadow, List shadowAccumulator) {
if (captureLowLevelContext) {
ContextToken shadowMatchToken = CompilationAndWeavingContext.enteringPha... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | if (munger.match(shadow, world)) {
shadow.addMunger(munger);
isMatched = true;
if (shadow.getKind() == Shadow.StaticInitialization) {
clazz.warnOnAddedStaticInitializer(shadow,munger.getSourceLocation());
}
}
}
if (isMatched) s... |
232,712 | Bug 232712 ClassFormatError during LTW using annotation approach | The following exception is obtained when using the annotation approach and load-time weaving: [AppClassLoader@1f12c4e] info AspectJ Weaver Version 1.5.4 built on Thursday Dec 20, 2007 at 13:44:10 GMT [AppClassLoader@1f12c4e] info register classloader sun.misc.Launcher$AppClassLoader@1f12c4e [AppClassLoader@1f12c4e] inf... | resolved fixed | f014275 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-20T18:30:38Z | 2008-05-18T22:33:20Z | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | mg.matchedShadows = null;
}
public LazyClassGen getLazyClassGen() {
return clazz;
}
public List getShadowMungers() {
return shadowMungers;
}
public BcelWorld getWorld() {
return world;
}
public static void setReweavableMode(boolean mode) {
inReweavableMode = mode;
}
public stat... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.jar.Attributes;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
import java.util.ja... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import org.aspectj.weaver.AnnotationOnTypeMunger;
import org.aspectj.weaver.AnnotationX;
import org.aspectj.weaver.AsmRelationshipProvider;
import org.aspectj.weaver.BCException;
import org.aspectj.weaver.ConcreteTypeMunger;
import org.aspectj.weaver.CrosscuttingMembersSet;
import org.aspectj.weaver.CustomMungerFactory... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import org.aspectj.weaver.patterns.KindedPointcut;
import org.aspectj.weaver.patterns.NameBindingPointcut;
import org.aspectj.weaver.patterns.NotPointcut;
import org.aspectj.weaver.patterns.OrPointcut;
import org.aspectj.weaver.patterns.Pointcut;
import org.aspectj.weaver.patterns.PointcutRewriter;
import org.aspectj.w... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private List addedClasses = new ArrayList();
private List deletedTypenames = new ArrayList();
private Manifest manifest = null;
private boolean needToReweaveWorld = false;
private boolean isBatchWeave = true;
private List shadowMungerList = null;
private List typeMungerList = null;
pri... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ResolvedType type = world.resolve(unresolvedT, true);
if (type.isMissing()) {
String fixedName = aspectName;
int hasDot = fixedName.lastIndexOf('.');
while (hasDot > 0) {
char[] fixedNameChars = fixedName.toCharArray();
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | classType.setJavaClass(unwovenJavaClass);
}
xcutSet.addOrReplaceAspect(type);
if (trace.isTraceEnabled()) trace.exit("addLibraryAspect",type);
if (type.getSuperclass().isAspect()) {
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | List addedAspects = null;
if (inFile.isDirectory()) {
addedAspects = addAspectsFromDirectory(inFile);
} else {
addedAspects = addAspectsFromJarFile(inFile);
}
for (Iterator i = addedAspects.iterator(); i.hasNext();) {
ResolvedType aspectX = (ResolvedType) i.next();
xcutSet.addOrReplaceAspect(aspe... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (type.isAspect()) {
addedAspects.add(type);
}
}
inStream.close();
return addedAspects;
}
private List addAspectsFromDirectory(File dir) throws FileNotFoundException, IOException{
List addedAspects = new ArrayList();
File[] classFiles = FileUtil.listFiles(dir,new FileFilter(){
pu... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ResolvedType type = world.addSourceObjectType(jc).getResolvedTypeX();
String typeName = type.getName().replace('.', File.separatorChar);
int end = name.indexOf(typeName);
String binaryPath = name.substring(0,end-1);
type.setBinaryPath(binaryPath);
if (type.isAspect()) {
toList.add(type);
}
}
/**
* ... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13: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) {
addedClassFil... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
inStream.close();
}
inJar.close();
}
} catch (FileNotFoundException ex) {
IMessage message = new Message(
"Could not find input jar file " + inFile.getPath() + ", ignoring",
new SourceLocation(inFile,0),
false);
world.getMessageHandler().handleMessage(message);
} catch (IOExce... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13: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);
}
world.addSourceObjectType(classFile.getJavaClass());
}
p... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | fis.close();
return ucf;
}
public void deleteClassFile(String typename) {
deletedTypenames.add(typename);
world.deleteSourceObjectType(UnresolvedType.forName(typename));
}
}
}
}
public void setIsBatchWeave(boolean b) {
isBatchWeave=b;
}
public void prepareForWeave()... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | String name = (String)i.next();
if (xcutSet.deleteAspect(UnresolvedType.forName(name))) needToReweaveWorld = true;
}
shadowMungerList = xcutSet.getShadowMungers();
rewritePointcuts(shadowMungerList);
typeMungerList = xcutSet.getTypeMungers();
lateTypeMungerList = xcutSet.getLateTypeMun... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (sm2.getSourceLocation()==null) return -1;
return (sm2.getSourceLocation().getOffset()-sm1.getSourceLocation().getOffset());
}
});
if (inReweavableMode)
world.showMessage(IMessage.INFO,
WeaverMessages.format(WeaverMessages.REWEAVABLE_MODE),
null, null);
if (trace.isTraceEnabl... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13: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-bi... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | final int numFormals;
final String names[];
if (advice.getConcreteAspect().isAnnotationStyleAspect()
&& advice.getDeclaringAspect()!=null
&& advice.getDeclaringAspect().resol... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | for (Iterator iter = shadowMungers.iterator(); iter.hasNext();) {
ShadowMunger munger = (ShadowMunger) iter.next();
Pointcut p = munger.getPointcut();
munger.setPointcut(shareEntriesFromMap(p,pcMap));
}
}
private Pointcut shareEntriesFromMap(Pointcut p,Map pcMap) {
if (p instance... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | } else {
pcMap.put(p,p);
return p;
}
}
}
private void validateBindings(Pointcut dnfPointcut, Pointcut userPointcut, int numFormals, String[] names) {
if (numFormals == 0) return;
if (dnfPointcut.couldMatchKinds()==Shadow.NO_SHADOW_KINDS_BI... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | Pointcut right = pc.getRight();
if (left instanceof OrPointcut) {
Pointcut[] newRightBindings = new Pointcut[numFormals];
validateOrBranch((OrPointcut)left,userPointcut,numFormals,names,leftBindings,newRightBindings);
} else {
if (left.couldMatchKinds()!=Shadow.NO_SHADOW_KINDS_BITS)
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | raiseAmbiguityInDisjunctionError(userPointcut,ambiguousNames);
}
}
private void validateSingleBranch(Pointcut pc, Pointcut userPointcut, int numFormals, String[] names, Pointcut[] bindings) {
boolean[] foundFormals = new boolean[numFormals];
for (int i = 0; i < foundFormals.len... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private void validateSingleBranchRecursion(Pointcut pc, Pointcut userPointcut, boolean[] foundFormals, String[] names, Pointcut[] bindings) {
if (pc instanceof NotPointcut) {
NotPointcut not = (NotPointcut) pc;
if (not.getNegatedPointcut() instanceof NameBindingPointcut) {
NameBindingPoin... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | bindings[index] = pc;
if (foundFormals[index]) {
raiseAmbiguousBindingError(names[index],userPointcut);
} else {
foundFormals[index] = true;
}
}
} else if (pc instanceof ConcreteCflowPointcut) {
ConcreteCflowPointcut cfp = (ConcreteCflowPointcut) pc;
int[] slots = cfp.getUsedFo... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | OrPointcut leftOrPointcut = (OrPointcut)left;
if (couldEverMatchSameJoinPoints(leftOrPointcut.getLeft(),right)) return true;
if (couldEverMatchSameJoinPoints(leftOrPointcut.getRight(),right)) return true;
return false;
}
if (right instanceof OrPointcut) {
OrPointcut rightOrPo... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 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
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private void raiseAmbiguityInDisjunctionError(Pointcut userPointcut, List names) {
StringBuffer formalNames = new StringBuffer(names.get(0).toString());
for (int i = 1; i < names.size(); i++) {
formalNames.append(", ");
formalNames.append(names.get(i));
}
world.showMessage(IMessage.ERROR,
WeaverMessag... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public void addManifest (Manifest newManifest) {
if (manifest == null) {
manifest = newManifest;
}
}
public static final String MANIFEST_NAME = "META-INF/MANIFEST.MF";
private static final String WEAVER_MANIFEST_VERSION = "1.0";
private static final Attributes.Name CREATED_BY = new Name("Created-By");
p... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | prepareForWeave();
Collection c = weave( new IClassFileProvider() {
public boolean isApplyAtAspectJMungersOnly() {
return false;
}
public Iterator getClassFileIterator() {
return addedClasses.iterator();
}
public IWeaveRequestor getRequestor() {
ret... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13: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 ArrayList();... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.