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 89777 - Protected members visible when only public elements should be shown
Summary: Protected members visible when only public elements should be shown
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-21 17:24 UTC by Jiri Prox
Modified: 2007-01-03 12:31 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 Jiri Prox 2006-11-21 17:24:51 UTC
NetBeans IDE Dev (Build 20061120-0828)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

Protected members are shown in navigator when the option "Show non public
members" is switched off. The name suggests that only public members should be
visible in such situation
Comment 1 Petr Hrebejk 2006-11-22 13:06:58 UTC
Hmm, It used to be the same way, in 5.x releases. Probably because protected is
sort of public (you can use it when you extend the class). On the other hand,
other IDEs do not show protected members when the option is switched on. I will
add this issue into the UI reveiw task #88714
Comment 2 Petr Hrebejk 2006-11-22 14:44:11 UTC
Checking in ClassMemberFilters.java;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/ClassMemberFilters.java,v
 <--  ClassMemberFilters.java
new revision: 1.2; previous revision: 1.1
done
Comment 3 Jiri Prox 2007-01-03 12:31:22 UTC
v.