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.
Because the other day I couldn't access to the whole netbeans.org site, I have posted this problem to use.mail.list. Maybe someone have filed it into the Issuezilla for me. If so, just duplicated it please! try this example: ------------------------------ package base; public class Base { public void doIt() { printMessage(); } void printMessage() { System.out.println("Base"); } } ------------------------------- ------------------------------- package sub; import base.Base; public class Sub extends Base { void printMessage() { // Issue here! System.out.println("Sub"); } public static void main(String[] args) { Sub sub = new Sub(); sub.doIt(); } } ---------------------------------------- Apparently it should not display the 'Overriding Method' Icon on the "void printMessage() {" line in class Sub because superclass method - "void printMessage()" is package-private. They are unrelated and merely have the same name. -pprun
reproduced, looks like java module problem, reassigning
Fixed in trunk. /cvs/java/src/org/netbeans/modules/java/OverrideAnnotationSupport.java new revision: 1.23; previous revision: 1.22