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
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
IMessageHandler msgHandler, boolean isCodeStyleAspect) { boolean ignoreThisClass = javaClass.getClassName().charAt(0) == 'o' && javaClass.getClassName().startsWith("org.aspectj.lang.annotation"); if (ignoreThisClass) return EMPTY_LIST; boolean containsPointcut = false; boolean containsAnnotationClassRefe...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
Attribute[] attributes = javaClass.getAttributes(); boolean hasAtAspectAnnotation = false; boolean hasAtPrecedenceAnnotation = false; for (int i = 0; i < attributes.length; i++) { Attribute attribute = attributes[i]; if (acceptAttribute(attribute)) { RuntimeAnnotations rvs = (RuntimeAnnotations) attribu...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int i = 0; i < javaClass.getMethods().length; i++) { Method method = javaClass.getMethods()[i];
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (method.getName().startsWith(NameMangler.PREFIX)) continue; AjAttributeMethodStruct mstruct = null; boolean processedPointcut = false; Attribute[] mattributes = method.getAttributes(); for (int j = 0; j < mattributes.length; j++) { Attribute mattribute = mattributes[j]; if (acceptAttribu...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int j = 0; j < fattributes.length; j++) { Attribute fattribute = fattributes[j]; if (acceptAttribute(fattribute)) { RuntimeAnnotations frvs = (RuntimeAnnotations) fattribute; if (handleDeclareErrorOrWarningAnnotation(model, frvs, fstruct) || handleDeclareParentsAnnotation(frvs, fstruct)) {...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
public static List readAj5MethodAttributes(Method method, BcelMethod bMethod, ResolvedType type, ResolvedPointcutDefinition preResolvedPointcut, ISourceContext context, IMessageHandler msgHandler) { if (method.getName().startsWith(NameMangler.PREFIX)) return Collections.EMPTY_LIST; AjAttributeMethodStruct st...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
break; } } catch (ReturningFormalNotDeclaredInAdviceSignatureException e) { msgHandler.handleMessage(new Message(WeaverMessages.format(WeaverMessages.RETURNING_FORMAL_NOT_DECLARED_IN_ADVICE, e.getFormalName()), IMessage.ERROR, null, bMethod.getSourceLocation())); } catch (ThrownFormalNotDeclaredInAd...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} if (hasAtAspectJAnnotationMustReturnVoid && !Type.VOID.equals(struct.method.getReturnType())) { msgHandler.handleMessage(new Message("Found @AspectJ annotation on a non around advice not returning void '" + methodToString(struct.method) + "'", IMessage.ERROR, null, type.getSourceLocation())); } r...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleAspectAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeStruct struct) { AnnotationGen aspect = getAnnotation(runtimeAnnotations, AjcMemberMaker.ASPECT_ANNOTATION); if (aspect != null) { ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else { perClause = parsePerClausePointcut(perX, struct); } } if (perClause == null) { return false; } else { perClause.setLocation(struct.context, -1, -1); struct.ajAttributes.add(new AjAttribute.WeaverVersionInfo()); AjAttribute.Aspect aspectAttribute = new AjAttribut...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* * @param perClauseString like "pertarget(.....)" * @param struct for which we are parsing the per clause * @return a PerClause instance */ private static PerClause parsePerClausePointcut(String perClauseString, AjAttributeStruct struct) { final String pointcutString; Pointcut pointcut = null; TypePatt...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else if (perClauseString.equalsIgnoreCase(PerClause.SINGLETON.getName() + "()")) { perClause = new PerSingleton(); } else { reportError("@Aspect per clause cannot be read '" + perClauseString + "'", struct); return null; } if (!PerClause.SINGLETON.equals(perClause.getKind()) && !PerClause.PERTYPEWI...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String precedencePattern = precedence.getValue().stringifyValue(); PatternParser parser = new PatternParser(precedencePattern); DeclarePrecedence ajPrecedence = parser.parseDominates(); struct.ajAttributes.add(new AjAttribute.DeclareAttribute(ajPrecedence)); return true; } } return false; }
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * Read @DeclareParents * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleDeclareParentsAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeFieldStruct struct) {
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
AnnotationGen decp = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREPARENTS_ANNOTATION); if (decp != null) { ElementNameValuePairGen decpPatternNVP = getAnnotationElement(decp, VALUE); String decpPattern = decpPatternNVP.getValue().stringifyValue(); if (decpPattern != null) { TypePattern typePat...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String defaultImplClassName = null; ElementNameValuePairGen defaultImplNVP = getAnnotationElement(decp, "defaultImpl"); if (defaultImplNVP != null) { ClassElementValueGen defaultImpl = (ClassElementValueGen) defaultImplNVP.getValue(); defaultImplClassName = UnresolvedType.forSignature(defaultImpl....
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
+ "\" does not implement the interface '" + fieldType.toString() + "'", struct); } } } boolean hasAtLeastOneMethod = false; ResolvedMember[] methods = (ResolvedMember[]) fieldType.getMethodsWithoutIterator(true, false).toArray( new ResolvedMember[0]); for (int i = 0; i < me...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
fieldType, struct.enclosingType), struct.enclosingType, typePattern))); } return true; } else { reportError("@DeclareParents: can only be used on a field whose type is an interface", struct); return false; } } } return false; } /** * Read @Before * * @param runtimeAnnotations...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
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...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* Read @After * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleAfterAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPointcut) { AnnotationGen after = getAnnotation(runtimeAnnotat...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
pc = parsePointcut(afterAdvice.getValue().stringifyValue(), struct, false); if (pc == null) return false; pc.resolve(binding); } setIgnoreUnboundBindingNames(pc, bindings); ISourceLocation sl = struct.context.makeSourceLocation(struct.bMethod.getDeclarationLineNumber(), struct.bMethod ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
ElementNameValuePairGen annReturned = getAnnotationElement(after, RETURNING); String pointcut = null; String returned = null; if ((annValue != null && annPointcut != null) || (annValue == null && annPointcut == null)) { reportError("@AfterReturning: either 'value' or 'poincut' must be provided, not bot...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (argumentNames != null) { struct.unparsedArgumentNames = argumentNames; } FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; try { bindings = (returned == null ? extractBindings(struct) : extractBindings(struct, returned)); } catch (UnreadableDebugInfoException u...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
struct.ajAttributes.add(new AjAttribute.AdviceAttribute(AdviceKind.AfterReturning, pc, extraArgument, sl.getOffset(), sl.getOffset() + 1, struct.context)); return true; } return false; } /** * Read @AfterThrowing * * @param runtimeAnnotations * @param struct * @return true if found */ p...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
pointcut = annValue.getValue().stringifyValue(); } else { pointcut = annPointcut.getValue().stringifyValue(); } if (isNullOrEmpty(pointcut)) { reportError("@AfterThrowing: either 'value' or 'poincut' must be provided, not both", struct); return false; } if (annThrown != null) { thrownForm...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return false; } IScope binding = new BindingScope(struct.enclosingType, struct.context, bindings); int extraArgument = extractExtraArgument(struct.method); if (thrownFormal != null) { extraArgument |= Advice.ExtraArgument; } Pointcut pc = null; if (preResolvedPointcut != null) { pc ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleAroundAnnotation(RuntimeAnnotations runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPointcut) { AnnotationGen around = getAnnotation(runtimeAnnotations, AjcMembe...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (pc == null) return false; pc.resolve(binding); } setIgnoreUnboundBindingNames(pc, bindings); ISourceLocation sl = struct.context.makeSourceLocation(struct.bMethod.getDeclarationLineNumber(), struct.bMethod .getDeclarationOffset()); struct.ajAttributes.add(new AjAttribute.AdviceAttri...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
reportWarning("Found @Pointcut on a method not returning 'void' or not 'public static boolean'", struct); } if (struct.method.getExceptionTable() != null) { reportWarning("Found @Pointcut on a method throwing exception", struct); } String argumentNames = getArgNamesValue(pointcut); if (argumentN...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else { reportError("Found defined @Pointcut on an abstract method", struct); return false; } } else { if (pointcutExpr == null || isNullOrEmpty(pointcutExpr.getValue().stringifyValue())) { } else { pc = parsePointcut(pointcutExpr.getValue().stringifyValue(), struct, true); ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * Read @DeclareError, @DeclareWarning * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleDeclareErrorOrWarningAnnotation(AsmManager model, RuntimeAnnotations runtimeAnnotations, AjAttributeFieldStruct struct) { AnnotationGen error = getAnnotat...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
AnnotationGen warning = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREWARNING_ANNOTATION); boolean hasWarning = false; if (warning != null) { ElementNameValuePairGen declareWarning = getAnnotationElement(warning, VALUE); if (declareWarning != null) { if (!STRING_DESC.equals(struct.field.getSigna...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* compiled with ajc. * * @param deow * @param struct */ private static void setDeclareErrorOrWarningLocation(AsmManager model, DeclareErrorOrWarning deow, AjAttributeFieldStruct struct) { IHierarchy top = (model == null ? null : model.getHierarchy()); if (top != null && top.getRoot() != null) { IProgra...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * 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 { Method method = struct.method; String[] argumentNames ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
bindings.add(new FormalBinding.ImplicitFormalBinding(argumentType, argumentName, i)); } else { bindings.add(new FormalBinding(argumentType, argumentName, i)); } } return (FormalBinding[]) bindings.toArray(new FormalBinding[] {}); } private static FormalBinding[] extractBindings(AjAttributeMethodStruct...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
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++)...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int i = 0; i < argumentSignatures.length; i++) { if (AjcMemberMaker.TYPEX_JOINPOINT.getSignature().equals(argumentSignatures[i])) { extraArgument |= Advice.ThisJoinPoint; } else if (AjcMemberMaker.TYPEX_PROCEEDINGJOINPOINT.getSignature().equals(argumentSignatures[i])) { extraArgument |= Advice.ThisJo...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * 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 ElementNameValuePairGen getAnnotationElement(AnnotationGen annotation, String elementName) { for...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
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 cannot * find that we look to use the argNames value that may have been supplied on the associated annotation. If ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } } else { if (argNamesFromAnnotation != null) { StringTokenizer st = new StringTokenizer(argNamesFromAnnotation, " ,"); List args = new ArrayList(); while (st.hasMoreTokens()) { args.add(st.nextToken()); } if (args.size() != method.getArgumentTypes().length) { StringBuffer s...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return EMPTY_STRINGS; } Collections.sort(arguments, new Comparator() { public int compare(Object o, Object o1) { MethodArgument mo = (MethodArgument) o; MethodArgument mo1 = (MethodArgument) o1; if (mo.indexOnStack == mo1.indexOnStack) { return 0; } else if (mo.indexOnStack > mo1.indexOnS...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
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 ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
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) { ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @param bindings */ private static void setIgnoreUnboundBindingNames(Pointcut pointcut, FormalBinding[] bindings) { List ignores = new ArrayList(); for (int i = 0; i < bindings.length; i++) { FormalBinding formalBinding = bindings[i]; if (formalBinding instanceof FormalBinding.ImplicitFormalBinding)...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * Report a warning * * @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)); ...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return pointcut; } catch (ParserException e) { 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 I...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
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...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.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...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.IRelationship; import org.aspectj.asm.IRelationshipMap; import org.aspectj.asm.internal.ProgramElement; import org.aspectj.bridge.ISourceLocation; import org.aspectj.bridge.SourceLocation; import org.aspectj.weaver.Advice;...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
public static final String MATCHES_DECLARE = "matches declare"; public static final String INTER_TYPE_DECLARES = "declared on"; public static final String INTER_TYPE_DECLARED_BY = "aspect declarations"; public static final String ANNOTATES = "annotates"; public static final String ANNOTATED_BY = "annotated by"; pu...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} if (sourceNode.getSourceLocation() != null) { asm.addAspectInEffectThisBuild(sourceNode.getSourceLocation().getSourceFile()); } } public void addRelationship(AsmManager asm, ResolvedType onType, ResolvedTypeMunger munger, ResolvedType originatingAspect) { if (asm == null) return; if (originatingAspe...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
true); back.addTarget(sourceHandle); asm.addAspectInEffectThisBuild(sourceNode.getSourceLocation().getSourceFile()); } }
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} /** * Adds a declare annotation relationship, sometimes entities don't have source locs (methods/fields) so use other variants of * this method if that is the case as they will look the entities up in the structure model. */ public void addDeclareAnnotationRelationship(AsmManager asm, ISourceLocation declareA...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} /** * Creates the hierarchy for binary aspects */ public static void createHierarchy(AsmManager asm, ShadowMunger munger) { if (!munger.isBinary()) return; IProgramElement sourceFileNode = asm.getHierarchy().findElementForSourceLine(munger.getSourceLocation()); if (!sourceFileNode.get...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement pkgNode = asm.getHierarchy().findElementForLabel(binaries, IProgramElement.Kind.PACKAGE, packagename); if (pkgNode == null) { pkgNode = new ProgramElement(asm, packagename, IProgramElement.Kind.PACKAGE, new ArrayList()); binaries.addChild(pkgNode); pkgNode.addChild(classFileNode); } else...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } } classFileNode.addChild(new ProgramElement(asm, "import declarations", IProgramElement.Kind.IMPORT_REFERENCE, null, 0, null, null)); IProgramElement aspectNode = new ProgramElement(asm, aspect.getSimpleName(), IProgramElement.Kind.ASPECT, munger .getBinarySourceLocation(aspect.getSourceLoca...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } private static void addChildNodes(AsmManager asm, ShadowMunger munger, IProgramElement parent, Collection children) { int deCtr = 1; int dwCtr = 1; for (Iterator iter = children.iterator(); iter.hasNext();) { Object element = iter.next(); if (element instanceof DeclareErrorOrWarning) { DeclareErro...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} return deowNode; } private static IProgramElement createAdviceChild(AsmManager asm, Advice advice) { IProgramElement adviceNode = new ProgramElement(asm, advice.getKind().getName(), IProgramElement.Kind.ADVICE, advice .getBinarySourceLocation(advice.getSourceLocation()), advice.getSignature().getModifiers()...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
Advice advice = (Advice) munger; if (advice.getKind().isPerEntry() || advice.getKind().isCflow()) { return; } if (World.createInjarHierarchy) { createHierarchy(asm, advice); } IRelationshipMap mapper = asm.getRelationshipMap(); IProgramElement targetNode = getNode(asm, shadow); if (tar...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (foreward != null) foreward.addTarget(targetHandle); IRelationship back = mapper.get(targetHandle, IRelationship.Kind.DECLARE, SOFTENED_BY, runtimeTest, true); if (back != null) back.addTarget(adviceHandle); } else { IRelationship foreward = mapper.get(adviceHandle, IRelationship.K...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
return null; } Member shadowSig = shadow.getSignature(); if (shadow.getKind() == Shadow.MethodCall || !shadowSig.equals(enclosingMember)) { IProgramElement bodyNode = findOrCreateCodeNode(model, enclosingNode, shadowSig, shadow); return bodyNode; } else { return enclosingNode; } } private static...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
for (Iterator it = enclosingNode.getChildren().iterator(); it.hasNext();) { IProgramElement node = (IProgramElement) it.next(); int excl = node.getBytecodeName().lastIndexOf('!'); if (((excl != -1 && shadowSig.getName().equals(node.getBytecodeName().substring(0, excl))) || shadowSig.getName() .equals(node...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
return peNode; } protected static IProgramElement lookupMember(IHierarchy model, Member member) { UnresolvedType declaringType = member.getDeclaringType(); IProgramElement classNode = model.findElementForType(declaringType.getPackageName(), declaringType.getClassName()); return findMemberInClass(classNode, memb...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } public static AsmRelationshipProvider getDefault() { return INSTANCE; } /** * Add a relationship to the known set for a declare @method/@constructor construct. Locating the method is a messy (for messy * read 'fragile') bit of code that could break at any moment but it's working for my simple testcase. C...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
String type = typename; int packageSeparator = typename.lastIndexOf("."); if (packageSeparator != -1) { pkg = typename.substring(0, packageSeparator); type = typename.substring(packageSeparator + 1); } IHierarchy hierarchy = structureModel.getHierarchy(); IProgramElement typeElem = hierarchy.findElement...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} if (methodElem == null) return; try { String targetHandle = methodElem.getHandleIdentifier(); if (targetHandle == null) return; IProgramElement sourceNode = hierarchy.findElementForSourceLine(sourceLocation); String sourceHandle = structureModel.getHandleProvider().createHandleIdentifier(source...
185,447
Bug 185447 [plan] [ataspectj] Abstract @Aspect causing problems
Trying to use an abstract @Aspect from a library jar file is causing problems. In the (soon to be) attached zip of eclipse projects: * logging-library: defines two abstract trivial logging aspects, one in code-style and one in @AspectJ style. * sample-system: uses the code-style abstract aspect successfully * sample-sy...
resolved fixed
120b47f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-01T21:00:43Z
2007-05-03T22:06:40Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
return; String pkg = null; String type = typename; int packageSeparator = typename.lastIndexOf("."); if (packageSeparator != -1) { pkg = typename.substring(0, packageSeparator); type = typename.substring(packageSeparator + 1); } IHierarchy hierarchy = asm.getHierarchy(); IProgramElement typeElem = h...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.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 *...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
public void testAtTargetPlus_pr255856() { runTest("attarget with plus"); } public void testNonNullAtArgs_pr257833() { runTest("param annos and at args"); } public void testIncorrectArgOrdering_pr219419() { runTest("incorrect arg ordering anno style"); } public void testIncorrectArgOrdering_pr219419_2(...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
runTest("incorrect arg ordering anno style - 5"); } public void testDecpAnnoStyle_pr257754() { runTest("decp anno style"); } public void testDecpAnnoStyle_pr257754_2() { runTest("decp anno style - 2"); } public void testPoorAtAjIfMessage_pr256458() { runTest("poor ataj if message - 1"); } public void test...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
IHierarchy top = AsmManager.lastActiveStructureModel.getHierarchy(); IProgramElement ipe = null; ipe = findElementAtLine(top.getRoot(), 4); assertEquals("<{Handles.java}Handles)Ship.i)\\[\\[Qjava.util.List\\<QString;>;", ipe.getHandleIdentifier()); ipe = findElementAtLine(top.getRoot(), 7); assertEquals("<{Ha...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
} private IProgramElement findElementAtLine(IProgramElement whereToLook, int line) { if (whereToLook == null) { return null; } if (whereToLook.getSourceLocation() != null && whereToLook.getSourceLocation().getLine() == line) { return whereToLook; } List kids = whereToLook.getChildren(); for (Iterator...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
public void testParameterAnnotationsOnITDs_pr256669_4() { runTest("parameter annotations on ITDs - 4"); } public void testOrderingIssue_1() { runTest("ordering issue"); } public void testOrderingIssue_2() { runTest("ordering issue - 2"); } public void testGenericPointcuts_1() { runTest("generic poi...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
public void testDontAddMethodBodiesToInterface_pr163005() { runTest("do not add method bodies to an interface"); } public void testDontAddMethodBodiesToInterface_pr163005_2() { runTest("do not add method bodies to an interface - 2"); } public void testDontAddMethodBodiesToInterface_pr163005_3() { runTest("do ...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
for (int i = 0; i < ms.length; i++) { if (ms[i].getName().equals("sayHello")) { m = ms[i]; } } if (m.getLocalVariableTable() == null) { fail("Local variable table should not be null"); } assertEquals(2, m.getLocalVariableTable().getLocalVariableTable().length); LocalVariable lv = m.ge...
251,326
Bug 251326 Anonymous inner classes declare inside an ITD method will cause IllegalAccessError
If i declare an aspect in pkgB, having an ITD method for a class in pkgA using an inner anonymous class, is created in the pkgA package, package protected, but then instantiated from pkgB causeing the error. Test case is attached.
resolved fixed
f1a83b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2008-12-09T19:21:17Z
2008-10-19T21:00:00Z
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
public void testItdCCE_pr250091() { runTest("itd cce"); } public void testBreakingRecovery_pr226163() { runTest("breaking recovery"); } public void testGenericMethodConversions_pr250632() { runTest("type conversion in generic itd"); } public void testGenericMethodBridging_pr250493() { runTest("bridge meth...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
/* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, * 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...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
Location location; protected File relativeDirectory = null; protected List files = new LinkedList(); private boolean fileParsed = false; protected static String CONFIG_MSG = "build config error: "; public List getFiles() { return files; } public void parseCommandLine(String[] argsArray) throws ParseException {...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
} else { parseConfigFileHelper(configFile); } } /** * @throws ParseException if the config file has already been prased. */ private void parseConfigFileHelper(File configFile) { if (!configFile.exists()) { showError("file does not exist: " + configFile.getPath()); return; } LinkedList args = new...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
relativeDirectory = configFile.getParentFile(); parseArgs(args); relativeDirectory = oldRelativeDirectory; fileParsed = true; } File getCurrentDir() { return location.getDirectory(); } String stripSingleLineComment(String s, String commentString) { int commentStart = s.indexOf(commentString); if (commen...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
} files.add(sourceFile); } void addFileOrPattern(File sourceFile) { if (sourceFile.getName().charAt(0) == '*') { if (sourceFile.getName().equals("*.java")) { addFiles(sourceFile.getParentFile(), new FileFilter() { public boolean accept(File f) { return f != null && f.getName().endsWith(".java");...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
File[] files = dir.listFiles(filter); if (files.length == 0) { showWarning("no matching files found in: " + dir); } for (int i = 0; i < files.length; i++) { addFile(files[i]); } } } protected void parseOption(String arg, LinkedList args) { showWarning("unrecognized option: " + arg); } protec...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
return (Arg) args.removeFirst(); } } protected String removeStringArg(LinkedList args) { Arg arg = removeArg(args); if (arg == null) return null; return arg.getValue(); } boolean isSourceFileName(String s) { if (s.endsWith(".java")) return true; if (s.endsWith(".aj")) return true; ...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
} else { parseOption(arg.getValue(), args); } } protected void parseImportedConfigFile(String relativeFilePath) { parseConfigFileHelper(makeFile(relativeFilePath)); } public File makeFile(String name) { if (relativeDirectory != null) { return makeFile(relativeDirectory, name); } else { return makeF...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
private Location location; private String value; public Arg(String value, Location location) { this.value = value; this.location = location; } public void setValue(String value) { this.value = value; } public void setLocation(Location location) { this.location = location; } public String get...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
public abstract File getFile(); public abstract File getDirectory(); public abstract int getLine(); public abstract String toString(); } static class CPSourceLocation extends Location { private int line; private File file; public CPSourceLocation(File file, int line) { this.line = line; this.file = ...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
public File getFile() { return new File(System.getProperty("user.dir")); } public File getDirectory() { return new File(System.getProperty("user.dir")); } public int getLine() { return -1; } public String toString() { return "command-line"; } } public static class ParseException extends Runt...
260,751
Bug 260751 java.lang.StringIndexOutOfBoundsException
ava.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1938) at org.aspectj.ajdt.ajc.ConfigParser.stripWhitespaceAndComments(ConfigParser.java:103) at org.aspectj.ajdt.ajc.ConfigParser.parseConfigFileHelper(ConfigParser.java:69) at org.aspectj.ajdt.ajc.ConfigParser.parseImportedConfigFile(Co...
resolved fixed
d9bd46d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-12T21:35:16Z
2009-01-12T17:06:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
private Location location; public ParseException(String message, Location location) { super(message); this.location = location; } public int getLine() { if (location == null) return -1; return location.getLine(); } public File getFile() { if (location == null) return null; return loc...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/* ******************************************************************* * Copyright (c) 2001-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC) * 2003-2004 Contributors. * All rights reserved. * This program and the accompanying materials are made available ...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; import org.apache.tools.ant.AntClassLoader; impor...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
import org.apache.tools.ant.types.Reference; import org.apache.tools.ant.types.ZipFileSet; import org.apache.tools.ant.util.TaskLogger; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.IMessageHolder; import org.aspectj.br...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/* * This task mainly converts ant specification for ajc, * verbosely ignoring improper input. * It also has some special features for non-obvious clients: * (1) Javac compiler adapter supported in * <code>setupAjc(AjcTask, Javac, File)</code> * and * <code>readArguments(String...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* (b) code for copying resources. * * If you maintain/upgrade this task, keep in mind: * (1) changes to the semantics of ajc (new options, new * values permitted, etc.) will have to be reflected here. * (2) the clients: * the iajc ant script, Javac compiler adapter, * maven clie...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* String forkedExecutable; * FacadeTaskHelper facade; * boolean depend; * String debugLevel; * Path compileSourcepath; * </pre> * @param javac the Javac command to implement (not null) * @param ajc the AjcTask to adapt (not null) * @param destDir the File class destination direct...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
ajc.setListFileArgs(javac.getListfiles()); ajc.setVerbose(javac.getVerbose()); ajc.setTarget(javac.getTarget()); ajc.setSource(javac.getSource()); ajc.setEncoding(javac.getEncoding()); File javacDestDir = javac.getDestdir(); if (null != java...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* Note that we search the task classpath first, * though an entry on the system classpath would be loaded first, * because it seems more correct as the more specific one. * @return readable File for aspectjtools.jar, or null if not found. */ public static File findAspectjtoolsJar() ...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} final String prefix = "aspectj"; final String infix = "tools"; final String altInfix = "-tools"; final String suffix = ".jar"; final int prefixLength = 7; final int minLength = 16; if (!path.endsWith(suffix)) { ...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
*/ private static final int MAX_COMMANDLINE = 4096; private static final File DEFAULT_DESTDIR = new File(".") { public String toString() { return "(no destination dir specified)"; } }; private static final String USAGE_SUBSTRING = "AspectJ-specific options"; ...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
{ "-1.3", "-1.4", "-1.5", "-1.6" }; private static final ICommandEditor COMMAND_EDITOR; static { String[] xs = new String[] { "serializableAspects", "incrementalFile", "lazyTjp", "reweavable", "reweavable:compress", "notReweavable", "noInline", ...
261,808
Bug 261808 iajc-Ant-Task fails "type already defined"
null
resolved fixed
1da1f7c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2009-01-31T04:33:22Z
2009-01-21T12:13:20Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
"pkgDefaultMethod", "semicolon", "unqualifiedField", "unusedPrivate", "unusedThrown", "uselessTypeCheck", "specialParamHiding", "staticReceiver", "syntheticAccess", "none" }; VALID_WARNINGS = Collections.unmodifiableList(A...