This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 50453

Summary: Override annotation not shown for StringBuffer.insert(int,String) in JDK 1.5 src.zip
Product: java Reporter: Jesse Glick <jglick>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: mroskanin
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2004-10-14 22:55:59 UTC
041014 custom. When opening StringBuffer.java from
JDK 1.5's src.zip, the method

public synchronized StringBuffer insert(int
offset, String str) {...}

(for example) is not shown with an override
annotation, even though it clearly overrides a
method in AbstractStringBuilder:

public AbstractStringBuilder insert(int offset,
String str) {...}

(as is evidenced by the use of super.insert in the
body).

On the other hand, Ctrl-B in the body of SB.insert
does jump to ASB.insert!

Cf. also issue #50452 re. Javadoc problems with
this method.
Comment 1 Martin Roskanin 2004-10-15 14:20:42 UTC
overriding annotations are implemented in java module. Reassigning for
evaluation.
Comment 2 Tomas Hurka 2005-02-15 11:25:31 UTC
I cannot reproduce it on 050215. Closing as works-for-me.