Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 128674 Details for
Bug 268495
More than 10 annotations in a class breaks type hierarchy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Bug Demo
AnonymousImplementationWithAnnotationsTypeHierarchyBug.java (text/x-java), 1.54 KB, created by
Jan Zuchhold
on 2009-03-13 04:42:16 EDT
(
hide
)
Description:
Bug Demo
Filename:
MIME Type:
Creator:
Jan Zuchhold
Created:
2009-03-13 04:42:16 EDT
Size:
1.54 KB
patch
obsolete
>/** > * Anonymous interface implementation with annotations type hierarchy bug: Demo > * > * <p>If there are more than ten annotations present in this class, the implementation in > * createImplemention() method does not get shown as in an implementor of the DummyInterface > * interface. > * > * <p>To reproduce: > * > * <ol> > * <li>View quick hierarchy of DummyInterface: no implementor gets shown</li> > * <li>Remove a @DummyAnnotation line of one property, save, compile</li> > * <li>View quick hierarchy of DummyInterface again: implementor gets shown</li> > * </ol> > * > * @author <a href="mailto:jan@zuchhold.com">Jan Zuchhold</a> > */ >public class AnonymousImplementationWithAnnotationsTypeHierarchyBug { > @DummyAnnotation > public String property01; > > @DummyAnnotation > public String property02; > > @DummyAnnotation > public String property03; > > @DummyAnnotation > public String property04; > > @DummyAnnotation > public String property05; > > @DummyAnnotation > public String property06; > > @DummyAnnotation > public String property07; > > @DummyAnnotation > public String property08; > > @DummyAnnotation > public String property09; > > @DummyAnnotation > public String property10; > > @DummyAnnotation > public String property11; > > public void createImplementation() { > new DummyInterface() { > public String foo() { > return null; > } > }; > } > > public interface DummyInterface { > String foo(); > } > > public @interface DummyAnnotation { > // empty > } >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 268495
: 128674 |
147011