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
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
/* ******************************************************************* * Copyright (c) 2005-2010 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 ...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
/** * Create a parameterized version of a generic type. * * @param aGenericType * @param someTypeParameters note, in the case of an inner type of a parameterized type, this parameter may legitimately be null * @param inAWorld * @return */ public static ReferenceType createParameterizedType(ResolvedType ...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
throw new IllegalStateException("Raw type does not have generic type set"); } } } ResolvedType[] resolvedParameters = inAWorld.resolve(someTypeParameters); ReferenceType pType = new ReferenceType(baseType, resolvedParameters, inAWorld); return (ReferenceType) pType.resolve(inAWorld); } /** * Crea...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
*/ static UnresolvedType convertSigToType(String aSignature) { UnresolvedType bound = null; int startOfParams = aSignature.indexOf('<'); if (startOfParams == -1) { bound = UnresolvedType.forSignature(aSignature); } else { int endOfParams = aSignature.lastIndexOf('>'); String signatureErasure = "L" + a...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
String signatureErasure = "L" + signature.substring(1); return new UnresolvedType(signature, signatureErasure, UnresolvedType.NONE); } else { int endOfParams = locateMatchingEndAngleBracket(signature, startOfParams); StringBuffer erasureSig = new StringBuffer(signature); erasureSig.setCharAt(0, 'L');...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
int firstAngleBracket = signature.indexOf('<'); s.append("P").append(signature.substring(1, firstAngleBracket)); s.append('<'); for (UnresolvedType typeParameter : typeParams) { s.append(typeParameter.getSignature()); } s.append(">;"); signature = s.toString(); return new UnresolvedType...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
int dims = 0; while (signature.charAt(dims) == '[') { dims++; } UnresolvedType componentType = createTypeFromSignature(signature.substring(dims)); return new UnresolvedType(signature, signature.substring(0, dims) + componentType.getErasureSignature()); } else if (signature.length() == 1) { switch ...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
} else if (firstChar == 'L') { int leftAngleBracket = signature.indexOf('<'); if (leftAngleBracket == -1) { return new UnresolvedType(signature); } else { int endOfParams = locateMatchingEndAngleBracket(signature, leftAngleBracket); StringBuffer erasureSig = new StringBuffer(signature); era...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
endOfParams = locateMatchingEndAngleBracket(lastType, leftAngleBracket); typeParams = createTypeParams(lastType.substring(leftAngleBracket + 1, endOfParams)); } StringBuilder s = new StringBuilder(); int firstAngleBracket = signature.indexOf('<'); s.append("P").append(signature.substring(1, firstAn...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
break; } count--; } } return idx; } private static int locateFirstBracket(StringBuffer signature) { int idx = 0; int max = signature.length(); while (idx < max) { if (signature.charAt(idx) == '<') { return idx; } idx++; } return -1; } private static UnresolvedType[] createTypeP...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
anglies++; hadAnglies = true; break; case '>': anglies--; break; case '[': if (anglies == 0) { int nextChar = endOfSig + 1; while (remainingToProcess.charAt(nextChar) == '[') { nextChar++; } if ("BCDFIJSZ".indexOf(remainingToProcess.charAt(nextChar)...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
forProcessing = "P" + forProcessing.substring(1); } types.add(createTypeFromSignature(forProcessing)); remainingToProcess = remainingToProcess.substring(endOfSig); } UnresolvedType[] typeParams = new UnresolvedType[types.size()]; types.toArray(typeParams); return typeParams; } /** * Create a sign...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
/******************************************************************************* * Copyright (c) 2008 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 * ...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
public void testPerThis() { runTest("perthis"); } public void testPerTarget() { runTest("pertarget"); } public void testPerCflow() { runTest("percflow"); } public void testPerTypeWithin() { runTest("pertypewithin"); } public void testDiamond1() { runTest("diamond 1"); } public void testDiamond2() ...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
runTest("diamond itd 1"); } public void testLiterals1() { runTest("literals 1"); } public void testLiterals2() { runTest("literals 2"); } public void testLiteralsItd1() { runTest("literals itd 1"); } public void testStringSwitch1() { runTest("string switch 1"); } public void testStringSwitch2() { ru...
371,684
Bug 371684 type construction for signature makes mistakes with wildcards
If you have a type with multiple type params, like this: Foo<?,T> the signature is: LFoo<*TT;>; and the handling of * is not working in TypeFactory. If that signature is passed in it will actually build: Foo<?> having lost the second type parameter, this breaks code later that has expectations on the number of params. ...
resolved fixed
89756cd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-02-15T22:25:02Z
2012-02-15T21:06:40Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
public void testSanity1() { runTest("sanity 1"); } public void testMissingImpl_363979() { runTest("missing impl"); } public void testMissingImpl_363979_2() { runTest("missing impl 2"); } public void testStackOverflow_364380() { runTest("stackoverflow"); } public static Test suite() { r...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
/******************************************************************************* * Copyright (c) 2008 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 * ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
public void testGenericsWithTwoTypeParamsOneWildcard() { UnresolvedType ut; ut = TypeFactory.createTypeFromSignature("LFoo<**>;"); assertEquals(2,ut.getTypeParameters().length); ut = TypeFactory.createTypeFromSignature("LFoo<***>;"); assertEquals(3,ut.getTypeParameters().length); ut = TypeFactory.c...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
ut = TypeFactory.createTypeFromSignature("LFoo<*TT;>;"); assertEquals(2,ut.getTypeParameters().length); ut = TypeFactory.createTypeFromSignature("LFoo<[I>;"); assertEquals(1,ut.getTypeParameters().length); ut = TypeFactory.createTypeFromSignature("LFoo<[I[Z>;"); assertEquals(2,ut.getTypeParameters().length...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
runTest("diamond itd 1"); } public void testLiterals1() { runTest("literals 1"); } public void testLiterals2() { runTest("literals 2"); } public void testLiteralsItd1() { runTest("literals itd 1"); } public void testStringSwitch1() { runTest("string switch 1"); } public void testStringSwitch2() { ru...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
public void testSanity1() { runTest("sanity 1"); } public void testMissingImpl_363979() { runTest("missing impl"); } public void testMissingImpl_363979_2() { runTest("missing impl 2"); } public void testStackOverflow_364380() { runTest("stackoverflow"); } public static Test suite() { r...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33: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 ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
import org.aspectj.apache.bcel.classfile.LocalVariableTable; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.Unknown; import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen; import org.aspectj.apache.bcel.classfile.annotation.ArrayElementValue; import org.aspectj.apa...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedPointcutDefinition; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.VersionedDataInputStream; import org.aspectj.weaver.WeaverMessages; import org.aspectj.weaver.World; import org.aspe...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private final static List<AjAttribute> NO_ATTRIBUTES = Collections.emptyList(); private final static String[] EMPTY_STRINGS = new String[0]; private final static String VALUE = "value"; private final static String ARGNAMES = "argNames"; private final static String POINTCUT = "pointcut"; private final static String...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * The list of AjAttribute.XXX that we are populating from the @AJ read */ List<AjAttribute> ajAttributes = new ArrayList<AjAttribute>(); /** * The resolved type (class) for which we are reading @AJ for (be it class, method, field annotations) */ final ResolvedType enclosingType; final ISourceCon...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private String[] m_argumentNamesLazy = null; public String unparsedArgumentNames = null; final Method method; final BcelMethod bMethod; public AjAttributeMethodStruct(Method method, BcelMethod bMethod, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) { super(type, s...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
final Field field; public AjAttributeFieldStruct(Field field, BcelField bField, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) { super(type, sourceContext, messageHandler); this.field = field; } } /** * Annotations are RuntimeVisible only. This allow us to not ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @param type * @param context * @param msgHandler * @return list of AjAttributes */ public static List<AjAttribute> readAj5ClassAttributes(AsmManager model, JavaClass javaClass, ReferenceType type, ISourceContext context, IMessageHandler msgHandler, boolean isCodeStyleAspect) { boolean ignoreThisClass = ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } } } if (!containsAnnotationClassReference) { return NO_ATTRIBUTES; } AjAttributeStruct struct = new AjAttributeStruct(type, context, msgHandler); Attribute[] attributes = javaClass.getAttributes(); boolean hasAtAspectAnnotation = false; boolean hasAtPrecedenceAnnotation = false; WeaverVers...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (attribute.getName().equals(WeaverVersionInfo.AttributeName)) { try { VersionedDataInputStream s = new VersionedDataInputStream(new ByteArrayInputStream( ((Unknown) attribute).getBytes()), null); wvinfo = WeaverVersionInfo.read(s); struct.ajAttributes.add(0, wvinfo); } catch (IOExceptio...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
struct.ajAttributes.add(0, wvinfo = new AjAttribute.WeaverVersionInfo()); } } if (hasAtPrecedenceAnnotation && !hasAtAspectAnnotation) { msgHandler.handleMessage(new Message("Found @DeclarePrecedence on a non @Aspect type '" + type.getName() + "'", IMessage.WARNING, null, type.getSourceLocation())); ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int i = 0; i < javaClass.getMethods().length; i++) { Method method = javaClass.getMethods()[i]; if (method.getName().startsWith(NameMangler.PREFIX)) { continue; } AjAttributeMethodStruct mstruct = null; boolean processedPointcut = false; Attribute[] mattributes = method.getAttributes...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (acceptAttribute(mattribute)) { mstruct = new AjAttributeMethodStruct(method, null, type, context, msgHandler); processedPointcut = handlePointcutAnnotation((RuntimeAnnos) mattribute, mstruct); if (!processedPointcut) { processedPointcut = handleDeclareMixinAnnotation((RuntimeA...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
Attribute fattribute = fattributes[j]; if (acceptAttribute(fattribute)) { RuntimeAnnos frvs = (RuntimeAnnos) fattribute; if (handleDeclareErrorOrWarningAnnotation(model, frvs, fstruct) || handleDeclareParentsAnnotation(frvs, fstruct)) { if (!type.isAnnotationStyleAspect() && !is...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
public static List<AjAttribute> readAj5MethodAttributes(Method method, BcelMethod bMethod, ResolvedType type, ResolvedPointcutDefinition preResolvedPointcut, ISourceContext context, IMessageHandler msgHandler) { if (method.getName().startsWith(NameMangler.PREFIX)) { return Collections.emptyList(); } AjAttr...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
|| handleAfterReturningAnnotation(rvs, struct, preResolvedPointcut, bMethod); hasAtAspectJAnnotationMustReturnVoid = hasAtAspectJAnnotationMustReturnVoid || handleAfterThrowingAnnotation(rvs, struct, preResolvedPointcut, bMethod); hasAtAspectJAnnotation = hasAtAspectJAnnotation || handleAroundAnnotatio...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (hasAtAspectJAnnotation && struct.method.isStatic()) { msgHandler.handleMessage(MessageUtil.error("Advice cannot be declared static '" + methodToString(struct.method) + "'", type.getSourceLocation())); } if (hasAtAspectJAnnotationMustReturnVoid && !Type.VOID.equals(...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
*/ public static List<AjAttribute> readAj5FieldAttributes(Field field, BcelField bField, ResolvedType type, ISourceContext context, IMessageHandler msgHandler) { return Collections.emptyList(); } /** * Read @Aspect * * @param runtimeAnnotations * @param struct * @return true if found */ priv...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (!extendsAspect) { perClause = new PerSingleton(); } else { perClause = new PerFromSuper(struct.enclosingType.getSuperclass().getPerClause().getKind()); } } else { String perX = aspectPerClause.getValue().stringifyValue(); if (perX == null || perX.length() <= 0) { perClause = new Pe...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
aspectAttribute.setResolutionScope(binding); return true; } } return false; } /** * Read a perClause, returns null on failure and issue messages * * @param perClauseString like "pertarget(.....)" * @param struct for which we are parsing the per clause * @return a PerClause instance */ private...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else if (perClauseString.startsWith(PerClause.KindAnnotationPrefix.PERTARGET.getName())) { pointcutString = PerClause.KindAnnotationPrefix.PERTARGET.extractPointcut(perClauseString); pointcut = parsePointcut(pointcutString, struct, false); perClause = new PerObject(pointcut, false); } else if (perClauseStr...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * Read @DeclarePrecedence * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handlePrecedenceAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeStruct struct) { AnnotationGen aspect = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREPRECEDEN...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * Read @DeclareParents * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleDeclareParentsAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeFieldStruct struct) { AnnotationGen decp = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLA...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
struct.enclosingType.getWorld()); if (fieldType.isInterface()) { TypePattern parent = parseTypePattern(fieldType.getName(), struct); FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; IScope binding = new BindingScope(struct.enclosingType, struct.context, bindings); ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33: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(defaultImplClassName, false); ResolvedMember[] mm = impl.getDeclaredMethods(); int implModifiers = ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } } } if (hasNoCtorOrANoArgOne) { break; } } if (!hasNoCtorOrANoArgOne) { if (foundOneOfIncorrectVisibility != null) { reportError( "@DeclareParents: defaultImpl=\"" + defaultImplClassName + "\" has...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
ResolvedMember method = methodIterator.next(); if (method.isAbstract()) { hasAtLeastOneMethod = true; ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
defaultImplClassName, typePattern); mdtm.setFieldType(fieldType); mdtm.setSourceLocation(struct.enclosingType.getSourceLocation()); struct.ajAttributes.add(new AjAttribute.TypeMunger(mdtm)); } } if (hasAtLeastOneMethod && defaultImplClassName != null) { Resol...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
sb.append(" ").append(methodstructure.enclosingType).append(".").append(methodstructure.method.getName()); sb.append("("); Type[] args = methodstructure.method.getArgumentTypes(); if (args != null) { for (int t = 0; t < args.length; t++) { if (t > 0) { sb.append(","); } sb.append(args[t].toStr...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return false; } Method annotatedMethod = struct.method; World world = struct.enclosingType.getWorld(); NameValuePair declareMixinPatternNameValuePair = getAnnotationElement(declareMixinAnnotation, VALUE); String declareMixinPattern = declareMixinPatternNameValuePair.getValue().stringifyValue(); TypePatte...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int i = 0; i < numberOfTypes; i++) { ClassElementValue interfaceType = (ClassElementValue) theTypes[i]; ResolvedType ajInterfaceType = UnresolvedType.forSignature(interfaceType.getClassString().replace("/", ".")) .resolve(world); if (ajInterfaceType.isMissing() || !ajInterfaceType.isInt...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
TypePattern newParent = parseTypePattern(methodReturnType.getName(), struct); newInterfaceTypes.add(methodReturnType); newParents.add(newParent); } if (newParents.size() == 0) { return false; } FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; IScope binding = ne...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
ResolvedMember method = methods[i]; if (method.isAbstract()) { hasAtLeastOneMethod = true; if (method.hasBackingGenericMember()) { method = method.getBackingGenericMember(); } MethodDelegateTypeMunger mdtm = new MethodDelegateTypeMunger(method, struct.enclosingType, "", targetTypePa...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
ResolvedPointcutDefinition preResolvedPointcut) { AnnotationGen before = getAnnotation(runtimeAnnotations, AjcMemberMaker.BEFORE_ANNOTATION); if (before != null) { NameValuePair beforeAdvice = getAnnotationElement(before, VALUE); if (beforeAdvice != null) { String argumentNames = getArgNamesValue(bef...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
setIgnoreUnboundBindingNames(pc, bindings); ISourceLocation sl = struct.context.makeSourceLocation(struct.bMethod.getDeclarationLineNumber(), struct.bMethod.getDeclarationOffset()); struct.ajAttributes.add(new AjAttribute.AdviceAttribute(AdviceKind.Before, pc, extraArgument, sl.getOffset(), sl .getO...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
try { bindings = extractBindings(struct); } catch (UnreadableDebugInfoException unreadableDebugInfoException) { return false; } IScope binding = new BindingScope(struct.enclosingType, struct.context, bindings); int extraArgument = extractExtraArgument(struct.method); Pointcut pc = nul...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* Read @AfterReturning * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleAfterReturningAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPointcut, BcelMethod owningMethod) throws Returni...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (annReturned != null) { returned = annReturned.getValue().stringifyValue(); if (isNullOrEmpty(returned)) { returned = null; } else { String[] pNames = owningMethod.getParameterNames(); if (pNames == null || pNames.length == 0 || !Arrays.asList(pNames).contains(returned)) { ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (returned != null) { extraArgument |= Advice.ExtraArgument; } Pointcut pc = null; if (preResolvedPointcut != null) { pc = preResolvedPointcut.getPointcut(); } else { pc = parsePointcut(pointcut, struct, false); if (pc == null) { return false; } pc.resolve(binding); } se...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private static boolean handleAfterThrowingAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPointcut, BcelMethod owningMethod) throws ThrownFormalNotDeclaredInAdviceSignatureException { AnnotationGen after = getAnnotation(runtimeAnnotations, AjcMem...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String[] pNames = owningMethod.getParameterNames(); if (pNames == null || pNames.length == 0 || !Arrays.asList(pNames).contains(thrownFormal)) { throw new ThrownFormalNotDeclaredInAdviceSignatureException(thrownFormal); } } } String argumentNames = getArgNamesValue(after); if (argumentNames...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else { pc = parsePointcut(pointcut, struct, false); if (pc == null) { return false; } pc.resolve(binding); } setIgnoreUnboundBindingNames(pc, bindings); ISourceLocation sl = struct.context.makeSourceLocation(struct.bMethod.getDeclarationLineNumber(), struct.bMethod.getDeclarationOff...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String argumentNames = getArgNamesValue(around); if (argumentNames != null) { struct.unparsedArgumentNames = argumentNames; } FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; try { bindings = extractBindings(struct); } catch (UnreadableDebugInfoException unreada...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } return false; } /** * Read @Pointcut and handle the resolving in a lazy way to deal with pointcut references * * @param runtimeAnnotations * @param struct * @return true if a pointcut was handled */ private static boolean handlePointcutAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeMetho...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (argumentNames != null) { struct.unparsedArgumentNames = argumentNames; } final IScope binding; try { if (struct.method.isAbstract()) { binding = null; } else { binding = new BindingScope(struct.enclosingType, struct.context, extractBindings(struct)); } } catch (UnreadableDebugInfoExce...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else { pc = parsePointcut(pointcutExpr.getValue().stringifyValue(), struct, true); if (pc == null) { return false; } pc.setLocation(struct.context, -1, -1); } } struct.ajAttributes.add(new AjAttribute.PointcutDeclarationAttribute(ne...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
))); return true; } /** * Read @DeclareError, @DeclareWarning * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleDeclareErrorOrWarningAnnotation(AsmManager model, RuntimeAnnos runtimeAnnotations, AjAttributeFieldStruct struct) { AnnotationGen err...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } AnnotationGen warning = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREWARNING_ANNOTATION); boolean hasWarning = false; if (warning != null) { NameValuePair declareWarning = getAnnotationElement(warning, VALUE); if (declareWarning != null) { if (!STRING_DESC.equals(struct.field.getSignatu...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* if compiled with ajc but not if compiled with javac. 2. creating an AjAttribute called FieldDeclarationLineNumberAttribute * (much like MethodDeclarationLineNumberAttribute) which we can ask for the offset. This will again only fix bug 120356 when * compiled with ajc. * * @param deow * @param struct */ ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
sb.append(method.getSignature()); 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 {...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
|| AjcMemberMaker.TYPEX_STATICJOINPOINT.equals(argumentType) || AjcMemberMaker.TYPEX_ENCLOSINGSTATICJOINPOINT.equals(argumentType) || AjcMemberMaker.AROUND_CLOSURE_TYPE .equals(argumentType))) { bindings.add(new FormalBinding.ImplicitFormalBinding(argumentType, argumentName, i)); } else { bin...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * Compute the flag for the xxxJoinPoint extra argument * * @param method * @return extra arg flag */ private static int extractExtraArgument(Method method) { Type[] methodArgs = method.getArgumentTypes(); String[] sigs = new String[methodArgs.length]; for (int i = 0; i < methodArgs.length; i++)...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* * @param argumentSignatures * @return extra arg flag */ public static int extractExtraArgument(String[] argumentSignatures) { int extraArgument = 0; for (int i = 0; i < argumentSignatures.length; i++) { if (AjcMemberMaker.TYPEX_JOINPOINT.getSignature().equals(argumentSignatures[i])) { extraArgument...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return rv; } } return null; } /** * Returns the value of a given element of an annotation or null if not found Caution: Does not handles default value. * * @param annotation * @param elementName * @return annotation NVP */ private static NameValuePair getAnnotationElement(AnnotationGen annotation...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return null; } private static String lastbit(String fqname) { int i = fqname.lastIndexOf("."); if (i == -1) { return fqname; } else { return fqname.substring(i + 1); } } /** * Extract the method argument names. First we try the debug info attached to the method (the LocalVariableTable) - if we canno...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int j = 0; j < lvt.length; j++) { LocalVariable localVariable = lvt[j]; if (localVariable != null) { if (localVariable.getStartPC() == 0) { if (localVariable.getIndex() >= startAtStackIndex) { arguments.add(new MethodArgument(localVariable.getName(), localVariable.getIndex())); } ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } } } } else { if (argNamesFromAnnotation != null) { StringTokenizer st = new StringTokenizer(argNamesFromAnnotation, " ,"); List<String> args = new ArrayList<String>(); while (st.hasMoreTokens()) { args.add(st.nextToken()); } if (args.size() != method.getArgumentTypes()....
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } if (arguments.size() != method.getArgumentTypes().length) { return EMPTY_STRINGS; } Collections.sort(arguments, new Comparator<MethodArgument>() { public int compare(MethodArgument mo, MethodArgument mo1) { if (mo.indexOnStack == mo1.indexOnStack) { return 0; } else if (mo.indexOnStack...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33: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; } } /** * LazyResolvedPointcutDefinition lazyly resolve the pointcut so that we have time to register all pointcut referenced before * pointcut resolution happens ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private final Pointcut m_pointcutUnresolved; private final IScope m_binding; private Pointcut m_lazyPointcut = null; public LazyResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes, UnresolvedType returnType, Pointcut pointcut, IScope binding...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* Helper to test empty strings * * @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 * ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33: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(message, location.enclosingType.getSourceLocation(), true)); } ...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @param message * @param location */ private static void reportWarning(String message, AjAttributeStruct location) { if (!location.handler.isIgnoring(IMessage.WARNING)) { location.handler.handleMessage(new Message(message, location.enclosingType.getSourceLocation(), false)); } } /** * Parse the given p...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
reportError("Invalid pointcut '" + pointcutString + "': " + e.toString() + (e.getLocation() == null ? "" : " at position " + e.getLocation().getStart()), struct); return null; } } private static boolean hasIf(Pointcut pointcut) { IfFinder visitor = new IfFinder(); pointcut.accept(visitor, null); retur...
371,998
Bug 371998 org.aspectj.weaver.BCException compiling @DeclareParents with value using "||"
Build Identifier: 20110916-0149 Using: import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.DeclareParents; @Aspect public class AspectTest { private interface X {} private static class XImpl {} @DeclareParents(value="java.lang.Runnable || java.util.concurrent.Callable", defaultImpl=XImpl.class...
resolved fixed
f37c56e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-02T16:17:44Z
2012-02-19T19:33:20Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private final String formalName; public ThrownFormalNotDeclaredInAdviceSignatureException(String formalName) { this.formalName = formalName; } public String getFormalName() { return formalName; } } static class ReturningFormalNotDeclaredInAdviceSignatureException extends Exception { private final Stri...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.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...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
private static int nextTokenId = 1; public static final int BATCH_BUILD = 0;
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
public static final int INCREMENTAL_BUILD = 1; public static final int PROCESSING_COMPILATION_UNIT = 2; public static final int RESOLVING_COMPILATION_UNIT = 3; public static final int ANALYSING_COMPILATION_UNIT = 4; public static final int GENERATING_UNWOVEN_CODE_FOR_COMPILATION_UNIT = 5; public static final int C...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
public static final int MATCHING_POINTCUT = 30; public static final int MUNGING_WITH = 31; public static final int PROCESSING_ATASPECTJTYPE_MUNGERS_ONLY = 32; public static final String[] PHASE_NAMES = new String[] { "batch building", "incrementally building", "processing compilation unit", "resolving types def...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
} public static void reset() { if (!multiThreaded) { contextMap.clear(); contextStack.clear(); formatterMap.clear(); nextTokenId = 1; } else { contextMap.remove(Thread.currentThread()); } } public static void setMultiThreaded(boolean mt) { multiThreaded = mt; } public static void reg...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
} StringBuffer sb = new StringBuffer(); while (!explanationStack.isEmpty()) { sb.append("when "); sb.append(explanationStack.pop().toString()); sb.append("\n"); } return sb.toString(); } public static ContextToken enteringPhase(int phaseId, Object data) { Stack<ContextStackEntry> contextStack = get...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
public static void resetForThread() { if (!multiThreaded) { return; } contextMap.remove(Thread.currentThread()); } private static Stack<ContextStackEntry> getContextStack() { if (!multiThreaded) { return contextStack; } else { Stack<ContextStackEntry> contextStack = contextMap.get(Thread.currentThr...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
public int tokenId; public ContextTokenImpl(int id) { this.tokenId = id; } } private static class ContextStackEntry { public ContextTokenImpl contextToken; public int phaseId; private WeakReference<Object> dataRef; public ContextStackEntry(ContextTokenImpl ct, int phase, WeakReference<Object> data) {...
373,195
Bug 373195 Memory leak in CompilationAndWeavingContext leading to PermGen OOME
Build Identifier: 1.6.11 The static contextMap in CompilationAndWeavingContext keeps strong references to Thread instances (which in turn strongly reference their contextClassLoader which prevents all kinds of stuff from unloading). In my particular use case I am running unit tests, each in their own WeavingURLClassLoa...
resolved fixed
6defb4e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-06T16:33:16Z
2012-03-04T05:46:40Z
bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java
public String formatEntry(int phaseId, Object data) { StringBuffer sb = new StringBuffer(); sb.append(PHASE_NAMES[phaseId]); sb.append(" "); if (data instanceof char[]) { sb.append(new String((char[]) data)); } else { try { sb.append(data.toString()); } catch (RuntimeException ex) { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
import org.aspectj.ajdt.internal.core.builder.AjBuildManager; import org.aspectj.bridge.IMessage.Kind; import org.aspectj.bridge.ISourceLocation; import org.aspectj.org.eclipse.jdt.core.Flags; import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNod...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
import org.aspectj.weaver.BCException; import org.aspectj.weaver.BoundedReferenceType; import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.IHasPosition; import org.aspectj.weaver.Member; import org.aspectj.weaver.MemberKind; import org.aspectj.weaver.NameMangler; import org.aspectj.weaver.NewFieldTy...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
public static boolean DEBUG = false; public static int debug_mungerCount = -1; private final AjBuildManager buildManager; private final LookupEnvironment lookupEnvironment; private final boolean xSerializableAspects; private final World world; public PushinCollector pushinCollector; public List<ConcreteTypeMunge...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} public EclipseFactory(LookupEnvironment lookupEnvironment, World world, boolean xSer) { this.lookupEnvironment = lookupEnvironment; this.world = world; this.xSerializableAspects = xSer; this.pushinCollector = PushinCollector.createInstance(this.world); this.buildManager = null; } public World getWorld() ...