Bug 467431

Summary: AspectJ compile time error: Stack overflow
Product: [Tools] AspectJ Reporter: Jay Kshirsagar <jkshirsa>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: aclement, jkshirsa
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jay Kshirsagar CLA 2015-05-15 16:36:44 EDT
Exception thrown at compile time:


java.lang.StackOverflowError
at org.aspectj.weaver.AbstractReferenceTypeDelegate.copySourceContext(AbstractReferenceTypeDelegate.java:136)
at org.aspectj.weaver.ReferenceType.setDelegate(ReferenceType.java:1003)
at org.aspectj.weaver.ReferenceType.setDelegate(ReferenceType.java:1015)
at org.aspectj.weaver.ReferenceType.setDelegate(ReferenceType.java:1015)
at org.aspectj.weaver.ReferenceType.setDelegate(ReferenceType.java:1015)
at org.a ... e(ReferenceType.java:1015)
at org.aspectj.weaver.ReferenceType.setDelegate(ReferenceType.java:1015)

Compile error: StackOverflowError thrown: null
Comment 1 Andrew Clement CLA 2015-06-05 15:20:37 EDT
You didn't mention which version of AspectJ you were having problems with - I'm having trouble matching up the line numbers you specified with the recent releases. I feel like I've fixed something like this a while ago but if you tell me this happens with 1.8.5 then clearly not.