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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | }
public boolean canAnnotationTargetType() {
return delegate.canAnnotationTargetType();
}
public AnnotationTargetKind[] getAnnotationTargetKinds() {
return delegate.getAnnotationTargetKinds();
}
public final boolean isCoerceableFrom(ResolvedType o) {
ResolvedT... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | for (int ai = 0, alen = a.length; ai < alen; ai++) {
for (int bi = 0, blen = b.length; bi < blen; bi++) {
if (! b[bi].isCompatibleWith(a[ai])) return false;
}
}
return true;
}
private final boolean isCoerceableFromParameterizedType(ResolvedType other... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | TypeVariable tv = tvrt.getTypeVariable();
tv.resolve(world);
if (!tv.canBeBoundTo(myTypeParameters[i])) return false;
} else {
return false;
}
}
}
return true;
}
} else {
for(Iterator i = getDirectSupertypes(); i.hasNext... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | if (ResolvedType.validBoxing.contains(this.getSignature()+other.getSignature())) return true;
}
if (this == other) return true;
if (this.getSignature().equals(ResolvedType.OBJECT.getSignature())) return true;
if ((this.isRawType() || this.isGenericType()) && other.isParameterizedType(... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | if (myParameters.length == theirParameters.length) {
for (int i = 0; i < myParameters.length; i++) {
if (myParameters[i] == theirParameters[i]) continue;
if (!myParameters[i].isGenericWildcard()) {
parametersAssignable = false;
break;
} else {
BoundedReferenceType wildc... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | return this.isAssignableFrom(otherType.getTypeVariable().getFirstBound().resolve(world));
}
}
if (allowMissing && other.isMissing()) return false;
for(Iterator i = other.getDirectSupertypes(); i.hasNext(); ) {
if (this.isAssignableFrom((ResolvedType) i.next... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | ResolvedMember[] delegateFields = delegate.getDeclaredFields();
parameterizedFields = new ResolvedMember[delegateFields.length];
for (int i = 0; i < delegateFields.length; i++) {
parameterizedFields[i] =
delegateFields[i].parameterizedWith(getTypesForMemberParameterization(),this, isParameterizedType())... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | for (int i = 0; i < parameterizedInterfaces.length; i++) {
parameterizedInterfaces[i] = delegateInterfaces[i];
if (parameterizedInterfaces[i].isGenericType()) {
parameterizedInterfaces[i] =
parameterizedInterfaces[i].getRawType().resolve(getWorld());
} else if (parameterizedInterfaces[i].i... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | */
private UnresolvedType[] determineThoseTypesToUse(ResolvedType parameterizedInterface,UnresolvedType[] paramTypes) {
UnresolvedType[] tParms = parameterizedInterface.getTypeParameters();
UnresolvedType[] retVal = new UnresolvedType[tParms.length];
for (int i = 0; i < tParms.length; i++... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | private int getRank(String tvname) {
TypeVariable[] thisTypesTVars = getGenericType().getTypeVariables();
for (int i = 0; i < thisTypesTVars.length; i++) {
TypeVariable tv = thisTypesTVars[i];
if (tv.getName().equals(tvname)) return i;
}
return -1;
}
public ResolvedMember[] getDeclaredMethods() {
if (... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | return parameterizedPointcuts;
} else {
return delegate.getDeclaredPointcuts();
}
}
private UnresolvedType[] getTypesForMemberParameterization() {
UnresolvedType[] parameters = null;
if (isParameterizedType()) {
parameters = getTypeParameters();
} else if (isRawType()){
TypeVariable[] tvs = ... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | }
}
return this.typeVariables;
}
public PerClause getPerClause() {
PerClause pclause = delegate.getPerClause();
if (isParameterizedType()) {
Map parameterizationMap = getAjMemberParameterizationMap();
pclause = (PerClause)pclause.parameterizeWith(parameterizationMap);
}
return pclause;
}
... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | for (Iterator iter = declares.iterator(); iter.hasNext();) {
Declare d = (Declare) iter.next();
d.setDeclaringType(this);
}
return declares;
}
protected Collection getTypeMungers() { return delegate.getTypeMungers(); }
protected Collection getPrivilegedAccesses() { return delegate.getPrivilegedAccesses... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | if (isRawType() && getGenericType()!=null ) {
ReferenceType genType = (ReferenceType) getGenericType();
if (genType.getDelegate() != delegate) {
genType.setDelegate(delegate);
}
}
clearParameterizationCaches();
}
private void clearParameterizationCaches() {
parameterizedFields = null;
param... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | public void setStartPos(int startPos) {
this.startPos = startPos;
}
public boolean doesNotExposeShadowMungers() {
return delegate.doesNotExposeShadowMungers();
}
public String getDeclaredGenericSignature() {
return delegate.getDeclaredGenericSignature();
}
public void setGenericType(ReferenceType rt) ... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | * @param someParameters
* @return
*/
private static String makeParameterizedSignature(ResolvedType aGenericType, ResolvedType[] someParameters) {
String rawSignature = aGenericType.getErasureSignature();
String prefix = PARAMETERIZED_TYPE_IDENTIFIER + rawSignature.substring(1,rawSignature.length()-1);
Str... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.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... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java | public void testMemberTypesInGenericTypes_pr122458() { runTest("member types in generic types");}
public void testMemberTypesInGenericTypes_pr122458_2() { runTest("member types in generic types - 2");}
public void testNPEOnDeclareAnnotation_pr123695() { runTest("Internal nullptr exception with complex declare a... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.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... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | protected UnresolvedType type;
public static final Map primitiveTypesMap;
public static final Map boxedPrimitivesMap;
private static final Map boxedTypesMap; |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | static {
primitiveTypesMap = new HashMap();
primitiveTypesMap.put("int",int.class);
primitiveTypesMap.put("short",short.class);
primitiveTypesMap.put("long",long.class);
primitiveTypesMap.put("byte",byte.class);
primitiveTypesMap.put("char",char.class);
primitiveTypesMap.put("float",float.class);
primit... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | super(includeSubtypes,isVarArgs);
this.type = type;
}
public boolean isArray() {
return type.isArray();
}
/* (non-Javadoc)
* @see org.aspectj.weaver.patterns.TypePattern#couldEverMatchSameTypesAs(org.aspectj.weaver.patterns.TypePattern)
*/
protected boolean couldEverMatchSameTypesAs(TypePattern other)... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | if (!typeMatch && (matchType.isParameterizedType() || matchType.isGenericType())) {
typeMatch = this.type.equals(matchType.getRawType());
}
if (!typeMatch && matchType.isTypeVariableReference()) {
typeMatch = matchesTypeVariable((TypeVariableReferenceType)matchType);
}
annotationPattern.resolve(matchType.... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | public FuzzyBoolean matchesInstanceof(ResolvedType matchType) {
if (type.equals(ResolvedType.OBJECT))
return FuzzyBoolean.YES.and(annotationPattern.matches(matchType));
if (type.resolve(matchType.getWorld()).isAssignableFrom(matchType)) {
return FuzzyBoolean.YES.and(annotationPattern.matches(matchTy... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | result = 37*result + new Boolean(includeSubtypes).hashCode();
result = 37*result + new Boolean(isVarArgs).hashCode();
result = 37*result + typeParameters.hashCode();
result = 37*result + annotationPattern.hashCode();
return result;
}
private static final byte EXACT_VERSION = 1;
... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | ret.setAnnotationTypePattern(AnnotationTypePattern.read(s,context));
ret.setTypeParameters(TypePatternList.read(s,context));
ret.readLocation(context, s);
return ret;
}
public static TypePattern readTypePatternOldStyle(DataInputStream s, ISourceContext context) throws IOException {
TypePattern ret = new Exact... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | throw new BCException("trying to re-resolve");
}
/**
* return a version of this type pattern with all type variables references replaced
* by the corresponding entry in the map.
*/
public TypePattern parameterizeWith(Map typeVariableMap) {
UnresolvedType newType = type;
if (type.isTypeVariableReferenc... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.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... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | * <p>Then we call resolveBindings() during compilation
* During concretization of enclosing pointcuts, we call remapAdviceFormals
*
* @author Erik Hilsdale
* @author Jim Hugunin
*/
public abstract class TypePattern extends PatternNode {
public static class MatchKind {
private String name;
public MatchKind(S... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | }
protected TypePattern(boolean includeSubtypes, boolean isVarArgs) {
this(includeSubtypes,isVarArgs,null);
}
public AnnotationTypePattern getAnnotationPattern() {
return annotationPattern;
}
public boolean isVarArgs() {
return isVarArgs;
}
public boolean isStarAnnotation() {
re... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | public TypePatternList getTypeParameters() {
return this.typeParameters;
}
public void setIsVarArgs(boolean isVarArgs) {
this.isVarArgs = isVarArgs;
}
protected boolean couldEverMatchSameTypesAs(TypePattern other) {
if (this.includeSubtypes || other.includeSubtypes) return true;
if (this.annotationPat... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | if (type.isMissing()) return FuzzyBoolean.NO;
if (kind == STATIC) {
return FuzzyBoolean.fromBoolean(matchesStatically(type));
} else if (kind == DYNAMIC) {
return matchesInstanceof(type);
} else {
throw new IllegalArgumentException("kind must be DYNAMIC or STATIC");
}
}
protected ... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | return false;
}
protected boolean matchesSubtypes(ResolvedType superType, ResolvedType annotatedType) {
if (matchesExactly(superType,annotatedType)) {
return true;
}
for (Iterator i = superType.getDirectSupertypes(); i.hasNext(); ) {
ResolvedType superSuperType = (ResolvedType)i.next();
... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | protected TypePattern notExactType(IScope s) {
s.getMessageHandler().handleMessage(MessageUtil.error(
WeaverMessages.format(WeaverMessages.EXACT_TYPE_PATTERN_REQD), getSourceLocation()));
return NO;
}
}
/**
* This can modify in place, or return a new TypePattern if the type changes.
*/
public Ty... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | public boolean isStar() {
return false;
}
/**
* This is called during concretization of pointcuts, it is used by BindingTypePattern
* to return a new BindingTypePattern with a formal index appropiate for the advice,
* rather than for the lexical declaration, i.e. this handles transforamt... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | public static final byte ELLIPSIS_KEY = 4;
public static final byte ANY_KEY = 5;
public static final byte NOT = 6;
public static final byte OR = 7;
public static final byte AND = 8;
public static final byte NO_KEY = 9;
public static final byte ANY_WITH_ANNO = 10;
public static final byte HAS_MEMBER = 11;
publ... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | /**
* Constructor for EllipsisTypePattern.
* @param includeSubtypes
*/
public EllipsisTypePattern() {
super(false,false,new TypePatternList());
}
/* (non-Javadoc)
* @see org.aspectj.weaver.patterns.TypePattern#couldEverMatchSameTypesAs(org.aspectj.weaver.patterns.TypePattern)
*/
protected boolean couldE... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(IType)
*/
protected boolean matchesExactly(ResolvedType type) {
return false;
}
protected boolean matchesExactly(ResolvedType type, ResolvedType annotatedType) {
return false;
}
/**
* @see org.aspectj.weaver.patterns.TypePattern#matchesInstanc... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | /* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
return 17 * 37;
}
public Object accept(PatternNodeVisitor visitor, Object data) {
return visitor.visit(this, data);
}
public TypePattern parameterizeWith(Map typeVariableMap) {
return this;
}
}
class... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | /**
* @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(IType)
*/
protected boolean matchesExactly(ResolvedType type) {
return true;
}
protected boolean matchesExactly(ResolvedType type, ResolvedType annotatedType) {
return true;
}
/**
* @see org.aspectj.weaver.patterns.TypePattern#matchesIns... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | return true;
}
public boolean isStar() {
return true;
}
public String toString() { return "*"; }
public boolean equals(Object obj) {
return (obj instanceof AnyTypePattern);
}
public int hashCode() {
return 37;
}
public Object accept(PatternNodeVisitor visitor, Object data) {
return v... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | public AnyWithAnnotationTypePattern(AnnotationTypePattern atp) {
super(false,false);
annotationPattern = atp;
}
public Object accept(PatternNodeVisitor visitor, Object data) {
return visitor.visit(this,data);
}
protected boolean couldEverMatchSameTypesAs(TypePattern other) {
return true;
}
protected boo... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | }
public FuzzyBoolean matchesInstanceof(ResolvedType type) {
if (Modifier.isFinal(type.getModifiers())) {
return FuzzyBoolean.fromBoolean(matchesExactly(type));
}
return FuzzyBoolean.MAYBE;
}
public TypePattern parameterizeWith(Map typeVariableMap) {
AnyWithAnnotationTypePattern ret = new AnyWithAnnotatio... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | public boolean isStar() {
return false;
}
public String toString() { return annotationPattern+" *"; }
public boolean equals(Object obj) {
if (!(obj instanceof AnyWithAnnotationTypePattern)) return false;
AnyWithAnnotationTypePattern awatp = (AnyWithAnnotationTypePattern) obj;
return (annotationPattern.e... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | */
protected boolean matchesExactly(ResolvedType type) {
return false;
}
protected boolean matchesExactly(ResolvedType type, ResolvedType annotatedType) {
return false;
}
/**
* @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(IType)
*/
public FuzzyBoolean matchesInstanceof(ResolvedType typ... |
124,808 | Bug 124808 [generics] detecting field-get of field of parameterized type. | Hi, Here is the second generics issue: Java code: ========== public class Test<T extends Integer> { Set<T> ints = new HashSet<T>(); public Set<T> foo() { return ints; } public static void main(String[] args) { Test<Integer> t = new Test<Integer>(); Set<Integer> ints = t.foo(); } } Aspect: ======= public privileged aspe... | resolved fixed | 01a8b2e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T14:25:06Z | 2006-01-22T17:13:20Z | weaver/src/org/aspectj/weaver/patterns/TypePattern.java | public boolean isStar() {
return false;
}
public String toString() { return "<nothing>"; }
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object obj) {
return (obj instanceof NoTypePattern);
}
/* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
pub... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.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... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java | public void testMemberTypesInGenericTypes_pr122458() { runTest("member types in generic types");}
public void testMemberTypesInGenericTypes_pr122458_2() { runTest("member types in generic types - 2");}
public void testNPEOnDeclareAnnotation_pr123695() { runTest("Internal nullptr exception with complex declare a... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.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... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | import org.aspectj.weaver.ShadowMunger;
import org.aspectj.weaver.TypeVariable;
import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.VersionedDataInputStream;
import org.aspectj.weaver.WeaverMessages;
import org.aspectj.weaver.ast.Test;
/**
*/
public class ReferencePointcut extends Pointcut {
public Un... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | this.name = name;
this.arguments = arguments;
this.pointcutKind = REFERENCE;
}
public Set couldMatchKinds() {
return Shadow.ALL_SHADOW_KINDS;
}
public FuzzyBoolean fastMatch(FastMatchInfo type) {
return FuzzyBoolean.MAYBE;
}
/**
* Do I really match this shadow?
*/
protected FuzzyBoolean matchI... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | public void write(DataOutputStream s) throws IOException {
s.writeByte(Pointcut.REFERENCE);
if (onType != null) {
s.writeBoolean(true);
onType.write(s);
} else {
s.writeBoolean(false);
}
s.writeUTF(name);
arguments.write(s);
writeLocation(s);
}
public static Pointcut read(VersionedDataI... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | if (ResolvedType.isMissing(onType)) return;
}
ResolvedType searchType;
if (onType != null) {
searchType = scope.getWorld().resolve(onType);
} else {
searchType = scope.getEnclosingType();
}
arguments.resolveBindings(scope, bindings, true, true);
ResolvedPointcutDefinition poin... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | }
}
if (pointcutDef == null) {
scope.message(IMessage.ERROR, this, "can't find referenced pointcut " + name);
return;
}
if (!pointcutDef.isVisible(scope.getEnclosingType())) {
scope.message(IMessage.ERROR, this, "pointcut declaration " + pointcutDef + " is not accessible");
return;
}
... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | if (parameterTypes.length != arguments.size()) {
scope.message(IMessage.ERROR, this, "incompatible number of arguments to pointcut, expected " +
parameterTypes.length + " found " + arguments.size());
return;
}
if (onType != null) {
if (onType.isParameterizedType()) {
typeVariabl... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | if (p == TypePattern.NO) {
scope.message(IMessage.ERROR, this,
"bad parameter to pointcut reference");
return;
}
if (!p.matchesSubtypes(parameterTypes[i]) &&
!p.getExactType().equals(UnresolvedType.OBJECT))
{
scope.message(IMessage.ERROR, p, "incompatible type, expected " +
param... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | MessageUtil.error(WeaverMessages.format(WeaverMessages.CIRCULAR_POINTCUT,this),
getSourceLocation()));
return Pointcut.makeMatchesNothing(Pointcut.CONCRETE);
}
try {
concretizing = true;
ResolvedPointcutDefinition pointcutDec;
if (onType != null) {
searchStart = onType.resolve(searchS... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | if (pointcutDec.isAbstract()) {
ShadowMunger enclosingAdvice = bindings.getEnclosingAdvice();
searchStart.getWorld().showMessage(IMessage.ERROR,
WeaverMessages.format(WeaverMessages.ABSTRACT_POINTCUT,pointcutDec),
getSourceLocation(),
(null == enclosingAdvice) ? null : enclosingAdvice.g... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | ResolvedType underlyingGenericType = searchStart.getGenericType();
TypeVariable[] tVars = underlyingGenericType.getTypeVariables();
ResolvedType[] typeParams = searchStart.getResolvedTypeParameters();
for (int i = 0; i < tVars.length; i++) {
typeVariableMap.put(tVars[i].getName(),typeParams[i]);
}
... |
124,654 | Bug 124654 Capture method annotation in generic aspect does not compile | null | resolved fixed | 28f8c69 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T15:21:18Z | 2006-01-20T15:13:20Z | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | public Pointcut parameterizeWith(Map typeVariableMap) {
ReferencePointcut ret = new ReferencePointcut(onType,name,arguments);
ret.onTypeSymbolic = onTypeSymbolic;
ret.typeVariableMap = typeVariableMap;
return ret;
}
protected boolean shouldCopyLocationForConcretize() {
return false;
}
... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.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
* htt... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | import org.aspectj.bridge.IMessage;
import org.aspectj.testing.util.FileUtil;
/**
* The superclass knows all about talking through Ajde to the compiler.
* The superclass isn't in charge of knowing how to simulate overlays
* for incremental builds, that is in here. As is the ability to
* generate valid build config... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("P1");
build("P1");
build("P1");
checkWasntFullBuild();
checkCompileWeaveCount(0,0);
}
public void testSimpleChanges() {
initialiseProject("P1");
build("P1");
alter("P1","inc1");
build("P1");
checkCompileWeaveCount(1,-1);
build("P1");
checkCompileWeaveCount(0,-1);
}
... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("P1");
long timeTakenForSimpleIncBuild = getTimeTakenForBuild();
assertTrue("Should not take longer for the trivial incremental build! first="+timeTakenForFullBuildAndWeave+
"ms second="+timeTakenForSimpleIncBuild+"ms",
timeTakenForSimpleIncBuild<timeTakenForFullBuildAndWeave);
}
p... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | configureBuildStructureModel(true);
initialiseProject("P1");
initialiseProject("P2");
build("P1");
build("P2");
build("P1");
checkWasntFullBuild();
build("P2");
checkWasntFullBuild();
alter("P1","inc1");
alter("P1","inc2");
build("P1");
checkWasntFullBuild();
}
/**
* Setup up... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("P1");
checkForNode("pkg","C",true);
build("P2");
checkForNode("pkg","C",false);
build("P1");
checkForNode("pkg","C",true);
build("P2");
checkForNode("pkg","C",false);
}
public void testBuildingTwoProjectsAndVerifyingStuff() {
configureBuildStructureModel(true);
initialiseProject("P... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * the last full build correctly. We build a simple project from scratch - this will
* be a full build and so the structural changes since last build count should be 0.
* We then alter a class, adding a new method and check structural changes is 1.
*/
public void testStateManagement1() {
File binDirectoryFo... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * Complex. Here we are testing that a state object records structural changes since
* the last full build correctly. We build a simple project from scratch - this will
* be a full build and so the structural changes since last build count should be 0.
* We then alter a class, changing body of a method, not the ... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | /**
* Now the most complex test. Create a dependancy between two projects. Building
* one may affect whether the other does an incremental or full build. The
* structural information recorded in the state object should be getting used
* to control whether a full build is necessary...
*/
public void testBu... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr85132() {
initialiseProject("PR85132");
build("PR85132");
alter("PR85132","inc1");
build("PR85132");
}
public void testPr92837() {
initialiseProject("PR92837");
build("PR92837");
alter("PR92837","inc1");
build("PR92837");
}
public void testPr119570() {
initialiseProject("PR11... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("pr117209");
configureNonStandardCompileOptions("-proceedOnError");
build("pr117209");
checkCompileWeaveCount(6,6);
} finally {
MyBuildOptionsAdapter.reset();
}
}
public void testPr114875() {
initialiseProject("pr114875");
build("pr114875");
alter("pr114875","inc1");
build(... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("PR117882_2");
build("PR117882_2");
checkWasFullBuild();
alter("PR117882_2","inc1");
build("PR117882_2");
checkWasntFullBuild();
}
public void testPr115251() {
initialiseProject("PR115251");
build("PR115251");
checkWasFullBuild();
alter("PR115251","inc1");
build("PR... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | }
/* public void testPr111779() {
super.VERBOSE=true;
initialiseProject("PR111779");
build("PR111779");
alter("PR111779","inc1");
build("PR111779");
}
*/
public void testPr93310_1() {
initialiseProject("PR93310_1");
build("PR93310_1");
checkWasFullBuild();
String fileC2 = getWorkingDir().getAbsolu... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | (new File(fileC2)).delete();
alter("PR93310_2","inc1");
build("PR93310_2");
checkWasFullBuild();
int l = AjdeInteractionTestbed.MyStateListener.detectedDeletions.size();
assertTrue("Expected one deleted file to be noticed, but detected: "+l,l==1);
String name = (String)AjdeInteractionTestbed.MyStateListene... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | ((IMessage)MyTaskListManager.getErrorMessages().get(0))
.getMessage());
}
public void testPr112736() {
AjdeInteractionTestbed.VERBOSE = true;
initialiseProject("PR112736");
build("PR112736");
checkWasFullBuild();
String fileC2 = getWorkingDir().getAbsolutePath() + File.separatorChar + "PR112736" + File... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR123612","inc1");
build("PR123612");
checkWasntFullBuild();
}
/**
* Check we compiled/wove the right number of files, passing '-1' indicates you don't care about
* that number.
*/
private void checkCompileWeaveCount(int expCompile,int expWoven) {
if (expCompile!=-1 && getCompiledFiles()... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | private void checkForNode(String packageName,String typeName,boolean shouldBeFound) {
IProgramElement ipe = AsmManager.getDefault().getHierarchy().findElementForType(packageName,typeName);
if (shouldBeFound) {
if (ipe==null) printModel();
assertTrue("Should have been able to find '"+packageName+"."+... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | File projectBase = new File(sandboxDir,pname);
File toConstruct = new File(projectBase,configname);
List filesForCompilation = new ArrayList();
collectUpFiles(projectBase,projectBase,filesForCompilation);
try {
FileOutputStream fos = new FileOutputStream(toConstruct);
DataOutputStream dos = new DataOutput... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | if (!fileFound.startsWith(toRemove)) throw new RuntimeException("eh? "+fileFound+" "+toRemove);
collectionPoint.add(fileFound.substring(toRemove.length()+1));
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
/**
* Fill in the working directory with the project base files,
* from... |
124,399 | Bug 124399 AJDT AspectJ Internal Compiler Error | In Eclipse 3.1.1 with AJDT 1.3 (the December 20th 2005 release) I got this message in an error dialog: org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1216) at org.aspectj.weaver.bcel.LazyClassGen.getLazyMethodGen(LazyClassGen.java:1201) at org.aspectj.weaver.bc... | resolved fixed | d916002 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T09:59:17Z | 2006-01-18T21:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | /**
* Copy the contents of some directory to another location - the
* copy is recursive.
*/
private void copy(File from, File to) {
String contents[] = from.list();
if (contents==null) return;
for (int i = 0; i < contents.length; i++) {
String string = contents[i];
File f = new File(from,string);
... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.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... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | import org.aspectj.org.eclipse.jdt.internal.compiler.ast.FieldReference;
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.MessageSend;
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference;
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference;
import org.aspe... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | PrivilegedHandler handler;
AspectDeclaration inAspect;
EclipseFactory world;
public boolean isInlinable = true;
public AccessForInlineVisitor(AspectDeclaration inAspect, PrivilegedHandler handler) { |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | this.inAspect = inAspect;
this.world = inAspect.factory;
this.handler = handler;
}
public void endVisit(SingleNameReference ref, BlockScope scope) {
if (ref.binding instanceof FieldBinding) {
ref.binding = getAccessibleField((FieldBinding)ref.binding, ref.actualReceiverType);
}
}
public void endVisit... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | }
}
}
public void endVisit(FieldReference ref, BlockScope scope) {
ref.binding = getAccessibleField(ref.binding, ref.receiverType);
}
public void endVisit(MessageSend send, BlockScope scope) {
if (send instanceof Proceed) return;
if (send.binding == null || !send.binding.isValidBinding()) return;
if (s... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | }
public void endVisit(
SingleTypeReference ref,
BlockScope scope)
{
makePublic(ref.resolvedType);
}
private FieldBinding getAccessibleField(FieldBinding binding, TypeBinding receiverType) {
if (binding == null || !binding.isValidBinding()) return binding;
makePublic(receiverType);
if (isPubl... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | private MethodBinding getAccessibleMethod(MethodBinding binding, TypeBinding receiverType) {
if (!binding.isValidBinding()) return binding;
makePublic(receiverType);
if (isPublic(binding)) return binding;
if (binding instanceof InterTypeMethodBinding) return binding;
ResolvedMember m = null;
if (bindin... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | public ResolvedMember originalMethod;
public MethodBinding accessMethod;
public SuperAccessMethodPair(ResolvedMember originalMethod, MethodBinding accessMethod) {
this.originalMethod = originalMethod;
this.accessMethod = accessMethod;
}
}
private MethodBinding getSuperAccessMethod(MethodBinding binding)... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | private boolean isPublic(MethodBinding methodBinding) {
if (methodBinding instanceof InterTypeMethodBinding) return true;
return methodBinding.isPublic();
}
private void makePublic(TypeBinding binding) {
if (binding == null || !binding.isValidBinding()) return;
if (binding instanceof ReferenceBinding) {
... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.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... |
124,999 | Bug 124999 [generics] Incorrect call to generic inherited method in around advice | null | resolved fixed | a4bd19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-24T16:47:42Z | 2006-01-24T13:40:00Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java | public void testMemberTypesInGenericTypes_pr122458() { runTest("member types in generic types");}
public void testMemberTypesInGenericTypes_pr122458_2() { runTest("member types in generic types - 2");}
public void testNPEOnDeclareAnnotation_pr123695() { runTest("Internal nullptr exception with complex declare a... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.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 distributi... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | *
* Contributors:
* PARC initial implementation
* Alexandre Vasseur perClause support for @AJ aspects
* ******************************************************************/
package org.aspectj.weaver.bcel;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import jav... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | import org.aspectj.apache.bcel.generic.NEWARRAY;
import org.aspectj.apache.bcel.generic.ObjectType;
import org.aspectj.apache.bcel.generic.PUTSTATIC;
import org.aspectj.apache.bcel.generic.Type;
import org.aspectj.apache.bcel.util.ClassLoaderRepository;
import org.aspectj.apache.bcel.util.ClassPath;
import org.aspectj.... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | private ClassPathManager classPath;
private Repository delegate;
public BcelWorld() {
this("");
}
public BcelWorld(String cp) {
this(makeDefaultClasspath(cp), IMessageHandler.THROW, null);
}
private static List makeDefaultClasspath(String cp) {
List classPath = new ArrayList();
classPa... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | return ret;
}
public BcelWorld(List classPath, IMessageHandler handler, ICrossReferenceHandler xrefHandler) {
this.classPath = new ClassPathManager(classPath, handler);
setMessageHandler(handler);
setCrossReferenceHandler(xrefHandler);
delegate = this;
}
public BcelWorld(ClassPa... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public BcelWorld(ClassLoader loader, IMessageHandler handler, ICrossReferenceHandler xrefHandler) {
this.classPath = null;
setMessageHandler(handler);
setCrossReferenceHandler(xrefHandler);
delegate = new ClassLoaderRepository(loader);
}
public void addPat... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | i = str.indexOf(':', i);
start = ++i;
i = str.indexOf("->", i);
Pointcut pointcut = Pointcut.fromString(str.substring(start, i).trim());
Member m = MemberImpl.methodFromString(str.substring(i+2, str.length()).trim());
UnresolvedType[] types = m.getParamet... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | }
return (String[]) l.toArray(new String[l.size()]);
}
public static Type makeBcelType(UnresolvedType type) {
return Type.getType(type.getErasureSignature());
}
static Type[] makeBcelTypes(UnresolvedType[] types) {
Type[] ret = new Type[types.length];
for (int i... |
125,101 | Bug 125101 StackOverFlow in ReferenceType.isAssignableFrom() | Hi. I am weaving two aspects into a jar file "jar-to-jar". ajc 1.5.0 gives me a huge error message (see attachement). Would be great if I could get any recommendations on this. Thanks! Eric | resolved fixed | efb20c5 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-25T17:41:21Z | 2006-01-25T00:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | return ret;
}
public ResolvedType resolve(Type t) {
return resolve(fromBcel(t));
}
protected ReferenceTypeDelegate resolveDelegate(ReferenceType ty) {
String name = ty.getName();
JavaClass jc = null;
if (jc == null) {
jc = lookupJavaCla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.