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 18206

Summary: Icon displayed for Interface method with default access is incorrect
Product: java Reporter: Chris Webster <cwebster>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: Solaris   
Issue Type: ENHANCEMENT Exception Reporter:

Description Chris Webster 2001-11-29 21:50:49 UTC
The icon displayed for an interface method with default access is the same as
the icon for a default method for a class. The interface default access is
actually public so it seems to make sense to display the public icon there as
well.
Comment 1 Svata Dedic 2001-11-30 05:41:42 UTC
As designed. The "yellow" icon set represents "default access" as 
defined by JLS. The meaning is different for class members and 
interface members, really, but in both cases it's default. The icon 
represents what's *written* in the source rather than the resulting 
access rights.
Comment 2 Svata Dedic 2002-05-21 17:52:20 UTC
Cleaning up before 4.0 planning
Comment 3 Marek Grummich 2002-07-19 16:51:04 UTC
Target milestone was changed from not determined to TBD
Comment 4 Martin Matula 2004-11-12 08:34:41 UTC
The icons now correctly reflect the real visibility of the method.
Comment 5 Martin Matula 2004-11-12 08:38:48 UTC
*** Issue 18952 has been marked as a duplicate of this issue. ***