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 1074 - Interface members do not display proper accessibility status when properties are explored.
Summary: Interface members do not display proper accessibility status when properties ...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-01-25 19:55 UTC by Jesse Glick
Modified: 2008-12-23 10:44 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 Jesse Glick 1999-01-25 19:55:36 UTC
Create a new interface, e.g. from the templates pop-up. Add some declaration such as:

int getFoo();

Now compile it, and go into the Explorer; look under the classfile object in the Explorer, find the `getFoo()` entry, and explore its properties. Its accessibility shows up as "package private", altho
ugh being an interface method it is of course public, whether that is marked or not. Changing this setting to e.g. "private" uncomplainingly inserts illegal code into the Editor (if you still have tha
t open). Also, other meaningless modifiers such as "native" are presented as options. A proper editor for interface members should only allow to set the name, arguments, and return type, and any "publ
ic" present in the source should be left alone, and ditto "public static final" for interface constants.

[IAN] Deferred for Gandalf (important)

[jglick] Also, an interface`s ClassChildren from DefaultFactory ought not show a constructors sub-node!


[Petr] see fix >>
Comment 1 Marek Grummich 2000-07-25 09:23:59 UTC
Priority is changed to P4 (normal).
Comment 2 Marian Mirilovic 2002-05-27 16:54:03 UTC
closed