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
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testMessageOnMissingTypeInDecP() { runTest("declare parents on a missing type"); } public void testParameterizedGenericMethods() { runTest("parameterized generic methods"); } public void testIllegalChangeToPointcutDeclaration_pr111915() { runTest("test illegal change to pointcut declara...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testArrayCloneCallJoinPoints() { runTest("array clone call join points in 1.4 vs 1.3"); } public void testDebugInfoForAroundAdvice() { runTest("debug info in around advice inlining"); } public void testCCEWithGenericWildcard_pr112602() { runTest("ClassCastException with generic wildca...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
targets.size()==1); IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'before(): p..' but is " + target.toLabelString(),"before(): p..",target.toLabelString()); IProgramElement adviceIP...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement namedMethodIPE = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.METHOD,"m()"); assertNotNull("Couldn't find 'm()' element in the tree",namedMethodIPE); List l = AsmManager.getDefault(...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} targets = rel.getTargets(); assertTrue("Should have one target but has" + targets.size(), targets.size()==1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'm()' but is " + target.toLabelSt...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testJava5SpecificFeaturesUsedAtJava14OrLower() { runTest("java 5 pointcuts and declares at pre-java 5 compliance levels"); } public void testAnonymousTypes() { runTest("Anonymous types and nome matching"); } public void testAdviceExecutionJPToStringForms() { runTest("adviceexecution j...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoVerifyErrorWithAtAnnotationPCDs_pr113447() { runTest("no verify error with at annotation pcds"); } public void testNoVerifyErrorWithTwoArgsPCDs_pr113447() { runTest("no verify error with two args pcds"); } public void testNoStackOverflowWithCircularPCDInGenericAspect() { ...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/* ******************************************************************* * Copyright (c) 2004 IBM Corporation * 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 * ht...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
import java.util.StringTokenizer; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.Message; import org.aspectj.bridge.MessageUtil; import org.aspectj.bridge.MessageWriter; import org.aspectj.bridge.IMessage.Kind; import or...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * System property used to turn on verbose weaving messages */ public static final String WEAVING_ADAPTOR_VERBOSE = "aj.weaving.verbose"; public static final String SHOW_WEAVE_INFO_PROPERTY = "org.aspectj.weaver.showWeaveInfo"; protected boolean enabled = true; protected boolean verbose = getVerbose(); p...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
createMessageHandler(); } /** * Construct a WeavingAdaptor with a reference to a weaving class loader. The * adaptor will automatically search the class loader hierarchy to resolve * classes. The adaptor will also search the hierarchy for WeavingClassLoader * instances to determine the set of aspects to b...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private List getFullClassPath (ClassLoader loader) { List list = new LinkedList(); for (; loader != null; loader = loader.getParent()) { if (loader instanceof URLClassLoader) { URL[] urls = ((URLClassLoader)loader).getURLs(); list.addAll(0,FileUtil.makeClasspath(urls)); } else { warn("cannot de...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private void init(List classPath, List aspectPath) { createMessageHandler(); info("using classpath: " + classPath); info("using aspectpath: " + aspectPath); bcelWorld = new BcelWorld(classPath,messageHandler,null); bcelWorld.setXnoInline(false); bcelWorld.getLint().loadDefaultProperties(); if (Lan...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
catch (IOException ex) { warn("bad library: '" + libFile + "'"); } } /** * Weave a class using aspects previously supplied to the adaptor. * @param name the name of the class * @param bytes the class bytes * @return the woven bytes * @exception IOException weave failed */ public byte[] weaveClass...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
return b && accept(name, bytes); } protected boolean accept(String name, byte[] bytes) { return true; } public boolean shouldDump(String name) { return false; } private boolean shouldWeaveName (String name) { return !((/*(name.startsWith("org.apache.bcel.")//FIXME AV why ? bcel ...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * Weave a set of bytes defining a class. * @param name the name of the class being woven * @param bytes the bytes that define the class * @return byte[] the woven bytes for the class * @throws IOException */ private byte[] getWovenBytes(String name, byte[] bytes) throws IOException { WeavingClassFil...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} weaver.prepareForWeave(); } /* * Register an aspect library with this classloader for use during * weaving. This class loader will also return (unmodified) any of the * classes in the library in response to a <code>findClass()</code> request. * The library is not required to be on the weavingClasspath ...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
List ret = new ArrayList(); if (cp != null) { StringTokenizer tok = new StringTokenizer(cp,File.pathSeparator); while (tok.hasMoreTokens()) { ret.add(tok.nextToken()); } } return ret; } protected boolean info (String message) { return MessageUtil.info(messageHandler,message); } protected bo...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private Set ignoring = new HashSet(); private IMessage.Kind failKind; public WeavingAdaptorMessageHandler (PrintWriter writer) { super(writer,true); ignore(IMessage.WEAVEINFO); ignore(IMessage.INFO); this.failKind = IMessage.ERROR; } public boolean handleMessage(IMessage message) throws...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
*/ public void ignore (IMessage.Kind kind) { if ((null != kind) && (!ignoring.contains(kind))) { ignoring.add(kind); } } /** * Remove a message kind from the list of those ignored from now on. */ public void dontIgnore (IMessage.Kind kind) { if (null != kind) { ignoring.remove(kind); ...
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
resolved fixed
c760895
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:01:17Z
2005-11-16T08:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
public byte[] getBytes () { return wovenClass.getBytes(); } public Iterator getClassFileIterator() { return unwovenClasses.iterator(); } public IWeaveRequestor getRequestor() { return new IWeaveRequestor() { public void acceptResult(UnwovenClassFile result) { if (wovenClass == null) { wo...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distrib...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.annotation.Annotation; import org.aspectj.apache.bcel.generic.BranchInstruction; import org.aspectj.apache.bcel.generic.CPInstruction; import org.aspectj.apache.bcel.generic.ConstantPoolGen; import org.aspectj.apache.bcel.generic....
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
import org.aspectj.bridge.WeaveMessage; import org.aspectj.bridge.context.CompilationAndWeavingContext; import org.aspectj.bridge.context.ContextToken; import org.aspectj.util.PartialOrder; import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.AjcMemberMaker; import org.aspectj.weaver.AsmRelationshipProvider...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/** * This is called from {@link BcelWeaver} to perform the per-class weaving process. */ public static boolean weave( BcelWorld world, LazyClassGen clazz, List shadowMungers, List typeMungers, List lateTypeMungers) { boolean b = new BcelClassWeaver(world, clazz, shadowMungers, typeMunger...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private final List addedLazyMethodGens = new ArrayList(); private final Set addedDispatchTargets = new HashSet(); private static boolean inReweavableMode = false; private List addedSuperInitializersAsList = null; private final Map addedSuperInitia...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
super(); this.world = world; this.clazz = clazz; this.shadowMungers = shadowMungers; this.typeMungers = typeMungers; this.lateTypeMungers = lateTypeMungers; this.ty = clazz.getBcelObjectType(); this.cpg = clazz.getConstantPoolGen(); this.fact = clazz.getFactory(); fastMatchShadowMungers(sh...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
kindIterator.hasNext();) { Shadow.Kind aKind = (Shadow.Kind) kindIterator.next(); perKindShadowMungers[aKind.getKey()].add(munger); } } if (!perKindShadowMungers[Shadow.Initialization.getKey()].isEmpty()) canMatchInitialization = true; for (int i = 0; i < Shadow.SHADOW_KINDS.len...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } } } private boolean addSuperInitializer(ResolvedType onType) { if (onType.isRawType() || onType.isParameterizedType()) onType = onType.getGenericType(); IfaceInitList l = (IfaceInitList) addedSuperInitializers.get(onType); if (l != null) return false; l = new IfaceInitList(onType); addedSuperInitia...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
final ResolvedType onType; List list = new ArrayList(); IfaceInitList(ResolvedType onType) { this.onType = onType; } public int compareTo(Object other) { IfaceInitList o = (IfaceInitList)other; if (onType.isAssignableFrom(o.onType)) return +1; else if (o.onType.isAssignableFrom(onT...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
public int fallbackCompareTo(Object other) { return 0; } } public boolean addDispatchTarget(ResolvedMember m) { return addedDispatchTargets.add(m); } public void addLazyMethodGen(LazyMethodGen gen) { addedLazyMethodGens.add(gen); } public void addOrReplaceLazyMet...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return; } else { throw new BCException("conflict between: " + mg + " and " + existing); } } } addedLazyMethodGens.add(mg); } private boolean alreadyDefined(LazyClassGen clazz, LazyMethodGen mg) { for (Iterator i = clazz.getMethodGens().iterator(); i.hasNext(); ) { LazyMethodGen existing = (L...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (Modifier.isAbstract(mods)) mods = mods - Modifier.ABSTRACT; LazyMethodGen ret = new LazyMethodGen( mods, BcelWorld.makeBcelType(member.getReturnType()), member.getName(), BcelWorld.makeBcelTypes(member.getParameterTypes()), UnresolvedType.getNames(member.getExceptions()), gen); ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
whatToBridgeToMethodGen.getName(), whatToBridgeToMethodGen.getSignature()); } LazyMethodGen bridgeMethod = makeBridgeMethod(clazz,theBridgeMethod); bridgeMethod.setAccessFlags(bridgeMethod.getAccessFlags() | 0x00000040 ); Type returnType = BcelWorld.makeBcelType(theBridgeMethod.getReturnType()); Type[...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
public boolean weave() { if (clazz.isWoven() && !clazz.isReweavable()) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ALREADY_WOVEN,clazz.getType().getName()), ty.getSourceLocation(), null); return false; } Set aspectsAffecting...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
isChanged = weaveDeclareAtMethodCtor(clazz) || isChanged; isChanged = weaveDeclareAtField(clazz) || isChanged; addedSuperInitializersAsList = new ArrayList(addedSuperInitializers.values()); addedSuperInitializersAsList = PartialOrder.sort(addedSu...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } for (Iterator i = methodGens.iterator(); i.hasNext();) { LazyMethodGen mg = (LazyMethodGen)i.next(); if (! mg.hasBody()) continue; implement(mg); } if (!initializationShadows.isEmpty()) { while (inlineSelfConstructors(methodGens)); positionAn...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } if (isChanged) { clazz.getOrCreateWeaverStateInfo(inReweavableMode); weaveInAddedMethods(); } if (inReweavableMode) { WeaverStateInfo wsi = clazz.getOrCreateWeaverStateInfo(true); wsi.addAspectsAffectingType(aspectsAffectingType); ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/** * Check if a particular method is overriding another - refactored into this helper so it * can be used from multiple places. */ private static ResolvedMember isOverriding(ResolvedType typeToCheck,ResolvedMember methodThatMightBeGettingOverridden,String mname,String mrettype,int mmods,boolean inSa...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (typeToCheck.isParameterizedType()) { return methodThatMightBeGettingOverridden.getBackingGenericMember(); } else if (!methodThatMightBeGettingOverridden.getReturnType().getErasureSignature().equals(mrettype)) { return methodThatMightBeGettingOverridden; } } return null; } ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* @return the method being overridden or null if none is found */ public static ResolvedMember checkForOverride(ResolvedType typeToCheck,String mname,String mparams,String mrettype,int mmods,String mpkg,UnresolvedType[] methodParamsArray) { if (typeToCheck==null) return null; if (typeToCheck instance...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (typeToCheck.equals(UnresolvedType.OBJECT)) return null; ResolvedType superclass = typeToCheck.getSuperclass(); ResolvedMember overriddenMethod = checkForOverride(superclass,mname,mparams,mrettype,mmods,mpkg,methodParamsArray); if (overriddenMethod!=null) return overriddenMethod; ResolvedType[] ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Set methodsSet = new HashSet(); for (int i = 0; i < methods.size(); i++) { LazyMethodGen aMethod = (LazyMethodGen)methods.get(i); methodsSet.add(aMethod.getName()+aMethod.getSignature()); } for (int i = 0; i < methods.size(); i++) { LazyMethodGen bridgeToCandidate = (LazyMethodGen)methods...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (debug) System.err.println("Bridging to "+overriddenMethod); createBridgeMethod(world, bridgeToCandidate, clazz, overriddenMethod); didSomething = true; continue; } } String[] interfaces = clazz.getInterfaceNames(); for (int j = 0; j < interfaces.length; j++) { if (debug) System....
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private boolean weaveDeclareAtMethodCtor(LazyClassGen clazz) { List reportedProblems = new ArrayList(); List allDecams = world.getDeclareAnnotationOnMethods(); if (allDecams.isEmpty()) return false; boolean isChanged = false; List itdMethodsCtors = getITDSubset(clazz,ResolvedTypeMunger.Method); it...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (Iterator iter = decaMs.iterator(); iter.hasNext();) { DeclareAnnotation decaM = (DeclareAnnotation) iter.next(); if (decaM.matches(mg.getMemberView(),world)) { if (doesAlreadyHaveAnnotation(mg.getMemberView(),decaM,reportedProblems)) { ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} while (!worthRetrying.isEmpty() && modificationOccured) { modificationOccured = false; List forRemoval = new ArrayList(); for (Iterator iter = worthRetrying.iterator(); iter.hasNext();) { DeclareAnnotation...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return isChanged; } private void reportMethodCtorWeavingMessage(LazyClassGen clazz, ResolvedMember member, DeclareAnnotation decaM,int memberLineNumber) { if (!getWorld().getMessageHandler().isIgnoring(IMessage.WEAVEINFO)){ StringBuffer parmString = new StringBuffer("("); UnresolvedType[] paramT...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
loc.append("no debug info available"); } else { loc.append(clazz.getFileName()); if (memberLineNumber!=-1) { loc.append(":"+memberLineNumber); } } getWorld().getMessageHandler().handleMessage( WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ANNOTATES, new String[]{ ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } return subset; } /** * Get a subset of all the type mungers defined on this aspect */ private List getITDSubset(LazyClassGen clazz,ResolvedTypeMunger.Kind wantedKind) { List subset = new ArrayList(); Collection c = clazz.getBcelObjectType().getTypeMungers(); for (Iterator iter = c.iterat...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
public LazyMethodGen locateAnnotationHolderForMethodCtorMunger(LazyClassGen clazz,BcelTypeMunger methodCtorMunger) { if (methodCtorMunger.getMunger() instanceof NewMethodTypeMunger) { NewMethodTypeMunger nftm = (NewMethodTypeMunger)methodCtorMunger.getMunger(); ResolvedMember lookingFor = AjcMemberMaker.int...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* everything has been applied. * */ private boolean weaveAtFieldRepeatedly(List decaFs, List itdFields,List reportedErrors) { boolean isChanged = false; for (Iterator iter = itdFields.iterator(); iter.hasNext();) { BcelTypeMunger fieldMunger = (BcelTypeMunger) iter.next(); ResolvedMember itdIsActu...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
List forRemoval = new ArrayList(); for (Iterator iter2 = worthRetrying.iterator(); iter.hasNext();) { DeclareAnnotation decaF = (DeclareAnnotation) iter2.next(); if (decaF.matches(itdIsActually,world)) { LazyMethodGen annotationHolder = locateAnnotationHolderForFieldMunger(clazz,fieldMu...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
List worthRetrying = new ArrayList(); boolean modificationOccured = false; for (Iterator iter2 = decaMCs.iterator(); iter2.hasNext();) { DeclareAnnotation decaMC = (DeclareAnnotation) iter2.next(); if (decaMC.matches(unMangledInterMethod,world)) { LazyMethodGen annotationHolder = locateAnnotation...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
unMangledInterMethod.addAnnotation(decaMC.getAnnotationX()); AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decaMC.getSourceLocation(),unMangledInterMethod.getSourceLocation()); isChanged = true; modificationOccured = true; forRemoval.add(decaMC); } worthRetrying.r...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* more expensive to avoid putting the annotation on that inserted public field than just to * have it put there as well as on the interfieldinit method. */ private boolean weaveDeclareAtField(LazyClassGen clazz) { List reportedProblems = new A...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
BcelField aBcelField = new BcelField(clazz.getBcelObjectType(),fields[fieldCounter]); if (!aBcelField.getName().startsWith(NameMangler.PREFIX)) { List worthRetrying = new ArrayList(); boolean modificationOccured = false; Annotation [] dontAddMeTwice =...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
aBcelField.addAnnotation(decaF.getAnnotationX()); clazz.replaceField(fields[fieldCounter],newField); fields[fieldCounter]=newField; } else{ aBcelField.addAnnotation(decaF.getAnnotationX()); } } AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (doesAlreadyHaveAnnotation(aBcelField,decaF,reportedProblems)) { unusedDecafs.remove(decaF); continue; } aBcelField.addAnnotation(decaF.getAnnotationX()); AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decaF.getSourceLocation(),clazz...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private void checkUnusedDeclareAtTypes(Set unusedDecaTs, boolean isDeclareAtField) { for (Iterator iter = unusedDecaTs.iterator(); iter.hasNext();) { DeclareAnnotation declA = (DeclareAnnotation) iter.next(); if ((declA.isExactPattern() || (declA.getSignaturePattern().getDeclaringType() i...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
"The field '"+ declA.getSignaturePattern().toString() + "' does not exist", declA.getSourceLocation() , true); } else { message = new Message( "The method '"+ declA.getSignaturePattern().toString() + "' does not exist", declA.getSourceLocation() , true); } world.getMessag...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* Check if a resolved member (field/method/ctor) already has an annotation, if it * does then put out a warning and return true */ private boolean doesAlreadyHaveAnnotation(ResolvedMember rm,DeclareAnnotation deca,List reportedProblems) { if (rm.hasAnnotation(deca.getAnnotationTypeX())) { if (world.g...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} return true; } return false; } private Set findAspectsForMungers(LazyMethodGen mg) { Set aspectsAffectingType = new HashSet(); for (Iterator iter = mg.matchedShadows.iterator(); iter.hasNext();) { BcelShadow aShadow = (BcelShadow) iter.next(); for (Iterator iter2 = aShadow.getMunge...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionHandle ih = findSuperOrThisCall(mg); if (ih != null && isThisCall(ih)) { LazyMethodGen donor = getCalledMethod(ih); inlineMethod(donor, mg, ih); inlinedSomething = true; } } return inlinedSomething; } private void positionAndImplement(List initializationShadows) { for (Iterator i = ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else { r.associateWithTargets( Range.genStart(body, call.getNext()), Range.genEnd(body)); } } private boolean isThisCall(InstructionHandle ih) { INVOKESPECIAL inst = (INVOKESPECIAL) ih.getInstruction(); return inst.getClassName(cpg).equals(clazz.getName()); } /** inline a particular call in b...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* Right now we don't bother to pack. * * Allocate a new var for each formal param of the inlined. Fill with stack * contents. Then copy the inlined instructions in with the appropriate remap * table. Any framelocs used by locals in inlined are reallocated to top of * frame, */ final Instruction...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
LazyMethodGen donor, LazyMethodGen recipient, IntMap frameEnv, InstructionFactory fact, boolean keepReturns) { InstructionList footer = new InstructionList(); InstructionHandle end = footer.append(InstructionConstants.NOP); InstructionList ret = new InstructionList(); InstructionList sourceList = dono...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
recipientCpg.addConstant( donorCpg.getConstant(cpi.getIndex()), donorCpg)); } } if (src.getInstruction() == Range.RANGEINSTRUCTION) { dest = ret.append(Range.RANGEINSTRUCTION); } else if (fresh instanceof ReturnInstruction) { if (keepReturns) { dest = ret.append(fresh); } els...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
dest = ret.append(fresh); } srcToDest.put(src, dest); } Map tagMap = new HashMap(); Map shadowMap = new HashMap(); for (InstructionHandle dest = ret.getStart(), src = sourceList.getStart(); dest != null; dest = dest.getNext(), src = src.getNext()) { Instruction inst = dest.getInstruct...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
(InstructionHandle) srcToDest.get(oldTargets[k])); } } } } InstructionTargeter[] srcTargeters = src.getTargeters(); if (srcTargeters != null) { for (int j = srcTargeters.length - 1; j >= 0; j--) { InstructionTargeter old = srcTargeters[j]; ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
(InstructionHandle)srcToDest.get(er.getHandler())); } } else if (old instanceof ShadowRange) { ShadowRange oldRange = (ShadowRange) old; if (oldRange.getStart() == src) { BcelShadow oldShadow = oldRange.getShadow(); BcelShadow freshEnclosing = oldShadow.getEnclos...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} /** generate the argument stores in preparation for inlining. * * @param donor the method we will inline from. Used to get the signature. * @param recipient the method we will inline into. Used to get the frame size * so we can allocate fresh locations. * @param frameEnv an empty environment we popu...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
frameEnv.put(donorFramePos, argSlot); donorFramePos += argType.getSize(); } return ret; } /** get a called method: Assumes the called method is in this class, * and the reference to it is exact (a la INVOKESPECIAL). * * @param ih The InvokeInstruction instructionHandle pointing to the called method. ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
for (Iterator i = addedLazyMethodGens.iterator(); i.hasNext(); ) { clazz.addMethodGen((LazyMethodGen)i.next()); } } void addPerSingletonField(Member field) { ObjectType aspectType = (ObjectType) BcelWorld.makeBcelType(field.getReturnType()); String aspectName = field.getReturnType().getName(); Laz...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
*/ private InstructionHandle findSuperOrThisCall(LazyMethodGen mg) { int depth = 1; InstructionHandle start = mg.getBody().getStart(); while (true) { if (start == null) return null; Instruction inst = start.getInstruction(); if (inst instanceof INVOKESPECIAL && ((INVOKESPECIAL) inst).getName(cpg...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
clinitShadow = enclosingShadow = BcelShadow.makeStaticInitialization(world, mg); } else if (mg.isAdviceMethod()) { enclosingShadow = BcelShadow.makeAdviceExecution(world, mg); } else { AjAttribute.EffectiveSignatureAttribute effective = mg.getEffectiveSignature(); if (effective == null) { en...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (canMatch(enclosingShadow.getKind()) && !mg.getName().startsWith("ajc$interFieldInit")) { if (match(enclosingShadow, shadowAccumulator)) { enclosingShadow.init(); } } mg.matchedShadows = shadowAccumulator; return !shadowAccumulator.isEmpty(); } } private boolean matchInit(LazyMethodGen mg, ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} match(mg, h, beforeSuperOrThisCall ? null : enclosingShadow, shadowAccumulator); } } if (canMatch(Shadow.ConstructorExecution)) match(enclosingShadow, shadowAccumulator); } if (superOrThisCall != null && ! isThisCall(superOrThisCall)) { InstructionHandle curr = enclosingShadow.ge...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
enclosingShadow.getRange().insert(inits, Range.OutsideBefore); } boolean addedInitialization = match( BcelShadow.makeUnfinishedInitialization(world, mg), initializationShadows); addedInitialization |= match( BcelShadow.makeUnfinishedPreinitialization(world, mg), initia...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (list == null) { throw new BCException("circularity in inter-types"); } InstructionList ret = new InstructionList(); for (Iterator i = list.iterator(); i.hasNext();) { ConcreteTypeMunger cmunger = (ConcreteTypeMunger) i.next(); NewFieldTypeMunger munger = (NewFieldTypeMunger) cmunger...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InstructionHandle prevHandle = ih.getPrev(); Instruction prevI = prevHandle.getInstruction(); if (Utility.isConstantPushInstruction(prevI)) { Member field = BcelWorld.makeFieldJoinPointSignature(clazz, (FieldInstruction) i); ResolvedMember resolvedField = field.resolve(world); if (resolvedField =...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
BcelShadow.makeConstructorCall(world, mg, ih, enclosingShadow), shadowAccumulator); } else if (ii instanceof INVOKESPECIAL) { String onTypeName = ii.getClassName(cpg); if (onTypeName.equals(mg.getEnclosingClass().getName())) { matchInvokeInstruction(mg, ih, ii, enclosingShadow, shadowAccumu...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
BcelShadow.makeExceptionHandler( world, er, mg, ih, enclosingShadow), shadowAccumulator); } } } } private boolean isInitFailureHandler(InstructionHandle ih) { InstructionHandle twoInstructionsAway = ih.getNext().getNext(); if (twoInstructionsAway.getInstruction(...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (field.getName().startsWith(NameMangler.PREFIX)) return; ResolvedMember resolvedField = field.resolve(world); if (resolvedField == null) { return; } else if ( Modifier.isFinal(resolvedField.getModifiers()) && Utility.isConstantPushInstruction(ih.getPrev().getInstruction())) { return...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return; } else if (resolvedField.isSynthetic()) { return; } else { BcelShadow bs = BcelShadow.makeFieldGet(world,resolvedField,mg,ih,enclosingShadow); String cname = fi.getClassName(cpg); if (!resolvedField.getDeclaringType().getName().equals(cname)) { bs.setActualTargetType(cname); } matc...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* <b>Should only be used when the resolvedmember is the contents of an effective signature * attribute, as thats the only time when the annotations aren't stored directly in the * resolvedMember</b> * @param rm the sig we want it to pretend to be 'int A.m()' or somesuch ITD like thing * @param declaredSig the r...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (theRealMember == null) { throw new UnsupportedOperationException("Known limitation in M4 - can't find ITD members when type variable is used as an argument and has upper bound specified"); } annotations = theRealMember.getAnnotationTypes(); } } else if (rm.getKind()==Member.CONSTRUCTOR) { ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
InvokeInstruction invoke, BcelShadow enclosingShadow, List shadowAccumulator) { String methodName = invoke.getName(cpg); if (methodName.startsWith(NameMangler.PREFIX)) { Member jpSig = world.makeJoinPointSignatureForMethodInvocation(clazz, invoke); ResolvedMember declaredSig = jpSig.resolve(world); ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ResolvedMember rm = effectiveSig.getEffectiveSignature(); fixAnnotationsForResolvedMember(rm,declaredSig); if (canMatch(effectiveSig.getShadowKind())) match(BcelShadow.makeShadowForMethodCall(world, mg, ih, enclosingShadow, effectiveSig.getShadowKind(), rm), shadowAccumulator); } }...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
clazz.warnOnAddedStaticInitializer(shadow,munger.getSourceLocation()); } } else { WeaverMetrics.recordMatchResult(false); } CompilationAndWeavingContext.leavingPhase(mungerMatchToken); } if (isMatched) shadowAccumulator.add(shadow); ...
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
verified fixed
dd9a9b2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T09:17:56Z
2005-11-17T23:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
mg.matchedShadows = null; } public LazyClassGen getLazyClassGen() { return clazz; } public List getShadowMungers() { return shadowMungers; } public BcelWorld getWorld() { return world; } public static void setReweavableMode(boolean mode) { inReweavableMode = mode; } public stat...
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
resolved fixed
557f5b4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T10:09:32Z
2005-11-05T11:26:40Z
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
/* ******************************************************************* * Copyright (c) 2004 IBM Corporation. * 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 * h...
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
resolved fixed
557f5b4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T10:09:32Z
2005-11-05T11:26:40Z
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
private TypePattern typePattern; private boolean resolved = false; /**
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
resolved fixed
557f5b4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T10:09:32Z
2005-11-05T11:26:40Z
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
* */ public WildAnnotationTypePattern(TypePattern typePattern) { super(); this.typePattern = typePattern; this.setLocation(typePattern.getSourceContext(), typePattern.start, typePattern.end); } public TypePattern getTypePattern() { return typePattern; } /* (non-Javadoc) * @see org.aspectj....
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
resolved fixed
557f5b4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T10:09:32Z
2005-11-05T11:26:40Z
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
public void resolve(World world) { resolved = true; } /** * This can modify in place, or return a new TypePattern if the type changes. */ public AnnotationTypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding) { if (!scope.getWorld().isInJa...
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
resolved fixed
557f5b4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T10:09:32Z
2005-11-05T11:26:40Z
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
return eatp; } else { return this; } } public AnnotationTypePattern parameterizeWith(Map typeVariableMap) { WildAnnotationTypePattern ret = new WildAnnotationTypePattern(typePattern.parameterizeWith(typeVariableMap)); ret.copyLocationFrom(this); ret.resolved = resolved; ...
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
resolved fixed
557f5b4
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-18T10:09:32Z
2005-11-05T11:26:40Z
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
ret.readLocation(context,s); return ret; } /* (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (!(obj instanceof WildAnnotationTypePattern)) return false; WildAnnotationTypePattern other = (WildAnnotationTypePattern) obj; return other.typePattern....
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
tests/java5/ataspectj/annotationGen/RuntimePointcuts.java
import org.aspectj.weaver.tools.*; import java.lang.reflect.*; public class RuntimePointcuts {
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
tests/java5/ataspectj/annotationGen/RuntimePointcuts.java
public static void main(String[] args) throws Exception { PointcutParser parser = new PointcutParser(); PointcutExpression pc1 = parser.parsePointcutExpression("PCLib.anyMethodExecution()"); PointcutParameter param = parser.createPointcutParameter("s",String.class); PointcutExpression pc2 = parser.parsePointcut...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/******************************************************************************* * Copyright (c) 2004 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...