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
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
return new WildTypePattern(names, includeSubtypes, dim+(isVarArgs?1:0), endPos,isVarArgs,typeParameters); } public TypePattern parseHasMethodTypePattern() { int startPos = tokenSource.peek(-1).getStart(); eat("("); SignaturePattern sp = parseMethodOrConstructorSignaturePattern(); eat(")"); int endPos =...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
TypePattern upperBound = null; TypePattern[] additionalInterfaceBounds = new TypePattern[0]; TypePattern lowerBound = null; if (maybeEatIdentifier("extends")) { upperBound = parseTypePattern(false); additionalInterfaceBounds = maybeParseAdditionalInterfaceBounds(); } if (maybeEatIdentifier("super")) { ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
/** * @return */ private ExactAnnotationTypePattern parseSimpleAnnotationName() { ExactAnnotationTypePattern p; StringBuffer annotationName = new StringBuffer(); annotationName.append(parseIdentifier()); while (maybeEat(".")) { annotationName.append('.'); annotationName.append(parseIdentifier()); ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
boolean onADot = false; while (true) { IToken tok = null; int startPos = tokenSource.peek().getStart(); String afterDot = null; while (true) { if (previous !=null && previous.getString().equals(".")) justProcessedDot = true; tok = tokenSource.peek(); onADot = (tok.getString().equals(".")); ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
previous = tokenSource.next(); } int endPos = tokenSource.peek(-1).getEnd(); if (buf.length() == 0 && names.isEmpty()) { throw new ParserException("name pattern", tok); } if (buf.length() == 0 && justProcessedEllipsis) { throw new ParserException("name pattern cannot finish with ..", to...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
else previous = tokenSource.peek(-1); } else { buf.setLength(0); buf.append(afterDot); afterDot = null; } } return names; } public NamePattern parseNamePattern() { StringBuffer buf = new StringBuffer(); IToken previous = null; IToken tok; int startPos = tokenSource.peek().getSta...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
buf.append(s); } else { break; } previous = tokenSource.next(); } int endPos = tokenSource.peek(-1).getEnd(); if (buf.length() == 0) { throw new ParserException("name pattern", tok); } checkLegalName(buf.toString(), previous); NamePattern ret = new NamePattern(buf.toString()); re...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
} private boolean isAdjacent(IToken first, IToken second) { return first.getEnd() == second.getStart()-1; } public ModifiersPattern parseModifiersPattern() { int requiredFlags = 0; int forbiddenFlags = 0; int start; while (true) { start = tokenSource.getIndex(); boolean isForbidden = false; ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
List patterns = new ArrayList(); eat("("); if (maybeEat(")")) { return new TypePatternList(); } do { if (maybeEat(".")) { eat("."); patterns.add(TypePattern.ELLIPSIS); } else { patterns.add(parseTypePattern()); } } while (maybeEat(",")); eat(")"); return new TypePatternList(patt...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
patterns.add(AnnotationTypePattern.ANY); } else { patterns.add(parseAnnotationNameOrVarTypePattern()); } } while (maybeEat(",")); eat(")"); return new AnnotationPatternList(patterns); } public ThrowsPattern parseOptionalThrowsPattern() { IToken t = tokenSource.peek(); if (t.isIdentifier() && t...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
int startPos = tokenSource.peek().getStart(); AnnotationTypePattern annotationPattern = maybeParseAnnotationPattern(); ModifiersPattern modifiers = parseModifiersPattern(); TypePattern returnType = parseTypePattern(false); TypePattern declaringType; NamePattern name = null; Member.Kind kind; if (may...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
} if (name == null) { throw new ParserException("name pattern", tokenSource.peek()); } String simpleName = name.maybeGetSimpleName(); if (simpleName != null && simpleName.equals("new")) { throw new ParserException("method name (not constructor)", nameToken); ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
} return false; } public SignaturePattern parseFieldSignaturePattern() { int startPos = tokenSource.peek().getStart(); AnnotationTypePattern annotationPattern = maybeParseAnnotationPattern(); ModifiersPattern modifiers = parseModifiersPattern(); TypePattern returnType = parseTypePattern(); Ty...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
return ret; } private NamePattern tryToExtractName(TypePattern nextType) { if (nextType == TypePattern.ANY) { return NamePattern.ANY; } else if (nextType instanceof WildTypePattern) { WildTypePattern p = (WildTypePattern)nextType; return p.extractName(); } else { return null; } } /** ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
eat(">"); TypeVariablePattern[] tvs = new TypeVariablePattern[typeVars.size()]; typeVars.toArray(tvs); return new TypeVariablePatternList(tvs); } public String[] maybeParseSimpleTypeVariableList() { if (!maybeEat("<")) return null; List typeVarNames = new ArrayList(); do { typeVarNames.add(parseIde...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
} public TypeVariablePattern parseTypeVariable() { TypePattern upperBound = null; TypePattern[] additionalInterfaceBounds = null; TypePattern lowerBound = null; String typeVariableName = null; if (typeVariableName == null) typeVariableName = parseIdentifier(); if (maybeEatIdentifier("extends")) { uppe...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
IToken token = tokenSource.next(); if (token.getLiteralKind()==null) { throw new ParserException("string",token); } while (token.getLiteralKind().equals("string")) { result.append(token.getString()); boolean plus = maybeEat("+"); if (!plus) break; token = tokenSource.next(); if (token.getLite...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
String literalKind = token.getLiteralKind(); if (literalKind == "string") { return token.getString(); } throw new ParserException("string", token); } public String parseIdentifier() { IToken token = tokenSource.next(); if (token.isIdentifier()) return token.getString(); throw new ParserException("ide...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
public void eat(String expectedValue) { eat(expectedValue,expectedValue); } private void eat(String expectedValue,String expectedMessage) { IToken next = nextToken(); if (next.getString() != expectedValue) { if (expectedValue.equals(">") && next.getString().startsWith(">")) { pendingRightArrows = ...
128,699
Bug 128699 Incorrect error on "declare" statements
The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft,...
resolved fixed
f95d2c9
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-20T19:32:59Z
2006-02-20T18:26:40Z
weaver/src/org/aspectj/weaver/patterns/PatternParser.java
return true; } else { return false; } } public String maybeEatIdentifier() { IToken next = tokenSource.peek(); if (next.isIdentifier()) { tokenSource.next(); return next.getString(); } else { return null; } } public boolean peek(String token) { IToken next = tokenSource.peek(); retu...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.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 ...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
import org.aspectj.apache.bcel.generic.annotation.SimpleElementValueGen; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.Message; import org.aspectj.weaver.AnnotationX; import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.UnresolvedType; import org.as...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
private final static String[] EMPTY_STRINGS = new String[0]; private final static Type[] EMPTY_TYPES = new Type[0]; /** * Concrete aspect definition we build for */ private final Definition.ConcreteAspect m_concreteAspect; /** * World for which we build for */ private final World...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
private boolean m_isValid = false; /** * The parent aspect, not concretized */ private ResolvedType m_parent; /** * Aspect perClause, used for direct munging of aspectOf artifacts */ private PerClause m_perClause; /** * Create a new compiler for a concrete aspect * ...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
ResolvedType current = m_world.resolve(m_concreteAspect.name, true); if (!current.isMissing()) { reportError("Attempt to concretize but choosen aspect name already defined: " + stringify()); return false; } if (m_concreteAspect.extend == null && m_concreteAspect....
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
break; } } } if (m_parent.isMissing()) { reportError("Cannot find m_parent aspect for: " + stringify()); return false; } if (!m_parent.isAbstract()) { reportError("Attempt to concretize a non-abstract aspect: " + st...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
} } List pointcutNames = new ArrayList(); for (Iterator it = m_concreteAspect.pointcuts.iterator(); it.hasNext();) { Definition.Pointcut abstractPc = (Definition.Pointcut) it.next(); pointcutNames.add(abstractPc.name); } for (Iterator it = elligibleAbstrac...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
} /** * Build the bytecode for the concrete aspect * * @return concrete aspect bytecode */ public byte[] getBytes() { if (!m_isValid) { throw new RuntimeException("Must validate first"); } ...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
cg.getConstantPoolGen() ); cg.addAnnotation(ag.getAnnotation()); if (m_concreteAspect.precedence != null) { SimpleElementValueGen svg = new SimpleElementValueGen( ElementValueGen.STRING, cg.getConstantPoolGen(), m_concreteAs...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
cbody.append(cg.getFactory().createInvoke( (m_parent==null)?"java/lang/Object":m_parent.getName().replace('.', '/'), "<init>", Type.VOID, EMPTY_TYPES, Constants.INVOKESPECIAL )); cbody.append(InstructionConstants.RETURN); ...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
cg.getConstantPoolGen() ); AnnotationX max = new AnnotationX(mag.getAnnotation(), m_world); mg.addAnnotation(max); InstructionList body = mg.getBody(); body.append(InstructionConstants.RETURN); cg.addMethodGen(mg); } BcelPe...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testGenericAdviceParameters_pr123553() { runTest("generic advice parameters");} public void testMemberTypesInGenericTypes_pr122458() { runTest("member types in generic types");} public void testMemberTypesInGenericTypes_pr122458_2() { runTest("member types in generic types - 2");} public void t...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testUnusedInterfaceMessage_pr120527() { runTest("incorrect unused interface message");} public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699 () { runTest("inherit advice with this() and thisJoinPoint"); } public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699_2 () {runTest("inherit advi...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertEquals("C.foo(int, Object)",pe.toLinkLabelString(false)); assertEquals("foo(int, Object)",pe.toSignatureString(false)); IProgramElement pe2 = top.findElementForType("pkg","printParameters"); assertNotNull("Couldn't find 'printParameters' element in the tree",pe2); assertFalse("printParam...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement warningMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"warningMethod()"); assertNotNull("Couldn't find 'warningMethod()' element in the tree",warningMethodIPE); IProg...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
IProgramElement errorMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"badMethod()"); assertNotNull("Couldn't find 'badMethod()' element in the tree",errorMethodIPE); IProgramElement atDeclarErrorIPE = top.findElementForLabel(top.getRoot(), IProgramElement.K...
128,744
Bug 128744 LTW doesn't work using JRE1.4 in Eclipse
LTW doesn't work using JRE1.4 in Eclipse now I want to support JRE1.4 when LTW. I defined a aop.xml file in application META-INF path, it works fine using JRE1.4 in command-line, aop.xml file is used when LTW, the command as below: "D:\work\BTM\eclipse 3.1.1\eclipse-SDK-3.1.1-win32\eclipse-1.4.2\jre\bin\java" -classpat...
resolved fixed
7a2087e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:52:36Z
2006-02-21T05:33:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
runTest("@AJ declare parents retains field state"); } /* * Load-time weaving bugs and enhancements */ public void testEmptyPointcutInAtAspectJ_pr125475 () { runTest("define empty pointcut using an annotation"); } public void testEmptyPointcutInAtAspectJ_pr125475_2() { runTest("define empty poi...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testGenericAdviceParameters_pr123553() { runTest("generic advice parameters");} public void testMemberTypesInGenericTypes_pr122458() { runTest("member types in generic types");} public void testMemberTypesInGenericTypes_pr122458_2() { runTest("member types in generic types - 2");} public void t...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
public void testUnusedInterfaceMessage_pr120527() { runTest("incorrect unused interface message");} public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699 () { runTest("inherit advice with this() and thisJoinPoint"); } public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699_2 () {runTest("inherit advi...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
assertEquals("C.foo(int, Object)",pe.toLinkLabelString(false)); assertEquals("foo(int, Object)",pe.toSignatureString(false)); IProgramElement pe2 = top.findElementForType("pkg","printParameters"); assertNotNull("Couldn't find 'printParameters' element in the tree",pe2); assertFalse("printParam...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement warningMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"warningMethod()"); assertNotNull("Couldn't find 'warningMethod()' element in the tree",warningMethodIPE); IProg...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
IProgramElement errorMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"badMethod()"); assertNotNull("Couldn't find 'badMethod()' element in the tree",errorMethodIPE); IProgramElement atDeclarErrorIPE = top.findElementForLabel(top.getRoot(), IProgramElement.K...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
runTest("@AJ declare parents retains field state"); } /* * Load-time weaving bugs and enhancements */ public void testEmptyPointcutInAtAspectJ_pr125475 () { runTest("define empty pointcut using an annotation"); } public void testEmptyPointcutInAtAspectJ_pr125475_2() { runTest("define empty poi...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distributi...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.uti...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
import org.aspectj.bridge.context.CompilationAndWeavingContext; import org.aspectj.bridge.context.ContextToken; import org.aspectj.util.FileUtil; import org.aspectj.util.FuzzyBoolean; import org.aspectj.weaver.Advice; import org.aspectj.weaver.AnnotationOnTypeMunger; import org.aspectj.weaver.AnnotationX; import org.as...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
import org.aspectj.weaver.patterns.ConcreteCflowPointcut; import org.aspectj.weaver.patterns.DeclareAnnotation; import org.aspectj.weaver.patterns.DeclareParents; import org.aspectj.weaver.patterns.FastMatchInfo; import org.aspectj.weaver.patterns.IfPointcut; import org.aspectj.weaver.patterns.KindedPointcut; import or...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
private List addedClasses = new ArrayList(); private List deletedTypenames = new ArrayList(); private Manifest manifest = null; private boolean needToReweaveWorld = false; private List shadowMungerList = null; private List typeMungerList = null; private List lateTypeMungerList = null; pr...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
int hasDot = fixedName.lastIndexOf('.'); while (hasDot > 0) { char[] fixedNameChars = fixedName.toCharArray(); fixedNameChars[hasDot] = '$'; fixedName = new String(fixedNameChars); hasDot = fixedName.lastIndexOf('.'); ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } /** * * @param inFile File path to class directory or zip/jar class archive * @throws IOException */ public void addLibraryJarFile(File inFile) throws IOException { List addedAspects = null; if (inFile.isDirectory()) { addedAspects = addAspectsFromDirectory(inFile); } el...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} ClassParser parser = new ClassParser(new ByteArrayInputStream(FileUtil.readAsByteArray(inStream)), entry.getName()); JavaClass jc = parser.parse(); inStream.closeEntry(); ResolvedType type = world.addSourceObjectType(jc).getResolvedTypeX(); if (type.isAspect()) { addedAspect...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} return addedAspects; } private void addIfAspect(byte[] bytes, String name, List toList) throws IOException { ClassParser parser = new ClassParser(new ByteArrayInputStream(bytes),name); JavaClass jc = parser.parse(); ResolvedType type = world.addSourceObjectType(jc).getResolvedTypeX(); if (type.isAspect(...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
addedClassFiles.add(addClassFile(files[i],inFile,outDir)); } return addedClassFiles; } /** Adds all class files in the jar */ public List addJarFile(File inFile, File outDir, boolean canBeDirectory){ List addedClassFiles = new ArrayList(); needToReweaveWorld = true; JarFile inJar = null; try { ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
this.addClassFile(classFile); addedClassFiles.add(classFile); } } inStream.close(); } inJar.close(); } } catch (FileNotFoundException ex) { IMessage message = new Message( "Could not find input jar file " + inFile.getPath() + ", ignoring", new SourceLocation(inFile,0), ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } return addedClassFiles; } } } public boolean needToReweaveWorld() { return needToReweaveWorld; } /** Should be addOrReplace */ public void addClassFile(UnwovenClassFile classFile) { addedClasses.add(classFile); } world.addSourceObjectType(classFile.getJavaClass()); }...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
this.addClassFile(ucf); } fis.close(); return ucf; } public void deleteClassFile(String typename) { deletedTypenames.add(typename); world.deleteSourceObjectType(UnresolvedType.forName(typename)); } } } } public void prepareForWeave() { needToReweaveWorld = false; CflowPo...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
if (xcutSet.deleteAspect(UnresolvedType.forName(name))) needToReweaveWorld = true; } shadowMungerList = xcutSet.getShadowMungers(); rewritePointcuts(shadowMungerList); typeMungerList = xcutSet.getTypeMungers(); lateTypeMungerList = xcutSet.getLateTypeMungers(); declareParentsList = xcutSet...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} }); } /* * Rewrite all of the pointcuts in the world into their most efficient * form for subsequent matching. Also ensure that if pc1.equals(pc2) * then pc1 == pc2 (for non-binding pcds) by making references all * point to the same instance. * Since pointcuts remember their ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
if (advice.getConcreteAspect().isAnnotationStyleAspect() && advice.getDeclaringAspect()!=null && advice.getDeclaringAspect().resolve(world).isAnnotationStyleAspect()) { numFormals = advice.getBaseParameterCount(); int numArgs = a...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } private Pointcut shareEntriesFromMap(Pointcut p,Map pcMap) { if (p instanceof NameBindingPointcut) return p; if (p instanceof IfPointcut) return p; if (p instanceof ConcreteCflowPointcut) return p; if (p instanceof AndPointcut) { AndPointcut apc = (AndPointcut) p; ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } private void validateBindings(Pointcut dnfPointcut, Pointcut userPointcut, int numFormals, String[] names) { if (numFormals == 0) return; if (dnfPointcut.couldMatchKinds()==Shadow.NO_SHADOW_KINDS_BITS) return; if (dnfPointcut instanceof OrPointcut) { ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} else { if (left.couldMatchKinds()!=Shadow.NO_SHADOW_KINDS_BITS) validateSingleBranch(left, userPointcut, numFormals, names, leftBindings); } if (right instanceof OrPointcut) { Pointcut[] newLeftBindings = new Pointcut[numFormals]; validateOrBranch((OrPointcut)right,userPointcut,numF...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
boolean[] foundFormals = new boolean[numFormals]; for (int i = 0; i < foundFormals.length; i++) { foundFormals[i] = false; } validateSingleBranchRecursion(pc, userPointcut, foundFormals, names, bindings); for (int i = 0; i < foundFormals.length; i++) { if (!foundFormals[i]) { bool...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
raiseNegationBindingError(userPointcut); } } else if (pc instanceof AndPointcut) { AndPointcut and = (AndPointcut) pc; validateSingleBranchRecursion(and.getLeft(), userPointcut,foundFormals,names,bindings); validateSingleBranchRecursion(and.getRight(),userPointcut,foundFormals,names,binding...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
ConcreteCflowPointcut cfp = (ConcreteCflowPointcut) pc; int[] slots = cfp.getUsedFormalSlots(); for (int i = 0; i < slots.length; i++) { bindings[slots[i]] = cfp; if (foundFormals[slots[i]]) { raiseAmbiguousBindingError(names[slots[i]],userPointcut); } else { foundFormals[slots[i]] ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
if (couldEverMatchSameJoinPoints(left,rightOrPointcut.getLeft())) return true; if (couldEverMatchSameJoinPoints(left,rightOrPointcut.getRight())) return true; return false; } WithinPointcut leftWithin = (WithinPointcut) findFirstPointcutIn(left,WithinPointcut.class); WithinPointcut ri...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
/** * @param userPointcut */ private void raiseNegationBindingError(Pointcut userPointcut) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.NEGATION_DOESNT_ALLOW_BINDING), userPointcut.getSourceContext().makeSourceLocation(userPointcut),null); } /** * @param name * @param us...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
userPointcut.getSourceContext().makeSourceLocation(userPointcut),null); } /** * @param name * @param userPointcut */ private void raiseUnboundFormalError(String name, Pointcut userPointcut) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.UNBOUND_FORMAL, name), us...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
public static final String MANIFEST_NAME = "META-INF/MANIFEST.MF"; private static final String WEAVER_MANIFEST_VERSION = "1.0"; private static final Attributes.Name CREATED_BY = new Name("Created-By"); private static final String WEAVER_CREATED_BY = "AspectJ Compiler"; public Manifest getManifest (boolean...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
return addedClasses.iterator(); } public IWeaveRequestor getRequestor() { return new IWeaveRequestor() { public void acceptResult(UnwovenClassFile result) { try { writeZipEntry(result.filename, result.bytes); } catch(IOException ex) {} } public void processingReweavableState(...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} public Collection weave(IClassFileProvider input) throws IOException { ContextToken weaveToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WEAVING, ""); Collection wovenClassNames = new ArrayList(); IWeaveRequestor requestor = input.getRequestor(); ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
classType.finishedWith(); UnwovenClassFile[] newClasses = getClassFilesFor(clazz); for (int news = 0; news < newClasses.length; news++) { requestor.acceptResult(newClasses[news]); } wovenClassNames.add(classFile.getC...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
ContextToken typeMungingToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.PROCESSING_TYPE_MUNGERS,""); requestor.addingTypeMungers(); List typesToProcess = new ArrayList(); for (Iterator iter = input....
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
for (Iterator i = input.getClassFileIterator(); i.hasNext(); ) { UnwovenClassFile classFile = (UnwovenClassFile)i.next(); String className = classFile.getClassName(); ResolvedType theType = world.resolve(className); if (theType.isAspect()) { BcelObjectType classType = BcelWorld.getBcelObjectType(th...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
BcelObjectType classType = BcelWorld.getBcelObjectType(theType); if (classType==null) { ReferenceTypeDelegate theDelegate = ((ReferenceType)theType).getDelegate(); if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue; throw new BCException("Can't find bcel delegate...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
private int lineNo; private UnresolvedType inAspect; public AdviceLocation(BcelAdvice advice) { this.lineNo = advice.getSourceLocation().getLine(); this.inAspect = advice.getDeclaringAspect(); } public boolean equals(Object obj) { if (!(obj instanceof AdviceLocation)) return false; Advi...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
BcelAdvice ba = (BcelAdvice)element; if (!ba.hasMatchedSomething()) { if (ba.getSignature()!=null) { AdviceLocation loc = new AdviceLocation(ba); if (alreadyWarnedL...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
* the 'typesForWeaving' list. * * Note: Future gotcha in here ... when supplying partial hierarchies, this algorithm may * break down. If you have a hierarchy A>B>C and only give A and C to the weaver, it * may choose to weave them in either order - but you'll probably have other problems if ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
public void prepareToProcessReweavableState() { if (inReweavableMode) world.showMessage(IMessage.INFO, WeaverMessages.format(WeaverMessages.REWEAVABLE_MODE), null, null); } public void processReweavableStateIfPresent(String className, BcelObjectType classType) { WeaverStateInfo wsi = cl...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
if(!xcutSet.containsAspect(rtx)){ world.showMessage( IMessage.ERROR, WeaverMessages.format( WeaverMessages.REWEAVABLE_ASPECT_NOT_REGISTERED, ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
IWeaveRequestor requestor) throws IOException { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WEAVING_TYPE, classType.getResolvedTypeX().getName()); LazyClassGen clazz = weaveWithoutDump(classFile,classType); classType.finishedWith(); if (clazz != null) {...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
List childClasses = clazz.getChildClasses(world); UnwovenClassFile[] ret = new UnwovenClassFile[1 + childClasses.size()]; ret[0] = new UnwovenClassFile(clazz.getFileName(),clazz.getJavaClassBytesIncludingReweavable(world)); int index = 1; for (Iterator iter = childClasses.iterator(); iter.hasNe...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
for (Iterator i = declareParentsList.iterator(); i.hasNext(); ) { DeclareParents decp = (DeclareParents)i.next(); boolean typeChanged = applyDeclareParents(decp,onType); if (typeChanged) { aParentChangeOccurred = true; } else { if (!decp.getChild().isStarAnnotation()) decpToRepeat.add(decp); } ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} for (Iterator iter = xcutSet.getDeclareAnnotationOnTypes().iterator(); iter.hasNext();) { DeclareAnnotation decA = (DeclareAnnotation) iter.next(); boolean typeChanged = applyDeclareAtType(decA,onType,false); if (typeChanged) { anAnnotationChangeOccurred = true; } } decpToRepeat = de...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decA.getSourceLocation(),onType.getSourceLocation()); if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)){ getWorld().getMessageHandler().handleMessage( WeaveMessage.constructWeavingMessage(WeaveMessag...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
if ( (onType.isAnnotation() && !annoX.allowedOnAnnotationType()) || (!annoX.allowedOnRegularType())) { if (outputProblems) { if (decA.isExactPattern()) { world.getMessageHandler().handleMessage(MessageUtil.error( WeaverMessages.format(WeaverMessages.INCORRECT_TARGET_FOR_DECLARE_ANNOTATION, ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
for (Iterator j = newParents.iterator(); j.hasNext(); ) { ResolvedType newParent = (ResolvedType)j.next(); classType.addParent(newParent); ResolvedTypeMunger newParentMunger = new NewParentTypeMunger(newParent); newParentMun...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
LazyClassGen weave(UnwovenClassFile classFile, BcelObjectType classType) throws IOException { LazyClassGen ret = weave(classFile, classType, true); if (progressListener != null) { progressMade += progressPerClassFile; progressListener.setProgress(progressMade); progressListener.setText("woven: " + class...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
boolean mightNeedBridgeMethods = world.isInJava5Mode() && !classType.isInterface() && classType.getResolvedTypeX().getInterTypeMungersIncludingSupers().size()>0; LazyClassGen clazz = null; if (mightNeedToWeave || mightNeedBridgeMethods) { clazz = classType.getLazyClassGen(); try { boolea...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } if (dump) { dumpUnchanged(classFile); return clazz; } else { if (clazz != null && !clazz.getChildClasses(world).isEmpty()) { return clazz; } return null; } } private void dumpUnchanged(UnwovenClassFile classFil...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
if (zipOutputStream != null) { String mainClassName = classFile.getJavaClass().getClassName(); writeZipEntry(getEntryName(mainClassName), clazz.getJavaClass(world).getBytes()); if (!clazz.getChildClasses(world).isEmpty()) { for (Iterator i = clazz.getChildClasses(world).iterator(); i.hasNext();) { ...
128,237
Bug 128237 [@AspectJ] NPE on @AJ code with pointcut which contains logical OR operation.
null
resolved fixed
ba42a09
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T15:55:33Z
2006-02-16T17:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
List result = new ArrayList(); Iterator iter = list.iterator(); while (iter.hasNext()) { ShadowMunger munger = (ShadowMunger)iter.next(); FuzzyBoolean fb = munger.getPointcut().fastMatch(info); WeaverMetrics.recordFastMatchTypeResult(fb); if (fb.maybeTrue()) { result.add(munger); } } return ...
128,618
Bug 128618 [incremental] XLint warnings in the wrong place with incremental compilation
The zip file I am about to attach contains two AspectJ project, one depending on the other. If you make a small change to MainClass.java in 'Test Project' and save you will see a strange warning in that class - "advice defined in ras.FFDC has not been applied [Xlint:adviceDidNotMatch]". If you do a full build the warni...
resolved fixed
89d66dc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T16:07:04Z
2006-02-20T12:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
/******************************************************************************* * Copyright (c) 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is a...
128,618
Bug 128618 [incremental] XLint warnings in the wrong place with incremental compilation
The zip file I am about to attach contains two AspectJ project, one depending on the other. If you make a small change to MainClass.java in 'Test Project' and save you will see a strange warning in that class - "advice defined in ras.FFDC has not been applied [Xlint:adviceDidNotMatch]". If you do a full build the warni...
resolved fixed
89d66dc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T16:07:04Z
2006-02-20T12:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
* @author colyer * * To change the template for this generated type comment go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ public class WeaverMessageHandler implements IMessageHandler { private IMessageHandler sink; private CompilationResult currentlyWeaving; private Compiler co...
128,618
Bug 128618 [incremental] XLint warnings in the wrong place with incremental compilation
The zip file I am about to attach contains two AspectJ project, one depending on the other. If you make a small change to MainClass.java in 'Test Project' and save you will see a strange warning in that class - "advice defined in ras.FFDC has not been applied [Xlint:adviceDidNotMatch]". If you do a full build the warni...
resolved fixed
89d66dc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T16:07:04Z
2006-02-20T12:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
return sink.handleMessage(message); } } CompilationResult problemSource = currentlyWeaving; if (problemSource == null) { if (sLoc instanceof EclipseSourceLocation) { problemSource = ((EclipseSourceLocation)sLoc).getCompilationResult(); } if (problemSource == null) { return si...
128,618
Bug 128618 [incremental] XLint warnings in the wrong place with incremental compilation
The zip file I am about to attach contains two AspectJ project, one depending on the other. If you make a small change to MainClass.java in 'Test Project' and save you will see a strange warning in that class - "advice defined in ras.FFDC has not been applied [Xlint:adviceDidNotMatch]". If you do a full build the warni...
resolved fixed
89d66dc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T16:07:04Z
2006-02-20T12:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
IProblem.Unclassified, new String[0], new String[] {message.getMessage()}, severity, startPos, endPos, sLoc != null ? sLoc.getLine() : 0 ); IProblem[] seeAlso = buildSeeAlsoProblems(problem,message.getExtraSourceLocations(), problemSource, ...
128,618
Bug 128618 [incremental] XLint warnings in the wrong place with incremental compilation
The zip file I am about to attach contains two AspectJ project, one depending on the other. If you make a small change to MainClass.java in 'Test Project' and save you will see a strange warning in that class - "advice defined in ras.FFDC has not been applied [Xlint:adviceDidNotMatch]". If you do a full build the warni...
resolved fixed
89d66dc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T16:07:04Z
2006-02-20T12:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
} /** * No-op * @see org.aspectj.bridge.IMessageHandler#isIgnoring(org.aspectj.bridge.IMessage.Kind) * @param kind */ public void dontIgnore(IMessage.Kind kind) { ; } private int getStartPos(ISourceLocation sLoc,CompilationResult result) { int pos = 0; if (sLoc == null) retu...
128,618
Bug 128618 [incremental] XLint warnings in the wrong place with incremental compilation
The zip file I am about to attach contains two AspectJ project, one depending on the other. If you make a small change to MainClass.java in 'Test Project' and save you will see a strange warning in that class - "advice defined in ras.FFDC has not been applied [Xlint:adviceDidNotMatch]". If you do a full build the warni...
resolved fixed
89d66dc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-02-21T16:07:04Z
2006-02-20T12:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
if (line <= 0) line = 1; if (sLoc instanceof EclipseSourceLocation) { pos = ((EclipseSourceLocation)sLoc).getEndPos(); } else { if (result != null) { if ((result.lineSeparatorPositions != null) && (result.lineSeparatorPositions.length >= line)) { pos = result.lineSeparatorPositions[line -1] -1;...