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 8456 - Wrong icons when listing methods/fields for an interface
Summary: Wrong icons when listing methods/fields for an interface
Status: CLOSED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.x
Hardware: All All
: P4 trivial (vote)
Assignee: Rostislav Levy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-17 09:30 UTC by ibeaumont
Modified: 2005-03-09 04:28 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 ibeaumont 2000-11-17 09:30:44 UTC
If an interface is defined as public then all methods in it have public level
access even if it isn't specified.  The filesystem lists these methods as
having package level protection.
Build 65
e.g.
public interface MyInterface
{
   void MyMethod();
}

MyMethod should be listed as having public access, not package protected access.
Comment 1 ibeaumont 2000-11-17 09:34:59 UTC
*** Bug 8449 has been marked as a duplicate of this bug. ***
Comment 2 Rostislav Levy 2000-12-11 14:24:59 UTC
A method without access specification has a default access (yellow icon).
The yellow icon isn't package level protection, but it's a default access - so
it's correct.
Comment 3 Quality Engineering 2003-07-01 15:16:44 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 15:19:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.