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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testNpeOnDup_pr138143() { runTest("npe on duplicate method with ataj");}
public void testPointcutsAndGenerics_pr137496_1() { runTest("pointcuts and generics - B");}
public void testPointcutsAndGenerics_pr137496_2() { runTest("pointcuts and generics - D");}
public void testPointcutsAndGenerics_pr137496... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.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
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | import org.aspectj.apache.bcel.classfile.LocalVariable;
import org.aspectj.apache.bcel.classfile.LocalVariableTable;
import org.aspectj.apache.bcel.classfile.Method;
import org.aspectj.apache.bcel.classfile.annotation.Annotation;
import org.aspectj.apache.bcel.classfile.annotation.ClassElementValue;
import org.aspectj.... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | import org.aspectj.weaver.patterns.AndPointcut;
import org.aspectj.weaver.patterns.Bindings;
import org.aspectj.weaver.patterns.DeclareErrorOrWarning;
import org.aspectj.weaver.patterns.DeclareParents;
import org.aspectj.weaver.patterns.DeclarePrecedence;
import org.aspectj.weaver.patterns.FormalBinding;
import org.asp... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | private final static List EMPTY_LIST = new ArrayList();
private final static String[] EMPTY_STRINGS = new String[0];
private final static String VALUE = "value";
private final static String POINTCUT = "pointcut";
private final static String THROWING = "throwing";
private final static String RETURNIN... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | /**
* The list of AjAttribute.XXX that we are populating from the @AJ read
*/
List ajAttributes = new ArrayList();
/**
* The resolved type (class) for which we are reading @AJ for (be it class, method, field annotations)
*/
final ResolvedType enclosingType;
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | /**
* Argument names as they appear in the SOURCE code, ordered, and lazyly populated
* Used to do formal binding
*/
private String[] m_argumentNamesLazy = null;
final Method method;
final BcelMethod bMethod;
public AjAttributeMethodStruct(Method method, BcelMe... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | final Field field;
final BcelField bField;
public AjAttributeFieldStruct(Field field, BcelField bField, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) {
super(type, sourceContext, messageHandler);
this.field = field;
this.bField = bFi... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | *
* @param attribute
* @return true if runtime visible annotation
*/
public static boolean acceptAttribute(Attribute attribute) {
return (attribute instanceof RuntimeVisibleAnnotations);
}
/**
* Extract class level annotations and turn them into AjAttributes.
*
* @param... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | null,
type.getSourceLocation()
)
);
}
}
}
}
} catch (Throwable t) {
;
}
AjAttributeStruct struct = new A... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | if (hasAtPrecedenceAnnotation && !hasAtAspectAnnotation) {
msgHandler.handleMessage(
new Message(
"Found @DeclarePrecedence on a non @Aspect type '" + type.getName() + "'",
IMessage.WARNING,
null,
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | Attribute mattribute = mattributes[j];
if (acceptAttribute(mattribute)) {
RuntimeAnnotations mrvs = (RuntimeAnnotations) mattribute;
handlePointcutAnnotation(mrvs, mstruct);
break;
}
}
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | IMessage.WARNING,
null,
type.getSourceLocation()
)
);
;
}
}
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | boolean hasAtAspectJAnnotation = false;
boolean hasAtAspectJAnnotationMustReturnVoid = false;
for (int i = 0; i < attributes.length; i++) {
Attribute attribute = attributes[i];
try {
if (acceptAttribute(attribute)) {
RuntimeAnnotations rvs = (R... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
} catch (ReturningFormalNotDeclaredInAdviceSignatureException e) {
msgHandler.handleMessage(
new Message(
WeaverMessages.format(WeaverMessages.RETURNING_FORMAL_NOT_DECLARED_IN_ADVICE,e.getFormalName()),
IMessage.ER... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
if (hasAtAspectJAnnotation && !struct.method.isPublic()) {
msgHandler.handleMessage(
new Message(
"Found @AspectJ annotation on a non public advice '" + methodToString(struct.method) + "'",
IMessage.ERROR,
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | * Extract field level annotations and turn them into AjAttributes.
*
* @param field
* @param type
* @param context
* @param msgHandler
* @return list of AjAttributes, always empty for now
*/
public static List readAj5FieldAttributes(Field field, BcelField bField, ResolvedType type... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
ElementNameValuePair aspectPerClause = getAnnotationElement(aspect, VALUE);
final PerClause perClause;
if (aspectPerClause == null) {
if (!extendsAspect) {
perClause = new PerSingleton();
} else {
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | struct.enclosingType,
struct.context,
bindings
);
aspectAttribute.setResolutionScope(binding);
return true;
}
}
return false;
}
/**
* Read a perClause... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | perClause = new PerCflow(pointcut, true);
} else if (perClauseString.startsWith(PerClause.KindAnnotationPrefix.PERTARGET.getName())) {
pointcutString = PerClause.KindAnnotationPrefix.PERTARGET.extractPointcut(perClauseString);
pointcut = parsePointcut(pointcutString, struct, false);
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | return perClause;
}
/**
* Read @DeclarePrecedence
*
* @param runtimeAnnotations
* @param struct
* @return true if found
*/
private static boolean handlePrecedenceAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeStruct struct) {
Annotation aspect = getAnnotat... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | private static boolean handleDeclareParentsAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeFieldStruct struct) {
Annotation decp = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREPARENTS_ANNOTATION);
if (decp != null) {
ElementNameValuePair decpPatternNVP = getAnnotation... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | if (defaultImplClassName.equals("org.aspectj.lang.annotation.DeclareParents")) {
defaultImplClassName = null;
} else {
ResolvedType impl = struct.enclosingType.getWorld().resolve(
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | boolean hasAtLeastOneMethod = false;
ResolvedMember[] methods = (ResolvedMember[])fieldType.getMethodsWithoutIterator(true, false).toArray(new ResolvedMember[0]);
for (int i = 0; i < methods.length; i++) {
ResolvedMember method = (ResolvedMember)methods[i]... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | AjcMemberMaker.itdAtDeclareParentsField(
null,
fieldType,
struct.enclosingType
),
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | ElementNameValuePair beforeAdvice = getAnnotationElement(before, VALUE);
if (beforeAdvice != null) {
FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0];
try {
bindings = extractBindings(struct);
} c... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | pc,
extraArgument,
sl.getOffset(),
sl.getOffset()+1,
struct.context
)
);
return true;
}
}
return false;
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
IScope binding = new BindingScope(
struct.enclosingType,
struct.context,
bindings
);
int extraArgument = extractExtraArgument(struct.method);
Pointcut pc = null;
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
return false;
}
/**
* Read @AfterReturning
*
* @param runtimeAnnotations
* @param struct
* @return true if found
*/
private static boolean handleAfterReturningAnnotation(
RuntimeAnnotations runtimeAnnotations,
AjAttributeMethodStruct struct,
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | pointcut = annValue.getValue().stringifyValue();
} else {
pointcut = annPointcut.getValue().stringifyValue();
}
if (isNullOrEmpty(pointcut)) {
reportError("@AfterReturning: either 'value' or 'poincut' must be provided, not both", struct);
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | struct.context,
bindings
);
int extraArgument = extractExtraArgument(struct.method);
if (returned != null) {
extraArgument |= Advice.ExtraArgument;
}
Pointcut pc = null;
if (preResolvedP... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
return false;
}
/**
* Read @AfterThrowing
*
* @param runtimeAnnotations
* @param struct
* @return true if found
*/
private static boolean handleAfterThrowingAnnotation(
RuntimeAnnotations runtimeAnnotations,
AjAttributeMethodStruct struct,
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | pointcut = annValue.getValue().stringifyValue();
} else {
pointcut = annPointcut.getValue().stringifyValue();
}
if (isNullOrEmpty(pointcut)) {
reportError("@AfterThrowing: either 'value' or 'poincut' must be provided, not both", struct);
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | struct.context,
bindings
);
int extraArgument = extractExtraArgument(struct.method);
if (thrownFormal != null) {
extraArgument |= Advice.ExtraArgument;
}
Pointcut pc = null;
if (preResol... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
return false;
}
/**
* Read @Around
*
* @param runtimeAnnotations
* @param struct
* @return true if found
*/
private static boolean handleAroundAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPoint... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | if (preResolvedPointcut != null) {
pc = preResolvedPointcut.getPointcut();
} else {
pc = parsePointcut(aroundAdvice.getValue().stringifyValue(), struct, false);
if (pc == null) return false;
pc.resolve(binding);
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | private static void handlePointcutAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeMethodStruct struct) {
Annotation pointcut = getAnnotation(runtimeAnnotations, AjcMemberMaker.POINTCUT_ANNOTATION);
if (pointcut != null) {
ElementNameValuePair pointcutExpr = getAnnotationElement(... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | Pointcut pc = null;
if (struct.method.isAbstract()) {
if ((pointcutExpr != null && isNullOrEmpty(pointcutExpr.getValue().stringifyValue()))
|| pointcutExpr == null) {
} else {
reportError("Found... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | struct.enclosingType,
struct.method.getModifiers(),
struct.method.getName(),
argumentTypes,
UnresolvedType.forSignature(struct.method.getReturnType().getSignature()),
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | if (pc == null) {
hasError = false;
} else {
DeclareErrorOrWarning deow = new DeclareErrorOrWarning(true, pc, struct.field.getConstantValue().toString());
setDeclareErrorOrWarningLocation(deow,struct);
stru... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | return hasError || hasWarning;
}
/**
* Sets the location for the declare error / warning using the corresponding
* IProgramElement in the structure model. This will only fix bug 120356 if
* compiled with -emacssym, however, it does mean that the cross references
* view in AJDT will show th... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | return;
}
}
deow.setLocation(struct.context, -1, -1);
}
/**
* Returns a readable representation of a method.
* Method.toString() is not suitable.
*
* @param method
* @return a readable representation of a method
*/
private static String methodTo... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | return sb.toString();
}
/**
* Build the bindings for a given method (pointcut / advice)
*
* @param struct
* @return null if no debug info is available
*/
private static FormalBinding[] extractBindings(AjAttributeMethodStruct struct)
throws UnreadableDebugInfoException {
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | bindings.add(new FormalBinding.ImplicitFormalBinding(argumentType, argumentName, i));
} else {
bindings.add(new FormalBinding(argumentType, argumentName, i));
}
}
return (FormalBinding[]) bindings.toArray(new FormalBinding[]{});
}
private static Forma... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | private static int extractExtraArgument(Method method) {
Type[] methodArgs = method.getArgumentTypes();
String[] sigs = new String[methodArgs.length];
for (int i = 0; i < methodArgs.length; i++) {
sigs[i] = methodArgs[i].getSignature();
}
return extractExtraArgument(s... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | * Returns the runtime (RV/RIV) annotation of type annotationType or null if no such annotation
*
* @param rvs
* @param annotationType
* @return annotation
*/
private static Annotation getAnnotation(RuntimeAnnotations rvs, UnresolvedType annotationType) {
final String annotationTypeN... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
return null;
}
/**
* Extract the method argument names as in source from debug info
* returns an empty array upon inconsistency
*
* @param method
* @return method arg names as in source
*/
private static String[] getMethodArgumentNamesAsInSource(Method method) {
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | Collections.sort(
arguments, new Comparator() {
public int compare(Object o, Object o1) {
MethodArgument mo = (MethodArgument) o;
MethodArgument mo1 = (MethodArgument) o1;
if (mo.indexOnStack == mo1.indexOnStack)... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | String name;
int indexOnStack;
public MethodArgument(String name, int indexOnStack) {
this.name = name;
this.indexOnStack = indexOnStack;
}
}
/**
* BindingScope that knows the enclosingType, which is needed for pointcut reference resolution
*
* @aut... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | return m_sourceContext.makeSourceLocation(location);
}
public UnresolvedType lookupType(String name, IHasPosition location) {
if (m_enclosingType != null) {
String pkgName = m_enclosingType.getPackageName();
if (pkgName != null && !pkgName.eq... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | private Pointcut m_pointcutUnresolved;
private IScope m_binding;
private Pointcut m_lazyPointcut = null;
public LazyResolvedPointcutDefinition(ResolvedType declaringType, int modifiers, String name,
UnresolvedType[] parameterTypes, UnresolvedType ret... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | *
* @param s
* @return true if empty or null
*/
private static boolean isNullOrEmpty(String s) {
return (s == null || s.length() <= 0);
}
/**
* Set the pointcut bindings for which to ignore unbound issues, so that we can implicitly bind
* xxxJoinPoint for @AJ advices
*
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | }
/**
* Report an error
*
* @param message
* @param location
*/
private static void reportError(String message, AjAttributeStruct location) {
if (!location.handler.isIgnoring(IMessage.ERROR)) {
location.handler.handleMessage(
new Message(
... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | */
private static void reportWarning(String message, AjAttributeStruct location) {
if (!location.handler.isIgnoring(IMessage.WARNING)) {
location.handler.handleMessage(
new Message(
message,
location.enclosingType.getSou... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | reportError("Invalid pointcut '" + pointcutString + "': " + e.toString(), struct);
return null;
}
}
private static boolean hasIf(Pointcut pointcut) {
IfFinder visitor = new IfFinder();
pointcut.accept(visitor, null);
return visitor.hasIf;
}
/**
* Parse th... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | boolean hasIf = false;
public Object visit(IfPointcut node, Object data) {
if (node.alwaysFalse() || node.alwaysTrue()) {
;
} else {
hasIf = true;
}
return node;
}
public Object visit(AndPointcut node, Object data) {... |
135,068 | Bug 135068 VerifyError with LTW and @AJ style aspects | I get "VerifyError: Incompatible object argument for function call" error when using LTW with @Aspect stype aspects. Interestingly enough, LTW works as expected with equivalent .aj style aspect. Compile time weaving works with both aspect styles. Tested on Linux with AspectJ 1.5.0, 1.5.1 and DEVELOPMENT-20060404163823 ... | resolved fixed | 9ffc63b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T07:38:53Z | 2006-04-05T15:13:20Z | weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java | private String formalName;
public ThrownFormalNotDeclaredInAdviceSignatureException(String formalName) {
this.formalName = formalName;
}
public String getFormalName() { return formalName; }
}
static class ReturningFormalNotDeclaredInAdviceSignatureException extends Exception ... |
141,945 | Bug 141945 Compiler issues message concerning aop.xml even when not doing LTW | From the mailing list: ============= I am executing the command as below, COMMAND: ajc -inpath woven_hello1.jar -aspectpath aspect2.jar -outjar woven_hello2.jar I am getting same old error, woven_hello1.jar [error] aspect 'aspect1' woven into 'Hello' must be declared in an aop.xml file. (no source information available... | resolved fixed | fc7db25 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T12:30:08Z | 2006-05-16T09:00:00Z | tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.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 ... |
141,945 | Bug 141945 Compiler issues message concerning aop.xml even when not doing LTW | From the mailing list: ============= I am executing the command as below, COMMAND: ajc -inpath woven_hello1.jar -aspectpath aspect2.jar -outjar woven_hello2.jar I am getting same old error, woven_hello1.jar [error] aspect 'aspect1' woven into 'Hello' must be declared in an aop.xml file. (no source information available... | resolved fixed | fc7db25 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T12:30:08Z | 2006-05-16T09:00:00Z | tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java | private static List joinPoints = new ArrayList();
public void test1 () {
}
public void test2 () {
}
public void addJoinPoint (String name) {
joinPoints.add(name);
}
public static void main (String[] args) {
String ERROR_STRING = "error aspect 'ataspectj.ltwreweavable.AspectRe... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | package org.aspectj.systemtest.ajc150;
import java.io.File;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import junit.framework.Test;
import org.aspectj.apache.bcel.classfile.Attribute;
import org.aspectj.apache.bcel.classfile.Field;
import org.aspectj.apache.bcel.classfile.JavaClass;
i... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | private World recentWorld;
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(GenericITDsDesign.class);
}
protected File getSpecFile() {
return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml");
}
private void verifyDebugString(ResolvedMember theMember, String string) {
asser... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | } catch (ClassNotFoundException e) {
fail("Couldn't find class "+classname+" in the sandbox directory.");
}
return null;
}
public static Signature getClassSignature(Ajc ajc,String classname) {
JavaClass clazz = getClassFromDisk(ajc,classname);
Signature sigAttr = null;
Attribute[] attrs = clazz.getAttr... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | CrosscuttingMembers cmembers = resolvedType.collectCrosscuttingMembers();
List tmungers = cmembers.getTypeMungers();
return tmungers;
}
private BcelTypeMunger getMungerFromLine(String classname,int linenumber) {
List allMungers = getTypeMunger(classname);
for (Iterator iter = allMungers.iterator(); iter.has... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | test plan:
1. Serializing and recovering 'default bounds' type variable info:
a. methods
b. fields
c. ctors
2. Serializing and recovering 'extends' with a class bounded type variable info:
a. methods
b. fields
c. ctors
3. Serializing and recovering 'extends' with a... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | public void testDesignA() {
runTest("generic itds - design A");
BcelTypeMunger theBcelMunger = getMungerFromLine("X",5);
ResolvedType typeC = recentWorld.resolve("C");
ResolvedTypeMunger rtMunger = theBcelMunger.getMunger();
ResolvedMember theMember = rtMunger.getSignature();
assertTrue("Declaring type ... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | verifyDebugString(theMember,"<T extends java.lang.Number> void C.m0(T)");
theBcelMunger = getMungerFromLine("X",9);
rtMunger = theBcelMunger.getMunger();
theMember = rtMunger.getSignature();
verifyDebugString(theMember,"<Q extends I> void C.m1(Q)");
theBcelMunger = getMungerFromLine("X",11);
rtMunger ... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | verifyDebugString(theBcelMunger.getMunger().getSignature(),"void C.m0(R)");
theBcelMunger = getMungerFromLine("X",11);
verifyDebugString(theBcelMunger.getMunger().getSignature(),"java.util.List<Q> C.m0(Q, int, java.util.List<java.util.List<Q>>)");
}
public void testDesignE() {
runTest("generic itds - ... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc150/GenericITDsDesign.java | assertTrue("Field list2 should be of type 'Ljava/util/List;' but is "+list2.getSignature(),
list2.getSignature().equals("Ljava/util/List;"));
Field field1 = (Field)fields.get("ajc$interField$$field1");
assertTrue("Field list1 should be of type 'Ljava/lang/String;' but is "+field... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | /*******************************************************************************
* Copyright (c) 2006 IBM
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://ww... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testNpeOnDup_pr138143() { runTest("npe on duplicate method with ataj");}
public void testPointcutsAndGenerics_pr137496_1() { runTest("pointcuts and generics - B");}
public void testPointcutsAndGenerics_pr137496_2() { runTest("pointcuts and generics - D");}
public void testPointcutsAndGenerics_pr137496... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.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 Common Public License v1.0
* which accompanies this distrib... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | import org.aspectj.weaver.bcel.BcelTypeMunger;
import org.aspectj.weaver.patterns.Declare;
import org.aspectj.weaver.patterns.DeclareAnnotation;
import org.aspectj.weaver.patterns.DeclareErrorOrWarning;
import org.aspectj.weaver.patterns.DeclareParents;
import org.aspectj.weaver.patterns.DeclarePrecedence;
import org.a... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | private List lateTypeMungers = new ArrayList(0);
private List declareParents = new ArrayList(4);
private List declareSofts = new ArrayList(0);
private List declareDominates = new ArrayList(4);
private List declareAnnotationsOnType = new ArrayList();
private List declareAnnotationsOnField = new ArrayList()... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | public void addTypeMungers(Collection c) {
typeMungers.addAll(c);
}
public void addTypeMunger(ConcreteTypeMunger m) {
if (m == null) throw new Error("FIXME AV - should not happen or what ?");
typeMungers.add(m);
}
public void addLateTypeMungers(Collection c) {
lateTypeMungers.addAll(c);
}
... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | DeclareParents dp = (DeclareParents)declare;
exposeTypes(dp.getParents().getExactTypes());
declareParents.add(dp);
} else if (declare instanceof DeclareSoft) {
DeclareSoft d = (DeclareSoft)declare;
ShadowMunger m = Advice.makeSoftener(world, d.getPointcut(), d.getException(),inAspect,d);
m.setDecla... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | exposeType((UnresolvedType)i.next());
}
}
public void exposeType(UnresolvedType typeToExpose) {
if (ResolvedType.isMissing(typeToExpose)) return;
if (typeToExpose.isParameterizedType() || typeToExpose.isRawType()) {
if (typeToExpose instanceof ResolvedType) {
typeToExpose = ((ResolvedType)typeToExpose)... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | ArrayList ret = new ArrayList();
for (Iterator i = shadowMungers.iterator(); i.hasNext(); ) {
ShadowMunger m = (ShadowMunger)i.next();
if (m instanceof Advice) {
Advice a = (Advice)m;
if (a.getKind().isCflow()) {
ret.add(a);
}
}
}
return ret;
}
/**
* Updates the records if something ... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | if (perClause == null || !perClause.equals(other.perClause)) {
changed = true;
perClause = other.perClause;
}
if (careAboutShadowMungers) {
Set theseShadowMungers = new HashSet();
theseShadowMungers.addAll(shadowMungers);
Set otherShadowMungers = new HashSet();
otherShadow... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | }
Set theseTypeMungers = new HashSet();
Set otherTypeMungers = new HashSet();
if (!careAboutShadowMungers) {
for (Iterator iter = typeMungers.iterator(); iter.hasNext();) {
Object o = iter.next();
if (o instanceof BcelTypeMunger) {
BcelTypeMunger typeMunger = (... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | }
}
} else {
theseTypeMungers.addAll(typeMungers);
otherTypeMungers.addAll(other.typeMungers);
}
if (!theseTypeMungers.equals(otherTypeMungers)) {
changed = true;
typeMungers = other.typeMungers;
}
if (!lateTypeMungers.equals(other.lateTypeMungers)) {
ch... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | }
if (!declareAnnotationsOnType.equals(other.declareAnnotationsOnType)) {
changed = true;
declareAnnotationsOnType = other.declareAnnotationsOnType;
}
if (!declareAnnotationsOnField.equals(other.declareAnnotationsOnField)) {
changed = true;
declareAnnotationsOnField = other.declareAnnotations... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembers.java | return declareParents;
}
public List getDeclareSofts() {
return declareSofts;
}
public List getShadowMungers() {
return shadowMungers;
}
public List getTypeMungers() {
return typeMungers;
}
public List getLateTypeMungers() {
return lateTypeMungers;
}
public List getDeclareAnnotationOnTypes... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.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 Common Public License v1.0
* which accompanies this distrib... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | private World world;
private Map members = new HashMap();
private List shadowMungers = null;
private List typeMungers = null;
private List lateTypeMungers = null;
private List declareSofts = null;
private List declareParents = null;
private Li... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | }
/**
* @return whether or not that was a change to the global signature
* XXX for efficiency we will need a richer representation than this
*/
public boolean addOrReplaceAspect(ResolvedType aspectType,boolean careAboutShadowMungers) {
boolean change = false;
CrosscuttingMembers xcut = (CrosscuttingMembe... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | change = change || ancestorChange;
}
changedSinceLastReset = changedSinceLastReset || change;
return change;
}
private boolean addOrReplaceDescendantsOf(ResolvedType aspectType,boolean careAboutShadowMungers) {
Set knownAspects = members.keySet();
Set toBeReplaced = new HashSet();
for(Iterator it ... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | public boolean deleteAspect(UnresolvedType aspectType) {
boolean isAspect = members.remove(aspectType) != null;
clearCaches();
return isAspect;
}
public boolean containsAspect(UnresolvedType aspectType) {
return members.containsKey(aspectType);
}
public void addFixedCrosscuttingMembers(ResolvedType... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | public List getShadowMungers() {
if (shadowMungers == null) {
ArrayList ret = new ArrayList();
for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.addAll(((CrosscuttingMembers)i.next()).getShadowMungers());
}
shadowMungers = ret;
}
return shadowMungers;
}
public List getTypeMun... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | }
public List getDeclareSofts() {
if (declareSofts == null) {
Set ret = new HashSet();
for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.addAll(((CrosscuttingMembers)i.next()).getDeclareSofts());
}
declareSofts = new ArrayList();
declareSofts.addAll(ret);
}
return declareSoft... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | ret.addAll(((CrosscuttingMembers)i.next()).getDeclareAnnotationOnTypes());
}
declareAnnotationOnTypes = new ArrayList();
declareAnnotationOnTypes.addAll(ret);
}
return declareAnnotationOnTypes;
}
public List getDeclareAnnotationOnFields() {
if (declareAnnotationOnFields == null) {
Set ret = new Ha... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | declareAnnotationOnMethods.addAll(ret);
}
return declareAnnotationOnMethods;
}
public List getDeclareDominates() {
if (declareDominates == null) {
ArrayList ret = new ArrayList();
for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.addAll(((CrosscuttingMembers)i.next()).getDeclareDom... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | public boolean hasChangedSinceLastReset() {
return changedSinceLastReset;
}
/**
* Record something that needs verifying when we believe the type system is complete.
* Used for things that can't be verified as we go along - for example some
* recursive type variable references (pr133307)
*/
public void reco... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | * All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distribution and is available at
* http:www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* PARC initial implementation
* A... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | private static final ResolvedType[] EMPTY_RESOLVED_TYPE_ARRAY = new ResolvedType[0];
public static final String PARAMETERIZED_TYPE_IDENTIFIER = "P";
private ResolvedType[] resolvedTypeParams;
protected World world;
protected ResolvedType(String signature, World world) {
super(signature);
... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | }
}
public abstract ResolvedMember[] getDeclaredFields();
public abstract ResolvedMember[] getDeclaredMethods();
public abstract ResolvedType[] getDeclaredInterfaces();
public abstract ResolvedMember[] getDeclaredPointcuts();
/**
* Returns a ResolvedType object representing the superclass o... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | public static boolean isMissing (UnresolvedType unresolved) {
if (unresolved instanceof ResolvedType) {
ResolvedType resolved = (ResolvedType)unresolved;
return resolved.isMissing();
}
else return (unresolved == MISSING);
}
public ResolvedType[] getAnnotationTypes() {
return... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | validBoxing.add("BLjava/lang/Byte;");
validBoxing.add("CLjava/lang/Character;");
validBoxing.add("DLjava/lang/Double;");
validBoxing.add("FLjava/lang/Float;");
validBoxing.add("ILjava/lang/Integer;");
validBoxing.add("JLjava/lang/Long;");
validBoxing.add("SLjava/lang/Short;");
... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | * for checking from JVM spec 2ed 5.4.3.2. This means that the order is
* <p/>
* <ul><li> fields from current class </li>
* <li> recur into direct superinterfaces </li>
* <li> recur into superclass </li>
* </ul>
* <p/>
* We keep a hashSet of interfaces that we've visited so we... |
130,722 | Bug 130722 poincut references in percflow instantiation model aspects can not be resolved | Take these two aspects and this litte class: // source1 package test1; import test.Test; public aspect PointcutProvider { public pointcut test(): execution(* Test.*(..)); } // source2 package test; import test1.PointcutProvider; public aspect PointcutConsumer percflow(flow()) { // compiler issues the following line wit... | resolved fixed | b166a7e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-05-16T15:43:08Z | 2006-03-07T11:13:20Z | weaver/src/org/aspectj/weaver/ResolvedType.java | * returns an iterator through all of the methods of this type, in order
* for checking from JVM spec 2ed 5.4.3.3. This means that the order is
* <p/>
* <ul><li> methods from current class </li>
* <li> recur into superclass, all the way up, not touching interfaces </li>
* <li> recur int... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.