Summary: | More than 10 annotations in a class breaks type hierarchy | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jan Zuchhold <Jan> | ||||||
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | nitram509, Olivier_Thomann | ||||||
Version: | 3.5 | ||||||||
Target Milestone: | 3.6 M2 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Same problem. Verified under Windows Vista, Eclipse 3.5, Build: 20090619-0625, Sun JDK 1.6.0_u16 Created attachment 147011 [details]
Alternative bug demo, little bit smaller
Seems to be duplicated to https://bugs.eclipse.org/bugs/show_bug.cgi?id=254738 After testing the current CVS head (20090911) it seems, that this bug is already fixed. After all, with the CVS head, the above bug demos are working perfect :-) Closing as a dup of bug 254738. *** This bug has been marked as a duplicate of bug 254738 *** |
Created attachment 128674 [details] Bug Demo If I put more than ten annotations in a class that contains an anonymous interface implementation, this implementation does not get shown in type hierarchy. Maybe this is related to org.eclipse.jdt.internal.compiler.parser.SourceTypeConverter, where there is a comment which says: "// if more than 10 annotations, diet parse as this is faster". I've just confirmed this with a clean install of eclipse-SDK-3.5M5-linux-gtk on Sun Java 1.6.0_12. To reproduce this problem: See attached AnonymousImplementationWithAnnotationsTypeHierarchyBug.java and follow instructions in Javadoc.