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 - Override annotation not shown for StringBuffer.insert(int,String) in JDK 1.5 src.zip
Summary: Override annotation not shown for StringBuffer.insert(int,String) in JDK 1.5 ...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 22:55 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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