Bug 173422 - Problem with cflowbelow and before-advice on class javax.swing.JTable.columnSelectionChanged
Summary: Problem with cflowbelow and before-advice on class javax.swing.JTable.columnS...
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 04:44 EST by Jambo CLA
Modified: 2008-10-02 14:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jambo CLA 2007-02-08 04:44:03 EST
org.aspectj.weaver.BCException
at org.aspectj.weaver.bcel.BcelShadow.ensureTargetTypeIsCorrect(BcelShadow.java:1431)
at org.aspectj.weaver.bcel.BcelShadow.initializeTargetVar(BcelShadow.java:1368)
at org.aspectj.weaver.bcel.BcelShadow.getTargetVar(BcelShadow.java:1060)
at org.aspectj.weaver.bcel.BcelShadow.createThisJoinPoint(BcelShadow.java:1224)
at org.aspectj.weaver.bcel.BcelShadow.initializeThisJoinPoint(BcelShadow.java:1146)
at or ... ng 
when batch building BuildConfig[E:\UB_Brief\MoVe_2\move\move\entwicklung\.metadata\.plugins\org.eclipse.ajdt.core\thomas.generated.lst] #Files=10
Comment 1 Jambo CLA 2007-02-08 04:44:35 EST
org.aspectj.weaver.BCException
at org.aspectj.weaver.bcel.BcelShadow.ensureTargetTypeIsCorrect(BcelShadow.java:1431)
at org.aspectj.weaver.bcel.BcelShadow.initializeTargetVar(BcelShadow.java:1368)
at org.aspectj.weaver.bcel.BcelShadow.getTargetVar(BcelShadow.java:1060)
at org.aspectj.weaver.bcel.BcelShadow.createThisJoinPoint(BcelShadow.java:1224)
at org.aspectj.weaver.bcel.BcelShadow.initializeThisJoinPoint(BcelShadow.java:1146)
at or ... ng 
when batch building BuildConfig[E:\UB_Brief\MoVe_2\move\move\entwicklung\.metadata\.plugins\org.eclipse.ajdt.core\thomas.generated.lst] #Files=10
Comment 2 Andrew Clement CLA 2007-10-26 06:22:53 EDT
not sure what we can do here, lets decide before 1.5.4
Comment 3 Andrew Clement CLA 2008-10-02 14:13:53 EDT
BCException can only occur in that method if:

throw new BCException("Can't determine real target of clone() when processing instruction " + searchPtr.getInstruction() + ".  Perhaps avoid selecting clone with your pointcut?");

So i would probably need the bytecode for the type we are failing to weave in order to debug further - or the pointcut could avoid selecting clone().