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
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
List warnings = MyTaskListManager.getWarningMessages(); List noGuardWarnings = new ArrayList(); for (Iterator iter = warnings.iterator(); iter.hasNext();) { IMessage element = (IMessage) iter.next(); if (element.getMessage().indexOf("Xlint:noGuardForLazyTjp") != -1) { noGuardWarnings.add(element); } ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
checkXMLAspectCount("PR131505","",1); checkXMLAspectCount("PR131505","A",1); alter("PR131505","inc3"); build("PR131505"); checkWasFullBuild(); checkXMLAspectCount("PR131505","",2); checkXMLAspectCount("PR131505","A1",1); checkXMLAspectCount("PR131505","A",1); File a1 = new File(getWorkingDir(...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
build("PR136585"); alter("PR136585","inc1"); build("PR136585"); assertTrue("There should be no errors reported:\n"+MyTaskListManager.getErrorMessages(), MyTaskListManager.getErrorMessages().isEmpty()); } public void testPr133532() { initialiseProject("PR133532"); build("PR133532"); alter("PR133532"...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
public void testPr134541() { initialiseProject("PR134541"); build("PR134541"); assertEquals("[Xlint:adviceDidNotMatch] should be associated with line 5",5, ((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); alter("PR134541","inc1"); build("PR134541"); if (AsmManage...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
} finally { AsmManager.getDefault().setHandleProvider(handleProvider); configureBuildStructureModel(false); } } public void testMovingAdviceDoesntChangeHandles_pr141730() { IElementHandleProvider handleProvider = AsmManager.getDefault().getHandleProvider(); AsmManager.getDefault().setHandleProvider...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
} finally { AsmManager.getDefault().setHandleProvider(handleProvider); configureBuildStructureModel(false); } } public void testSwappingAdviceAndHandles_pr141730() { IElementHandleProvider handleProvider = AsmManager.getDefault().getHandleProvider(); AsmManager.getDefault().setHandleProvider(new JD...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
IProgramElement.Kind.ADVICE, "after(): execPCD.."); assertEquals("after swapping places, expected 'after(): callPCD..' " + "to be on line " + newExec.getSourceLocation().getLine() + " but was on line " + call.getSourceLocation().getLine(), newExec.getSourceLocation().getLine(), call.getSourceLoca...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
alter("JDTLikeHandleProvider","inc2"); build("JDTLikeHandleProvider"); checkWasFullBuild(); IHierarchy top2 = AsmManager.getDefault().getHierarchy(); IProgramElement init2 = top2.findElementForLabel(top2.getRoot(), IProgramElement.Kind.INITIALIZER, "..."); assertEquals("expected initializers han...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
IProgramElement nodeForTypeA = checkForNode("pkg","A",true); IProgramElement nodeForAdvice = findAdvice(nodeForTypeA); List relatedElements = getRelatedElements(nodeForAdvice,1); IProgramElement programElement = getFirstRelatedElement(findCode(checkForNode("pkg","C",true))); int line = programElement.getS...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
initialiseProject("PR134471_2"); build("PR134471_2"); IProgramElement programElement = getFirstRelatedElement(findCode(checkForNode("pkg","C",true))); int line = programElement.getSourceLocation().getLine(); assertTrue("advice should be at line 7 - but is at line "+line,line==7); alter("PR134471_2...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
assertTrue("There should be no exceptions handled:\n"+MyErrorHandler.getErrorMessages(), MyErrorHandler.getErrorMessages().isEmpty()); alter("P3","inc2"); build("P3"); assertTrue("There should be no exceptions handled:\n"+MyErrorHandler.getErrorMessages(), MyErrorHandler.getErrorMessages().isEmpty()); ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
IProgramElement nodeForTypeA = checkForNode("pkg","A",true); IProgramElement nodeForAdvice = findAdvice(nodeForTypeA); List relatedElements = getRelatedElements(nodeForAdvice,1); alter("PR134471","inc2"); build("PR134471"); checkWasntFullBuild(); programElement = getFirstRelatedEleme...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
int line = programElement.getSourceLocation().getLine(); assertTrue("declare warning should be at line 10 - but is at line "+line,line==10); programElement = getFirstRelatedElement(findCode(checkForNode("pkg","C",true),6)); line = programElement.getSourceLocation().getLine(); assertTrue("advice should be ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
public void testPr134471_IncrementallyRecompilingTheClassAffectedByDeclare() { configureBuildStructureModel(true); configureNonStandardCompileOptions("-showWeaveInfo -emacssym"); initialiseProject("PR134471_3"); build("PR134471_3"); checkWasFullBuild(); IProgramElement programElement = getFirstR...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
assertTrue("declare warning should be at line 12 - but is at line "+line,line==12); alter("PR134471_3","inc2"); build("PR134471_3"); checkWasntFullBuild(); programElement = getFirstRelatedElement(findCode(checkForNode("pkg","C",true),7)); line = programElement.getSourceLocation().getLine(); assertTrue...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
((IMessage)MyTaskListManager.getWarningMessages().get(0)) .getMessage()); alter("PR141556","inc1"); alter("PR141556","inc2"); build("PR141556"); checkWasntFullBuild(); assertTrue("there should still be a warning message ", !MyTaskListManager.getWarningMessages().isEmpty()); assertEquals("w...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
handler instanceof IMessageHolder); List tasklistMessages = MyTaskListManager.getWarningMessages(); assertTrue("Should be one message but found "+tasklistMessages.size(),tasklistMessages.size()==1); IMessage msg = (IMessage)tasklistMessages.get(0); assertTrue("expected message to be a LintMessage but wasn...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
+warnings,warnings.isEmpty()); } public void testNoFullBuildOnChangeInSysOutInAdviceBody_pr154054() { initialiseProject("PR154054"); build("PR154054"); alter("PR154054","inc1"); build("PR154054"); checkWasntFullBuild(); } public void testShouldFullBuildOnExceptionChange_pr154054() { initialisePro...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
List relatedElements = getRelatedElements(programElement); StringBuffer debugString = new StringBuffer(); if (relatedElements!=null) { for (Iterator iter = relatedElements.iterator(); iter.hasNext();) { String element = (String) iter.next(); debugString.append(AsmManager.getDefault().getHierarchy().find...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
return output; } private IProgramElement findAdvice(IProgramElement ipe) { return findAdvice(ipe,1); } private IProgramElement findAdvice(IProgramElement ipe,int whichOne) { if (ipe.getKind()==IProgramElement.Kind.ADVICE) { whichOne=whichOne-1; if (whichOne==0) return ipe; } List kids = ipe.getChi...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
* of -1 means just return the first one you find */ private IProgramElement findCode(IProgramElement ipe,int linenumber) { if (ipe.getKind()==IProgramElement.Kind.CODE) { if (linenumber==-1 || ipe.getSourceLocation().getLine()==linenumber) return ipe; } List kids = ipe.getChildren(); for (Iterator iter = ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
"\n"+printCompiledAndWovenFiles()); } private void checkWasntFullBuild() { assertTrue("Shouldn't have been a full (batch) build",!wasFullBuild()); } private void checkWasFullBuild() { assertTrue("Should have been a full (batch) build",wasFullBuild()); } private IProgramElement checkForNode(String packag...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
/* * Applies an overlay onto the project being tested - copying * the contents of the specified overlay directory. */ private void alter(String projectName,String overlayDirectory) { File projectSrc =new File(testdataSrcDir+File.separatorChar+projectName+ File.separatorChar+overlayDirecto...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
try { BufferedReader reader = new BufferedReader(new FileReader(aopXML)); String line = reader.readLine(); while (line != null) { if (aspectName.equals("") && line.indexOf("aspect name=\"") != -1) { aspectCount++; } else if (line.indexOf("aspect name=\""+aspectName+"\"") != -1) { aspectCount+...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import org.aspectj.weaver.bcel.BcelMethod; import org.aspectj.weaver.bcel.BcelTypeMunger; import org.aspectj.weaver.patterns.Declare; import org.aspectj.weaver.patte...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
private ResolvedType inAspect; private World world; private PerClause perClause; private List shadowMungers = new ArrayList(4); private List typeMungers = new ArrayList(4); private List lateTypeMungers = new ArrayList(0); private List declareParents = new ArrayList(4); private List declareSofts = new Arra...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
this.world = inAspect.getWorld(); this.shouldConcretizeIfNeeded = shouldConcretizeIfNeeded; } public void addConcreteShadowMunger(ShadowMunger m) { shadowMungers.add(m); } public void addShadowMungers(Collection c) { for (Iterator i = c.iterator(); i.hasNext(); ) { addShadowMunger( (ShadowMunger)i.n...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
} public void addLateTypeMunger(ConcreteTypeMunger m) { lateTypeMungers.add(m); } public void addDeclares(Collection c) { for (Iterator i = c.iterator(); i.hasNext(); ) { addDeclare( (Declare)i.next() ); } } public void addDeclare(Declare declare) { if (declare instanceof DeclareErrorO...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
addConcreteShadowMunger(m); } else if (declare instanceof DeclareAnnotation) { DeclareAnnotation da = (DeclareAnnotation)declare; if (da.getAspect() == null) da.setAspect(this.inAspect); if (da.isDeclareAtType()) { declareAnnotationsOnType.add(da); } else if (da.isDeclareAtField()) { decla...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
} } ResolvedMember member = new ResolvedMemberImpl( Member.STATIC_INITIALIZATION, typeToExpose, 0, ResolvedType.VOID, "", UnresolvedType.NONE); addTypeMunger(world.concreteTypeMunger( new PrivilegedAccessMunger(member), inAspect)); } public void addPrivilegedAccesses(Collection accessedMembers) { for ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
} /** * Updates the records if something has changed. This is called at most twice, firstly * whilst collecting ITDs and declares. At this point the CrosscuttingMembers we're * comparing ourselves with doesn't know about shadowmungers. Therefore a straight comparison * with the existing list of shadowmungers ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
Set theseShadowMungers = new HashSet(); Set theseInlinedAroundMungers = new HashSet(); for (Iterator iter = shadowMungers.iterator(); iter .hasNext();) { ShadowMunger munger = (ShadowMunger) iter.next(); if (munger instanceof Advice) { Advice adviceMunger = (Advice)munger; ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
if (!world.isXnoInline() && adviceMunger.getKind().equals(AdviceKind.Around)) { otherInlinedAroundMungers.add(rewritePointcutInMunger(adviceMunger)); } else { otherShadowMungers.add(rewritePointcutInMunger(adviceMunger)); } } else { otherShadowMungers.add(rewritePointcutInMunger(munger));...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
if (!careAboutShadowMungers) { for (Iterator iter = typeMungers.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof BcelTypeMunger) { BcelTypeMunger typeMunger = (BcelTypeMunger) o; if (!typeMunger.existsToSupportShadowMunging()) { theseTypeMungers.add(typeMunger); } ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
if (!theseTypeMungers.equals(otherTypeMungers)) { changed = true; typeMungers = other.typeMungers; } if (!lateTypeMungers.equals(other.lateTypeMungers)) { changed = true; lateTypeMungers = other.lateTypeMungers; } if (!declareDominates.equals(other.declareDominates)) { ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
if (!declareAnnotationsOnField.equals(other.declareAnnotationsOnField)) { changed = true; declareAnnotationsOnField = other.declareAnnotationsOnField; } if (!declareAnnotationsOnMethods.equals(other.declareAnnotationsOnMethods)) { changed = true; declareAnnotationsOnMethods = other.declareAnnotations...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
} } if (!foundIt) { return false; } } return true; } private ShadowMunger rewritePointcutInMunger(ShadowMunger munger) { PointcutRewriter pr = new PointcutRewriter(); Pointcut p = munger.getPointcut(); Pointcut newP = pr.rewrite(p); if (p.m_ignoreUnboundBindingForNames.length!=...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/CrosscuttingMembers.java
return declareParents; } public List getDeclareSofts() { return declareSofts; } public List getShadowMungers() { return shadowMungers; } public List getTypeMungers() { return typeMungers; } public List getLateTypeMungers() { return lateTypeMungers; } public List getDeclareAnnotationOnTypes...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.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 distribut...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.BCException; import org.aspectj.weaver.IEclipseSourceContext; import org.aspectj.weaver.ISourceContext; import org.aspectj.weaver.Member; import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.Shadow; i...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
AjAttribute.AdviceAttribute attribute, Pointcut pointcut, Member signature, ResolvedType concreteAspect) { super(attribute, pointcut, signature); this.concreteAspect = concreteAspect; } public BcelAdvice(AdviceKind kind, Pointcut pointcut, Member signature, int extraArgumentFlags, int start, i...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
world.getLint().noGuardForLazyTjp.signal("",getSourceLocation()); } } return ret; } public ShadowMunger parameterizeWith(ResolvedType declaringType,Map typeVariableMap) { Pointcut pc = getPointcut().parameterizeWith(typeVariableMap); BcelAdvice ret = null; Member adviceSignature = signature; ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} if (getKind() == null) { exposedState = new ExposedState(0); return; } if (getKind().isPerEntry()) { exposedState = new ExposedState(0); } else if (getKind().isCflow()) { exposedState = new ExposedState(nFreeVars); } else if (getSignature() != null) { expos...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
if ((getExtraParameterFlags() & ThisJoinPointStaticPart) != 0) { ((BcelShadow)shadow).getThisJoinPointStaticPartVar(); ((BcelShadow)shadow).getEnclosingClass().warnOnAddedStaticInitializer(shadow,getSourceLocation()); } if ((getExtraParameterFlags() & ThisJoinPoint) != 0) { boolean has...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
return BcelWorld.getBcelObjectType(concreteAspect).getLazyClassGen().isWoven(); } public void implementOn(Shadow s) { hasMatchedAtLeastOnce=true; BcelShadow shadow = (BcelShadow) s; if (!shadow.getWorld().isIgnoringUnusedDeclaredThrownExceptio...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} } } if (shadow.getIWorld().isJoinpointSynchronizationEnabled() && shadow.getKind()==Shadow.MethodExecution && (s.getSignature().getModifiers() & Modifier.SYNCHRONIZED)!=0) { Message m = new Message("advice matching the synchronized method shadow '"+shadow.toString()+ "' wil...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
if (!canInline(s)) { shadow.weaveAroundClosure(this, hasDynamicTests()); } else { shadow.weaveAroundInline(this, hasDynamicTests()); } } else if (getKind() == AdviceKind.InterInitializer) { shadow.weaveAfterReturning(this); } else if (getKind().isCflow(...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
&& sourceContext instanceof IEclipseSourceContext) { ((IEclipseSourceContext)sourceContext).removeUnnecessaryProblems(method, problemLineNumber); } } } private Collection collectCheckedExceptions(UnresolvedType[] excs) { if (excs == null || excs.length == 0) return Collections.EMPTY_LI...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} private Collection thrownExceptions = null; public Collection getThrownExceptions() { if (thrownExceptions == null) { if (concreteAspect != null && concreteAspect.getWorld() != null && (getKind().isAfter() || getKind() == AdviceKind.Before || getKind() == AdviceKind.Around)) { World world = c...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} return !getConcreteAspect().isAnnotationStyleAspect(); } public boolean hasDynamicTests() { } return pointcutTest != null && !(pointcutTest == Literal.TRUE); } /** * get the instruction list for the really simple version of this advice. * Is broken ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
BcelWorld world = shadow.getWorld(); InstructionList il = new InstructionList(); if (hasExtraParameter() && getKind() == AdviceKind.AfterReturning) { UnresolvedType extraParameterType = getExtraParameterType(); if (! extraParameterType.equals(UnresolvedType.OBJECT)...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
lineNumber = shadow.getEnclosingMethod().getMemberView().getLineNumberOfFirstInstruction(); if (lineNumber>0) il.getStart().addTargeter(new LineNumberTag(lineNumber)); } return il; } public InstructionList getAdviceArgSetup( BcelShadow shadow, BcelVar extraVar, Instruc...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
if (!isAnnotationStyleAspect) { ; } else { if ("Lorg/aspectj/lang/ProceedingJoinPoint;".equals(getSignature().getParameterTypes()[i].getSignature())) { ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
previousIsClosure = false; if ((getExtraParameterFlags() & ThisJoinPointStaticPart) != 0) { shadow.getThisJoinPointStaticPartBcelVar().appendLoad(il, fact); } } else if ("Lorg/aspectj/lang/JoinPoint;".equals(getSignature().getParameterT...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
il.append(InstructionConstants.ACONST_NULL); } } } else { UnresolvedType desiredTy = getBindingParameterTypes()[i]; v.appendLoadAndConvert(il, fact, desiredTy.resolve(world)); } } if (!isAnnotationSty...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
shadow.getThisEnclosingJoinPointStaticPartBcelVar().appendLoad(il, fact); } } return il; } public InstructionList getNonTestAdviceInstructions(BcelShadow shadow) { return new InstructionList( Utility.createInvoke(shadow.getFactory(), shadow.getWorld(), getOri...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
sk, fk, next); } public int compareTo(Object other) { if (!(other instanceof BcelAdvice)) return 0; BcelAdvice o = (BcelAdvice)other; if (kind.getPrecedence() != o.kind.getPrecedence()) { if (kind.getPrecedence() > o.kind.getPrecedence()) return +1; else return -1; } if (kind.isCflow())...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
concreteAspect.getWorld().compareByPrecedence( concreteAspect, o.concreteAspect); if (ret != 0) return ret; ResolvedType declaringAspect = getDeclaringAspect().resolve(world); ResolvedType o_declaringAspect = o.getDeclaringAspect().resolve(world); if (declaringAspect == o_declaringAspect) { ...
158,573
Bug 158573 changing value of variable in aspect results in adviceDidNotMatch warning
null
resolved fixed
cd9fd11
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-29T14:21:57Z
2006-09-25T16:00:00Z
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
} } if (exposedState == null) return BcelVar.NONE; int len = exposedState.vars.length; BcelVar[] ret = new BcelVar[len]; for (int i=0; i < len; i++) { ret[i] = (BcelVar)exposedState.vars[i]; } return ret; } public boolean hasMatchedSomething() { return hasMatchedAtLeastOnce; } p...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
/** * The current DTD public id. The matching dtd will be searched as a resource.
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
*/ private final static String DTD_PUBLIC_ID = "-//AspectJ//DTD 1.5.0//EN"; /** * The DTD alias, for better user experience. */ private final static String DTD_PUBLIC_ID_ALIAS = "-//AspectJ//DTD//EN"; /** * A handler to the DTD stream so that we are only using one file descriptor */ ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
private Definition.ConcreteAspect m_lastConcreteAspect; private DocumentParser() { m_definition = new Definition(); } public static Definition parse(final URL url) throws Exception { InputStream in = null; try { DocumentParser parser = new DocumentParser(); ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
return parser.m_definition; } finally { try { in.close(); } catch (Throwable t) { ; } } } private static XMLReader getXMLReader() throws SAXException, ParserConfigurationException { XMLReader xmlReader = null; try { xmlRe...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
return null; } else { return new InputSource(in); } } else { System.err.println( "AspectJ - WARN - unknown DTD " + publicId + " - consider using " + DTD_PUBLIC_ID ); ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
if (!isNull(name)) { if (isNull(precedence) && !isNull(extend)) { m_lastConcreteAspect = new Definition.ConcreteAspect(name, extend); } else if (!isNull(precedence)) { m_lastConcreteAspect = new Definition.ConcreteAspect(name, ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
m_definition.getExcludePatterns().add(typePattern); } } else if (DUMP_ELEMENT.equals(qName) && m_inWeaver) { String typePattern = attributes.getValue(WITHIN_ATTRIBUTE); if (!isNull(typePattern)) { m_definition.getDumpPatterns().add(typePattern); } ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
m_inAspectJ = false; } else if (WEAVER_ELEMENT.equals(qName)) { m_inWeaver = false; } else if (ASPECTS_ELEMENT.equals(qName)) { m_inAspects = false; } super.endElement(uri, localName, qName); } public void warning(SAXParseException e) throws SAXExcept...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.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 ...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
public static Test suite() { return XMLBasedAjcTestCase.loadSuite(LTWTests.class); } protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ltw/ltw.xml"); } public void test001(){ runTest("Ensure 1st aspect is rewoven when weaving 2nd aspect"); } public vo...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
public void testNoAopxml(){ setSystemProperty(WeavingAdaptor.WEAVING_ADAPTOR_VERBOSE,"true"); runTest("Ensure no weaving without visible aop.xml"); } public void testDefineConcreteAspect(){ runTest("Define concrete sub-aspect using aop.xml"); } public void testDeclareAbstractAspect(){ runTest(...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
public void testXlintWarningAdviceDidNotMatchSuppressed () { runTest("Warning when advice doesn't match suppressed for LTW"); } public void testXlintfile () { runTest("Override suppressing of warning when advice doesn't match using -Xlintfile"); } public void testXlintDefault () { runTest("Warni...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
public void testWeavingTargetOfCallAggressivelyInLTW_DeclareParents_pr133770() { runTest("aggressive ltw - decp"); } public void testWeavingTargetOfCallAggressivelyInLTW_DeclareParents_pr133770_Deactivate() { runTest("aggressive ltw - decp - deactivate"); } public void testWeavingTargetOfCallAggre...
152,366
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful ...
resolved fixed
7b831ff
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T14:30:21Z
2006-07-31T18:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
private final static String NULL = "null"; private Properties savedProperties; protected void setSystemProperty (String key, String value) { Properties systemProperties = System.getProperties(); copyProperty(key,systemProperties,savedProperties); systemProperties.setProperty(key,value); } private static...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * 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 * http://w...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testVisibilityProblem_pr149071() { runTest("visibility problem");} public void testMissingLineNumbersInStacktraceAfter_pr145442() { runTest("missing line numbers in stacktrace after");} public void testMissingLineNumbersInStacktraceAround_pr145442() { runTest("missing line numbers in sta...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testUnwantedPointcutWarning_pr148219() { runTest("unwanted warning for pointcut");} public void testDecpAndCflowadderMungerClash_pr152631() { runTest("decp and cflowadder munger clash");} public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");} public void testIl...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testDuplicateJVMTIAgents_pr151938() {runTest("Duplicate JVMTI agents");}; public void testLTWWorldWithAnnotationMatching_pr153572() { runTest("LTWWorld with annotation matching");} public void testReweavableAspectNotRegistered_pr129525 () { runTest("reweavableAspectNotRegistered error"); } ...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
runTest("declare soft and inner classes"); } public void testGetSourceSignature_pr148908() { runTest("ensure getSourceSignature correct with static field"); IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement ipe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.FIELD,"MY_COM...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.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...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
import org.aspectj.util.FileUtil; import org.aspectj.util.FuzzyBoolean; import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.BCException; import org.aspectj.weaver.BoundedReferenceType; import org.aspectj.weaver.IHasPosition; import org.aspectj.weaver.ISourceContext; import org.aspectj.weaver.ReferenceType;...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
* return ExactTypePattern(LFoo;) * * Foo<String> where Foo exists and String meets the bounds * Parser creates WildTypePattern namePatterns = {Foo}, typeParameters=WTP{String} * resolveBindings resolves typeParameters to ExactTypePattern(String) * resolves Foo to RT(Foo...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
private static final String GENERIC_WILDCARD_CHARACTER = "?"; private NamePattern[] namePatterns; int ellipsisCount; String[] importedPrefixes; String[] knownMatches; int dim; public static boolean boundscheckingoff = false; TypePattern upperBound; TypePattern[] additionalInterfaceBounds; Type...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
setLocation(namePatterns[0].getSourceContext(), namePatterns[0].getStart(), namePatterns[namePatterns.length-1].getEnd()); } public WildTypePattern(List names, boolean includeSubtypes, int dim) { this((NamePattern[])names.toArray(new NamePattern[names.size()]), includeSubtypes, dim,false,TypePatternList.EMPTY); } ...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
this.additionalInterfaceBounds = additionalInterfaceBounds; } public WildTypePattern( List names, boolean includeSubtypes, int dim, int endPos, boolean isVarArg, TypePatternList typeParams) { this((NamePattern[])names.toArray(new NamePattern[names.size()]),includeSubtypes,dim,isVarArg,type...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
*/ protected boolean couldEverMatchSameTypesAs(TypePattern other) { if (super.couldEverMatchSameTypesAs(other)) return true; UnresolvedType otherType = other.getExactType(); if (!ResolvedType.isMissing(otherType)) { if (namePatterns.length > 0) { if (!namePatterns[0].matches(otherType.getName())) retur...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
int breakIndex = s.indexOf('.', startIndex); if (convertDollar && (breakIndex == -1)) breakIndex = s.indexOf('$', startIndex); if (breakIndex == -1) break; char[] name = s.substring(startIndex, breakIndex).toCharArray(); ret.add(name); startIndex = breakIndex+1; } ret.add(s.substri...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
private boolean matchesParameters(ResolvedType aType, MatchKind staticOrDynamic) { if (!isGeneric && typeParameters.size() > 0) { if(!aType.isParameterizedType()) return false; return typeParameters.matches(aType.getResolvedTypeParameters(), staticOrDynamic).alwaysTrue(); } return true; } privat...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (!(aType.isGenericWildcard() && aType.isSuper())) return false; return lowerBound.matches((ResolvedType)aType.getLowerBound(),staticOrDynamic).alwaysTrue(); } return true; } /** * Used in conjunction with checks on 'isStar()' to tell you if this pattern represents '*' or '*[]' which are * different !...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
} if (knownMatches == null && importedPrefixes == null) { return innerMatchesExactly(targetTypeName,isAnonymous, isNested); } if (isNamePatternStar()) { int numDimensionsInTargetType = 0; if (dim > 0) { int index; while((index = targetTypeName.indexOf('[')) != -1) { numDimensionsIn...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
for (int i=0, len=knownMatches.length; i < len; i++) { if (knownMatches[i].equals(targetTypeName)) return true; } } else { for (int i=0, len=knownMatches.length; i < len; i++) { String knownPrefix = knownMatches[i] + "$"; if (targetTypeName.startsWith(knownPrefix)) { int pos = lastIndexOfDotOrD...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
int dot = string.lastIndexOf('.'); int dollar = string.lastIndexOf('$'); return Math.max(dot, dollar); } private boolean innerMatchesExactly(String targetTypeName, boolean isAnonymous, boolean isNested) { char[][] names = splitNames(targetTypeName,isNested); return innerMatchesExactly(name...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
while (patternsIndex < patternsLength) { NamePattern p = namePatterns[patternsIndex++]; if (p == NamePattern.ELLIPSIS) { namesIndex = namesLength - (patternsLength-patternsIndex); } else { if (!p.matches(names[namesIndex++])) { return fal...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
return inStar(pattern, target, pi+1, ti, pLeft, tLeft, starsLeft-1); } if (! pattern[pi].matches(target[ti])) { return false; } pi++; ti++; pLeft--; tLeft--; } } private static boolean inStar(final NamePattern[] pattern, final char[][] ...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
/** * @see org.aspectj.weaver.TypePattern#matchesInstanceof(IType) */ public FuzzyBoolean matchesInstanceof(ResolvedType type) { if (maybeGetSimpleName() != null) return FuzzyBoolean.NO; type.getWorld().getMessageHandler().handleMessage( new Message("can't do instanceof matching on pat...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
/** * Method maybeExtractName. * @param string * @return boolean */ public boolean maybeExtractName(String string) { int len = namePatterns.length; NamePattern ret = namePatterns[len-1]; String simple = ret.maybeGetSimpleName(); if (simple != null && simple.equals(string)) { extractName(); return...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
* If this type pattern has no '*' or '..' in it */ public String maybeGetCleanName() { if (namePatterns.length == 0) { throw new RuntimeException("bad name: " + namePatterns); } StringBuffer buf = new StringBuffer(); for (int i=0, len=namePatterns.length; i < len; i++) { NamePattern p = namePatterns...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
newNamePatterns[index++] = new NamePattern(strTok.nextToken()); } } } } WildTypePattern ret = new WildTypePattern( newNamePatterns, includeSubtypes, dim, isVarArgs, typeParameters.parameterizeWith(typeVariableMap) ); ret.annotationPattern = this.annotationPattern.parameterizeWi...
156,904
Bug 156904 Incorrect warning when advising a private method of a private inner class
The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When I want to advise a private method in a private inner class, like this public class Outer { private class Inner { private void myMethod() } } Using the following poincut: poincut innerpointcut():execution( ...
resolved fixed
782ade2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-10-03T15:00:34Z
2006-09-11T18:40:00Z
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
* Need to determine if I'm really a pattern or a reference to a formal * * We may wish to further optimize the case of pattern vs. non-pattern * * We will be replaced by what we return */ public TypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireE...