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.
For example FileObject has two such methods: @Deprecated public abstract boolean isReadOnly(); @Deprecated public abstract void setImportant(boolean b); Implementer does not have any chance to avoid deprivations in own code. Please remove abstract keyword and provide default implementations for abstract depreciated methods.
@SuppressWarnings("deprecated") does not work? If it does not, try to annotate your override with @Deprecated, that seems to work in AbstractFileObject.
@SuppressWarnings("deprecated") does not work. @Deprecated works. It seems that java hint should take it into account. Thanks.
Jan, do you want to improve the "suppress deprecation" Java hint?