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
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
((IMessage)MyTaskListManager.getWarningMessages().get(0)) .getMessage()); configureBuildStructureModel(false); } public void xpr134471_testPr129163_2() { configureBuildStructureModel(true); initialiseProject("pr129163_2"); build("pr129163_2"); checkWasFullBuild(); alter("pr1291...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
public void xpr134471_testPr129163_3() { configureBuildStructureModel(true); initialiseProject("PR129163_4"); build("PR129163_4"); checkWasFullBuild(); initialiseProject("PR129163_3"); configureNewProjectDependency("PR129163_3","PR129163_4"); build("PR129163_3"); checkWasFullBuild(); alter("PR12916...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
build("PR131505"); checkWasFullBuild(); checkXMLAspectCount("PR131505","",0); alter("PR131505","inc1"); build("PR131505"); checkWasFullBuild(); checkXMLAspectCount("PR131505","",1); checkXMLAspectCount("PR131505","A",1); alter("PR131505","inc2"); build("PR131505"); checkWasntFullBuild();...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
checkWasFullBuild(); checkXMLAspectCount("PR131505","",1); checkXMLAspectCount("PR131505","A1",0); checkXMLAspectCount("PR131505","A",1); alter("PR131505","inc4"); build("PR131505"); checkWasFullBuild(); checkXMLAspectCount("PR131505","",2); checkXMLAspectCount("PR131505","A",1); checkXMLAspect...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
MyTaskListManager.getErrorMessages().isEmpty()); } public void testPr133532_2() { initialiseProject("pr133532_2"); build("pr133532_2"); alter("pr133532_2","inc2"); build("pr133532_2"); assertTrue("There should be no errors reported:\n"+MyTaskListManager.getErrorMessages(), MyTaskListManager.getErrorM...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
public void testPr134471() { configureBuildStructureModel(true); AsmManager.setReporting("c:/foo.txt",true,true,true,true); configureNonStandardCompileOptions("-showWeaveInfo -emacssym"); initialiseProject("PR134471"); build("PR134471"); IProgramElement ipe = checkForNode("pkg","A",true); IProgramElement ...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
fail("Couldn't determine if the line number for the advice was right?!?"); } alter("PR134471","inc1"); build("PR134471"); ipe = checkForNode("pkg","A",true); adviceNode = findAdvice(ipe); relatedElements = getRelatedElements(adviceNode); debugString = new StringBuffer(); if (relatedElements!=null) { ...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
for (Iterator iter = relatedElements.iterator(); iter.hasNext();) { String element = (String) iter.next(); debugString.append(AsmManager.getDefault().getHierarchy().findElementForHandle(element).toLabelString()).append("\n"); } } assertTrue("Should be 2 elements on the first build, but there are not:...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
debugString = new StringBuffer(); if (relatedElements!=null) { for (Iterator iter = relatedElements.iterator(); iter.hasNext();) { String element = (String) iter.next(); debugString.append(AsmManager.getDefault().getHierarchy().findElementForHandle(element).toLabelString()).append("\n"); } } ass...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
IRelationshipMap map = AsmManager.getDefault().getRelationshipMap(); List rels = (List)map.get(advice); for (Iterator iter = rels.iterator(); iter.hasNext();) { IRelationship element = (IRelationship) iter.next(); List targets = element.getTargets(); if (output==null) output = new ArrayList(); output.ad...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
return findCode(ipe,1); } private IProgramElement findCode(IProgramElement ipe,int whichOne) { if (ipe.getKind()==IProgramElement.Kind.CODE) { whichOne=whichOne-1; if (whichOne==0) return ipe; } List kids = ipe.getChildren(); for (Iterator iter = kids.iterator(); iter.hasNext();) { IProgramElement ...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
if (expWoven!=-1 && getWovenClasses().size()!=expWoven) fail("Expected weaving of "+expWoven+" files but wove "+getWovenClasses().size()+ "\n"+printCompiledAndWovenFiles()); } private void checkWasntFullBuild() { assertTrue("Shouldn't have been a full (batch) build",!wasFullBuild()); } private void ch...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
} public void build(String projectName) { constructUpToDateLstFile(projectName,"build.lst"); build(projectName,"build.lst"); if (AjdeInteractionTestbed.VERBOSE) printBuildReport(); } public void fullBuild(String projectName) { constructUpToDateLstFile(projectName,"build.lst"); fullBuild(projectName,"bu...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
public void checkForError(String anError) { List messages = MyTaskListManager.getErrorMessages(); for (Iterator iter = messages.iterator(); iter.hasNext();) { IMessage element = (IMessage) iter.next(); if (element.getMessage().indexOf(anError)!=-1) return; } fail("Didn't find the error message:\n'"+anErro...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
/** * Fill in the working directory with the project base files, * from the 'base' folder. */ protected void initialiseProject(String p) { File projectSrc=new File(testdataSrcDir+File.separatorChar+p+File.separatorChar+"base"); File destination=new File(getWorkingDir(),p); if (!destination.exists()) {desti...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
for (int i = 0; i < contents.length; i++) { String string = contents[i]; File f = new File(from,string); File t = new File(to,string); if (f.isDirectory() && !f.getName().startsWith("inc")) { t.mkdir(); copy(f,t); } else if (f.isFile()) { StringBuffer sb = new StringBuffer(); Fil...
134,371
Bug 134371 ClassCastException in AjState.recordClassFile()
I got this exception while working on a static inner aspect. A full rebuild avoided the problem. java.lang.ClassCastException: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:774) at org.aspectj.ajdt.internal.core.builder.AjState.no...
resolved fixed
299c3a4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T09:46:43Z
2006-04-01T16:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
File aopXML = new File(getWorkingDir().getAbsolutePath() + File.separatorChar + projectName + File.separatorChar + "bin" + File.separatorChar + "META-INF" + File.separatorChar + "aop.xml"); if (!aopXML.exists()) { fail("Expected file " + aopXML.getAbsolutePath() + " to exist but it doesn't"); } try {...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.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...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
import org.aspectj.weaver.ISourceContext; import org.aspectj.weaver.IntMap; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.Shadow; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.World; import org.aspectj.weaver.bcel.AtAjAttributes; import org.aspectj.weaver.internal.tools.Pointcu...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
private ReflectionWorld world; private ClassLoader classLoader; private Set supportedPrimitives; private Set pointcutDesignators = new HashSet(); /** * @return a Set containing every PointcutPrimitive except * if, cflow, and cflowbelow (useful for passing to * PointcutParser construct...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
primitives.add(PointcutPrimitive.AT_TARGET); primitives.add(PointcutPrimitive.AT_ARGS); primitives.add(PointcutPrimitive.AT_WITHIN); primitives.add(PointcutPrimitive.AT_WITHINCODE); primitives.add(PointcutPrimitive.REFERENCE); return primitives; } /** *...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
* <ul> * <li>The <code>if, cflow, and cflowbelow</code> pointcut designators are not supported * <li>Pointcut expressions must be self-contained :- they cannot contain references * to other named pointcuts * <li>The pointcut expression must be anonymous with no formals allowed. * </ul> * <...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
PointcutParser p = new PointcutParser(); p.setClassLoader(classLoader); return p; } /** * Returns a pointcut parser that can parse pointcut expressions built * from a user-defined subset of AspectJ's supported pointcut primitives. * The following restrictions apply: * <ul> ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
* language with the following exceptions: * <ul> * <li>The <code>if, cflow, and cflowbelow</code> pointcut designators are not supported * <li>Pointcut expressions must be self-contained :- they cannot contain references * to other named pointcuts * <li>The pointcut expression must be anonymous...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
for (Iterator iter = supportedPointcutKinds.iterator(); iter.hasNext();) { PointcutPrimitive element = (PointcutPrimitive) iter.next(); if ((element == PointcutPrimitive.IF) || (element == PointcutPrimitive.CFLOW) || (element == PointcutPrimitive.CFLOW_BELOW)) { ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
public void setLintProperties(String resourcePath)throws IOException { URL url = this.classLoader.getResource(resourcePath); InputStream is = url.openStream(); Properties p = new Properties(); p.load(is); setLintProperties(p); } /** * Set the lint properties for this parser from the...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
* @param name * @param type * @return */ public PointcutParameter createPointcutParameter(String name, Class type) { return new PointcutParameterImpl(name,type); } /** * Parse the given pointcut expression. * A global scope is assumed for resolving any type references, and the ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
* @throws IllegalArgumentException if the expression is not a well-formed * pointcut expression */ public PointcutExpression parsePointcutExpression( String expression, Class inScope, PointcutParameter[] formalParameters) throws UnsupportedPointcutPrimitiveException, IllegalArgume...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
throw new IllegalArgumentException(buildUserMessageFromParserException(expression,pEx)); } catch (ReflectionWorld.ReflectionWorldException rwEx) { throw new IllegalArgumentException(rwEx.getMessage()); } return pcExpr; } /** * Parse the given aspectj type pattern,...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
return world; } Set getSupportedPrimitives() { return supportedPrimitives; } IMessageHandler setCustomMessageHandler(IMessageHandler aHandler) { IMessageHandler current = getWorld().getMessageHandler(); getWorld().setMessageHandler(aHandler); return current; }...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
return new SourceLocation(new File(""),line); } public int getOffset() { return 0; } public void tidy() {} }; return new AtAjAttributes.BindingScope(inType,sourceContext,formalBindings); } } private void validateAgainstSupportedPrimitives(Pointcut pc, St...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.HANDLER); break; case Pointcut.IF: case Pointcut.IF_FALSE: case Pointcut.IF_TRUE: throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.IF); cas...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.WITHIN_CODE); break; case Pointcut.ATTHIS_OR_TARGET: isThis = ((ThisOrTargetAnnotationPointcut)pc).isThis(); if (isThis && !supportedPrimitives.contains(PointcutPrimitive.AT_THIS)) { ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
case Pointcut.USER_EXTENSION: break; case Pointcut.NONE: default: throw new IllegalArgumentException("Unknown pointcut kind: " + pc.getPointcutKind()); } } private void validateKindedPointcut(KindedPointcut pc, String expression) { Shadow.K...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver/src/org/aspectj/weaver/tools/PointcutParser.java
if (!supportedPrimitives.contains(PointcutPrimitive.PRE_INITIALIZATION)) throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.PRE_INITIALIZATION); } else if (kind == Shadow.StaticInitialization) { if (!supportedPrimitives.contains(PointcutPrimitive.STAT...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
/* ******************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * htt...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.reflect.AjType; import org.aspectj.lang.reflect.AjTypeSystem; import org.aspectj.lang.reflect.Pointcut; import org.aspectj.weaver.AnnotationX; import org.aspectj.weaver.ReferenceType; import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.R...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
private ResolvedType superclass; private ResolvedType[] superInterfaces; private String genericSignature = null; private JavaLangTypeToResolvedTypeConverter typeConverter; private Java15AnnotationFinder annotationFinder = null; private ArgNameFinder argNameFinder = null; public Java15ReflectionBasedReferenceTyp...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
return super.getAnnotations(); } public ResolvedType[] getAnnotationTypes() { if (annotations == null) { annotations = annotationFinder.getAnnotations(getBaseClass(), getWorld()); } return annotations; } public boolean hasAnnotation(UnresolvedType ofType) { ResolvedType[] myAnns = getAnnotationTypes();...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
public String getDeclaredGenericSignature() { if (this.genericSignature == null && isGeneric()) { } return genericSignature; } public ResolvedType[] getDeclaredInterfaces() { if (superInterfaces == null) { Type[] genericInterfaces = getBaseClass().getGenericInterfaces(); this.superInterfaces = typ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
if (this.typeVariables == null) { java.lang.reflect.TypeVariable[] tVars = this.getBaseClass().getTypeParameters(); this.typeVariables = new TypeVariable[tVars.length]; for (int i = 0; i < tVars.length; i++) { typeVariables[i] = new TypeVariable(tVars[i].getName()); } this.getResolvedTypeX()....
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
this.methods = new ResolvedMember[reflectMethods.length + reflectCons.length]; for (int i = 0; i < reflectMethods.length; i++) { this.methods[i] = createGenericMethodMember(reflectMethods[i]); } for (int i = 0; i < reflectCons.length; i++) { this.methods[i + reflectMethods.length] = createG...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
forMethod ); ret.setAnnotationFinder(this.annotationFinder); ret.setGenericSignatureInformationProvider(new Java15GenericSignatureInformationProvider(this.getWorld())); return ret; } private ResolvedMember createGenericConstructorMember(Constructor forConstructor) { ReflectionBasedResolvedMemberImpl ret = ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
forField.getName(), new UnresolvedType[0], forField); ret.setAnnotationFinder(this.annotationFinder); ret.setGenericSignatureInformationProvider(new Java15GenericSignatureInformationProvider(this.getWorld())); return ret; } public ResolvedMember[] getDeclaredPointcuts() { if (pointcuts == null) { P...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
PointcutExpressionImpl pEx = (PointcutExpressionImpl) parser.parsePointcutExpression(pcExpr,getBaseClass(),parameters); org.aspectj.weaver.patterns.Pointcut pc = pEx.getUnderlyingPointcut(); UnresolvedType[] weaverPTypes = new UnresolvedType[ptypes.length]; for (int j = 0; j < weaverPTypes.length; j++) { ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
public boolean isAnnotationWithRuntimeRetention() { if (!isAnnotation()) return false; if (getBaseClass().isAnnotationPresent(Retention.class)) { Retention retention = (Retention) getBaseClass().getAnnotation(Retention.class); RetentionPolicy policy = retention.value(); return policy == RetentionPolicy.RUN...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
/* ******************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * htt...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
public static Test suite() { TestSuite suite = new TestSuite("Java15PointcutExpressionTest"); suite.addTestSuite(Java15PointcutExpressionTest.class); return suite; } private PointcutParser parser; private Method a; private Method b; private Method c; private Method d; public void testAtThis() { Point...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
ShadowMatch sMatch2 = atTarget.matchesMethodExecution(b); assertTrue("maybe matches A",sMatch1.maybeMatches()); assertTrue("maybe matches B",sMatch2.maybeMatches()); JoinPointMatch jp1 = sMatch1.matchesJoinPoint(new A(), new A(), new Object[0]); assertFalse("does not match",jp1.matches()); JoinPointMatch jp2 ...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
PointcutExpression atThis = parser.parsePointcutExpression("@target(a)",A.class,new PointcutParameter[] {param}); ShadowMatch sMatch1 = atThis.matchesMethodExecution(a); ShadowMatch sMatch2 = atThis.matchesMethodExecution(b); assertTrue("maybe matches A",sMatch1.maybeMatches()); assertTrue("maybe matches B",sMa...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
assertTrue("matches",jp2.matches()); } public void testAtArgs2() { PointcutExpression atArgs = parser.parsePointcutExpression("@args(*, org.aspectj.weaver.tools.Java15PointcutExpressionTest.MyAnnotation)"); ShadowMatch sMatch1 = atArgs.matchesMethodExecution(c); ShadowMatch sMatch2 = atArgs.matchesMethod...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
jp2 = sMatch2.matchesJoinPoint(new B(), new B(), new Object[] {new B(),new B()}); assertTrue("matches",jp2.matches()); assertEquals(2,jp2.getParameterBindings().length); assertEquals("annotation on B",bAnnotation,jp2.getParameterBindings()[0].getBinding()); assertEquals("annotation on B",bAnnotation,jp2....
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
PointcutExpression atWithinCode = parser.parsePointcutExpression("@withincode(org.aspectj.weaver.tools.Java15PointcutExpressionTest.MyAnnotation)"); ShadowMatch sMatch1 = atWithinCode.matchesMethodCall(a,b); ShadowMatch sMatch2 = atWithinCode.matchesMethodCall(a,a); assertTrue("does not match from b",sMatch1.neve...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
assertTrue("matches call to a",sMatch2.alwaysMatches()); JoinPointMatch jpm = sMatch2.matchesJoinPoint(new A(), new A(), new Object[0]); assertTrue(jpm.matches()); assertEquals(1,jpm.getParameterBindings().length); MyAnnotation annOna = a.getAnnotation(MyAnnotation.class); assertEquals("MyAnnotation on a"...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
JoinPointMatch jpm = sMatch2.matchesJoinPoint(anA, new A(), new Object[0]); assertTrue(jpm.matches()); assertEquals("should be bound to anA",anA,jpm.getParameterBindings()[0].getBinding()); } public void testExecutionWithClassFileRetentionAnnotation() { PointcutExpression pc1 = parser.parsePointcutExpression(...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
PointcutExpression ex = parser.parsePointcutExpression("execution(* *(String...))"); Method usesVarArgs = D.class.getMethod("varArgs",String[].class); Method noVarArgs = D.class.getMethod("nonVarArgs", String[].class); ShadowMatch sm1 = ex.matchesMethodExecution(usesVarArgs); assertTrue("should match",sm1.alway...
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
@MyAnnotation public void a() {} } @MyAnnotation private static class B { @MyClassFileRetentionAnnotation public void b() {} public void c(A anA, B aB) {} public void d(A anA, A anotherA) {} } private static class C {
140,357
Bug 140357 NPE or StackOverflow when resolving reference pointcut in ReflectionWorld
Given a type such as : private static class NamedPointcutResolution { @Pointcut("execution(* *(..))") public void a() {} @Pointcut("this(org.aspectj.weaver.tools.Java15PointcutExpressionTest.A)") public void b() {} @Pointcut("a() && b()") public void c() {} } The reflection based delegate is unable to resolve the point...
resolved fixed
b954b26
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-05T14:08:35Z
2006-05-05T14:40:00Z
weaver5/java5-testsrc/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java
@Pointcut("execution(* *(..))") public void foo() {} @Pointcut(value="execution(* *(..)) && this(x)", argNames="x") public void goo(A x) {} } private static class D { public void nonVarArgs(String[] strings) {}; public void varArgs(String... strings) {}; } static class TestBean { public ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
package org.aspectj.apache.bcel.generic; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modif...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foun...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.Constant; import org.aspectj.apache.bcel.util.ByteSequence; import java.io.*; import java.util.Iterator; import java.util.HashMap; import java.u...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
private InstructionHandle start = null, end = null; private int length = 0; private int[] byte_positions; /** * Create (empty) instruction list. */ public InstructionList() {} /** * Create instruction list containing one instruction. * @param i initial instruction *...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
/** * Create instruction list containing one instruction. * @param i initial instruction */ public InstructionList(BranchInstruction i) { append(i); } /** * Initialize list with (nonnull) compound instruction. Consumes argument * list, i.e., it becomes empty. * * @param c compound instruc...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
public static InstructionHandle findHandle(InstructionHandle[] ihs, int[] pos, int count,int target) { int l=0, r = count - 1; int i,j; do { i = (l + r) / 2; j = pos[i]; if (j == target) return ihs[i]; else if (target < j) r=i-1; else ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
} public InstructionHandle findHandle(int pos,InstructionHandle[] instructionArray) { return findHandle(instructionArray,byte_positions,length,pos); } /** * Initialize instruction list from byte array. * * @param code byte array containing the instructions */ public InstructionList(byte[] code...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
ih = append((BranchInstruction)i); else ih = append(i); ih.setPosition(off); ihs[count] = ih; count++; } } catch(IOException e) { throw new ClassGenException(e.toString()); } byte_positions = new int[count]; System.arraycopy(pos, 0, byte_positions, 0, count); /* Pass 2: Look for BranchIn...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
for(int j=0; j < indices.length; j++) { target = bi.position + indices[j]; ih = findHandle(ihs, pos, count, target); if(ih == null) throw new ClassGenException("Couldn't find target for switch: " + bi); s.setTarget(j, ih); } } } } } /** * Append another ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
if(next != null) next.prev = il.end; else end = il.end; length += il.length; il.clear(); return ret; } /** * Append another list after instruction i contained in this list. * Consumes argument list, i.e., it becomes empty. * * @param i where to append the instruction list...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
public InstructionHandle append(InstructionList il) { if(il == null) throw new ClassGenException("Appending null InstructionList"); if(il.isEmpty()) return null; if(isEmpty()) { start = il.start; end = il.end; length = il.length; il.clear(); return start; }...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
length++; } /** * Append an instruction to the end of this list. * * @param i instruction to append * @return instruction handle of the appended instruction */ public InstructionHandle append(Instruction i) { InstructionHandle ih = InstructionHandle.getInstructionHandle(i); append(ih); ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @param j Instruction to append after i in list * @return instruction handle of the first appended instruction */ public InstructionHandle append(Instruction i, Instruction j) { return append(i, new InstructionList(j)); } /** * Append a compound instruction, after instruction i. * * @param i ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @return instruction handle of the first appended instruction */ public InstructionHandle append(InstructionHandle ih, CompoundInstruction c) { return append(ih, c.getInstructionList()); } /** * Append an instruction after instruction (handle) ih contained in this list. * * @param ih where to ap...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* Insert another list before Instruction handle ih contained in this list. * Consumes argument list, i.e., it becomes empty. * * @param i where to append the instruction list * @param il Instruction list to insert * @return instruction handle of the first inserted instruction */ public Instruction...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
public InstructionHandle insert(InstructionList il) { if(isEmpty()) { append(il); return start; } else return insert(start, il); } /** * Insert an instruction at start of this list. * * @param ih instruction to insert */ private void insert(InstructionHandle ih) { i...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @param il Instruction list to insert * @return instruction handle pointing to the first inserted instruction, * i.e., il.getStart() */ public InstructionHandle insert(Instruction i, InstructionList il) { InstructionHandle ih; if((ih = findInstruction1(i)) == null) throw new ClassGenException(...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
BranchHandle ih = BranchHandle.getBranchHandle(i); insert(ih); return ih; } /** * Insert a single instruction j before another instruction i, which * must be in this list of course! * * @param i Instruction in list * @param j Instruction to insert before i in list * @return instruction han...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
*/ public InstructionHandle insert(CompoundInstruction c) { return insert(c.getInstructionList()); } /** * Insert an instruction before instruction (handle) ih contained in this list. * * @param ih where to insert to the instruction list * @param i Instruction to insert * @return instruction ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
*/ public BranchHandle insert(InstructionHandle ih, BranchInstruction i) { BranchHandle bh = BranchHandle.getBranchHandle(i); InstructionList il = new InstructionList(); il.append(bh); insert(ih, il); return bh; } /** * Take all instructions (handles) from "start" to "end" and append the...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
throw new ClassGenException("Invalid range: From " + start + " to " + end + " contains target " + target); } InstructionHandle prev = start.prev, next = end.next; if(prev != null) prev.next = next; else this.start = next; if(next != null) next.prev = prev; else ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @param ih moved instruction * @param target new location of moved instruction */ public void move(InstructionHandle ih, InstructionHandle target) { move(ih, ih, target); } /** * Remove from instruction `prev' to instruction `next' both contained * in this list. Throws TargetLostException whe...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
if(next == null) { last = end; end = prev; } else { last = next.prev; next.prev = prev; } } first.prev = null; last.next = null; ArrayList target_vec = new ArrayList(); for(InstructionHandle ih=first; ih != null; ih = ih.next) ih.getInstruction().dispose(); String...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
} } /** * Remove instruction from this list. The corresponding Instruction * handles must not be reused! * * @param ih instruction (handle) to remove */ public void delete(InstructionHandle ih) throws TargetLostException { remove(ih.prev, ih.next); } /** * Remove instruction from t...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @param from where to start deleting (inclusive) * @param to where to end deleting (inclusive) */ public void delete(InstructionHandle from, InstructionHandle to) throws TargetLostException { remove(from.prev, to.next); } /** * Remove instructions from instruction `from' to instruction `to' ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @return instruction found on success, null otherwise */ private InstructionHandle findInstruction1(Instruction i) { for(InstructionHandle ih=start; ih != null; ih = ih.next) if(ih.instruction == i) return ih; return null; } /** * Search for given Instruction reference, start at end of list ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
} public void setPositions() { setPositions(false); } /** * Give all instructions their position number (offset in byte stream), i.e., * make the list ready to be dumped. * * @param check Perform sanity checks, e.g. if all targeted instructions really belong * to this list */ public void s...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
inst = targets[j].instruction; if(!contains(inst)) throw new ClassGenException("Branch target of " + Constants.OPCODE_NAMES[i.opcode] + ":" + inst + " not in instruction list"); } } if(!(ih instanceof BranchHandle)) throw new ClassGenException("Branch instruction " + Cons...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
case Constants.TABLESWITCH: case Constants.LOOKUPSWITCH: max_additional_bytes += 3; break; } index += i.getLength(); } /* Pass 2: Expand the variable-length (Branch)Instructions depending on * the target offset (short or int) and ensure that branch targets are * within this list. ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @return the byte code ready to be dumped */ public byte[] getByteCode() { setPositions(); ByteArrayOutputStream b = new ByteArrayOutputStream(); DataOutputStream out = new DataOutputStream(b); try { for(InstructionHandle ih=start; ih != null; ih = ih.next) { Instruction i = ih....
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
instructions.toArray(result); return result; } public String toString() { return toString(true); } /** * @param verbose toggle output format * @return String containing all instructions in this list. */ public String toString(boolean verbose) { StringBuffer buf = new StringBuffer(); ...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
} public boolean hasNext() { return ih != null; } }; } /** * @return array containing all instructions (handles) */ public InstructionHandle[] getInstructionHandles() { InstructionHandle[] ihs = new InstructionHandle[length]; InstructionHandle ih = start; for(int i=0; i < length; i+...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
/* Pass 1: Make copies of all instructions, append them to the new list * and associate old instruction references with the new ones, i.e., * a 1:1 mapping. */ for(InstructionHandle ih=start; ih != null; ih = ih.next) { Instruction i = ih.instruction; Instruction c = i.copy(); if(c...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
for(int j=0; j < itargets.length; j++) { ctargets[j] = (InstructionHandle)map.get(itargets[j]); } } } ih = ih.next; ch = ch.next; } return il; } /** Replace all references to the old constant pool with references to the new * constant pool */ public void replaceConstantP...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* method is typically called right after * <href="MethodGen.html#getMethod()">MethodGen.getMethod()</a>. */ public void dispose() { for(InstructionHandle ih=end; ih != null; ih = ih.prev) /* Causes BranchInstructions to release target and targeters, because it * calls dispose() on the cont...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* of branch instructions. * * @param old_target the old target instruction handle * @param new_target the new target instruction handle */ public void redirectBranches(InstructionHandle old_target, InstructionHandle new_target) { for(InstructionHandle ih = start; ih != null; ih = ih.next) {...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
* @see MethodGen */ public void redirectLocalVariables(LocalVariableGen[] lg, InstructionHandle old_target, InstructionHandle new_target) { for(int i=0; i < lg.length; i++) { InstructionHandle start = lg[i].getStart(); InstructionHandle end = lg[i].getEnd(); if(sta...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java
exceptions[i].setEndPC(new_target); if(exceptions[i].getHandlerPC() == old_target) exceptions[i].setHandlerPC(new_target); } } private ArrayList observers; /** Add observer for this object. */ public void addObserver(InstructionListObserver o) { if(observers == null) observers = new Arra...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.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...
138,384
Bug 138384 java.lang.ClassFormatError: Invalid method Code length 83071 in class file org/eclipse/jdt/internal/compiler/impl/Constant
null
resolved fixed
5d2b5b8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T08:17:43Z
2006-04-25T15:46:40Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testNpeOnDup_pr138143() { runTest("npe on duplicate method with ataj");} public void testPointcutsAndGenerics_pr137496_1() { runTest("pointcuts and generics - B");} public void testPointcutsAndGenerics_pr137496_2() { runTest("pointcuts and generics - D");} public void testPointcutsAndGenerics_pr137496...
129,704
Bug 129704 BCException
org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.BcelShadow.initializeKindedAnnotationVars(BcelShadow.java:1553) at org.aspectj.weaver.bcel.BcelShadow.getKindedAnnotationVar(BcelShadow.java:995) at org.aspectj.weaver.patterns.AnnotationPointcut.findResidueInternal(AnnotationPointcut.java:196) at org.aspectj.we...
resolved fixed
3ca976f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T10:41:42Z
2006-02-28T01:26:40Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.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...
129,704
Bug 129704 BCException
org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.BcelShadow.initializeKindedAnnotationVars(BcelShadow.java:1553) at org.aspectj.weaver.bcel.BcelShadow.getKindedAnnotationVar(BcelShadow.java:995) at org.aspectj.weaver.patterns.AnnotationPointcut.findResidueInternal(AnnotationPointcut.java:196) at org.aspectj.we...
resolved fixed
3ca976f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-05-12T10:41:42Z
2006-02-28T01:26:40Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testNpeOnDup_pr138143() { runTest("npe on duplicate method with ataj");} public void testPointcutsAndGenerics_pr137496_1() { runTest("pointcuts and generics - B");} public void testPointcutsAndGenerics_pr137496_2() { runTest("pointcuts and generics - D");} public void testPointcutsAndGenerics_pr137496...