We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #2642 confirmed that adding an empty final finailize() method mitigated any CT_CONSTRUCTOR_THROW issue.
finailize()
CT_CONSTRUCTOR_THROW
@Override @SuppressWarnings({ "deprecation", "Finalize" }) protected final void finalize() {}
However, spotbugs does not detect the empty final finalize() if it is defined by a base type, e.g.
finalize()
public class BaseType { @Override @SuppressWarnings({ "deprecation", "Finalize" }) protected final void finalize() {} } public class SubType extends BaseType { public SubType(boolean fail) { if (fail) throw new RuntimeException(); } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue #2642 confirmed that adding an empty final
finailize()
method mitigated anyCT_CONSTRUCTOR_THROW
issue.However, spotbugs does not detect the empty final
finalize()
if it is defined by a base type, e.g.The text was updated successfully, but these errors were encountered: