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.
Netbeans incorrectly reports "attribute has private access in SomeClass" in the following code. It is a private attribute but there is nothing illegal about referencing it in this manner: public class SomeClass { private String attribute; public <T extends SomeClass> void doSomething(T target) { target.attribute = "theValue"; } }
This is a duplicate of issue 168894. Please see the explanation there. *** This issue has been marked as a duplicate of 168894 ***