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.
"Return of Collection Field" triggers when returning this. For example: class MyChainingDictionary extends HashMap<CharSequence, Object> { public MyChainingDictionary put(CharSequence key, Object val) { super.put(key, val); return this; } } This should always be safe, because anything calling put will already have a reference to this object, anyway.