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 48294 - overloaded methods do not get overridden symbol
Summary: overloaded methods do not get overridden symbol
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 12:20 UTC by athompson
Modified: 2012-07-30 20:53 UTC (History)
0 users

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 athompson 2004-09-01 12:20:26 UTC
jdk-1.5
linux
daily 31/8/2004

1. create this class:

public interface Foo {
  public void overloaded();
  public void overloaded(String s);
}

2! create this class:

public class Bar
implements Foo {
  public void overloaded() {
  }
  public void overloaded(String s) {  // here!
  }
}

the overridden method symbol is not displayed on
the commented line.
Comment 1 Jan Becicka 2004-09-07 12:35:51 UTC
Tome, can you take a look at it? Thanks.
Comment 2 Tomas Hurka 2004-09-07 13:42:42 UTC
Fixed in trunk.
/cvs/java/src/org/netbeans/modules/java/OverrideAnnotationSupport.java,v  <--  
OverrideAnnotationSupport.java
new revision: 1.11; previous revision: 1.10
done
Comment 3 athompson 2004-09-08 16:25:03 UTC
still doesn't work for generics declarations, but since they cause all
sorts of bad behavior i will open a separate bug...
Comment 4 athompson 2004-09-09 18:49:52 UTC
actually, most of the other bugs have gone away so i'll reopen here. :)

(generics comment above)
Comment 5 Tomas Hurka 2004-09-10 08:14:39 UTC
This is bug is _fixed_. If you have other problems with annotations, please file separate 
issue.