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
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(method.getReturnType()))); mg.getBody().insert(il); gen.addMethodGen(mg); } protected LazyMethodGen makeMethodGen(LazyClassGen gen, ResolvedMember member) { try { Type returnType = BcelWorld.makeBcelType(member.getReturnType()); Type[] param...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
Type fieldType = BcelWorld.makeBcelType(aspectType); LazyMethodGen mg = new LazyMethodGen(Modifier.PUBLIC, fieldType, NameMangler.perObjectInterfaceGet(aspectType), new Type[0], new String[0], gen); InstructionList il = new InstructionList(); InstructionFactory fact = gen.getFactory(); il.append(Instru...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
FieldGen fg = makeFieldGen(gen, AjcMemberMaker.perTypeWithinField(gen.getType(), aspectType)); gen.addField(fg, getSourceLocation()); Type fieldType = BcelWorld.makeBcelType(aspectType); LazyMethodGen mg = new LazyMethodGen(Modifier.PUBLIC | Modifier.STATIC, fieldType, NameMangler.perTypeWithinLoc...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ResolvedType onType = world.resolve(munger.getTargetType()); if (onType.isRawType()) { onType = onType.getGenericType(); } return onType.equals(classWeaver.getLazyClassGen().getType()); } private boolean mungeNewMethod(BcelClassWeaver classWeaver, NewMethodTypeMunger munger) { World world = classWeaver.get...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (onInterface && classGen.getLazyMethodGen(unMangledInterMethod.getName(), unMangledInterMethod.getSignature(), true) != null) { return false; } if (onType.equals(classGen.getType())) { ResolvedMember mangledInterMethod = AjcMemberMaker.interMethod(unMangledInterMethod, aspectType, onInte...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else { annotationsOnRealMember = realMember.getAnnotations(); } Set<ResolvedType> addedAnnotations = new HashSet<ResolvedType>(); if (annotationsOnRealMember != null) { for (AnnotationAJ anno : annotationsOnRealMember) { AnnotationGen a = ((BcelAnnotation) anno).getBcelAnnotation(); ...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} if (!onInterface && !Modifier.isAbstract(mangledInterMethod.getModifiers())) { InstructionList body = newMethod.getBody(); InstructionFactory fact = classGen.getFactory(); int pos = 0; if (!Modifier.isStatic(unMangledInterMethod.getModifiers())) { body.append(InstructionFactory.createThis(...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
String genericSignature = ((ResolvedMemberImpl) mangledInterMethod).getSignatureForAttribute(); if (!basicSignature.equals(genericSignature)) { newMethod.addAttribute(createSignatureAttribute(classGen.getConstantPool(), genericSignature)); } } classWeaver.addLazyMethodGen(newMethod); ...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
+ rt.getName() + " is an interface but has been incorrectly determined to be the topmost implementor of " + onType.getName() + ". ITD is " + this.getSignature(), sloc)); } if (!onType.isAssignableFrom(rt)) { ISourceLocation sloc = munger.getSourceLocation(); classWeaver...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else { ResolvedMember mangledInterMethod = AjcMemberMaker.interMethod(unMangledInterMethod, aspectType, false); LazyMethodGen mg = makeMethodGen(classGen, mangledInterMethod); if (classWeaver.getWorld().isInJava5Mode()) { AnnotationAJ annotationsOnRealMember[] = null; ResolvedType toLookOn ...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
mg.setAccessFlags(Modifier.PUBLIC | Modifier.ABSTRACT); } Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes()); Type returnType = BcelWorld.makeBcelType(mangledInterMethod.getReturnType()); InstructionList body = mg.getBody(); InstructionFactory fact = classGen.getFact...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} classWeaver.addOrReplaceLazyMethodGen(mg); addNeededSuperCallMethods(classWeaver, onType, munger.getSuperMethodsCalled()); createBridgeIfNecessary(classWeaver, munger, unMangledInterMethod, classGen); return true; } } else { return false; } } private void createBridgeIfNecessary(...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
createBridge(classWeaver, unMangledInterMethod, classGen, toBridgeTo); } } } private void copyOverParameterAnnotations(LazyMethodGen receiverMethod, ResolvedMember donorMethod) { AnnotationAJ[][] pAnnos = donorMethod.getParameterAnnotations(); if (pAnnos != null) { int offset = receiverMethod.isStatic() ?...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
paramTypes = BcelWorld.makeBcelTypes(bridgingSetter.getParameterTypes()); Type[] bridgingToParms = BcelWorld.makeBcelTypes(unMangledInterMethod.getParameterTypes()); returnType = BcelWorld.makeBcelType(bridgingSetter.getReturnType()); body = bridgeMethod.getBody(); fact = classGen.getFactory(); pos = 0; if ...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int nameIndex = cp.addUtf8("Signature"); int sigIndex = cp.addUtf8(signature); return new Signature(nameIndex, 2, sigIndex, cp); } /** * Create any bridge method required because of covariant returns being used. This method is used in the case where an ITD is * applied to some type and it may be in an overrid...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
for (int i = 0; i < localMethods.length; i++) { ResolvedMember member = localMethods[i]; if (member.getName().equals(localMethodName)) { if (member.getParameterSignature().equals(localParameterSig)) { alreadyDone = true; } } } if (!alreadyDone) { ResolvedType supertype = onType....
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
/** * Create a bridge method for a particular munger. * * @param world * @param munger * @param unMangledInterMethod the method to bridge 'to' that we have already created in the 'subtype' * @param clazz the class in which to put the bridge method * @param paramTypes Parameter types for the bridge method...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
pos += paramType.getSize(); } body.append(Utility.createInvoke(fact, world, unMangledInterMethod)); body.append(InstructionFactory.createReturn(returnType)); clazz.addMethodGen(bridgeMethod); } private String stringifyMember(ResolvedMember member) { StringBuffer buf = new StringBuffer(); buf.append(memb...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
buf.append(")"); } return buf.toString(); } private boolean mungeMethodDelegate(BcelClassWeaver weaver, MethodDelegateTypeMunger munger) { World world = weaver.getWorld(); LazyClassGen gen = weaver.getLazyClassGen(); if (gen.getType().isAnnotation() || gen.getType().isEnum()) { return false; } Re...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } if (!isOK) { IMessage msg = new Message("@DeclareParents: No defaultImpl was specified but the type '" + gen.getName() + "' does not implement the method '" + stringifyMember(introduced) + "' defined on the interface '" + introduced.getDeclaringType() + "'", weaver.getLazyClas...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } if (annotationsOnRealMember != null) { for (AnnotationAJ anno : annotationsOnRealMember) { AnnotationGen a = ((BcelAnnotation) anno).getBcelAnnotation(); AnnotationGen ag = new AnnotationGen(a, weaver.getLazyClassGen().getConstantPool(), true); mg.addAnnotation(new BcelAnnotation(ag, ...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return false; } } if (Modifier.isStatic(rm.getModifiers())) { if (rm.getArity() != 0) { body.append(InstructionConstants.ALOAD_0); } body.append(fact.createInvoke(rm.getDeclaringType().getName(), rm.getName(), rm.getSignature(), Constants.INVOKESTATIC)); body.append(Utility...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ifNonNull.setTarget(ifNonNullElse); body.append(Utility.createGet(fact, munger.getDelegate(weaver.getLazyClassGen().getType()))); int pos = 0; if (!Modifier.isStatic(introduced.getModifiers())) { pos++; } Type[] paramTypes = BcelWorld.makeBcelTypes(introduced.getParameterTypes()); f...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} munger.matches(weaver.getLazyClassGen().getType(), aspectType); ResolvedMember host = AjcMemberMaker.itdAtDeclareParentsField(weaver.getLazyClassGen().getType(), munger.getSignature() .getType(), aspectType); FieldGen field = makeFieldGen(weaver.getLazyClassGen(), host); field.setModifiers(field...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
boolean matchOK = true; if (isCtorRelated) { for (int j = 0; j < memberParams.length && matchOK; j++) { ResolvedType pMember = memberParams[j].resolve(world); ResolvedType pLookingFor = lookingForParams[j].resolve(world); if (pMember.isTypeVariableReference(...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } if (matchOK) { realMember = member; } } } } if (debug && realMember == null) { System.err.println("Didn't find a match"); } return realMember; } private void addNeededSuperCallMethods(BcelClassWeaver weaver, ResolvedType onType, Set<ResolvedMember> neededSuperCalls) { Lazy...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } } private void signalError(String msgid, BcelClassWeaver weaver, UnresolvedType onType) { IMessage msg = MessageUtil.error(WeaverMessages.format(msgid, onType.getName()), getSourceLocation()); weaver.getWorld().getMessageHandler().handleMessage(msg); } private void signalError(String msgString, Bc...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} if (!onType.equals(currentClass.getType())) { return false; } ResolvedMember explicitConstructor = newConstructorTypeMunger.getExplicitConstructor(); LazyMethodGen mg = makeMethodGen(currentClass, newConstructorMember); mg.setEffectiveSignature(newConstructorTypeMunger.getSignature(), Shadow.Constr...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
mg.addAnnotation(new BcelAnnotation(ag, weaver.getWorld())); } } List<DeclareAnnotation> allDecams = weaver.getWorld().getDeclareAnnotationOnMethods(); for (Iterator<DeclareAnnotation> i = allDecams.iterator(); i.hasNext();) { DeclareAnnotation decaMC = i.next(); if (decaMC.matches(expl...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
UnresolvedType[] declaredParams = newConstructorTypeMunger.getSignature().getParameterTypes(); Type[] paramTypes = mg.getArgumentTypes(); int frameIndex = 1; for (int i = 0, len = declaredParams.length; i < len; i++) { body.append(InstructionFactory.createLoad(paramTypes[i], frameIndex)); frameIndex += para...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
Member postMethod = AjcMemberMaker.postIntroducedConstructor(aspectType, onType, declaredParams); UnresolvedType[] postParamTypes = postMethod.getParameterTypes(); for (int i = 1, len = postParamTypes.length; i < len; i++) { body.append(InstructionFactory.createLoad(Type.OBJECT, arraySlot)); body.append(Utili...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
InstructionFactory fact = onGen.getFactory(); int pos = 0; body.append(InstructionFactory.createThis()); pos++; for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, pos)); pos += paramType.getSize(); } if (isSu...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (onType.isEnum()) { signalError(WeaverMessages.ITDF_ON_ENUM_NOT_ALLOWED, weaver, onType); return false; } ResolvedMember interMethodBody = munger.getInitMethod(aspectType); AnnotationAJ annotationsOnRealMember[] = null; if (weaver.getWorld().isInJava5Mode()) { ResolvedType toLook...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
LazyMethodGen mg1 = makeMethodGen(gen, AjcMemberMaker.interFieldInterfaceSetter(field, onType, aspectType)); gen.addMethodGen(mg1); } else { weaver.addInitializer(this); ResolvedMember newField = AjcMemberMaker.interFieldClassField(field, aspectType, munger.version == NewFieldTypeMunger.VersionTwo)...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (Modifier.isStatic(field.getModifiers())) { throw new RuntimeException("unimplemented"); } boolean alreadyExists = false; if (munger.version==NewFieldTypeMunger.VersionTwo) { for (BcelField fieldgen: gen.getFieldGens()) { if (fieldgen.getName().equals(field.getName())) { alreadyEx...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} if (weaver.getWorld().isInJava5Mode()) { String basicSignature = field.getSignature(); String genericSignature = field.getReturnType().resolve(weaver.getWorld()).getSignatureForAttribute(); if (!basicSignature.equals(genericSignature)) { fg.addAttribute(createSignatureAttri...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getDeclaredSignature() != null) { ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null, munger.getSignature().getDeclaringType().resolve(getWorld()), false, munger.getTypeVariableAliases()); boolean needsbridging = false; if (!toBridgeTo.getReturn...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getDeclaredSignature() != null) { ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null, munger.getSignature().getDeclaringType().resolve(getWorld()), false, munger.getTypeVariableAliases()); boolean needsbridging = false; if (!toBridgeTo.getReturnType().getErasur...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int pos = 0; if (!Modifier.isStatic(bridgingSetter.getModifiers())) { body.append(InstructionFactory.createThis()); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, pos)); if (!bridgingSetter.getPa...
413,378
Bug 413378 A constructor added by ITD cannot invoke the method of its super class
AspectJ Development Tools 2.2.0.e37x-RELEASE-20120704-0900 It seems *super.someMethod()* can not be correctly resolved in the constructor added by ITD It can be compiled with no problem, but* at runtime, exception is raised.* The class which I'll add a new constructor to: public class Child extends Parent{ public Strin...
resolved fixed
302c14e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-22T21:50:14Z
2013-07-20T06:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
public List<String> getTypeVariableAliases() { return munger.getTypeVariableAliases(); } @Override public boolean equals(Object other) { if (!(other instanceof BcelTypeMunger)) { return false; } BcelTypeMunger o = (BcelTypeMunger) other; return ((o.getMunger() == null) ? (getMunger() == null) : o.getMun...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
* which accompanies this distribution and is available at * http://eclipse.org/legal/epl-v10.html * * Contributors: * Alexandre Vasseur initial implementation *******************************************************************************/ package org.aspectj.weaver.loadtime; import java.lang.ref.Referen...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
private IWeavingContext weavingContext; public static SimpleCache laCache=SimpleCacheFactory.createSimpleCache(); /** * References are added to this queue when their associated classloader is removed, and once on here that indicates that we * should tidy up the adaptor map and remove the adaptor (weaver) from the...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
* @param className * @param bytes * @param loader * @return weaved bytes */ public byte[] preProcess(String className, byte[] bytes, ClassLoader loader, ProtectionDomain protectionDomain) { if (loader == null || className == null || loader.getClass().getName().equals(deleLoader)) { return bytes; ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
weavingAdaptor.setActiveProtectionDomain(protectionDomain); byte[] newBytes = weavingAdaptor.weaveClass(className, bytes, false); Dump.dumpOnExit(weavingAdaptor.getMessageHolder(), true); if (trace.isTraceEnabled()) trace.exit("preProcess", newBytes); if (SimpleCacheFactory.isEnabled()) { ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
* calculated on creation of the AdaptorKey based on the loader instance that it is wrapping. This means even when the referent * is gone we can still use the AdaptorKey and it will 'point' to the same place as it always did. */ private static class AdaptorKey extends WeakReference { private final int loaderHashC...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
} /** * The reference queue is only processed when a request is made for a weaver adaptor. This means there can be one or two stale * weavers left around. If the user knows they have finished all their weaving, they might wish to call removeStaleAdaptors * which will process anything left on the reference queue ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
throw new RuntimeException("Eh?? key=" + wo); } if (displayProgress) System.err.println("Removed? " + didit); o = adaptorQueue.poll(); } if (displayProgress) { System.err.println("Weaver adaptors after queue processing:"); Map m = WeaverContainer.weavingAdaptors; Set keys = m.keySet()...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
Object o = adaptorQueue.poll(); while (o != null) { AdaptorKey wo = (AdaptorKey) o; WeaverContainer.weavingAdaptors.remove(wo); o = adaptorQueue.poll(); } } } static { new ExplicitlyInitializedClassLoaderWeavingAdaptor(new ClassLoaderWeavingAdaptor()); } /** * Cache of weaver Th...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
} if (adaptor == null) { ClassLoaderWeavingAdaptor weavingAdaptor = new ClassLoaderWeavingAdaptor(); adaptor = new ExplicitlyInitializedClassLoaderWeavingAdaptor(weavingAdaptor); if(myClassLoaderAdpator == null){ myClassLoaderAdpator = adaptor; } ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Aj.java
isInitialized = true; weavingAdaptor.initialize(loader, weavingContext); } } public ClassLoaderWeavingAdaptor getWeavingAdaptor(ClassLoader loader, IWeavingContext weavingContext) { initialize(loader, weavingContext); return weavingAdaptor; } } /** * Returns a namespace based on the contest of th...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.security.ProtectionDomain; import java.util.*; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.Constants; import org.aspectj.util.LangUtil; import org.aspectj.weaver.Lint; import org.aspectj.weav...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private final static String AOP_XML = Constants.AOP_USER_XML + ";" + Constants.AOP_AJC_XML + ";" + Constants.AOP_OSGI_XML; private boolean initialized; private List m_dumpTypePattern = new ArrayList(); private boolean m_dumpBefore = false; private boolean dumpDirPerClassloader = false; private boolean hasExcludes ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (trace.isTraceEnabled()) { trace.exit("<init>"); } } /** * We don't need a reference to the class loader and using it during construction can cause problems with recursion. It also * makes sense to supply the weaving context during initialization to. * * @deprecated */ public ClassLoaderWeavingAda...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (shouldDump(name.replace('/', '.'), false)) { dump(name, wovenBytes, false); } } catch (Throwable throwable) { throwable.printStackTrace(); } if (activeProtectionDomain != null) { defineClass(loaderRef.getClassLoader(), name, wovenBytes, activeProtectionDomain); } else { defineClass(...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
return; } bcelWorld = new LTWWorld(classLoader, weavingContext, getMessageHandler(), null); weaver = new BcelWeaver(bcelWorld); success = registerDefinitions(weaver, classLoader, definitions); if (success) { weaver.prepareForWeave(); enable(); success = weaveAndDefineConceteAspects(); } ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
* @param definitions * @return */ List<String> getAspectClassNames(List<Definition> definitions) { List<String> aspects = new LinkedList<String>(); for (Iterator<Definition> it = definitions.iterator(); it.hasNext(); ) { Definition def = it.next(); List<String> defAspects = def.getAspectClassNames(); ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (file != null) { info("using (-Daj5.def) " + file); definitions.add(DocumentParser.parse((new File(file)).toURL())); } } String resourcePath = System.getProperty("org.aspectj.weaver.loadtime.configuration", AOP_XML); if (trace.isTraceEnabled()) { trace.event("parseDefinitions", this, resou...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (trace.isTraceEnabled()) { trace.event("parseDefinitions", this, xml); } if (!seenBefore.contains(xml)) { info("using configuration " + weavingContext.getFile(xml)); definitions.add(DocumentParser.parse(xml)); seenBefore.add(xml); } else { debug("ignoring duplicat...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
try { registerOptions(weaver, loader, definitions); registerAspectExclude(weaver, loader, definitions); registerAspectInclude(weaver, loader, definitions); success = registerAspects(weaver, loader, definitions); registerIncludeExclude(weaver, loader, definitions); registerDump(weaver, loader, definiti...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (Definition definition : definitions) { allOptions.append(definition.getWeaverOptions()).append(' '); } Options.WeaverOption weaverOption = Options.parse(allOptions.toString(), loader, getMessageHandler()); World world = weaver.getWorld(); setMessageHandler(weaverOption.messageHandler); world.set...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
try { Properties properties = new Properties(); properties.load(resource); world.getLint().setFromProperties(properties); } catch (IOException e) { failure = e; } } if (failure != null || resource == null) { warn("Cannot access resource for -Xlintfile:" + weaverOption.lint...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
bcelWorld.setAllLintIgnored(); } } } } private void registerAspectExclude(final BcelWeaver weaver, final ClassLoader loader, final List<Definition> definitions) { String fastMatchInfo = null; for (Definition definition : definitions) { for (String exclude : definition.getAspectExcludePatterns()) { ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } protected void lint(String name, String[] infos) { Lint lint = bcelWorld.getLint(); Kind kind = lint.getLintKind(name); kind.signal(infos, null, null); } @Override public String getContextId() { return weavingContext.getId(); } /** * Register the aspect, following include / exclude rules * * @...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
info("register aspect " + aspectClassName); String requiredType = definition.getAspectRequires(aspectClassName); if (requiredType != null) { ((BcelWorld) weaver.getWorld()).addAspectRequires(aspectClassName, requiredType); } String definedScope = definition.getScopeForAspect...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (acceptAspect(concreteAspect.name)) { info("define aspect " + concreteAspect.name); ConcreteAspectCodeGen gen = new ConcreteAspectCodeGen(concreteAspect, weaver.getWorld()); if (!gen.validate()) { error("Concrete-aspect '" + concreteAspect.name + "' could not be registered"); success = fal...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (trace.isTraceEnabled()) { trace.exit("registerAspects", success); } return success; } private boolean weaveAndDefineConceteAspects() { if (trace.isTraceEnabled()) { trace.enter("weaveAndDefineConceteAspects", this, concreteAspects); } boolean success = true; for (ConcreteAspectCodeGen gen : conc...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
* @param weaver * @param loader * @param definitions */ private void registerIncludeExclude(final BcelWeaver weaver, final ClassLoader loader, final List<Definition> definitions) { String fastMatchInfo = null; for (Definition definition : definitions) { for (Iterator<String> iterator1 = definition.getIncl...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} else if ((fastMatchInfo = looksLikeExactName(exclude)) != null) { excludeExactName.add(exclude); } else if ((fastMatchInfo = looksLikeEndsWith(exclude)) != null) { excludeEndsWith.add(fastMatchInfo); } else if (exclude .equals("org.codehaus.groovy..* && !org.codehaus.groovy.grails.web.servlet....
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
String subPattern = typePattern.substring(4, typePattern.length() - 1); if (hasStarDot(subPattern, 0)) { return null; } return subPattern.replace('$', '.'); } /** * Checks if the pattern looks like "com.foo.Bar" - an exact name */ private String looksLikeExactName(String typePattern) { if (hasSpaceAnn...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private boolean hasSpaceAnnotationPlus(String string, int pos) { for (int i = pos, max = string.length(); i < max; i++) { char ch = string.charAt(i); if (ch == ' ' || ch == '@' || ch == '+') { return true; } } return false; } /** * Determine if something in the string is going to affect our abili...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
int length = typePattern.length(); if (typePattern.endsWith("..*") && length > 3) { if (typePattern.indexOf("..") == length - 3 && typePattern.indexOf('*') == length - 1) { return typePattern.substring(0, length - 2).replace('$', '.'); } } return null; } /** * Register the dump filter * ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } /** * Determine whether a type should be accepted for weaving, by checking it against any includes/excludes. * * @param className the name of the type to possibly accept * @param bytes the bytecode for the type (in case we need to look inside, eg. annotations) * @return true if it should be accepted fo...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
fastClassName = fastClassName.replace('$', '.'); if (!excludeEndsWith.isEmpty()) { for (String lastPiece : excludeEndsWith) { if (fastClassName.endsWith(lastPiece)) { return false; } } } if (!excludeExactName.isEmpty()) { for (String name : excludeExactName) { if (fastClassName.equals...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (includeStar) { return true; } if (!includeExactName.isEmpty()) { didSomeIncludeMatching = true; for (String exactname : includeExactName) { if (fastClassName.equals(exactname)) { return true; } } } boolean fastAccept = false; for (int i = 0; i < m_includeStartsWith.siz...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (typePattern.matchesStatically(classInfo)) { return false; } } if (includeStar) { return true; } if (!includeExactName.isEmpty()) { didSomeIncludeMatching = true; for (String exactname : includeExactName) { if (fastClassName.equals(exactname)) { return true; ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } finally { this.bcelWorld.demote(); } return accept; } private boolean acceptAspect(String aspectClassName) { if (m_aspectExcludeTypePattern.isEmpty() && m_aspectIncludeTypePattern.isEmpty()) { return true; } String fastClassName = aspectClassName.replace('/', '.').replace('.', '$');...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (Iterator iterator = m_aspectExcludeTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); if (typePattern.matchesStatically(classInfo)) { return false; } } boolean accept = true; for (Iterator iterator = m_aspectIncludeTypePattern.iterator...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
ResolvedType classInfo = weaver.getWorld().resolve(UnresolvedType.forName(className), true); for (Iterator iterator = m_dumpTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); if (typePattern.matchesStatically(classInfo)) { return true; } } ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (namespace == null) { return ""; } else { return new String(namespace); } } /** * Check to see if any classes are stored in the generated classes cache. Then flush the cache if it is not empty * * @param className TODO * @return true if a class has been generated and is stored in the cache */ ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private Method defineClassWithProtectionDomainMethod; private void defineClass(ClassLoader loader, String name, byte[] bytes) { if (trace.isTraceEnabled()) { trace.enter("defineClass", this, new Object[] { loader, name, bytes }); } Object clazz = null; debug("generating class '" + name + "'"); try { if...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (trace.isTraceEnabled()) { trace.enter("defineClass", this, new Object[] { loader, name, bytes, protectionDomain }); } Object clazz = null; debug("generating class '" + name + "'"); try { if (defineClassWithProtectionDomainMethod == null) { defineClassWithProtectionDomainMethod = ClassLoader.cl...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
private final static String OPTION_15 = "-1.5"; private final static String OPTION_lazyTjp = "-XlazyTjp"; private final static String OPTION_noWarn = "-nowarn"; private final static String OPTION_noWarnNone = "-warn:none"; private final static String OPTION_proceedOnError = "-proceedOnError"; private final static ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
if (LangUtil.isEmpty(options)) { return weaverOption; } List flags = LangUtil.anySplit(options, " "); Collections.reverse(flags); for (Iterator iterator = flags.iterator(); iterator.hasNext();) { String arg = (String) iterator.next(); if (arg.startsWith(OPTIONVALUED_messageHandler)) { if (arg...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
weaverOption.noInline = true; } else if (arg.equalsIgnoreCase(OPTION_addSerialVersionUID)) { weaverOption.addSerialVersionUID = true; } else if (arg.equalsIgnoreCase(OPTION_noWarn) || arg.equalsIgnoreCase(OPTION_noWarnNone)) { weaverOption.noWarn = true; } else if (arg.equalsIgnoreCase(OPTION_proceedOn...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
if (arg.length() > OPTIONVALUED_Xlint.length()) { weaverOption.lint = arg.substring(OPTIONVALUED_Xlint.length()).trim(); } } else if (arg.startsWith(OPTIONVALUED_Xset)) { if (arg.length() > OPTIONVALUED_Xlint.length()) { weaverOption.xSet = arg.substring(OPTIONVALUED_Xset.length()).trim(); } ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
boolean java5; boolean lazyTjp; boolean hasMember; boolean timers = false; String optionalJoinpoints; boolean noWarn; boolean proceedOnError; boolean verbose; boolean debug; boolean notReWeavable = true; boolean noInline; boolean addSerialVersionUID; boolean showWeaveInfo; boolean pinpoint; ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java
/******************************************************************************* * Copyright (c) 2013 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 * ...
368,046
Bug 368046 configure a set of classloader for which weavers should not be created in an LTW scenario
Prototyped and tested for JspClassLoaders (see the thread 'aspectj and jsp load' on the mailing list). That was done through a system property but it would be easier via aop.xml. However, this would be the first time we have an aop.xml setting that affects global operation of loadtime weaving. When any classloader actu...
resolved fixed
0c0adc5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-07-30T05:25:23Z
2012-01-06T17:13:20Z
tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java
public void testSuperItdCtor_413378() throws Exception { runTest("super itd ctor"); } public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc174Tests.class); } @Override protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc174/ajc174.xml"); } }
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java
/******************************************************************************* * Copyright (c) 2013 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 * ...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java
public void testCLExclusion_pr368046_1_syspropset() { try { System.setProperty("aj.weaving.loadersToSkip", "foo"); runTest("classloader exclusion - 2"); } finally { System.setProperty("aj.weaving.loadersToSkip", ""); } } public void testCLExclusion_pr368046_1_again_noskippedloaders() { runTest("cla...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.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...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen; import org.aspectj.apache.bcel.generic.FieldGen; import org.aspectj.apache.bcel.generic.FieldInstruction; import org.aspectj.apache.bcel.generic.Instruction; import org.aspectj.apache.bcel.generic.InstructionBranch; import org.aspectj.apache.bcel.generi...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import org.aspectj.util.PartialOrder; import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.AjcMemberMaker; import org.aspectj.weaver.AnnotationAJ; import org.aspectj.weaver.BCException; import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.IClassWeaver; import org.aspectj.weaver.IntMap; im...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private static Trace trace = TraceFactory.getTraceFactory().getTrace(BcelClassWeaver.class); public static boolean weave(BcelWorld world, LazyClassGen clazz, List<ShadowMunger> shadowMungers, List<ConcreteTypeMunger> typeMungers, List<ConcreteTypeMunger> lateTypeMungers, boolean inReweavableMode) { BcelClassWeave...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* This holds the initialization and pre-initialization shadows for this class that were actually matched by mungers (if no * match, then we don't even create the shadows really). */ private final List<BcelShadow> initializationShadows = new ArrayList<BcelShadow>(); private BcelClassWeaver(BcelWorld world, LazyCla...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} private boolean canMatch(Shadow.Kind kind) { return indexedShadowMungers[kind.getKey()] != null; } private void initializeSuperInitializerMap(ResolvedType child) { ResolvedType[] superInterfaces = child.getDeclaredInterfaces(); for (int i = 0, len = superInterfaces.length; i < len; i++)...
418,129
Bug 418129 Can't introduce annotation onto introduced method from trait-patterned aspect
null
resolved fixed
2393bef
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2013-10-01T17:00:14Z
2013-09-26T18:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
indexedShadowMungers = new List[Shadow.MAX_SHADOW_KIND + 1]; for (ShadowMunger shadowMunger : shadowMungers) { int couldMatchKinds = shadowMunger.getPointcut().couldMatchKinds(); for (Shadow.Kind kind : Shadow.SHADOW_KINDS) { if (kind.isSet(couldMatchKinds)) { byte k = kind.getKey(); if (indexedSh...