Bug 117297 - Stack overflow when using self-bounded generics
Summary: Stack overflow when using self-bounded generics
Status: RESOLVED DUPLICATE of bug 117296
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 06:12 EST by Mohan Radhakrishnan CLA
Modified: 2005-11-21 06:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohan Radhakrishnan CLA 2005-11-21 06:12:42 EST
Hi,

This code is a form of "Curiously Recurring Template Pattern"

public class PropertySupport<T extends PropertySupport<T>> {

}
My AJDT project does not accept this though my JDK 5.0 ECLIPSE project does.

java.lang.StackOverflowError
at org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromBinding(EclipseFactory.java:197)
at org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromBinding(EclipseFactory.java:281)
at org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromBinding(EclipseFactory.java:281)

Thanks,
Mohan
Comment 1 Matt Chapman CLA 2005-11-21 06:14:36 EST
Same text as 117296

*** This bug has been marked as a duplicate of 117296 ***