Bug 467431 - AspectJ compile time error: Stack overflow
Summary: AspectJ compile time error: Stack overflow
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 16:36 EDT by Jay Kshirsagar CLA
Modified: 2015-06-05 15:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.